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 can I watch the internal ram data in simulation under UV3 IDE?

I write a program in asm,so I just want to watch the data in internal ram (0x00 - 0xff)

but I found KEIL UV3 IDE can only watch the external ram and the varible in C in simulation by memeory window and watch window!

Then how can I watch the internal ram data directly in simulation under UV3 IDE?

Parents
  • There are several memory areas on the 8051. In the uVision Debugger, when you specify an address you must also specify a memory area. This is done using the memory type prefix. For example:

    X:0x0000 is address 0x0000 in XDATA
    D:0x00 is address 0x00 in DATA
    I:0x00 is address 0x00 in IDATA
    P:0x00 is address 0x00 in PDATA
    C:0x0000 is address 0x0000 in CODE/PROGRAM memory

    If you don't specify a prefix, you probably don't get what you want.

    Jon

Reply
  • There are several memory areas on the 8051. In the uVision Debugger, when you specify an address you must also specify a memory area. This is done using the memory type prefix. For example:

    X:0x0000 is address 0x0000 in XDATA
    D:0x00 is address 0x00 in DATA
    I:0x00 is address 0x00 in IDATA
    P:0x00 is address 0x00 in PDATA
    C:0x0000 is address 0x0000 in CODE/PROGRAM memory

    If you don't specify a prefix, you probably don't get what you want.

    Jon

Children