We configure the timer 1 to run a PWM signal on PA8 & PA9.
It works well with the debugger, but when we power the MCU directly, the PWM is not running ! (We can confirm that the main is running... with a manual GPIO toggle).
We are using HAL software, with System Workbench for STM32 + arm-none-eabi-gdb.
Maybe openocd or arm-none-eabi-gdb are setting some register during the debugging process...which make our timer running...