Skip to main content
SKUND.11
Associate III
March 28, 2022
Solved

Is it possible to change the registers value in the debug mode while the code is running.

I'm able to change the register value eg. CCR register for duty cycle but first i have to suspend the program and then change the value and then resume it again. Whenever i try to change the value while the code is running it throws me an interrupt error.

0693W00000Lvvp9QAB.png

This topic has been closed for replies.
TDK
TDKBest answer
March 28, 2022

You can if you add it as a live expression. Otherwise no, you need to pause, as the error message indicates.

"If you feel a post has answered your question, please click ""Accept as Solution""."

2 replies

TDK
TDKBest answer
March 28, 2022

You can if you add it as a live expression. Otherwise no, you need to pause, as the error message indicates.

"If you feel a post has answered your question, please click ""Accept as Solution""."
S.Ma
Principal
March 29, 2022

You can, for example with cube monitor sw tool. As for live watch stroboscopic reading, writing is possible, with all risks about sw malfunction.