Hi, Everybody
I need to check the value of registers in debug mode,
but the registers value field just show "Registers not accessible at runtime",
how should I do ?
IDE : Codewarrior 10.4
Question : how to show registers(like PTAD value) value Dynamically at run time in debug ?
Hi
I have no solution in REGISTERS view for you, however you can see the changing values in registers directly in memory view
http://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/
I am toggling PTAD1 located in adress 0 with 1 second period and it is visible - value in RED,
just be sure to enable refresh while running (two arrows button in top right of my snapshot)
Pavel
Hi,
You can see your values refreshing easily:
1) Go to Debug Configurations...
2) Go to Debugger and set the refresh time (minimum 0.5 seconds):
3) Debug your project and go to Reflesh, click on Refresh while running:
4) Run your project and you will be able to see how your registers and variables are refreshing.
I hope this helps, Burgos.
Hi, Luis :
Thanks for your suggest,
But It's just can display user define registers & variables,
can't show system registers values dynamically.
I got a idea like this :
My_PTD1 = PPORT_PTDD_PTDD1;
than I can read My_PTD1 value in period from Variables field.