waggle-sensor / wagman

The Waggle Manager (Wagman), a custom circuit board and control system for Wild Waggle Nodes
1 stars 3 forks source link

Watchdog / Bootloader Lockup #1

Closed seanshahkarami closed 8 years ago

seanshahkarami commented 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.

seanshahkarami commented 8 years ago

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.