cancel
Showing results for 
Search instead for 
Did you mean: 

STLinkUpgrade - 'Upgrade' button greyed-out

dennis_m
Associate II

Hello, while trying to flash some test code, I have to run update on STLink, but the "Upgrade" button is not clickable...?

 

I have my board connected, I can see is using lsusb command on my Ubuntu...

05.06.2026_14.49.20_REC.png

 

"Open in update mode" also doesnt give any proper output,

05.06.2026_14.56.13_REC.png

BR

1 ACCEPTED SOLUTION

Accepted Solutions

So with nucleo board and onboard st-link it should work.

Try install/use CubeProgrammer, do the update there. (I do it always this way.)

Or just disable in IDE the check for update st-link (standard is always check).

Btw which Version of IDE you use?

 

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

View solution in original post

8 REPLIES 8
Mahmoud Ben Romdhane
ST Employee

Hello @@dennis_m 

Let me thank you for posting.

For more investigation, could you please provide the Ubuntu and the STM32CubeIDE version.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Andrew Neil
Super User

Did you click the 'Open in update mode' button?

AndrewNeil_0-1780666519154.png

You need to do that first - before you can do the actual update.

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.
dennis_m
Associate II

STM32CubeIDE
Version: 2.1.1
Build: 28236_20260312_0043 (UTC)
OS: Linux, v.6.14.0-37-generic, x86_64 / gtk 3.24.49
Java vendor: Eclipse Adoptium
Java runtime version: 21.0.9+10-LTS
Java version: 21.0.9

 

 

Virtual Box Ubuntu:

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 25.04
Release: 25.04
Codename: plucky

 

after executing Open in Update mode -> update is still not clickable, I am loosing connection to my STM32 board and have to replug...

Hi,

did you ever update this st-linkV2 with success ?

+

What kind of st-link - the stick ?

+

- i am also in Linux system -

after open update mode, you might get :

AScha3_0-1780669414369.png

- then un-plug/re-plug the st-link from usb, then refresh, open update mode again, you get:

AScha3_1-1780669559729.png

- then upgrade, you get

AScha3_2-1780669607527.png

 

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

@dennis_m wrote:

after executing Open in Update mode -> update is still not clickable, I am losing connection to my STM32 board and have to replug...


It would be expected that you lose connection while the ST-Link is in Update mode.

 

Are you sure the ST-Link is genuine?

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

 

As @AScha.3 hints, the "USB stick" ones are not genuine.

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.

my assumtion is, that stlink is on board already, basically integrated.. I have I think the original STM32 nucleo board, not the AliExpress one, so I think I dont need eny standalone ST-Link stick...

After executing Open on update mode I am loosing the Stlink in drag/drop menue (as on picture in the very first post), after replugging and refreshin, I get the ST-Link drop down entry again, but the update button is still inactive...

 

vboxuser@Ubuntu2504:~$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 003: ID 0483:374b STMicroelectronics ST-LINK/V2.1
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So with nucleo board and onboard st-link it should work.

Try install/use CubeProgrammer, do the update there. (I do it always this way.)

Or just disable in IDE the check for update st-link (standard is always check).

Btw which Version of IDE you use?

 

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

with CubeProgrammer it worked, thanks !