Forum Discussion
Altera_Forum
Honored Contributor
17 years agoCreate sof file with software inside
Hello there, I've just migrated from Xilinx to Altera. Using the NIOS IDE I've created a system with working SW. I would like to program the on-board EPCS flash so on power up the FPGA is pro...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- The question in point is how to program a NIOS2 software image into the EPCS flash. The easiest and fastest way to do this is with the NIOS2 flash programmer. Because of the way NIOS boots from EPCS flash, the flash programmer must program both the FPGA image and software image at the same time. Actually, we use the nios2-flash-programmer in field/manufacturing environments all the time because of it's speed advantage over the JIC method. The nios2-flash-programmer can be run from the command line for advanced users just as the quartus programmer can. Jake --- Quote End --- Hi Jake Recently,I used NiosII Command Shell to build the advanced bootcopier, when typing the code " nios2-flash-programmer --base=0x00000000 \--epcs hello_world.flash " , an error appears "No EPCS registers found ,tried looking at 0x00000200,0x00000300,0x00000400". I have ensured the jtag-module-reset output from the NiosII processor connected to the epcs flash controller reset input. can you give some help? Thank you very much! Sincerely Luke.