arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Help understanding compiler files. |
Posted: Thu Aug 03, 2006 6:03 am |
|
|
Hi,
PCM: 3.228
MCU: 16F628,16F877A
MPLAB 7.31
I just compiled a project and I got this .LST file like this...
For 16F628:-.
CCS PCM C Compiler, Version 3.228, 16542 03-Aug-06 17:21
Filename: MVODRRheometer.LST
ROM used: 1308 words (64%)
Largest free fragment is 740
RAM used: 48 (27%) at main() level
60 (34%) worst case
Stack: 5 worst case (4 in main + 1 for interrupts)
It says ROM used is 1308, and largest free fragment is 740, is this OK for the mcu to run without any problem, or do I have to increase free space to more than 1308 words. (is my interpretation correct ??)
For 16F877A:-
Now I have noticed that whenever the free space in this mcu is more than ROM used the mcu works well, but when free space is less than words used , the operation goes haywire, is this normal ??? or is there something else wrong.
I have a sample .TRE file below for the 16F877A mcu.
CCS PCM C Compiler, Version 3.228, 16542 02-Aug-06 21:03
Filename: CLG004Main-v2.LST
ROM used: 2121 words (26%)
Largest free fragment is 2048
RAM used: 61 (35%) at main() level
71 (41%) worst case
Stack: 5 worst case (3 in main + 2 for interrupts)
Kindly advise ...
thanks
arunb |
|