@mrechte I had the same problem and this worked for me: https://stackoverflow.com/questions/78850472/stm32cubeprogrammer-flash-loader-cannot-be-loaded
Search Criteria
Package Details: stm32cubeprog 2.20.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/stm32cubeprog.git (read-only, click to copy) |
|---|---|
| Package Base: | stm32cubeprog |
| Description: | An all-in-one multi-OS software tool for programming STM32 products. |
| Upstream URL: | https://www.st.com/en/development-tools/stm32cubeprog.html |
| Keywords: | programmer stm32 |
| Licenses: | custom:SLA0048 |
| Provides: | stm32cubeprogrammer |
| Submitter: | yjun |
| Maintainer: | taotieren (GPereira, akumaexs, CloverGit) |
| Last Packager: | CloverGit |
| Votes: | 11 |
| Popularity: | 0.165696 |
| First Submitted: | 2021-01-15 20:39 (UTC) |
| Last Updated: | 2025-07-11 14:34 (UTC) |
Dependencies (8)
- libusb (libusb-gitAUR)
- qt6-serialport
- stlink (stlink-gitAUR)
- gendesk (make)
- gsfonts (gsfonts-emojilessAUR) (make)
- icoutils (make)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zulu-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk-android-studioAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8AUR, jdk23-graalvm-ee-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-liberica-full-binAUR, jdk17-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk24-graalvm-ce-binAUR, jdk8-dragonwell-extendedAUR, jdk23-temurinAUR, zing-23-binAUR, jdk17-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk-wakefieldAUR, zing-21-binAUR, zing-8-binAUR, zing-17-binAUR, jdk8-perfAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk11-temurinAUR, zulu-24-binAUR, liberica-nik-23-full-binAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-jdk-21-binAUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, sapmachine11-jdkAUR, sapmachine17-jdkAUR, zulu-17-fx-binAUR, jdk11AUR, zulu8-fx-binAUR, jdk8-temurinAUR, liberica-nik-24-full-binAUR, jdk-openj9-binAUR, jdk25-graalvm-ce-binAUR, jdk25-graalvm-binAUR, jdk24-openjdkAUR, jdk23-openjdkAUR, jdk22-openjdkAUR, jdk24-graalvm-binAUR, jdk24-graalvm-ee-binAUR, liberica-nik-25-full-binAUR, amazon-corretto-25-binAUR, amazon-corretto-24-binAUR, jdk25-openjdk-wakefieldAUR, jdk25-openj9-binAUR, java-openjdk-ea-binAUR, jdk21-graalvm-ee-binAUR, jdk21-jetbrains-binAUR, java-openjdk-binAUR, jdkAUR, jdk-ltsAUR, amazon-corretto-11AUR, amazon-corretto-8AUR, liberica-jdk-full-binAUR, liberica-jdk-25-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-11-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-17-full-binAUR, jre-jetbrainsAUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk8-openj9-binAUR, zulu-21-binAUR, zulu-17-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
- p7zip (p7zip-full-binAUR, p7zip-natspecAUR, 7zip-natspecAUR, 7zip) (make)
Required by (0)
Sources (7)
marceljoseph commented on 2025-10-14 09:55 (UTC)
mrechte commented on 2025-10-11 16:05 (UTC)
Hello. When I connect to the device, I get the message "stm32cubeprog error: flash loader cannot be loaded FlashLoaderPath = /opt/stm32cubprog/bin/FlashLoader/Ox". This same program used to work a few months ago (2.18 and 2.20 gives the same error). To use this prog, I had to switch to Xorg. Now there is no more choice. Would this problem be linked to Wayland ?
kjkent commented on 2025-07-26 00:59 (UTC)
@fermentedfly see the pinned comment from Dec 2024 ;).
For anyone using an AUR helper (e.g., yay (I know they're not officially supported)) you can follow the upstream URL to download and move the downloaded file to ~/.cache/yay/stm32cubeprog/en.stm32cubeprg-lin-v2-20-0.zip and rerun the install. Change version/filename as necessary per the PKGBUILD.
fermentedfly commented on 2025-07-17 07:49 (UTC) (edited on 2025-07-17 07:49 (UTC) by fermentedfly)
makepkg fails due to bad shasum for en.stm32cubeprg-lin-v2-20-0.zip.
It seems the download from st.com results in a HTTP 401 error.
Manually downloading "stm32cubeprg-lin-v2-20-0.zip" from ST (login required) and placing it in the build folder as "en.stm32cubeprg-lin-v2-20-0.zip" mitigates the problem.
ozz commented on 2025-03-25 16:55 (UTC)
STM32_Programmer_CLI doesn't work due to undefined symbols in libQt6SerialPort. qt6-serialport can be installed via pacman to fix it.
CloverGit commented on 2025-03-23 14:29 (UTC)
I agree. The 04d0f6bc30979434340f86df719a2f7dd40a4709 had used javac --release 8 to adapt the higher version of java set in archlinux-java.
However, the maintainer taotieren reported at the time that he was getting runtime exceptions on java versions higher than 1.8, so java-environment==8 was used until more test reports were available.
piernov commented on 2025-03-23 13:51 (UTC)
makedepends on java-environment looks like it could be relaxed to any version, seems to build fine with jdk-openjdk 24.u36-1, and this would prevent issues with archlinux-java environment set to a newer version but without jdk installed which would cause javac to be missing from PATH.
If strict version is kept, javac should at least use full absolute path.
CloverGit commented on 2024-12-23 03:24 (UTC)
ST has modified their website, and now you must add the cookie in the request header to download files. Until this issue is resolved, please download the en.stm32cubeprg-lin-v${VERSION}.zip via the browser and then use makepkg to manually package it.
Pinned Comments
CloverGit commented on 2024-12-23 03:24 (UTC)
ST has modified their website, and now you must add the cookie in the request header to download files. Until this issue is resolved, please download the en.stm32cubeprg-lin-v${VERSION}.zip via the browser and then use
makepkgto manually package it.