2026-06-05 5:56 AM - last edited on 2026-06-05 7:19 AM by Andrew Neil
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...
"Open in update mode" also doesnt give any proper output,
BR
Solved! Go to Solution.
2026-06-06 12:40 AM
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?
2026-06-05 6:01 AM
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.
2026-06-05 6:35 AM
Did you click the 'Open in update mode' button?
You need to do that first - before you can do the actual update.
2026-06-05 7:00 AM
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...
2026-06-05 7:19 AM - edited 2026-06-05 7:26 AM
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 :
- then un-plug/re-plug the st-link from usb, then refresh, open update mode again, you get:
- then upgrade, you get
2026-06-05 7:23 AM - edited 2026-06-05 7:25 AM
@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.
2026-06-05 2:19 PM
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
2026-06-06 12:40 AM
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?
2026-06-06 9:02 AM
with CubeProgrammer it worked, thanks !
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.