STM8-Emulator
STM8-Emulator copied to clipboard
which compiler do you use?
I use COSMIC free to compile , the elf header is not correct: stm8l15xx4_6.elf: ELF 32-bit MSB executable, FX66, version 1 (IRIX), statically linked, with debug_info, not stripped
‘FX66' is wrong,I check your elf file, show “STM8 8-bit” ,it's correct.
so,I what to known which compiler do you use?
thanks。。
Hi, I do use COSMIC free. Would you be able to send me the ELF and the project you tried to compile? I'd like to take a look at the issue. Thanks!
Yes,You can try this.
I found that it's caused by cosmic compiler,which in the elf file. the "e_machine" code is error.
I change the "00 42"(FX66) to "00 BA"(STM8) to correct the elf.