Jason White wrote: > I got your code I couldn't really get it to work. but with a whole > bunch a clrwdt commands I got around the restart problem in my code. Hmm. That could mean two things: 1 - You had the watchdog enabled despite your claim to the contrary, and kicking the dog regularly keeps it from biting. 2 - The CLRWDT instruction don't do anything useful, but move things around so that the address-related bug no trashes something harmless or causes a symptom you haven't noticed yet. You should do a global edit and replace all CLRWDT instructions with NOP and see what happens. If it now fails the problem was #1 and you need to fix your config settings for real. If it still works, you've got a much more subtle but nasty bug lurking, and it's got nothing to do with the watchdog. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist