cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect warning? "Warning: File corrupted. Two or more segments defines the same memory zone"

RProo.1
Associate

I am having an ELF file (created from a modm.io example) which gives a warning when loading it in the STM32CubeProgrammer tool. It mentions there are 'two or more segements that overlap', but the segments it lists in the log output don't overlap. :

segment[0]: address= 0x8000000, size= 0x1058
segment[1]: address= 0x10000000, size= 0x0
segment[2]: address= 0x20000000, size= 0x0

Is this a bug in the tool or is there something wrong with my ELF file?

I attached the ELF file as reference.

1 REPLY 1
HugoL
Associate II

I have the same problem.

Here as well : https://community.st.com/s/question/0D53W000020H1flSAC/elf-file-2-or-more-segments-define-the-same-memory-zone

I suppose that ELF files are not well supported.