Closed seanshahkarami closed 8 years ago
Under some conditions, it seems like the watchdog enters a state such that immediately after the boot loader finishes, it reboots the device.
This seems to have been solved by clearing the MCUSR flags before doing another wdt_enable in setup. The data sheet was silent about this...but I've tested it for a while though and it seems resolved.
MCUSR
wdt_enable
Under some conditions, it seems like the watchdog enters a state such that immediately after the boot loader finishes, it reboots the device.