Forum Discussion
Altera_Forum
Honored Contributor
16 years agoif you want that the fpga image is loaded from epcs after power on the you must set the msel pins according to the datasheet of your fpga.
is your fpga image loaded from epcs but nios does not boot from epcs ? did you store your application after the fpga image inside epcs device ? converting the fpga image to be stored into epcs bash -c "sof2flash --verbose --compress --epcs --input=fpga.sof --output=fpga.flash" converting your application bash -c "elf2flash --verbose --epcs --after=fpga.flash --input=app.elf --output=app.flash" programming the fpga image nios2-flash-programmer.exe --cable='USB-Blaster' --epcs fpga.flash programming the application image nios2-flash-programmer.exe --cable='USB-Blaster' --epcs app.flash --go don't forgett to add the option --base=0x.... the startadr. of your epcs ip inside sopcs builder you need to set the cpu reset vector to the epcs ip modul if msel pins are set to boot from epcs then everything should work