Forum Discussion
Altera_Forum
Honored Contributor
14 years agohello Seilaser,
Could you try this : At first, with nios2 tool, create an .hex file containing both vhdl and nios program :
sof2flash --epcs --compress --input=VHDL.sof --output=firmware.flash
elf2flash --epcs --after=firmware.flash --input=nios.elf --output=software.flash
nios2-elf-objcopy -I srec -O binary firmware.flash firmware.bin
nios2-elf-objcopy -I srec -O binary software.flash software.bin
cat firmware.bin software.bin > app_image.bin
nios2-elf-objcopy -I binary -O ihex app_image.bin app_image.hex Then with the "convert programming files..." tool from quartus, create a (*.jic) file. - select your EPCS device - select your FPGA device for the flash loader - remove the "SOF Data" - clic "add hex data", keep absolute addressing and choose your app_image.hex file. - Generate! Finally, download the *.jic file with quartus 2 programmer on the production PC. Regards