Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProgram EPCS from user code?
I'd like to add a firmware upgrade capability to my NIOS system. Since the end user won't have a development system with JTAG I'd like to add a way of reprogramming the EPCS with FPGA con...
Altera_Forum
Honored Contributor
20 years agoIf you've ever programmed the SOF to flash, you should see a <sof_name>.flash file in the Debug|Release subdirectory of your project. There's also an auto-generated <project_name>_programmer.sh script which should make it apparent how all this stuff works....
This script uses: 1. sof2flash to generate the <sof_name>.flash file. and 2. nios2-flash-programmer to program it to the flash device. Cheers, - slacker