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

how to handle big program eeror

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



Joined: 24 Jun 2004
Posts: 285

View user's profile Send private message

how to handle big program eeror
PostPosted: Wed Jul 28, 2004 4:00 pm     Reply with quote

When I compiled my program for 12f675, the "out of ROM, a segment of the program is too big"error occured. I checked the original program where I wrote for 16f877a, the hex file is 10k size, according to the datasheet page 7 for 12f675
Quote:

THe PIC 12f629/675 devices have a 13-bit program counter capable of addressing an 8kX14 program memory space, only the first 1kX14(0000h-03ffh) for the PIC12f629/675 devices is physically implemented.


How can I implement the rest memory space, or is it possible? if not, I have to use a large memory space chip right?
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Wed Jul 28, 2004 5:15 pm     Reply with quote

You can't, you will have to get a bigger chip or reduce your code.
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