Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 

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: 130

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top