Skip to main content
Pavel A.
Jun 13, 2022 9:44 AM UTC
Solved

[RESOLVED] VCP on ST-LINK v3 mini

I cannot get the VCP function of ST-LINK v3 mini working.

Windows sees the com port and can open it

Connected TX output of UART to pin 14 of ST-LINK 3 mini, but nothing is received on the PC side.

Connected some other serial TTL-USB adapter (set to 3.3V), and it works properly.

​

However, the serial TTL-USB adapter has a ground connection and ST-LINK's VCP has common ground with other functions.

The debugger function works properly.

Is the TX level of VCP 3.3 or 5 V? Does the VCP function work for anyone?

Thanks,

-- pa

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 13, 2022 10:28 AM UTC

Should be 3.3V

Make sure the RX/TX sense is not reversed. Stick a scope on the pins and send stream of data from PC​

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

7 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jun 13, 2022 10:28 AM UTC

Should be 3.3V

Make sure the RX/TX sense is not reversed. Stick a scope on the pins and send stream of data from PC​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Pavel A.Author
Jun 13, 2022 10:22 PM UTC

It was a bad soldering. Some software folks are terrible solders (yes it's me). Thanks.

Tesla DeLorean
Guru
Jun 13, 2022 10:37 PM UTC

I'm an electronics guy, but my soldering skills aren't particularly good, but I have technicians with better skills/technique, better eyesight, and better equipment.. and a lot more practice.

Using high power irons (70-80W), with the right bits, right temperature, and right solder do improve the odds significantly.

I also don't like breadboards, and dupont wires, I much prefer wire-wrap and schmartboard jumper wires, type of thing with good metallic bonds, and can survive a trip around a conference table..

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Paul1
Senior III
Jun 13, 2022 12:41 PM UTC

a) We use the STLINK com port all the time, very convenient with the 14pin MIPI connector.

b) Personally I wouldn't call that VCP as it can be easily confused with STM32 VCP support.

  • STLINK provides a USB COM port that can connect to UART pins on the STM32
  • STM32 VCP is a method of simulating UART through the STM's USB using only the D+/D- pins, and loading appropriate code in the STM32. We've been using this with USB-C connectors on our boards and it provides a nice robust non-orientation restricting connection which is real nice when the boards are in hard to reach places using easily available cables.

Paul

Associate
Mar 1, 2025 4:08 PM UTC

This took  me a while to find how *** is the RX, TX on ST Link! how on earth they did this? 

RX which is receive pin is OUTPUT!, and TX is INPUT! this is most *** think I have ever seen in my life. such a waste of time ...

drafshin_0-1740845241297.png

 

PR.10
Associate III
Oct 14, 2026 7:45 PM UTC

Exactly the same wtf moment. TX RX silkscreen labels on the board are swapped. Must have been checked on Friday end of day :-).
I also did not expert this would be mislabeled, fortunately no smoke in my case.

Visitor II
Nov 9, 2025 5:01 AM UTC

try to connect TX with TX, RX with RX, STLINK V3 MINIE is not the same as other STLINK i have used.