Skip to main content
Explorer
February 6, 2025
Question

STM32g4 code starts without pressing RUN in debugging in uVision.

  • February 6, 2025
  • 1 reply
  • 943 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.

    This topic has been closed for replies.

    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.