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

STM32g4 code starts without pressing RUN in debugging in uVision.

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.

This topic has been closed for replies.

1 reply

ST 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.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks