View variables in expression window

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

View variables in expression window

1,201 Views
Aili
Contributor II

Hi,

 

 

I'm using Codewarrior 8.2 for DSP56xxx. Can anyone tell me how to view variables with absolute address in Expression window? For example, if I want to view the int value of a variable located in X:$8000, what kind of expression should I write in Expression window? And also, how to update the Expression window (automatically or manually) while the code is running? Thank you.

 

Sincerely yours,

 

Liping

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

263 Views
FTSolutions
Contributor III

If you are running in debug mode, you can click the right mouse button while the cursor is in the debug/runtime window and a pop-up menu will appear - select "View Memory", and another window will popup with memory displayed.  In the memory location bar at the top of this window, type in

"0x3000" if your variable is at "0x3000".   You can also access this function from one of the top menu lists in CW.   The window values may not be updated until you hit a "stop" in the debug screen.

 

I hope that this helps to answer the question.

0 Kudos
Reply