> If you use C, there is always an implicit "exit" at the end of main(). > When you reach the end of main you exit it, and most compilers for > embedded systems (re)start at the reset vector. > Yes, but like I mentioned it's an intermittent problem, happened only once in the office and 50%+ of the time in the field. Further, before the end of main() we have a while(1) {...} loop for our control logic. Either way, Francois Theron will be continuing this thread. He is my colleague, the design engineer who is in charge of this project. I will still be following it though. So if you see responses from either of us it's for the same problem. Further, he confirmed that the MCLR is used as a programming PIN. I'm not sure if that is an open input/output. We are performing tests on this now. Q -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist