Forum Discussion
Altera_Forum
Honored Contributor
12 years agoConfiguring FPGA through EPCS (EEPROM) INCLUDING Nios II program?
Hello people! I have made numerous VHDL applications where I configure the FPGA on boot via the EPCS (EEPROM) chip. So until now I know how to create a .jic file and save it to the EEPROM so th...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Sure you can! First of all you need to build a hex file including both fpga configuration and nios firmware. From a nios shell window you need to send these commands: sof2flash --epcs --input=fpga_project.sof --output=fpga_project.flash elf2flash --epcs --after=fpga_project.flash --input=nios_firmware.elf --output=nios_firmware.flash cat fpga_project.flash nios_firmware.flash > hw_sw.flash nios2-elf-objcopy -I srec -O ihex hw_sw.flash hw_sw.hex --- Quote End --- Is there any specific folder I should put the .elf and .sof files in before I do this? I went through these commands but got a segfault at the last one. The .hex file did create, but the Convert Programming Files wizard won't take it, saying that "Checksum on line 13838 does not match expected checksum" and when I try to generate, I get the error message "HEX Data item missing input file". Any idea how I could fix this?