cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Connect to STM32F767Zi-Nucleo in STM32CubeProgrammer via UART

Arun_Badiger
Visitor

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: 

Arun_Badiger_0-1766994447327.png

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,

1 REPLY 1
mƎALLEm
ST Employee

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?

mALLEm_0-1766995546908.png

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.

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.