Unable to 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
TezzaMcTezza
Posts: 5
Joined: Mon Sep 10, 2012 8:02 pm

Unable to compile to hex...

Post by TezzaMcTezza »

I have just upgraded my V5 Home licence to professional but I am now not able to compile my programs to hex.

The compiler message says this at the end:



failure
Return code = -2
Flowcode was unable to assemble the ASM file due to the following errors:



FINISHED


Any ideas?
Attachments
ScreenTest.msg.txt
(6.7 KiB) Downloaded 200 times

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times

Re: Unable to compile to hex...

Post by JohnCrow »

Hi Tezza

Code: Select all

RAM available:64 bytes, used:115 bytes (179.6%), free:-51 bytes (-79.6%)
If you look at the error message I've posted above, it looks like your code is too big for the device you are trying to use.
You have 64 bytes available but are trying to load 115 bytes.
The fix is to select a PIC with more memory.

Try selecting a larger device in FC and then try compile to hex again.
1 in 10 people understand binary, the other one doesn't !

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: Unable to compile to hex...

Post by JonnyW »

Hello. Did this program compile with enough space on your device with Flowcode free version, then failed on Flowcode professional?

Cheers,

Jonny

Post Reply