Forum Discussion
Altera_Forum
Honored Contributor
16 years agoIt's been a while, so I don't remember all the details.
I added a "Remote Update Controller" in SOPC builder. To trigger the reconfig, you then do something like this:// set address
IOWR(CYCLONEIII_BASE, 0x04, nAddress >> 2);
// disable watchdog timer
IOWR(CYCLONEIII_BASE, 0x03, 0);
// reconfig
IOWR(CYCLONEIII_BASE, 0x20, 1);In my case, I was only using internal block RAM for my NIOS code. Therefore, I did not have a seperate ELF file to worry about as all my code was included in the SOF file. I used the sof2flash utility to generate a S record file which contained the data to flash to the EPCS.