Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- It'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. --- Quote End --- Hi, kevin Would you tell where theses code locate? In factory nios program or application nios program? I'm now very confusing with this issue. I want to figure out the reconfiguration process. Thank you in advance! -wei