cancel
Showing results for 
Search instead for 
Did you mean: 

STM32g474 code execute automatically without pressing RUN when i put MCU in debugging mode in uVision.

Amandeep_Dhaliwal
Associate III

STM32g474 code execute automatically without pressing RUN when i put MCU in debugging mode in uVision.

Anyone knows where im wrong?

Note:- Reset pin is not connected pull up or down.

1 REPLY 1
Imen.D
ST Employee

Hello @Amandeep_Dhaliwal,

Verify in Debug configuration that the option to "Run to main()" is disabled.

Enable "Connect under Reset" option.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen