cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube Programmer - invalid ELF-file

CBerg
Senior

Hi folks,

I have a Projekt on an STM32G431CBU. The programm runs without erros in DEBUG mode as well as in RELEASE Mode, when I flash it from the CubeIDE. For me this means the binaries are OK.

But if I want to flash the ELF-Files to the MCU with Cube Programmer I get an error message, saying that "xxxxx.ELF" is not a valid ELF file?!

I am using CubeIDE Version: 1.14.0

and Cube Programmer 2.14.0

 

Has anyone experienced similar issues and maybe a solution for me?

 

Thanks and have a good one!

Chris

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

Try the latest version of CubeProgrammer 2.17.0

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

What do tools like objdump or objcopy report for this .ELF file?

Isn't there a much newer version of Cube Programmer? Check release notes if issues related to this were addressed.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
SofLit
ST Employee

Try the latest version of CubeProgrammer 2.17.0

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.

upgrading to 2.17 solved the issue