after a few hours, sometimes a few days, I get a watchdog reset. is there a way to find out, on what address the pic has been, when the watchdog reset has been executed, or is there a way to read back the stack content, when the pic restarts, to find out in what procedure execution has been, and through what structure, this procedure has been called? thanx! tino it's a pic16f876 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist