Memory Usage Report

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
beambase
Posts: 94
Joined: Wed Jul 29, 2009 5:15 pm
Has thanked: 6 times
Been thanked: 8 times

Memory Usage Report

Post by beambase »

Hello,
When I complie my project my Message.txt file used to look like this:

Launching the linker/assembler...
C:\Program\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic18.lib flowcode.pic18.lib rand.pic18.lib float.pic18.lib "Panel8490d.obj" -t PIC18F8490 -d "C:\Documents and Settings\BjΓ¶rn\Mina dokument\Flowcode\skarp2" -p "Panel8490d"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
....
Warning unreferenced functions removed:

FCI_FLOAT_TO_STRING in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

FCI_NUMBER_TO_HEX in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

FCI_STRING_TO_INT in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

FCI_STRING_TO_FLOAT in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

Wdt_Delay_S in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

isinf in: C:\Program\Matrix Multimedia\Flowcode V4\FCD\internals.h

FCD_LCDDisplay0_PrintASCII in: Panel8490d.c

FCD_LCDDisplay0_Command in: Panel8490d.c

FCD_LCDDisplay0_ScrollDisplay in: Panel8490d.c

FCD_LCDDisplay0_ClearLine in: Panel8490d.c

FCD_LCDDisplay0_RAM_Write in: Panel8490d.c
Building CASM file
Memory Usage Report
===================
RAM available:768 bytes, used:144 bytes (18.8%), free:624 bytes (81.2%),
Heap size:624 bytes, Heap max single alloc:127 bytes
ROM available:16384 bytes, used:9872 bytes (60.3%), free:6512 bytes (39.7%)
success
.....
Return code = 0
FINISHED


After adding the CAN component, the Message.txt looks like this, no Memory Usage Report:

Launching the linker/assembler...

C:\Program\Matrix Multimedia\Flowcode V4\BoostC\boostlink.pic.exe -ld "C:\Program\Matrix Multimedia\Flowcode V4\BoostC\lib" libc.pic18.lib flowcode.pic18.lib rand.pic18.lib float.pic18.lib "Panel8490e.obj" -t PIC18F8490 -d "C:\Documents and Settings\BjΓ¶rn\Mina dokument\Flowcode\skarp2" -p "Panel8490e"
BoostLink Optimizing Linker Version 6.95
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday
.................................
Return code = 0
FINISHED


I am using some custom CAN code supplied in this thread:

http://www.matrixmultimedia.com/mmforum ... =22&t=6603

Is there a way to get the Memory usage report back?

regards

Bjorn

Eric
Posts: 99
Joined: Tue Nov 06, 2007 11:04 pm
Been thanked: 1 time

Re: Memory Usage Report

Post by Eric »

I noticed the same problem and I didn't used the CAN component.
snap0098.jpg
snap0098.jpg (29.73 KiB) Viewed 4219 times
Rgds,

Eric

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: Memory Usage Report

Post by Benj »

Hello

I have checked on the Sourceboost forums and cant seem to find a valid explaination for this at the moment. Can you replicate this problem. eg using certain components or does it seem to be more hit and miss then that?

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times

Re: Memory Usage Report

Post by saschech@gmx.de »

Hello Benj

I received nearly the same warning if i work with the delay component.

Regards Wolfgang
Attachments
delay.gif
(110.55 KiB) Downloaded 904 times

Eric
Posts: 99
Joined: Tue Nov 06, 2007 11:04 pm
Been thanked: 1 time

Re: Memory Usage Report

Post by Eric »

Hi Ben,

I think the problem appears the moment there are certain errormessages from the assembler/linker.
If no errormessage, you see the memory usage.
If there is an errormessage, it looks that the memory status is overwritten by the error.

Rgds,

Eric

Post Reply