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

Size of flash memory

Program Size: data=63.0 xdata=0 code=1832

How do i calcuate the size of flash memory of controller required for the above program size?What does the above information indicate?

P.S.:The program was compiled in Keil UV2

  • your code size is 1832 bytes long
    your code is using 63.0 bytes of the RAM
    And you are not using any bytes of the XRAM

    ...How do i calcuate the size of flash memory of controller required for the above program size...

    It should greater than code size.

  • code size + constants size. (Constants, including C initializers, have to be stored in non-volatile memory.)

    "data" refers to the internal 128/256 byte data memory space of the 8051. "xdata" refers to the 64KB external memory space.