cancel
Showing results for 
Search instead for 
Did you mean: 

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

SKUND.11
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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".

View solution in original post

2 REPLIES 2
TDK
Guru

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

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