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

Memory window does not display meaningful external data RAM content

Hello,

In my debug session, when I tried to display the contents of the external data RAM through the memory window, I see always a value corresponding to the upper 2 nibbles of the address. For example, addresses 0xF000 to 0xF0FF show the value 0xF0, while addresses 0xF100 to 0xF1FF show the value 0xF1.

Displaying the contents of the Flash memory seems fine on the other hand.

Any idea why is the display of the external data RAM not working for me?
Many thanks in advance!

Parents
  • Forget about visibility to the debugger for a moment. You have to make it visible at all.

    And no, the setting in the "target" tab doesn't enable the XRAM. That only informs the linker that it's allowed to use this memory. The actual enabling has to be done in the startup code. You'll have to read that carefully. Or you can investigate from the other end by looking into the datasheet how this controller handles the switch between external and internal RAM, and then you can find how the relevant control inputs are set.

Reply
  • Forget about visibility to the debugger for a moment. You have to make it visible at all.

    And no, the setting in the "target" tab doesn't enable the XRAM. That only informs the linker that it's allowed to use this memory. The actual enabling has to be done in the startup code. You'll have to read that carefully. Or you can investigate from the other end by looking into the datasheet how this controller handles the switch between external and internal RAM, and then you can find how the relevant control inputs are set.

Children