cancel
Showing results for 
Search instead for 
Did you mean: 

How to to download the program to the STM32H743VGT6 via the serial port?

llcc
Senior

Hello, I'm trying to download the program to the STM32H743VGT6 via the serial port. I keep getting the following error when using STM32CubeProgrammer. Do you have any solutions?屏幕截图 2025-11-03 214547.png

7 REPLIES 7
mƎALLEm
ST Employee

Hello,

What USART interface and what GPIOs are you using?

Did you refer to the AN2606 section 56 STM32H74xxx/75xxx devices? not all the USARTs instances nor all the USART pins are available for the bootloader.

+ Boot pin = 1 before resetting the chip?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Hello, I used USART1 (PA9 and PA10). During connection, I held down both RST and BOOT0, then released RST first while keeping BOOT0 pressed. However, the aforementioned error consistently occurs.

TDK
Super User

What board is this?

Has this board ever worked?

Can you connect over SWD?

 

Nothing wrong with what you're doing, so the problem is elsewhere. Some possibilities:

  • Hardware issue (e.g. bad power supply, not powered, miswired)
  • Chip OB set up to ignore BOOT0.
  • Some other bootloader interface is active and takes over before USART1
If you feel a post has answered your question, please click "Accept as Solution".

Yes, my board has worked before. I've always used ST-Link (SWD) to program it.

llcc_0-1762180606186.png

I try to use the DFU, but the error also consistently occurs.

TDK
Super User

> Yes, my board has worked before. I've always used ST-Link (SWD) to program it.

Can you connect with SWD?

What did you do prior to it not working?

 

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

You get one-shot to connect at each reset.

Also perhaps watch for noise on other interfaces, say like a GPS/GNSS or MODEM, that squawks at startup that the H7 might recognize as an attempt to connect. 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..