CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Help understanding compiler files.

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

Help understanding compiler files.
PostPosted: Thu Aug 03, 2006 6:03 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group