Page 1 of 1

Memory Usage Report

Posted: Mon Aug 24, 2009 5:05 am
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

Re: Memory Usage Report

Posted: Wed Aug 26, 2009 9:07 am
by Eric
I noticed the same problem and I didn't used the CAN component.
snap0098.jpg
snap0098.jpg (29.73 KiB) Viewed 4221 times
Rgds,

Eric

Re: Memory Usage Report

Posted: Wed Aug 26, 2009 10:48 am
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?

Re: Memory Usage Report

Posted: Thu Aug 27, 2009 6:29 pm
by saschech@gmx.de
Hello Benj

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

Regards Wolfgang

Re: Memory Usage Report

Posted: Thu Aug 27, 2009 7:09 pm
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