Skip to main content
MGrze
Associate
January 31, 2019
Solved

ST-Link V2 can't connect on Windows 10 (Version 1809)

  • January 31, 2019
  • 24 replies
  • 12206 views

I installed the driver for the ST-LINK V2 on Windows 10 (STSW-LINK009). The Installation was successful. Unfortunatelly the device can't connect to the USB port and is blinking red. I even can't find the driver in the Device Manager in Windows. The software tools from st can't also find any device. I've tried it on three computers, with the same result.

This topic has been closed for replies.
Best answer by MGrze

Hi, I've got today the second ST-Link/V2. It works as expected. The first device was broken, even though it was new!

Thanks for support!

24 replies

Associate III
November 14, 2023

The dongle fits into the usb socket directly so there is no cable involved. I have tried other sockets on the same computer with the same result. I how now tried the dongle on yet another windows10 computer (no.3) and the dongle works.

Dmesg shows up the STLINK in the second computer but nothing on the first computer.

AScha.3
Super User
November 14, 2023

so from Dmesg shows nothing -> no enumeration at all -> no contact on dp+ line.

you have some extension cable usb male->female ? try this.

If you feel a post has answered your question, please click on " Best Answer ".
Associate III
November 14, 2023

What I have done now is insert a USB hub in between and the computer is now recognising the dongle in the device manager.

However although the smsw-link0009 appears to be installing I am still unable to find the app which runs it.

 

AScha.3
Super User
November 14, 2023

try stm32CubeProgrammer - this should work.

If you feel a post has answered your question, please click on " Best Answer ".
Associate III
November 14, 2023

I have stm32CubeIDE already installed. Can I use that to program my board with a .bin file? If yes. How?

AScha.3
Super User
November 14, 2023

to load just a bin -> stm32CubeProgrammer  is the tool to use.

If you feel a post has answered your question, please click on " Best Answer ".
Associate III
November 15, 2023

My problems with the dongle have now been resolved. In the hope that this may help somebody else this is what I did.

Since the dongle was working properly on a different computer I inserted a USB externally powered hub between the dongle and the computer. This fixed the issue for me so I think the problem was a signal level issue.

Also I did not need to install the Cube Programmer (thanks anyway AScha.3) to fix the STSW programmer issue. For some reason the zip file for STSW-LINK009 did not contain the setup.exe program when extracted. Only the drivers. Since I still had the old folder STSW-LINK004 I ran setup.exe from this folder and the STSW programmer got reinstalled again. When I checked the drivers via Device Manager, the system confirmed that I had the latest.