> I'm simulating using the WDOG enabled and set to 18ms (before starting >simulation, DW says wdog enabled, 18000us) and using SC set to 0.4us (16C84) > In testing, the code gets to a endless loop without a CLRWDT. 18ms later, > the WDOG reset should occur but it doesn't. Stopping after 40ms'ish and >using 'DW' says current WDT value is about 17600us! ie only 400us gone! Could your code be modifying the OPTION register prescaler settings? What does OPTION show when you stop it? - Mark Sullivan -