Forum Discussion
Altera_Forum
Honored Contributor
16 years agoUse objcopy to copy extract the data from each segment.
Something like: nios2-elf-objcopy.exe -O hex -j .text prog.elf prog_text.hex You probably need to use 'objdump -h' to sort out which elf sections exist in the input file, and may need to get the linker to generate a map file in order to find out what ends up where (and why).