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?

15 REPLIES 15
MM..1
Chief III

You mix apples with ... WIO require external STLINK connected to SWD ...

Onboard USB is UART bridge nothink todo with STLINK... Require driver for CP uart bridge.

Specify what is your connection problem.?

markpow
Senior

markpow_0-1768669045813.png

I attached my microcontroller to USB as usual (under W10). As you can see, I use SWD. But the programmer doesn't see it.

 

I can't upgrade the firmware because of it:

markpow_1-1768669211802.png

There is no item on the list

Do you mean it: How to install "CP2102 USB to UART Bridge VCP Drivers"
It's a nightmare. It doesn't work at all under W11.
I recall having problems installing that driver earlier.

Finally, I have the driver installed, and the device is attached to it, but I still can't program it.

markpow_0-1768671365338.png

 

 

AScha.3
Super User

>who can point out what I am missing?

A working st-link.

Has nothing to do with the CP2102 , uart bridge.

Show a pic of your st-link V2 , then we know what you have.

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

It isn't the right direction with the CP2 USB driver. I used it for the ESP programming earlier.
I'm sorry. I installed the ST-LINK/2 configuration a few years ago and forgot what it needed to work.

As I said, I successfully installed driver 9, but nothing changed (I didn't get any error messages at the end of the installation). 

If I had had the correct driver installed, the LED diode would have blinked on the device. But it doesn't blink.

And I see that the programmer doesn't see the device because of that:

markpow_0-1768673099817.png

 


I need the right ST-LINK driver installed. Who knows what I should do to achieve it?

markpow_0-1768673352162.png

It's the same configuration that has worked under W10. The only change was from W10 to W11.

As you can see, there is no target voltage, and the LED doesn't blink when attached to the USB.

Andrew Neil
Super User

As @AScha.3 said, please show a photo of your ST-Link - you seem to be confusing it with a USB-to-UART adaptor.

 

To start with, check that you have a genuine ST-Link:

How to recognize a genuine ST-LINK/V2 versus a cloned one

 

Then see:

How to solve debugger connection issues

And:

How to solve connection errors when connecting and programming the STM32 target board.

 

A genuine ST-Link should work fine on Windows 11.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.