2025-07-27 5:55 AM
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.
2025-07-27 6:52 AM
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
2025-07-27 9:19 AM
That is what I have been doing, but it is annoying to keep getting a message to upgrade everytime you need to do something.
2025-07-27 10:09 AM
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.
2025-07-27 10:44 PM
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?
2025-07-27 10:54 PM
Furthermore I just discovered that v2.20 was downloaded as a zip file and is actually at:
~/.STM32CubeProgrammer/downloads/STM32CubeProgrammer2.20.0_linux64.zip
2025-08-03 11:44 PM
I am disappointed not to get a reply to this question. I can of course simply delete the folder and subfolders of the current installation before installing the new version but would this leave remnants of the old installation elsewhere?
2025-08-04 6:06 AM
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
2025-08-04 8:40 AM
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