WDTZero: Using both software and hardware watchdogs?

The WDTZero supports both a hardware and a software watchdog timer for the MKR1000.

The hardware watchdog does a reset when the timer expires, and handles situations where the processor stalls (no specific definition when this might occur). As I understand it, the only option is for it to do a reset.

The software watchdog handles stalled software situations (no specific definition) but allows for calling a routine rather than just doing a reset.

Each has their place.

I would like to use both - the software watchdog so that I can save "state" information and then force a software reset. The saved information would be picked up when the MKR1000 starts up again. The hardware watchdog would have a longer duration and would fire if things were so screwed up that the software watchdog couldn't/didn't fire.

Does anyone know if both can be used together?

it is one wdt. interrupt is used to achieve longer than hw supported wdt time by counting the interrupts

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.