View previous topic :: View next topic |
Author |
Message |
ahmad-al3omar
Joined: 25 May 2007 Posts: 16
|
ROM 100% |
Posted: Fri Jun 08, 2007 2:24 am |
|
|
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
|
|
Posted: Fri Jun 08, 2007 2:57 am |
|
|
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
|
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Jun 08, 2007 9:18 am |
|
|
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
|
|
Posted: Fri Jun 08, 2007 2:26 pm |
|
|
I forget, we are getting hit with a lot of student cries for help. |
|
|
|