Is there a method to declare labels and variables written in assembly so that the debugger watch window will show them? I know I've done this with IAR but can't see how with uVision. For example I have: MyVariable FIELD 4 in the code mapped to RAM and in the code I use the address MyVariable to get the data from RAM. I'd like a way to see the contents of that memory address without looking at the raw memory. Currently I can have the debugger watch window show other predefined registers such as GP2SET but not my custom memory addresses used as variables. I get the value of <cannot evaluate> with type of uchar. I can't be the first one to have this issue but don't see anything yet on this forum.
I am not exporting. I am not familiar with this. I do see labels in my program code in the map file but cannot evaluate those either in the debugger watch window. I do not see any of my RAM "variable" names in the map file. I do see some but not all of my FLASH "variable" names in the map file but cannot evaluate those either in the debugger watch window.
Are you exporting the names, can you see them in the .MAP file?
View all questions in Keil forum