This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Watchdog timer not entering ISR

I am using ARM cortex A9 core in Zynq. I want to trap any bugs in hardware or my firmware. I intend to use watchdog module in interrupt mode and connect it to Global interrupt controller (ScuGic). When the watchdog counter decrements to zero, it is to be reloaded by the ISR and prevent device from a reset. Incase of a problem, the ISR is expected to NOT be serviced before Time-out and hence triggering a software reset. However, the private watchdog runs in two modes

1. Watchdog mode: In this mode it ignores Interrupt settings in its Control register. It decrements a counter to zero, and resets the system; without landing into ISR and not giving me a chance to reload the counter.

2. Timer mode: In this mode, the ISR is reached but if my code does not reload the counter, then no action is taken i.e. no reset occurs.

How can I use this module to fit my requirement, please help.

Parents
  • This is a strange way to use a watchdog. The common way is that some background task will reload the timer. In case this task cannot do this in time you either get the interrupt (if you want to do special things) or the system is reset.

Reply
  • This is a strange way to use a watchdog. The common way is that some background task will reload the timer. In case this task cannot do this in time you either get the interrupt (if you want to do special things) or the system is reset.

Children
No data