Forum Discussion
Altera_Forum
Honored Contributor
21 years agoEPCS : update FPGA config data and NIOS software
Hi, I currently use NIOS II v5.0 and I want to update the FPGA configuration Data and the NIOS sofware ( which are twice stored in the EPCS memory) with an Ethernet network. Anybody h...
Altera_Forum
Honored Contributor
21 years agoIf I understood this correctly you want to put the FPGA configuration and Nios II application software into the EPCS?
The flash programmmer can do this assuming the following: 1) You have an EPCS controller in your hardware design 2) You have the reset location set to the EPCS controller (it has a bootloader inside it) 3) You have some other memory in your design to use as main memory (so you compile your application for this main memory not the EPCS device itself). So you have your compiled code, the EPCS controller is targetted as the reset location so that the bootloader in it will copy your compiled application that was stored in the EPCS device into your main memory. Now if you were asking if you can run code directly out of the EPCS device .......... that's going to be very slow so I don't recommend it (that and you will not have an interface provided by Altera to do that). These should help: http://www.altera.com/literature/hb/nios2/...pu_nii51012.pdf (http://www.altera.com/literature/hb/nios2/n2cpu_nii51012.pdf) http://www.altera.com/literature/ug/ug_nio..._programmer.pdf (http://www.altera.com/literature/ug/ug_nios2_flash_programmer.pdf)