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 support@ccsinfo.com

ROM 100%

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



Joined: 25 May 2007
Posts: 16

View user's profile Send private message

ROM 100%
PostPosted: Fri Jun 08, 2007 2:24 am     Reply with quote

Dear;
i am using pic18f458
when i compile my program in ccs the ROM memory is full how can i wirte extra code in my program without this error.
_________________
A.T.N
Ttelmah
Guest







PostPosted: Fri Jun 08, 2007 2:57 am     Reply with quote

Write a smaller program, or use a larger PIC......
This is bit like asking 'my petrol tank holds 20 gallons, how can I put thirty gallons into it without any overflowing'...
However a study of the existing code, may show areas where space can be saved, also increasing the optimisation level, may help a little.

Best Wishes
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Fri Jun 08, 2007 8:30 am     Reply with quote

Look at this thread. It might describe what you are experiencing.

http://www.ccsinfo.com/forum/viewtopic.php?t=30167

Ronald
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Jun 08, 2007 9:18 am     Reply with quote

If a newbie says he's using the 18F458 and he's out of ROM,
he is almost certainly using the demo.

From the demo page:
Quote:

The demo is a limited PCWH compiler for the Microchip 14-bit PIC16F877,
PIC16C544, and 16-bit PIC18F458 target devices. The demo
compiler is licensed for 30 days and has a 2k program size limit.

http://www.ccsinfo.com/demopoll.php
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Fri Jun 08, 2007 2:26 pm     Reply with quote

I forget, we are getting hit with a lot of student cries for help.
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