Compiler HEX File too big

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
DirkB
Posts: 116
Joined: Wed Feb 08, 2012 2:45 pm
Has thanked: 7 times
Been thanked: 11 times

Compiler HEX File too big

Post by DirkB »

Hello,

i have build a little test project to show differents between compilers different flowcode versions.
V5:

RAM available:1024 bytes, used:62 bytes (6.1%), free:962 bytes (93.9%),
Heap size:336 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:974 words (11.9%), free:7218 words (88.1%)


V6:

RAM available:1024 bytes, used:67 bytes (6.6%), free:957 bytes (93.4%),
Heap size:336 bytes, Heap max single alloc:95 bytes
ROM available:8192 words, used:1424 words (17.4%), free:6768 words (82.6%)


V8:

Memory Summary:
Program space used 567h ( 1383) of 2000h words ( 16.9%)
Data space used 4Ah ( 74) of 3F0h bytes ( 7.3%)
EEPROM space used 10h ( 16) of 100h bytes ( 6.2%)
Data stack space used 0h ( 0) of 3B2h bytes ( 0.0%)
Configuration bits used 2h ( 2) of 2h words (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)

You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.

Compilation successful!

Start von Linker/Assembler...
C:\Program Files (x86)\Flowcode v8\tools\DoNothing\DoNothing.exe
The Project is complete the same. If i used flowcode v.6 or v.8 my Projects are too big for space in chips.
If i use flowcode v.5 i have no Problems. If the project is bigger the different is bigger too. Is it possible
to use compiler from flowcode v.5 with flowcode v.8?

thanks

Dirk

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Compiler HEX File too big

Post by Benj »

Hi Dirk,

Maybe you would like to run the same tests using the free 60-day trial of the XC8 compiler. This will likely improve things considerably.
Is it possible to use compiler from flowcode v.5 with flowcode v.8?
Not without a lot of fiddling, we moved away from the v5 compiler for numerous reasons. e.g. very long time to compile, lack of support for new chips, lack of support in general etc.

Post Reply