This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Regarding Program and Data memory

Hi, I am using P89V51RD2 micro controller for my application.I am using kiel software for writing programs.after building my code it is showing as fallows, Program Size: data=12.2 xdata=626 code=44295 creating hex file from "SGW"... "SGW" - 0 Error(s), 6 Warning(s).
Please clarify the following
1.I want to know what does data=12.2 , xdata=626, code=44295 signifies?
2.In general which part of program comes under data RAM ? and which comes under code flash(In the data sheet it is mentioned that 64KB on-chip code flash and 1KB data RAM )
With Regards,
Bhaskar Reddy
abreddy1990@yahoo.com

Parents
  • "data is the 256 bytes of internal RAM"

    Half of that is IDATA.

    "Code goes to the Flash"

    Although Flash is usually used to store the code, the physical memory technology has nothing to do with the 8051 Address Space:

    Flash could be mapped into XDATA space;
    Code could be in RAM;
    Other non-volatile technologies are available;
    etc, etc,...

Reply
  • "data is the 256 bytes of internal RAM"

    Half of that is IDATA.

    "Code goes to the Flash"

    Although Flash is usually used to store the code, the physical memory technology has nothing to do with the 8051 Address Space:

    Flash could be mapped into XDATA space;
    Code could be in RAM;
    Other non-volatile technologies are available;
    etc, etc,...

Children