Hi, I read your original post again, and I wonder if are getting a watchdog reset every 15ms. Sounds unlikely given that you have the watchdog turned off, but worth checking. Another idea, what kind of oscillator are you using? In general, the PIC oscillator requires careful attention to layout, crystal type and capacitor values. A lot of the time they work with any old crystal and caps, but sometimes they can be stubborn and refuse to start or are unreliable in operation. Keep the crystal and caps or resonator PCB traces very short and not too thin, and add a GND shield trace around it if possible. Brent Brown Electronic Design Solutions 16 English Street Hamilton, New Zealand Ph/fax: +64 7 849 0069 Mobile/text: 025 334 069 eMail: brent.brown@clear.net.nz -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.