Forum Discussion
Altera_Forum
Honored Contributor
20 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