I'm trying to reset my processor by using an watchdog. On overflow, it activates the internal reset. That worked fine until I realized that when the processor halts, the internal reset is useless.
I saw that the watchdog overflow activates an external pin, NWDOVF, that can be connected through the PIO controller to the NRST (PB26) reset pin.
The problem is I don't really know how to do this connection. The documentation is kind of scarce on the subject. Has anyone encountered this issue?
Thanks.
Why wouldn't the internal watchdog work if your program is locked in an infinite loop? That is exactly one of the cases where you do want to use the watchdog.