Skip to main content
Associate
June 13, 2025
Solved

How to flash custom stm32H750 board without boot button

  • June 13, 2025
  • 2 replies
  • 377 views

Hello everyone

I am a begineer with stm32 MCUs. I studied through  youtube videos and datasheets that we can program STM32H750 using STlink V3 and to do so the MCU should be put into bootloader first. To do so the boot pin must be pulled low for which dev boards have a button that we can press at power up or reset.

I don't want to use the button in my custom hardware design. I want the boot pin to be pulled low by the programmer (ST link v3) or atleast be piulled low automatically. I want to use tag connectors to programe my boards.

How can I automatically put STM32H750 into flash mode (boot pin pulled down) when STlink is connected.
Thanks for your help.

 

Best answer by TDK

Program your board with SWD and you don't need to worry about the BOOT0 pin or whether the chip is in bootloader mode or not.

2 replies

Andrew Neil
Super User
June 13, 2025

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results.

 


@hamzakhan07 wrote:

I studied through  youtube videos and datasheets that we can program STM32H750 using STlink V3 and to do so the MCU should be put into bootloader first.


No, that's incorrect: using an ST-Link (or other SWD programmer) does not require a bootloader.

You need a bootloader for programming over other interfaces - UART, USB, etc.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Associate
June 13, 2025

Thanks for helping out. Thats something I missunderstood. 

Andrew Neil
Super User
June 13, 2025

You're welcome.

If your issue is resolved, please mark the solution.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
TDK
TDKBest answer
Super User
June 13, 2025

Program your board with SWD and you don't need to worry about the BOOT0 pin or whether the chip is in bootloader mode or not.

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