>check 26.3 of the Mid-range manual. >it highlights the need for caution when changing the assignment of the prescaler from TMR0 to WDT in >order to avoid reseting the device... >you should therefor be able to get the WDT to time out immediately by loading TMR0 with 0xF? and >then switching the prescaler over to WDT. >do let us know if you think this one thorough and work out how exactly to do this. > >Regards, >Simon I get the feeling that the manual is warning about something that could happen, depending on who knows what factors, not on something that _will_ happen every time. However, if this could be made to work -- pretty neat! Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.