-
• #2
Just a normal
E.enableWatchdog(2)
should be ok I think? That turns on 'auto' mode so Espruino will keep kicking it automatically.You can't turn the watchdog off once it's been turned on - it's a hardware safety thing. To stop it you need to fully reboot the device and then not run
E.enableWatchdog
-
• #3
Well, that explains all the reboot during failed uploads. Better delete ".varimg" which contains an
E.enableWatchdog
and do E.reboot(). Thanks.
Wondering how to disable E.enableWatchdog(timeout), because it kicks in during code uploading even if reset before upload is marked and
E.enableWatchdog(2,false)
is missing upload coding?