Page 1 of 1

RAM overflow

Posted: Thu Oct 07, 2010 9:01 am
by Jan Lichtenbelt
I get a RAM overflow:

Memory Usage Report
==================
Error: No remaining RAM block (on target) big enough for:
'FCV_BETA' size:128 bytes
'FCV_ALPHA' size:128 bytes

RAM available:368 bytes, used:442 bytes (120.1%), free:-74 bytes (-20.1%),
Heap size:0 bytes, Heap max single alloc:0 bytes
ROM available:4096 words, used:0 words (0.0%), free:4096 words (100.0%)


Is there a possibility to extend the RAM in this PIC16F88 microcontroller?


Jan Lichtenbelt

Re: RAM overflow

Posted: Thu Oct 07, 2010 4:14 pm
by Benj
Hello Jan,

The PICs do not have external memory busses like some of the AVR devices have so unfortunatley you cannot add more RAM to the system.

You can however try to reduce the amount of RAM you are using by reusing variables where possible and deleting any unused variables.

Otherwise there may be a pin compatible chip for the 88 that has a larger amount of RAM memory.