How do you troubleshoot a PIC® device that runs in debug mode but not in normal mode?
Here are some suggestions to troubleshoot a system that does not run by itself, but works when driven by a debugger:
- MCLR low causing the PIC® device to be held in reset or a latch-up condition where the PIC device wasn't powered up properly according to the VDD specifications.
- Check the internal oscillator on the CLKOUT pin to see if it is running.
- Test a simple program toggling a pin, perhaps a different pin, and see if this works in the same setup.