Skip to main content
Amandeep_Dhaliwal
Associate III
February 6, 2025
Question

STM32g4 code starts without pressing RUN in debugging in uVision.

  • February 6, 2025
  • 1 reply
  • 944 views

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

Technical Moderator
February 6, 2025

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