FernandoGarcia:
I uploaded these examples in my arduino mega 2560 and was a fight to get remove them.
So you got to see first hand what happens when a bootloader doesn't properly initialize the WDT registers
after a watchdog reset.
Given it is such a simple/easy fix to the bootloader, I don't understand why the Arduino team doesn't
ship an updated bootloader to fix this.
--- bill