cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Starting Flashed Program at startup.

NatetheBait
Visitor

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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

View solution in original post

2 REPLIES 2
TDK
Super User

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".
NatetheBait
Visitor

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