Hello,
I'm usig the diab compiler and I can't generate the binary of my program. Someone knows how I can generate the binary?
Thanks
Solved! Go to Solution.
Hi,
I took the tool name from google, it looks that correct tool is ddump.exe. The correct argument is probably ddump.exe -R my.elf my.srec - but I have no chance check or test it.
Jiri
Hi,
you mean generate an .elf file or from existing .elf file generate .bin file? Is there some error message in build console?
Jiri
Hello,
I want to generate .bin or .hex or .mot from the .elf.
At the begining is compile correctly.
But it apeared two errors in the problems window.
Hi,
unfortunately I don't have installed DIAB on my machine, but with DIAB toolchain it should be similar. Right click on project name -> Properties -> Settings and choose Cross Settings:
Then press Apply button. You will see new section -Flash Image in settings:
If there is no such option - you may add a post build step with command:
mb-objcopy -O srec your_elf_file.elf your_srec_file.srec
Jiri
Thanks, but the configuration window is different from the GNU configuration window.
I have also tried the command you say and it gives me an error.
Hi,
I took the tool name from google, it looks that correct tool is ddump.exe. The correct argument is probably ddump.exe -R my.elf my.srec - but I have no chance check or test it.
Jiri