erk... I knew that, I was just testing you. Duh! If the processor went nuts, it could easily disable the WDT, which would make it useless. Of course, there is nothing that prevents a whacked out processor from getting stuck in a loop where the WDT is constantly being reset either, but I suppose that would be a lot less likely. --- James Newton (PICList Admin #3) mailto:jamesnewton@piclist.com 1-619-652-0593 PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Olin Lathrop Sent: Friday, June 08, 2001 10:01 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: keeping watchdog a bay during sleep on 12c509A > ...I would assume the thing to do is disable the WDT before you SLEEP and > then re-enable it on wake up, but I've never had cause to use SLEEP so I > don't really know. The watchdog is enabled/disabled in the configuration fuses. It can't be disabled or enabled at run time. Allowing it to be disabled at run time would defeat part of its intended purpose. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.