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

How to watch data memory through memory window

I type the adrress,but it just display the data of code,but I wan't to see the data in RAM,what shall I do?

Parents
  • The 8051 has different memory spaces. The memory window in the uVision debugger distinguishes them with a prefix. For example, xdata addresses look like:

    X:0x4034 00 00 00 00

    while code addresses look like:

    C:0x4034 FB A3 E4 75

    Just type in an X: or C: in front of your address in the "Address: box and it will switch to the matching memory space.

Reply
  • The 8051 has different memory spaces. The memory window in the uVision debugger distinguishes them with a prefix. For example, xdata addresses look like:

    X:0x4034 00 00 00 00

    while code addresses look like:

    C:0x4034 FB A3 E4 75

    Just type in an X: or C: in front of your address in the "Address: box and it will switch to the matching memory space.

Children