cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to flash with STM32CubeProgrammer

SimonHuwyler
Associate II

Hi,

I just installed STM32CubeProgrammer v2.17.0 on Linux.

When I connect to the board (tried with several different ones), I get the following error;

flash loader cannot be loaded. FlashLoaderPath = /home/[yadayada]/bin/FlashLoader/0x

I can read the flash, I can do everything, with the exception of flashing. This fails.

I first thought it might be a truncated log message. But when I just copied any of the loader files and gave it the file name "0x", I didn't get the error message. So it really looks for a file named "0x". It looks like in the code, the assembly of the file name (all the files match the pattern 0x*.stldr)

 

I tried to do an software update, but this also fails: "The updater package on server is corrupted"

 

 

20 REPLIES 20

I have tried removing the file and it does not work. The only way to get this to work is to rename the correct loader file to 0x.

I am on an Arch based linux distribution.