Skip to main content
Associate
July 6, 2025
Solved

Issue with Starting Flashed Program at startup.

  • July 6, 2025
  • 2 replies
  • 311 views

Hello,

Excuse me for being such a noob here but I'm having an issue with an STM32H7A3RTI6. I flash a basic blinky program with the stlink and then when I go to disconnect/reconnect the stlink to supply power to the chip it doesn't start up the program. I have to manually set NRST to ground to start the program again.

Is there a way to toggle this pin at power up or am I doing something wrong?

Thank you.

Best answer by TDK

Is BOOT0 grounded?

If HSE is used, it might not be getting started in time. Try using HSI instead.

You can connect to the program already running on the board with the debug configuration if you disable download  option and disable reset in the configuration parameters. That will let you know the state of the chip, including where execution is at (PC register).

2 replies

TDK
TDKBest answer
Super User
July 6, 2025

Is BOOT0 grounded?

If HSE is used, it might not be getting started in time. Try using HSI instead.

You can connect to the program already running on the board with the debug configuration if you disable download  option and disable reset in the configuration parameters. That will let you know the state of the chip, including where execution is at (PC register).

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
July 6, 2025

BOOT0 was not grounded and now it works at start up. Thank you very much.