2025-12-28 11:56 PM
I am trying to flash a .bin file to an STM32F767ZI Nucleo board using UART via STM32CubeProgrammer. While I can successfully connect to the board using ST-LINK, I am unable to establish a connection over UART and encounter the following error:
I have tested USART1, USART2, and USART3 with various baud rates, and configured the BOOT0 pin to logic high followed by pressing the reset button, as described in the reference manual. However, the issue persists. Please suggest possible causes/solutions for this problem.
Thank you.
Arun Badiger,
2025-12-29 12:08 AM - edited 2025-12-29 12:20 AM
Hello @Arun_Badiger and welcome to the ST community,
As you said you tested with USART2 I suspect you're not aware about the hardware required by the ST bootloader over U(S)ART.
Did you refer to the AN2606/Table 94?
You have only the following options:
1: USART1_RX: PA10 / USART1_TX : PA9
2: USART3_RX: PB11 / USART3_TX: PB10
3: USART3_RX: PC11 / USART3_TX: PC10
Nothing else.