Page 1 of 1
Program Wont Compile to HEX
Posted: Thu May 15, 2014 8:10 pm
by JDR04
Hello everybody, could somebody please tell me why I cant convert to hex. I've attached the screen grab of my settings and the eerror.
Do these settings change from program to program? I tried using the same settingsd the last time I programmed a 16F690 PIC but must have made an error along the line.
Have also attached the program. Thanks so much for your help - John
Re: Program Wont Compile to HEX
Posted: Thu May 15, 2014 9:25 pm
by kersing
If you read the errors carefully you will notice the error is generated by the linker, not the programmer. I suspect the spaces in your filename are the cause of the error. Try saving the Flowcode file without spaces in the name.
Re: Program Wont Compile to HEX
Posted: Thu May 15, 2014 10:39 pm
by JDR04
Thanks kersing, I tried that but the error was still the same.
In the hope I have made things easier for you guys, I have attached 2 files with screen grabs of my settings. Maybe I screwed something up here.
Appreciate your help,thanks again-John
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 12:47 am
by electron67
tried with: watch dog: off
brown out detect : BOD disabilited and SBOREN disabilited
internal external switch over mode : disabilited
montitor clock fail- safe : disabilited
Electron67
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 9:49 am
by JDR04
Thanks electron67, tried all that but the error report is still the same.
I have done a screen grab of it as this will be better than me trying to explain it.
Any help out there will be appreciated. Thanks a lot........John
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 10:21 am
by Crenwick
Have a check in Compiler options/Compiler if the parameters are
For location:
C:\Program Files (x86)\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe
For parameters :
-v -t PIC%p "%f.c"
I think you set the "Programmer" params of PICkit in the Compilers params

Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 11:18 am
by JDR04
Thanks for the reply crenwick, but it seems to have got worse as now it wont compile to c either!!!!
Thanks anyway......John
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 11:31 am
by kersing
Hi John,
It looks like you are missing spaces in both the location and parameters. Also, are you using 64 bit windows? If not remove " (x86)" from the location.
Jac
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 12:08 pm
by Crenwick
kersing wrote:Hi John,
It looks like you are missing spaces in both the location and parameters. Also, are you using 64 bit windows? If not remove " (x86)" from the location.
Jac
+1 with Jac

Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 1:04 pm
by JDR04
Tried that did not work. I have attached more screen grabs, hopefully somebody will see me right on this.
Thanks to all for their help so far...............John
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 2:26 pm
by kersing
Now your location is missing a few characters.
Please cut-and-paste the two strings listed below:
Code: Select all
Location:
C:\Program Files\Flowcode\v5\Tools\boostc\boostc_pic18_flowcode.exe
Parameters:
-v -t PIC%p "%f.c"
Alternatively, select <default> from the option list to reset to (hopefully) known good values. Try to build to HEX (Arrow pointing to white box with 10001) before changing the programmer settings.
Re: Program Wont Compile to HEX
Posted: Fri May 16, 2014 3:58 pm
by JDR04
Thanks a lot kersing, really appreciate your effort to help me. Its compiled to C and to HEX with no errors.
I'll burn the chip later tonight and see what happens.
Really appreciate your guys time.
Many Thanks..........John