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!
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.
I do not know your chip, but this very question has come up several times re chips that require memory configuration in STARTUP. NOTE: configuring memory at "top of main" does NOT do the trick.