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 of" error when only 1/4 of ROM used

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



Joined: 11 Feb 2008
Posts: 13

View user's profile Send private message

"Out of ROM of" error when only 1/4 of ROM used
PostPosted: Thu May 08, 2008 9:32 pm     Reply with quote

CCS PCM C Compiler, Version 4.020b

I'm getting an Error 71- Out of ROM when trying to compile a program for a PIC16F887. When I remove some code in order to get it to compile, it says ROM usage is 98%, but looking at my machine code it is only using about 2000 of the available 8192 lines in the PICs memory (about 25%).


???
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu May 08, 2008 9:37 pm     Reply with quote

You have a special "b" version. Did it come with a board ?
If so, it might be limited to only 2K of ROM, similar to the demo version.
bmoore



Joined: 11 Feb 2008
Posts: 13

View user's profile Send private message

PostPosted: Thu May 08, 2008 9:42 pm     Reply with quote

Yes, it came with a PICKit 2 Debug Express package... That stinks.
dyeatman



Joined: 06 Sep 2003
Posts: 1923
Location: Norman, OK

View user's profile Send private message

PostPosted: Fri May 09, 2008 6:10 am     Reply with quote

AFAIK all the demo versions have capability limitations of some
sort. Thats why they are called demos.....

The limitation is clearly stated in the Kit description. The following is
from the Microchip Website:
*****************************************************
Features of PICkit 2 Debug Express:

* PICkit 2 Development Programmer/Debugger
* 44-pin demo board with PIC16F887 Midrange PIC microcontroller
* A series of 12 Lessons on assembly programming that cover I/O, A/D converters, timers, interrupts, and
data tables (All source code files are provided)
* A Debugging Tutorial on using the PICkit 2 as a debugger with the MPLAB IDE (Ch. 4 of the PICkit 2 User’s Guide)
* Getting Started in C tutorial on developing and debugging in C with a FREE CCS PCM™ Midrange C Compiler Demo* for
PIC16F887(contained on the PICkit 2 CD) *2kWord Program Limit.
* FREE! Microchip’s MPLAB IDE software for a complete code development environment
* FREE! HI-TECH PICC™ LITE C Compiler (contained on the MPLAB CD)
*************************************************************
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