2026-04-16 12:26 AM
Hello ST Community,
I'm trying to connect via UART instead of ST_LINK to the NUCLEO-H755ZI-Q, but it just won't connect.
First, I connect the 3.3V pin to BOOT0, and it activates in bootloader mode. Then, I click "Connect" in the STM32CubeProgrammer environment, and I get this error:
The UART's RX and TX (it's a USB SERIAL CH340) are connected to the Arduino pin PD5 and PD6 (USART2) of the NUCLEO-H755ZI-Q. Pin GND are also connected correctly. The settings on the STM32CubeProgrammer are as shown in the photo:
Why isn't it connecting, or is there something wrong?
thanks for supports
Solved! Go to Solution.
2026-04-16 3:12 AM - edited 2026-04-16 4:41 AM
You are using the wrong GPIOs pins for USART2. AN2606 indicates the following:
And I've already posted an answer in your previous debugger via UART without ST-LINK on NUCLEO-H755ZI-Q:
@Domy_ST wrote:
Yes, using the ST Bootloader via UART, you don't want to connect to the STm32CubeProgrammer, as described in this post:
Did you use the same resource needed by the UART that are indicated in the AN2606 "Introduction to system memory boot mode on STM32 MCUs"?
USART3 needs PB11 and PB10 for the bootloader:
While in the NUCLEO board is connected to PD8 and PD9 as indicated by the schematic:
So you need to wire connect PB10 to PD8 and PB11 to PD9, so the STLINK-VCP will be connected to the USART3 and use the ST bootloader.
You don't need that "USB SERIAL CH340" and use STLINK VCP.
You need to follow the Boot loader process using the boot pin:
1- Put the BOOT0 pin High
2- Reset the device
3- Connect with the CubeProgrammer
That's all.
Hope that helps.
2026-04-16 3:07 AM
Same question here: debugger via UART without ST-LINK on NUCLEO-H755ZI-Q
2026-04-16 3:12 AM - edited 2026-04-16 4:41 AM
You are using the wrong GPIOs pins for USART2. AN2606 indicates the following:
And I've already posted an answer in your previous debugger via UART without ST-LINK on NUCLEO-H755ZI-Q:
@Domy_ST wrote:
Yes, using the ST Bootloader via UART, you don't want to connect to the STm32CubeProgrammer, as described in this post:
Did you use the same resource needed by the UART that are indicated in the AN2606 "Introduction to system memory boot mode on STM32 MCUs"?
USART3 needs PB11 and PB10 for the bootloader:
While in the NUCLEO board is connected to PD8 and PD9 as indicated by the schematic:
So you need to wire connect PB10 to PD8 and PB11 to PD9, so the STLINK-VCP will be connected to the USART3 and use the ST bootloader.
You don't need that "USB SERIAL CH340" and use STLINK VCP.
You need to follow the Boot loader process using the boot pin:
1- Put the BOOT0 pin High
2- Reset the device
3- Connect with the CubeProgrammer
That's all.
Hope that helps.
2026-04-16 4:48 AM
The ST Bootloader worked by making the connections you indicated. Thank you very much! .