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

Out of ROM

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







Out of ROM
PostPosted: Thu Jun 19, 2003 4:06 am     Reply with quote

I am using PIC 16f876 and when I compile my program, it is written that "Out of ROM, A segment or the program is too large". Does anyone have any suggestion of what should I do?


Thanks

Einly
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515379
Sherpa Doug
Guest







RTFM
PostPosted: Thu Jun 19, 2003 6:56 am     Reply with quote

:=I am using PIC 16f876 and when I compile my program, it is written that "Out of ROM, A segment or the program is too large". Does anyone have any suggestion of what should I do?
:=
:=
:=Thanks
:=
:=Einly

First read the manual section in "Common Questions and Answers." Also look at the #separate and #inline directives. Then if you still have questions you should find lots of info in the old posts on this board.

___________________________
This message was ported from CCS's old forum
Original Post ID: 144515386
Dave Yeatman
Guest







Search on "Out of ROM" for 300 days back, you'll f
PostPosted: Thu Jun 19, 2003 7:15 am     Reply with quote


___________________________
This message was ported from CCS's old forum
Original Post ID: 144515389
Shawn Cherewick



Joined: 07 Sep 2003
Posts: 5
Location: Abbotsford, BC, Canada

View user's profile Send private message Send e-mail Visit poster's website

Re: Out of ROM
PostPosted: Thu Jun 19, 2003 10:37 am     Reply with quote

Einly,

Perhaps you could try to have the compiler optimize the code.

Place this directive at the beginning of your file:

#OPT 9

Do not put anything else on the same line... well, my compiler freaks out if I do... I'm using PCM 3.148 at the moment.

Let me know if that works for you.

Regards,

Shawn Cherewick.

:=I am using PIC 16f876 and when I compile my program, it is written that "Out of ROM, A segment or the program is too large". Does anyone have any suggestion of what should I do?
:=
:=
:=Thanks
:=
:=Einly
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515398
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