cancel
Showing results for 
Search instead for 
Did you mean: 

Ubuntu 25.10 - STM32CubeProgrammer : Flash Loader cannot be loaded

Bags
Associate III

This fault is still happening since Oct 2024. However I found a workaround documented here -->

https://stackoverflow.com/questions/78850472/stm32cubeprogrammer-flash-loader-cannot-be-loaded

In case the link has died, you need to do the following...

Connect STM32CubeProgrammer to your STM32 device and note the "Device ID" listed in the "Target Information" window bottom right of the CubeProgrammer app, e.g. for an STM32F103 this will be 0x410.

cd into your "STM32CubeProgrammer/bin/FlashLoader" folder.

duplicate the file that matches your device ID (e.g. for an STM32F103 the file would be 0x410.stldr)

and then rename the duplicated file "0x".

Then restart STM32CubeProgrammer and it will now work properly.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Kouthair
ST Employee

Hello everyone,

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.

View solution in original post

3 REPLIES 3
Kouthair
ST Employee

Hello there Bags,

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.


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.
debugging
Lead

Any progress? What is the status ? ST can not reproduce ? reproduced but low priority or no resources ? what is the next step to tackle this one ? This issue has been around for years and it seems more and more folks encounter this issue on multiple platforms . It's pretty annoying having to change the file to flash the correct MCU. In the related issue many folks are waiting for a fix.

https://community.st.com/t5/stm32cubeprogrammer-mcus/unable-to-flash-with-stm32cubeprogrammer/td-p/702988/page/3

 

Kouthair
ST Employee

Hello everyone,

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.