Arria 10: Remote Update Watchdog unpredicted behavior
Hello,
I start a new thread here, since the previous thread is not answered anymore after the transformation from Intel to Altera Forum. All details and data is still valid from the original thread:
Arria 10: Remote Update may brick FPGA and Factory Fallback won't work | Altera Community
Main problem is:
- We have to scenarios (see also here)
- Misaligned Image:
- Enable Watchdog in Factory Image
- trigger reconfiguration (write 1 to RU_RECONFIGURATION_MODE & RU_RECONFIG)
- Reconfiguration fails due to misaligned image --> Watchdog triggers
- Fallback to factory mode
- ==> This case is working as expected. Good Case!
- Aligned valid Image
- Enable Watchdog in Factory Image
- trigger reconfiguration (write 1 to RU_RECONFIGURATION_MODE & RU_RECONFIG)
- Application Image starts. Application Image does not serve or actively disable the watchdog!
- Since the application image does not serve the watchdog, I would expect a factory fallback due to watchdog triggering. NOTE: We do not talk about further reconfiguration triggered from within application image. We only do reconfiguration from within the factory load.
- ==> This is not happening. And I don't understand why. Or is the watchdog automatically disabled once a valid application image is loaded?
- Critical Questions about the Watchdog timeout register:
- What is the unit of the watchdog timeout register? This is not specified in its datasheet/documentation.
- Farabi stated "Please make sure the watchdog timeout not too. eg. Dont set RU_WATCHDOG_TIMEOUT = 0xFFF (this is too long)". Why is this too long? I am missing any restrictions in the respective datasheet.
- Misaligned Image:
Please advice. Thanks for any help
best regards
Fabian
Hello Fabian,
Thanks for the reply.
Functional error in that context is when the logic that is responsible to reset the WD timer fails to do its task, which will initiate a fallback mechanism. The third paragraph actually correlates with the first paragraph. Factory fallback needs to meet certain conditions when in application configuration for it to happen, so expecting the fallback mechanism to occur with everything working correctly is a wrong understanding.
regards,
Farabi
