View previous topic :: View next topic |
Author |
Message |
bmoore
Joined: 11 Feb 2008 Posts: 13
|
"Out of ROM of" error when only 1/4 of ROM used |
Posted: Thu May 08, 2008 9:32 pm |
|
|
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
|
|
Posted: Thu May 08, 2008 9:37 pm |
|
|
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
|
|
Posted: Thu May 08, 2008 9:42 pm |
|
|
Yes, it came with a PICKit 2 Debug Express package... That stinks. |
|
|
dyeatman
Joined: 06 Sep 2003 Posts: 1934 Location: Norman, OK
|
|
Posted: Fri May 09, 2008 6:10 am |
|
|
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)
************************************************************* |
|
|
|