Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThere is not any way to do this from within Quartus.
The first thing to fix would be nios2-elf-objcopy not producing any output .hex file. If your post is accurate, it looks like you're not invoking the command properly? Here is the command I use from my scripts:
nios2-elf-objcopy --input-target srec --output-target ihex ${ELFFILE}.srec ${HEXFILE}
i.e. GNU-style double-dash "--" argument prefixes.