generate .jic file from .sof and .elf
I'm trying to generate .jic file from .sof and .elf that use Terasic's self-balancing car demo_nios_code practice. All .sof and .elf are not modified, but my .jic can't work like demo_batch_jic's .jic file. The programmer was also successful in my practice.
(tool: Quartus lite18.1 host PC: WIN10 Board: DE10-Nano)
I follow step like below:
1.turn .sof and .elf to .flash by instruction:
sof2flash --input=DE10_Nano_Bal.sof --output=hwimage.flash --epcs --verbose
elf2flash --input=DE10_Nano_bal.elf --output=swimage.flash --epcs --after=hwimage.flash --verbose
2.turn both .flash to .hex by instruction:
nios2-elf-objcopy -I srec -O ihex hwimage.flash hwimage.hex
nios2-elf-objcopy -I srec -O ihex swimage.flash swimage.hex
3.open "convert programming file" GUI configure like the attached picture:
Hope anyone can give me some advice, I will appreciate it.
(I also attach my program file. it wasn't modified.)
Hi,
From the jic generation, I observed that you do not set the address for the hex file. I would recommend to set the address that you used based on your Quartus design.