Program Wont Compile to HEX
Moderator: Benj
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Program Wont Compile to HEX
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
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
- Attachments
-
- IST ERROR.doc
- (314.99 KiB) Downloaded 272 times
-
- INFARED CAMERA TRIGGER 1.fcf
- (17.5 KiB) Downloaded 268 times
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Program Wont Compile to HEX
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.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Program Wont Compile to HEX
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
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
- Attachments
-
- Screen Grabs 2.jpg
- (113.79 KiB) Downloaded 1792 times
-
- Screen Grabs 1.jpg
- (71.77 KiB) Downloaded 1792 times
-
- Posts: 311
- Joined: Sat Jan 12, 2008 2:08 am
- Has thanked: 104 times
- Been thanked: 47 times
- Contact:
Re: Program Wont Compile to HEX
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
brown out detect : BOD disabilited and SBOREN disabilited
internal external switch over mode : disabilited
montitor clock fail- safe : disabilited
Electron67
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Program Wont Compile to HEX
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
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
- Attachments
-
- Compile to HEX Error.jpg
- (81.12 KiB) Downloaded 1776 times
- Crenwick
- Posts: 127
- Joined: Sun Aug 07, 2011 1:40 pm
- Location: Belgium
- Has thanked: 7 times
- Been thanked: 21 times
- Contact:
Re: Program Wont Compile to HEX
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
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
Bernard
Flowcode 6 / EB006-V9
Flowcode 6 / EB006-V9
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Program Wont Compile to HEX
Thanks for the reply crenwick, but it seems to have got worse as now it wont compile to c either!!!!
Thanks anyway......John
Thanks anyway......John
- Attachments
-
- Compiler error.jpg
- (41.68 KiB) Downloaded 1772 times
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Program Wont Compile to HEX
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
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
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- Crenwick
- Posts: 127
- Joined: Sun Aug 07, 2011 1:40 pm
- Location: Belgium
- Has thanked: 7 times
- Been thanked: 21 times
- Contact:
Re: Program Wont Compile to HEX
+1 with Jackersing 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
Bernard
Flowcode 6 / EB006-V9
Flowcode 6 / EB006-V9
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Program Wont Compile to HEX
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
Thanks to all for their help so far...............John
- Attachments
-
- Errors 456.jpg
- (99.76 KiB) Downloaded 1761 times
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Program Wont Compile to HEX
Now your location is missing a few characters.
Please cut-and-paste the two strings listed below:
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.
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"
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
-
- Posts: 271
- Joined: Tue Mar 05, 2013 10:49 pm
- Has thanked: 111 times
- Been thanked: 13 times
- Contact:
Re: Program Wont Compile to HEX
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
I'll burn the chip later tonight and see what happens.
Really appreciate your guys time.
Many Thanks..........John