Forum Discussion
Altera_Forum
Honored Contributor
14 years agoelf2hex
It shouldnt be hard... I have my project compiled in the SBT. I just need to convert the .elf file to hex I tried using the script below it gives me a hex file but with no information (all zeros)....
Altera_Forum
Honored Contributor
14 years agoCheck the addresses of the loadable elf segments with 'objdump -p foo.elf' possibly the address range you requested doesn't contain any data!.
I use 'objcopy -o binary -j section_name foo.elf' to extract the binary data from a nios elf image (then convert it to a ppc elf .o file).