Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThe more I think about it, I don't think the elf2hex utility will work for this purpose. I think elf2hex may only work when there is one simple section in your ELF file you are trying to convert. What you need is the entire object file in a format compatible with the boot loader.
Perhaps you could try elf2flash and then use srec_cat to convert the flash file to a hex file. Is there a reason you don't just use the Nios II flash programmer? That would probably be easier.