RAM overflow

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

RAM overflow

Post 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

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RAM overflow

Post 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.

Post Reply