Skip to main content
Associate
Dec 14, 2025 7:33 PM UTC
Solved

FlashLoader not set correctly

Hello,

I have the issue that the FlashLoader is detected but not set correctly. The error message is:

flash loader cannot be loaded. FlashLoaderPath = CubeProgrammer/bin/FlashLoader/0x

As a workaround I can create a copy of the correct FlashLoader and name it 0x, but I think this should work automatically. I am running on Linux and the issue exists for several versions of CubeProgrammer and on multiple Linux distros for me. My current version 2.21.0.

The issue is really annoying if you switch boards and forget to copy-rename the correct FlashLoader.

 

 

 

 

Kouthair
KouthairBest answer
ST Technical Moderator
Feb 24, 2026 1:42 PM UTC

Hello @tachyon,

This issue has been fixed in STM32CubeProgrammer v2.22. You can download it via this link.

In order 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.

3 replies

Kouthair
ST Technical Moderator
Dec 19, 2025 8:49 AM UTC

Hello there Tachyon,

Thank you for reporting this issue.
We have reproduced this error and we'll report this to the dedicated team (internal ticket number: 224132).
For now, you can use the workaround and we'll let you know ASAP when this is fixed.
Furthermore, can you provide us with the Linux distributions that have caused this error, that would be of great help.


PS: Ticket number: 224132 is an internal tracking number and is not accessible or usable by customers.

Kouthair

In order 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.
tachyonAuthor
Associate
Dec 19, 2025 4:57 PM UTC

One was on Linux Mint 22.1 the other on CachyOS (Arch) . Both with a german locale.

Best regards.

Kouthair
KouthairBest answer
ST Technical Moderator
Feb 24, 2026 1:42 PM UTC

Hello @tachyon,

This issue has been fixed in STM32CubeProgrammer v2.22. You can download it via this link.

In order 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.