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

Why out of RAM?

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







Why out of RAM?
PostPosted: Wed Nov 23, 2005 5:00 pm     Reply with quote

hello *,

according to data sheet PIC16F876/7A has 386 bytes of RAM. In the header of the lst-file you can see that 146 bytes are about 83%. when i want to add an int8 array of 64 the message would be: "Not enough RAM for all variables". there shoud be sufficient RAM. what's wrong? can you help me?

regards

Peter



CCS PCM C Compiler, Version 3.235, 26231 23-Nov-05 23:15

Filename: logger.LST

ROM used: 3101 words (38%)
Largest free fragment is 2048
RAM used: 119 (68%) at main() level
146 (83%) worst case
Stack: 4 worst case (3 in main + 1 for interrupts)
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Nov 23, 2005 5:05 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=23932
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