Skip to main content
Associate III
July 27, 2025
Question

upgrade to cube programmer v2.20 not installing

  • July 27, 2025
  • 3 replies
  • 467 views

When i enter the programmer I get a signal to upgrade to v2.20.

The process of downloading appears to be proceeding ok but at the end the program just shuts down. When I rerun again the v2.18 comes up and the system asks me to upgrade again to 2.20.

3 replies

TDK
Super User
July 27, 2025

You don't have to upgrade if you don't want to.

If you want to upgrade, try downloading the standalone installer directly rather than upgrading within the tool.

STM32CubeProg - STM32CubeProgrammer software for all STM32 - STMicroelectronics

"If you feel a post has answered your question, please click ""Accept as Solution""."
xuraaxAuthor
Associate III
July 27, 2025

That is what I have been doing, but it is annoying to keep getting a message to upgrade everytime you need to do something.

TDK
Super User
July 27, 2025

On a standard windows install, installing a new version will overwrite the existing EXE.

If you can still launch 2.18 after installing 2.20, maybe you're launching from somewhere that didn't get uninstalled. You could try uninstalling 2.18 first. More details on OS and how you're launching would be helpful.

"If you feel a post has answered your question, please click ""Accept as Solution""."
xuraaxAuthor
Associate III
July 28, 2025

This is my OS:

 

xuraax@MyRoute:~$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="42 (KDE Plasma Desktop Edition)"

Also how do I find where v2.20 was installed?

xuraaxAuthor
Associate III
July 28, 2025

Furthermore I just discovered that v2.20 was downloaded as a zip file and is actually at:

 

~/.STM32CubeProgrammer/downloads/STM32CubeProgrammer2.20.0_linux64.zip

TDK
Super User
August 4, 2025

In general, a new installation will overwrite the old one. You're on linux, so could be something different happening there. You haven't told us where 2.18 is installed, or how it was installed.

Standard linux tools like "which stm32cubeprogrammer" will show where the command executable is, if it can be seen.

Unfortunately, there are 1001 different distributions of Linux which makes it difficult to develop software. Here are the supported versions per the release notes:

Linux®: Ubuntu® LTS 22.04 and LTS 24.04, and Fedora® 41

"If you feel a post has answered your question, please click ""Accept as Solution""."
xuraaxAuthor
Associate III
August 4, 2025

I don't have Fedora 41 but I do have Fedora 42.

This is the response to the "which" command:

xuraax@MyRoute:~$ which STM32CubeProgrammer
/usr/bin/which: no STM32CubeProgrammer in (/home/xuraax/.local/bin:/home/xuraax/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin
:/usr/sbin:/sbin)
xuraax@MyRoute:~$


 However The .desktop file contains the following:

Exec=/home/xuraax/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32CubeProgrammer

 

The .log file generated by uninstaller.jar contains the following:

xuraax@MyRoute:~$ cat /tmp/izpack303463760081100208.log
2025-08-04T17:33:59.878 Phase 1: JarFile: /home/xuraax/STMicroelectronics/STM32Cube/STM32CubeProgrammer/uninstaller/uninstaller.jar
2025-08-04T17:34:00.175 Phase 1: Extracted 1404 files into /tmp/izpack303463760081100208.d
2025-08-04T17:34:00.214 Phase 1: Spawning phase 2:
/usr/lib/jvm/java-21-openjdk/bin/java
-classpath
/tmp/izpack303463760081100208.d
-Dself.mod.base=/tmp/izpack303463760081100208
-Dself.mod.jar=/home/xuraax/STMicroelectronics/STM32Cube/STM32CubeProgrammer/uninstaller/uninstaller.jar
-Dself.mod.class=com.izforge.izpack.uninstaller.Uninstaller
-Dself.mod.method=uninstall
-Dself.mod.phase=2
com.izforge.izpack.util.SelfModifier
2025-08-04T17:34:00.231 Phase 1: Exit
2025-08-04T17:34:01.399 Phase 2: Spawning phase 3:
/usr/lib/jvm/java-21-openjdk/bin/java
-classpath
/tmp/izpack303463760081100208.d
-Dself.mod.base=/tmp/izpack303463760081100208
-Dself.mod.jar=/home/xuraax/STMicroelectronics/STM32Cube/STM32CubeProgrammer/uninstaller/uninstaller.jar
-Dself.mod.class=com.izforge.izpack.uninstaller.Uninstaller
-Dself.mod.method=uninstall
-Dself.mod.phase=3
com.izforge.izpack.util.SelfModifier
2025-08-04T17:34:02.914 Phase 2: deleting sandbox
xuraax@MyRoute:~$

 

Unfortunately this is almost meaningless to me.

 

Regards