Bob Axtell wrote: > I understand your problem, and we have ALL had a problem like this at > one time or another. > > In my experience, this is caused by one of the multiple VSS or VDD > pins floating. I seriously doubt that. I agree that all Vss, AVss, Vdd, and AVdd pins must be tied to their respective supplies. However, while failure to do so may cause strange and unpredictable symptoms, it does not cause susceptibility to distant charges. That is almost certainly due to a floating input, most likely MCLR or a interrupt pin. >> Note that the MCLR is configured as an output to an LED, so I don't >> see this as being the reason for the reboot. Yup, and here it is. MCLR can't be configured as a output, as even a cursory look at the datasheet would tell you (RTFM). Since MCLR is a undriven CMOS input, it will float up and down with the slightest change in the external electric field, which is exactly what happens when you move a charged hand nearby. I want to make sure I'm not detracting from Bob's message of connecting all Vdd and Vss pins. That's important, but happens not to be the cause of your problems this time. ******************************************************************** 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