cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash STM32F429zi nucleo via UART without ST-Link?

Asha1
Associate

Hello,

I'm working with STM32F429ZI nucleo board, and I would like to flash my program using UART (USART1 or UART3 via  a usb to ttl converter)  instead of ST-Link.I understand that STM32 has a built-in bootloader that can be used for flashing via UART, but I'm not sure about the exact steps or tools required.

when I connect the uart  with  STM32CubeProgrammer an error message come :-

13:58:51:175 : Error occured while sending Init command.
13:58:51:175 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again......

settings I did:

1.the boot0 pin connected with 3v3 and boot1(pb2) connected to ground

2.uart3 pins PB10,and pb11 used for tx and rx respectively

Here’s what I’ve tried / what I need help with:

1. How to connect the UART pins correctly for flashing?
2. What BOOT0 and BOOT1 pin settings are needed?
3. What software can I use on the PC side (e.g., STM32CubeProgrammer or any alternatives)?
4. What file format should I use (.hex or .bin)?
5. How to verify if the STM32 is actually in bootloader mode?

Any help or step-by-step guide would be appreciated.

0 REPLIES 0