Forum Discussion
Altera_Forum
Honored Contributor
16 years agoRemote Update Cyclone III from EPCS
I am able to load in an Application configuration from a specified address in the EPCS, but after a certain time the device reconfigures itself with the Factory configuration (at address 0).
I am not using a Nios processor. Reconfiguration is controlled by an external processor and a simple state machine in the FPGA. It seems that the first time I trigger the device to reconfigure itself with the Application configuration (address 30000) it will immediately reconfigure itself with the Factory configuration. On subsequent times it will keep the Application configuration for about a minute before reconfiguring itself with the Factory configuration. It seems like it has something to do with the watchdog timer, but I have not enabled it. I have not been successful yet in reading back the status from the Remote Update circuit so I can't tell what caused the reconfiguration. I connected a signal that has a short pulse every millisecond up to the reset_timer line but that made it such that the FPGA would revert back to Factory configuration immediately every time I triggered a reconfiguration with the Application configuration. Any ideas on what to look for would be appreciated.14 Replies
- Altera_Forum
Honored Contributor
I added logic to explicitly disable the WDT and it fixed the problem.
- Altera_Forum
Honored Contributor
I don't have a Nios processor.
I use some simple logic in the FPGA and an external processor. I know the external processor is not triggering the reconfiguration at random times because I am manually forcing the event by writing to a specific address. I never get an unexpected reconfiguration when running with the Factory image. Can you point me to any documentation that shows what the default state of the watchdog is? I am not enabling it, but it really seems like that is what is triggering the reconfiguration. Thanks. - Altera_Forum
Honored Contributor
One way to check is to get the processor running in application mode, then connect to the processor using the NIOS II debugger. Let the processor remain paused and see if the FPGA still gets reconfigured.
Jake - Altera_Forum
Honored Contributor
Watchdog timer would have been my first guess as well. Another thing to check though is if there is a bug in your software (overrunning memory, invalid pointer) and you're accidentally writing to the remote_update core and performing a restart.
Jake