cancel
Showing results for 
Search instead for 
Did you mean: 

Keeping PWM running while debugger stopped

NM
Associate III

Hi,

How to enable the PWM to keep running when debugger stopped at brake point in the ST Visual Development. Tell me how to solve this problem.

Regards,

Nishanth M

2 REPLIES 2
Osto
Senior

You can use for example __HAL_UNFREEZE_TIM3_DBGMCU to keep TIM 3 running when debug stops.

But be warned: If a timer or anything else producing interrupts when the debug stops, you cannot make steps because at every step the ISR will be called.

NM
Associate III

Hi,

I wanted in STM8 MCU series for COSMIC compiler and IDE is ST Visual Development.

Regards,

Nishanth M