Program Wont Compile to HEX

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
JDR04
Posts: 271
Joined: Tue Mar 05, 2013 10:49 pm
Has thanked: 111 times
Been thanked: 13 times
Contact:

Program Wont Compile to HEX

Post 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
Attachments
IST ERROR.doc
(314.99 KiB) Downloaded 272 times
INFARED CAMERA TRIGGER 1.fcf
(17.5 KiB) Downloaded 268 times

kersing
Valued Contributor
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

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

JDR04
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

Post 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
Attachments
Screen Grabs 2.jpg
(113.79 KiB) Downloaded 1792 times
Screen Grabs 1.jpg
(71.77 KiB) Downloaded 1792 times

electron67
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

Post 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

JDR04
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

Post 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
Attachments
Compile to HEX Error.jpg
(81.12 KiB) Downloaded 1776 times

User avatar
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

Post 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 :wink:
Bernard

Flowcode 6 / EB006-V9

JDR04
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

Post 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
Attachments
Compiler error.jpg
(41.68 KiB) Downloaded 1772 times

kersing
Valued Contributor
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

Post 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
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
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

Post 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 :wink:
Bernard

Flowcode 6 / EB006-V9

JDR04
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

Post 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
Attachments
Errors 456.jpg
(99.76 KiB) Downloaded 1761 times

kersing
Valued Contributor
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

Post 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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

JDR04
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

Post 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

Post Reply