Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProgram EPCS with 2 Nios II Images
Hello, I have 2 Nios II with 2 individual RAM. These 2 RAMs stored the same program code. Can I program only one code into EPCS using Nios II FLASH PROGRAMMER and boot the 2 Nios II from their ...
Altera_Forum
Honored Contributor
16 years agoSwitching between images can be done using remote configuration, because it lets choose load address from EPCS or CFI. Here http://www.grigaitis.eu/?p=514 is nice description of remote configuration. There is:
int CycloneIII_Reconfig( int remote_update_base, int flash_base, int reconfig_offset, int watchdog_timeout, int width_of_flash ); function that switch between images, you just need to use default image that will be loaded first. Moreover both images must have remote configuration and both of them should have button reading function that show when you need to switch image. Here need only imagination..