Skip to main content
SArsl.1
Associate
September 26, 2020
Solved

STM32F407G-DISC1 ST-LINK/V2-A with virtual COM port problem (Windows10)

  • September 26, 2020
  • 4 replies
  • 3436 views

0693W000004HCBpQAO.png

It is from UM1472 User manual ,,,

file:///C:/Users/Yeni/Desktop/stm32F407/dm00039084-discovery-kit-with-stm32f407vg-mcu-stmicroelectronics.pdf ,,,

I am trying to use UART with Tera Term,

As can see ,

The ST-LINK/V2-A supports a virtual COM port (VCP) on U2 pin 12 (ST-LINK_TX) and U2 pin 13 (ST-LINK_RX) but these pins are not connected to the USART of the STM32F407 microcontroller for mbed support.

I did not understand the solutions of connection of ST-LINK/V2-A with virtual COM port 

also one of solution says "Using flying wires " how is it possible,using flying wires with SMD mcu

Could you help me please

This topic has been closed for replies.
Best answer by Tesla DeLorean

Yes, typically a FTDI or SiLabs USB-To-CMOS Serial type adapter, at 3 or 3.3V

The levels here are not RS232 compatible.

If you just need debug output, the PB3 SWO should be wired, or a solder-bridge away.

Here you'd use a SWV Serial Wire Viewer application, either in the ST-LINK Utilities, or newer STM32 Cube Programmer.

4 replies

Tesla DeLorean
Guru
September 26, 2020

You need thin wires and someone who can solder in tight spaces.

Typically done under a microscope, with flux, and fine tip.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
SArsl.1
SArsl.1Author
Associate
September 26, 2020

Mr.Thank you very much for information

Could you tell me please about first solution

its says "USB dongle from market" is it like a USB to TTL converter?

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
September 26, 2020

Yes, typically a FTDI or SiLabs USB-To-CMOS Serial type adapter, at 3 or 3.3V

The levels here are not RS232 compatible.

If you just need debug output, the PB3 SWO should be wired, or a solder-bridge away.

Here you'd use a SWV Serial Wire Viewer application, either in the ST-LINK Utilities, or newer STM32 Cube Programmer.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..