Added watchdog and reset cause reporting.