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 CCS Technical Support

Does this .LST file indicate any problem ??

 
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

Does this .LST file indicate any problem ??
PostPosted: Tue Oct 03, 2006 5:31 am     Reply with quote

Hi,

I have this lst file for a PIC project (16F628) does this indicate any problem ???

CCS PCM C Compiler, Version 3.169, 16542

Filename: AnLogger8Chn.LST

ROM used: 1929 (94%)
Largest free fragment is 119
RAM used: 77 (44%) at main() level
90 (51%) worst case
Stack: 5 worst case (3 in main + 2 for interrupts)


thanks
arunb
Ttelmah
Guest







PostPosted: Tue Oct 03, 2006 9:13 am     Reply with quote

No.
However there were problems with the configuration settings for some peripherals on chips like the F628, on earlier compilers, and 3.169, might be old enough for this to apply...

Best Wishes
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE":
PostPosted: Tue Oct 03, 2006 10:58 am     Reply with quote

Thanks for the reply.

Actually I had no trouble with 16F628 and PCM 3.169.

Now I am using 16F648A and PCM 3.228.

I find that whenever 'ROM used' exceeds 'Largest free Fragment' with stack level below 7 , the PIC behaves erratically. Is this normal ?

Could there be a problem in the programmer as well, because now I use my own ICSP based programmer , whereas I used Picstart Plus previously ?

thanks
arunb
Ttelmah
Guest







PostPosted: Tue Oct 03, 2006 2:37 pm     Reply with quote

No, it is not 'normal'.
Check the revision numbers for the chip, there are quite a few erratas for some versions.
Are you just using ICSP, or ICD as well? (if the latter, there is a significant amount at the top of memory, that must not be used to make room for the ICD code). Also is the ICSP, a high voltage or low voltage programmer?. If the latter there is a specific problem with programming some parts of the memory at some voltages on these chips.

Best Wishes
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