View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Does this .LST file indicate any problem ?? |
Posted: Tue Oct 03, 2006 5:31 am |
|
|
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
|
|
Posted: Tue Oct 03, 2006 9:13 am |
|
|
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
|
RE": |
Posted: Tue Oct 03, 2006 10:58 am |
|
|
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
|
|
Posted: Tue Oct 03, 2006 2:37 pm |
|
|
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 |
|
|
|