Skip to main content
Associate
September 25, 2026
Question

When attempting to connect and flash an STM32F407G-DISC1 board with STM32CubeProgrammer via the default ROM USART1 interface on pins PA9 (TX) an

When attempting to connect and flash an STM32F407G-DISC1 board with STM32CubeProgrammer via the default ROM USART1 interface on pins PA9 (TX) and PA10 (RX), the connection consistently fails with a timeout error:

 

text

 

 

Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again.

This failure occurs despite proper boot pin configuration (BOOT0 = 3.3V, BOOT1/PB2 = GND) and correct UART settings (Even parity, 8 data bits). In contrast, using PB10 / PB11 (USART3) succeeds immediately.

 

2. Test Configuration & Environment

Target Device: STM32F407VGT6 (LQFP100 package on STM32F407G-DISC1 board)

Programming Tool: STM32CubeProgrammer (UART Interface mode)

Serial Bridge: USB-to-UART Adapter (CP2102)

Target Pins Tested:

PA9 (STM32 USART1_TX 

→

→ Adapter RX)

PA10 (STM32 USART1_RX 

←

← Adapter TX)

GND (Common ground)

Boot Configuration: BOOT0 = 3.3V, PB2 (BOOT1) = GND

Port Settings Tested: Baudrates: 9600, 57600, 115200 | Parity: Even | Stop bits: 1

1 reply

KDJEM.1
ST Technical Moderator
September 25, 2026

Hello ​@amaljishnu7 and welcome to the community;

 

Could you please check the status of LD7. According to Discovery kit with STM32F407VG MCU - User manual, the green LED indicates when VBUS is present on CN5 and is connected to PA9 of the STM32F407VGT6.

 

Thank you.

Kaouthar

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