cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK2 on Windows 11

markpow
Senior

I have worked with ST-LINK/2 on Windows 10 for several years. I must upgrade to Windows 11 because Windows 10 support ended a few months ago. Today, I tried to program the WIO E5 Mini microcontroller, but I found it's impossible because there's no driver for it on my computer.
I found some information that I should install version 9 of that driver. I downloaded it from the original STM source and ran it, but nothing changed. Is till don't see this driver among my devices. Installation ended without any error. 

Is there anybody who can point out what I am missing?

20 REPLIES 20

As YOU can see on the CubeProgrammer :

AScha3_0-1768673989590.png

NO st-link connected.

So: you have a st-link at all ? connect it to USB.

If you feel a post has answered your question, please click "Accept as Solution".
TDK
Super User

Here are the possibilities:

If nothing happens in device manager when the device is connected, likely the cable is bad.

If you feel a post has answered your question, please click "Accept as Solution".

@AScha.3 @TDK 

I'm sorry :)

I made the last installation of these WIO E-5 Mini devices over a year ago. I forgot how to do that :)
I forgot that I must use ST-LINK/2 device attached to USB and connect appropriate pins between this device and the WIO device. 

 

I have used the last working pin connections between ST-LINK/2 device and the WIO device, and for now, I'm a little bit closer, I think.
I had such messages earlier, and I recall that there is some kind of magic how to mange it:


20:17:58 : ST-LINK SN : 50FF6B067182575134150187
20:17:58 : ST-LINK FW : V2J45S7
20:17:58 : Board : --
20:17:58 : Voltage : 0.00V
20:17:58 : Error: Unable to get core ID
20:17:58 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication

I don't understand how there can be such a small voltage measured by the ST-LINK/2 device. I checked the connections between devices twice, and everything looks fine.

 

>Voltage : 0.00V

means -> you have no power (3v3) at the target, your wio...

connect the 3v3 to wio VDD.

If you feel a post has answered your question, please click "Accept as Solution".

signal-2026-01-17-204140.jpegsignal-2026-01-17-204145.jpeg

Pins look connected properly. ST-LINK/2 VCC pins are 1 & 2. GND is the green cable.
I have used such connections earlier.
Do you see something wrong?

ST-link V2 giving no power...VDD connection is just for measuring the target voltage.

So give some 3v3 to the ...target. st-link will show then this voltage.

If you feel a post has answered your question, please click "Accept as Solution".

...if this is correct:  pin 19 giving 3v3 , pin 1 is for checking the voltage (this it shows then)

AScha3_0-1768680480813.png

from manual:

AScha3_1-1768680649537.png

 

If you feel a post has answered your question, please click "Accept as Solution".

My ST-LINK/2 is totally destroyed. I measured the voltage between 1 & 2 pins and pin 20 (or any other), and I got 0V.
So I changed my device to ST-LINK/2 mini, and for now, the voltage on the device has the right value: 3.26V, 
So I pressed the reset button on the device, and having pressed it, I pressed the Connect button on the IDECubeProgrammer, and voila, it works now.

markpow_0-1768681611057.png

And I was able to reprogram my WIO device.

markpow_1-1768681839894.png

 

Thanks for all supporting me in this Return Back operation :)

I know it, and I looked into it, but my ST-LINK simply doesnt't work. When I switched to the mini version, everything started working.