Not Enough Memory Space

Status
Not open for further replies.

Sathiesh Kumar

New Member
Hi to all,
I am using PIC 16f877 micro controller for a application to interface keypad with LCD... The compiler which i use is MikroC... when i compile the program it shows not enough RAM.... what i have to do...

Help me...
 
368 bytes with 8K memory is more than enough for a such a project.

People have done that project with an antique PIC16F84A with tons of options without any problem.

All you need is compact your code.
 
MikroC stores the text strings in RAM for the standard (compiler library) LCD functions. Also MikroC free demo version has a limit on ROM and RAM.

So you will quickly run out of RAM if you are using the function Lcd_Out("Blah") to do all your menus. There are many ways to get around this, they are all commonly discussed on the MikroC forum. You can just write single characters to the LCD (instead of using text strings) this is probably the easiest solution.

You should probably search the MikroC forum on mikroe.com for all the LCD threads.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…