> I recently migrated a design from a breadboard to a PCB. I forgot to > remove my "printf" statements (CCS compiler) that I had used during > debugging. After many hours of head-scratching, I figured out that the > printf statements were making the pic go off into la-la land. That in > itself doesn't make sense, but to make matters worse, when the PIC was > in this state, it would not reset. It took many hours of debugging to > connect these two events. I eventually figured out that a big (.33 uF) > cap was keeping everything running for a while. When I discharged it, I > could then reset the PIC properly. The power doesn't have to go down to reset a PIC. This can be done by bringing MCLR low then high again. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.