Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
October 25, 2012 - 2:44pm
|
Hi, I keep encountering the omf2elf failing issue randomly. The command: "omf2elf Release\stm8.aof -t0x8000,4 -e0x4000,0x280" has failed, the returned value is: -1073741819 Any help? Thank you, |
Hi Pradeep,
It looks like OMF2ELF is crashing!
Can you just send the stm8.aof to so I can check it?
Regards,
Stéphane
Hi Stéphane,
I have already sent the aof files to you yesterday.
I have sent you two aofs, one failing and one passing.
Regards,
Pradeep
Hi Pradeep,
I get your .AOF file and I found the trouble. It comes from the linker that improperly set the CRC record size and when this one is the higher in the memory map, OMF2ELF code buffer size isn't correct. It leads to a buffer overrun that I some cases may crash the program.
I'm currently fixing the linker.
Regards,
Stéphane
Thanks for informing Stéphane.
I will wait for your update.
Regards,
Pradeep