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.

Error of not enough RAM using mikroc compiler

Status
Not open for further replies.

weather_station

Newbie level 3
Joined
Sep 6, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
hi

i am using mikroc compiler for my program and i am using p89v51rd2fn controller which has 64kb flash memory and my program is about 37 to 40 KB but some how it give error of not enough ram. I costruct 17 variables including array and for display purpose i also use graphical lcd which is 127*63. so if any one find solution please reply me.

thank you
 

Re: not enough RAM problem

This microcontroller has “only” 1024B of RAM, so maybe your compiler tries to tell you that during operation the micro will need more than 1kB of RAM and that is above its physical size ..

IanP
:grin:
 

Re: not enough RAM problem

i see the manual of P89V51RD2FN and it has 64 KB flash memory so yet i am not getting my solution
 

i see the manual of P89V51RD2FN and it has 64 KB flash memory

Flash (code memory) is not RAM, have a thorough look at the attached picture ..

IanP
:wink:
 

Attachments

  • P89 - 1kRAM.JPG
    P89 - 1kRAM.JPG
    31.3 KB · Views: 154
I also think that Ian is right........ MIckroC while compiling would require more memory than we expect it to take........ :cool::wink:
 
thanks IanP :smile:, now tell me than how to adress 64KB CODE FLASH MEMORY IN P89V51RD2FN :???:
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top