Forum Discussion
Seems that is pretty much the whole story.
We debug with the NIOS vectors pointing to a DDR chip.
We move the NIOS vectors to the EPCS controller for production.
The old process was run in a cygwin window.
cd /cygdrive/c/altera/kits/PCIe_mini_A429_x4_Rev\ B
sof2flash --input=PCIe_miniARINC429.sof --output=hwimage.flash --epcs --verbose
elf2flash --input=./software/Arinc429firmware/Arinc429firmware.elf --output=swimage.flash --epcs --after=hwimage.flash --verbose
nios2-elf-objcopy -I srec -O ihex hwimage.flash hwimage.hex
nios2-elf-objcopy -I srec -O ihex swimage.flash swimage.hex
The 2 hex files and flash loader were combined into a jic file.
When the system powered on, the NIOS booted from the EPCS and jumped into the ddr to run.
The new process is wsl
/mnt/c/intelFPGA_lite/21.1/nios2eds/bin/sof2flash.exe --input=output_files/VXI_DA8.sof --output=hwimage.flash --epcs --verbose
/mnt/c/intelFPGA_lite/21.1/nios2eds/bin/elf2flash.exe --input=./mt_epcs.elf --output=swimage.flash --epcs --after=hwimage.flash --verbose
/mnt/c/intelFPGA_lite/21.1/nios2eds/bin/gnu/H-x86_64-mingw32/bin/nios2-elf-objcopy.exe -I srec -O ihex hwimage.flash hwimage.hex
/mnt/c/intelFPGA_lite/21.1/nios2eds/bin/gnu/H-x86_64-mingw32/bin/nios2-elf-objcopy.exe -I srec -O ihex swimage.flash swimage.hex
The 2 hex files and flash loader were combined into a jic file.
When the system powered on, the NIOS instuction pointer is looping the code that comes with the EPCS controller IP.