cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash custom stm32H750 board without boot button

hamzakhan07
Associate

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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

View solution in original post

4 REPLIES 4
Andrew Neil
Super User

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.

Thanks for helping out. Thats something I missunderstood. 

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
Super User

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