I have motor code running on a STM32G431 MCU and am using Keil IDE with J-Link debugger (5-pin jtag). When the motor is stopped I can see timer registers updating and can inspect watch variables. I'm also have a simple uart command interface I use to start/stop the motor and read some variables.
When I start the motor the Keil IDE watch window stops updating. I have it set to periodic update under the View menu but nothing updates. I can still communicate over the uart interface but the J-link seems locked out. Is this a problem with priority level settings? Also, if the motor code is already running I cannot connect with the J-link. I need to issue a command to stop the motor then I can connect the debugger and read registers or start the motor.
Even if I ose the Keil IDE manual update command in the Toolbox, the windows do not update. I have repeated this at optimization -O0 and -O3 with no change.
Any suggestions? ---- Right now I am very hampered in debugging the code under these conditions. I need some suggestions.
Thanks,
BT
[list][*]
[/list]
When I start the motor the Keil IDE watch window stops updating. I have it set to periodic update under the View menu but nothing updates. I can still communicate over the uart interface but the J-link seems locked out. Is this a problem with priority level settings? Also, if the motor code is already running I cannot connect with the J-link. I need to issue a command to stop the motor then I can connect the debugger and read registers or start the motor.
Even if I ose the Keil IDE manual update command in the Toolbox, the windows do not update. I have repeated this at optimization -O0 and -O3 with no change.
Any suggestions? ---- Right now I am very hampered in debugging the code under these conditions. I need some suggestions.
Thanks,
BT
[list][*]
[/list]