No Output on PuTTY – STWINBX1 USART3 via ST-LINK V3MINI (COM3)
Hi everyone,
I'm working with an STWINBX1 board and using ST-LINK V3MINI for debugging and serial communication. However, I can't see any output on PuTTY (COM3 @ 115200 baud), even though everything seems correctly configured.
Setup Details:
- Board: STWINBX1
- Connection: ST-LINK V3MINI (COM3 appears in Device Manager as "STMicroelectronics STLINK Virtual COM Port")
- USART Configuration:
- USART3 enabled by default
- TX/RX mapped to correct GPIOs (PB10/PB11 or PD8/PD9)
- Baud Rate: 115200
- Data Bits: 8, Stop Bits: 1, Parity: None, Flow Control: None
- Tools Used:
- STM32CubeIDE for debugging (flashes successfully)
- STM32CubeProgrammer (UART connection to COM3 fails)
- PuTTY (No output when running code)
What I Tried So Far:
:white_heavy_check_mark: Checked and confirmed USART3 is initialized in main.c
:white_heavy_check_mark: Added debug messages via HAL_UART_Transmit(&huart3, ...)
:white_heavy_check_mark: Toggled an LED before sending UART data (LED toggles, so the function executes)
:white_heavy_check_mark: Checked in STM32CubeMX that USART3 is mapped to the correct GPIOs
:white_heavy_check_mark: Verified ST-LINK V3MINI appears as COM3 in Device Manager
:white_heavy_check_mark: Tried enabling/disabling "VCP UART" in STM32CubeProgrammer
:white_heavy_check_mark: Tested different baud rates in PuTTY
Issue:
- No data appears on PuTTY (COM3)
- STM32CubeProgrammer UART mode cannot connect ("Error: Activating device: KO, verify boot mode and serial settings")
Questions:
- Does ST-LINK V3MINI actually support forwarding USART3 to the PC?
- Is there a known issue with STWINBX1 and ST-LINK VCP (Virtual COM Port)?
- Should I use USART1 instead of USART3, or does ST-LINK only work with specific USARTs?
- Do I need to configure Hardware Flow Control (RS232)?
Any help would be greatly appreciated!
