MY RAM for Microcontroller PIC16f877a is full

Status
Not open for further replies.

MahmoudHassan

Full Member level 6
Joined
Oct 4, 2010
Messages
349
Helped
44
Reputation
90
Reaction score
40
Trophy points
1,328
Activity points
3,913
MY RAM for Microcontroller PIC16f877a is full...!

i have only one global variable....
220 line code
what makes ram full like that ?


i don't know what to do ?

my idea is to include another RAM out of pic (is there is something like that ! not sure ..!)
if this idea is ok what RAM recommended manufacture ? and how to interface it to the PIC?

any suggestions for other solutions ?

thanks
 


RAM is also used by variables, but as saeed_pk has said some idea of your code would help. Another solution would be to go to a PIC18F4620 which has a larger RAM space and which is easier to use from a page/bank select basis as it has direct addressing for the memory.
 
Sorry for that Error

I programmed it in MikroC

attached the code project

and protues file


Thanks for your replies and your time

any help appreciated
 

Attachments

  • Final.rar
    48.3 KB · Views: 131

I don't know this compiler, but please check your device settings.

An extract from the generated file LCD_DISP.log:
"Available RAM: 80 [bytes], Available ROM: 4096 [bytes]"
Seems this is NOT for PIC16F877a ...
 
oh...it works .... it seems that i was too sleepy to do an Error like that

but if that really happen how i can solve a problem like that ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…