Go Down

Topic: Bootloader should disable watchdog... (Read 808 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