Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
i do create my epcs images using the following commands from the Nios Command Shell:
sof2flash --epcs --compress --input=hw.sof --output=hw.flash
elf2flash --epcs --after=hw.flash --input=sw.elf --output=sw.flash
Now i do have 2 flash files which are combined via:
cat hw.flash sw.flash > image.flash
And converted to epcs binary
nios2-elf-objcopy -I srec -O binary image.flash image.bin
Now your image.bin can be wriiten directly to address 0 of your epcs, or to another address if you use the Remote_Config IP. I do not have any experience concerning the other Flash types, but think there's an equal approach.