cancel
Showing results for 
Search instead for 
Did you mean: 

STM Studio showing error

nishanth
Associate II

While uploading application or FSBL ELF File it is showing a dwarf error!! I tried downloading new version of STM Studio but similar problem occurred in that too; Could you suggest other alternate method so that I can fetch data.

1 REPLY 1
ayla74108
Associate

I’ve run into a similar DWARF error when uploading ELF files for STM32 projects. In my case, it was caused by a mismatch between the compiler version used to build the ELF and the tool version parsing it.

A couple of things you could try:

Rebuild the project with debug info disabled or using a consistent GCC toolchain version.

Use STM32CubeProgrammer instead of STM Studio to load the ELF — it’s often more forgiving with DWARF parsing.

If you only need to fetch runtime data, consider enabling SWV trace or UART logging as an alternative to live debugging.

Might be worth checking if your ELF has unsupported DWARF sections by running readelf --debug-dump — it’ll give clues on where it’s failing.

Coinflip Digital