>> We discovered a very odd problem with our PIC18LF2520's. When you >> approach the PIC it reboots. >> >> This is bad. >> >> 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. >> From the datasheet 39631E.pdf: "PIN MCLR/VPP/RE3 RE3 does not have a corresponding TRIS bit to control data direction." Unless there is some errata sheet that says otherwise, this pin cannot be made into an output pin. It is either an input pin or MCLR depending on software. Either one can exhibit the symptoms you are reporting. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist