Altera_Forum
Honored Contributor
12 years agoWatchdog Problems with Cyclone V soc
Hello
I've been investigating the watchdog functions on the Cyclone V SoC and have found that although the "l4wd1" watchdog appears to be working, the "l4wd0" does not. I have set the wdt_torr first to be various values, 0xCC gives a 13s initial timeout and 13s restart timeout. I then set the wdt_cr register to 0x1 to enable the wdog. As I mentioned, l4wd1 seems to correctly reset the HPS on a timeout, whereas l4wd0 never times out... When I read the current timer value, the top byte is always 0x7F, which leads me to believe that the timer is not working correctly. Some further investigation shows that the l4wd0 will time out for values less than 0x7 on the timeout register, which doesn't load the top byte, the reset happens as expected. Is this a known issue with the silicon? Regards Dave