Forum Discussion
Altera_Forum
Honored Contributor
17 years agoCyclone III + EPCS + Remote Update
As the title suggests, we want to implement the remote update feature using the CIII and (Active Serial) EPCS64 device. The objective is to get two application programs stored on the EPCS device, b...
Altera_Forum
Honored Contributor
15 years agoThe link to the grigaitis website has been useful for me, but I only managed to get the remote update working after I added a delay as follows:-
IOWR(remote_update_base, 0x4, reconfig_offset >> offset_shift);
// *** delay added ***
delay_us(100);
// Perform the reconfiguration by setting bit 0 in the
// control/status register
IOWR(remote_update_base, 0x20, 0x1);
The delay routine is my own crude for() loop, so I'm not sure how long I *really* needed to wait ... but it works for me !! :) It may be due to me using a full NIOS core running @ 40MHz ... who knows !?!