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 agoEtienne,
do I understand you right: Your problem is, how to manage a complete reprogramming of your EPCS by the running NIOS system ? You'll get an image file via ethernet which has to be stored into the EPCS, so next time you apply power, a new FPGA configuration is loaded and then your new firmware is booting, all from EPCS. If so, we had a similar discussion in ... another topic (http://www.niosforum.com/forum/index.php?act=st&f=2&t=1386&hl=). I can send you a short ANSI-C programme to combine the two files into one binary image. EPCS can be programmed using HAL functions 'alt_erase_flash_block' and 'alt_write_flash'. Mike