2019-07-24 12:01 PM
Hi,
When I add variables to watch during debugging, the watch window does not display the actual value of the variable. I know the variables have the correct value because the program flow based on the value of the variable is correct. The watch just seems static and never updates variable changes.
I have tried 2 different computers, 2 different Nucle0-H743ZI boards, Optimization set to 0, added "volatile" when declaring variables, updated the debug drivers.
Changing variable type and changing the scope of the variable has no effect.
The only time the watch window is correct is if I assign a value to the variable during declaration, the watch window displays the correct declaration value. But that value never changes even when the variable changes.
Solved! Go to Solution.
2019-07-24 03:17 PM
Turn off the caching
Stop at a break-point and check the memory view then.
2019-07-24 03:17 PM
Turn off the caching
Stop at a break-point and check the memory view then.
2019-07-25 01:32 PM
Turning off the cache was the panacea. Thank you.
I had almost given up on the H7, was going to admit defeat and to go back to using a M4 class uC.