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

not enough ram problem

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







not enough ram problem
PostPosted: Sun Oct 09, 2005 2:55 am     Reply with quote

Dear Sir,

PIC 16f877A is using for my present work. while combiling using CCSC "not enough ram" error is popup. from the data sheet the information is that general pupose ram locations are greater than 300 bytes. but in my project the worst cause usage is below 160 bytes. Anyone know the reason?.

vineesh.A
arunb



Joined: 08 Sep 2003
Posts: 492
Location: India

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

RE:
PostPosted: Sun Oct 09, 2005 5:43 am     Reply with quote

Hi,

Check the .tre file and see which of the functions/procedures are using a large amount of RAM, then breakup these procedures into smaller ones.

That way you can save a large amount of RAM

thanks
arunb
Guest








PostPosted: Sun Oct 09, 2005 10:33 pm     Reply with quote

hello,

Thanks to your repalys . i got the answer from Ttelmah. since #device *=16 is not used compiler only select first bank. so the problem arise. thanks to all.

vin
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