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

ROM F819

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



Joined: 24 Sep 2003
Posts: 14

View user's profile Send private message

ROM F819
PostPosted: Tue Feb 21, 2006 4:07 am     Reply with quote

Hello,

I am getting out of ROM with the F819. When I look in the .lst file I see the compiler does not use all the ROM (and RAM):

ROM used: 1768 words (99%)
Largest free fragment is 24
RAM used: 138 (85%) at main() level
151 (93%) worst case
Stack: 4 worst case (3 in main + 1 for interrupts)

When I add the 24 to the 1768 it gives me 1792 what is exactly the amount of words of the F818, strange... When I put the line
#device *= 16 to my program and recompile the following happens:

ROM used: 1915 words (94%)
Largest free fragment is 133
RAM used: 139 (57%) at main() level
159 (65%) worst case
Stack: 4 worst case (3 in main + 1 for interrupts)

1915 plus 133 is 2048 what is exactly the amount of instructions of the F819 (that is what I want) but now my program is not working anymore.

Can anyone help me with this?

Remko
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Tue Feb 21, 2006 9:13 am     Reply with quote

I think for this purpose, 99% is all ROM used up. I would think that the
24 blocks left are not large enough for the next object the compiler is
trying to put in ROM
Remko



Joined: 24 Sep 2003
Posts: 14

View user's profile Send private message

PostPosted: Tue Feb 21, 2006 9:18 am     Reply with quote

Thank you for your replay treitmey,

I just found the problem. I am debugging with ICD2. The ICD2 takes the space in ROM from 0x06FF till 0x07FF and uses some RAM.

Thanks again.

Remko
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