Go Down

Topic: Bootloader should disable watchdog... (Read 838 times) previous topic - next topic

westfw

It's possible for a runaway (or otherwise ill-advised) sketch to enable the watchdog timers in such a way that the bootloader will not get a chance to run past its very initial led-blinking "pauses."  This can make the arduino apparently unusable - the symptom is that the pin13 LED will flash "rapidly" as the bootloader is continually reset by the watchdog, and it never gets to the portion of the bootloader that actually uploads code.

Therefore, I think the bootloader should take the precaution of disabling the watchdog before it does anything else!

Related thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1234338562

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy