User manual

MPLAB
®
X PICkit™ 3 User’s Guide
DS52116A-page 48 2013 Microchip Technology Inc.
7. The production device that you are trying to debug does not have debugging
capabilities.
Use a debug header instead. (See the “Processor Extension Pak and Header
Specification” that is mentioned in “Recommended Reading”).
8. The target application has somehow become corrupted or contains errors.
For example, the regular linker script was used in the project instead of the
debugger version of the linker script (e.g., 18F8722.lkr was used instead of
18F8722i.lkr). Try rebuilding and reprogramming the target application. Then,
initiate a Power-On-Reset of the target.
9. You do not have the correct PGC/PGD pin pairs programmed in your
Configuration bits (for devices with multiple PGC/PGD pin pairs).
10. Other configuration settings are interfering with debugging.
Any configuration setting that would prevent the target from executing code will
also prevent the debugger from putting the code into Debug mode.
11. Brown-Out Detect voltage is greater than the operating voltage V
DD.
This means the device is in Reset and cannot be debugged.
12. The communication connection guidelines in Chapter 2. “Operation” were not
followed.
13. The debugger cannot always perform the action requested.
For example, the debugger cannot set a breakpoint if the target application is
currently running.
6.4 OTHER THINGS TO CONSIDER
1. It is possible the error was a one-time glitch.
Try the operation again.
2. There may be a problem programming in general.
As a test, switch to Programmer mode and program the target with the simplest
application possible (e.g., a program to blink an LED). If the program will not run,
then you know that something is wrong with the target setup.
3. It is possible that the target device has been damaged in some way (e.g., over
current.)
Development environments are notoriously hostile to components. Consider
trying another target device.
4. Microchip Technology Inc. offers demonstration boards to support most of its
microcontrollers.
Consider using one of these boards, which are known to work, to verify correct
PICkit 3 In-Circuit Debugger/Programmer functionality.
5. Review debugger operation to ensure proper application setup.
For more information, see Chapter 2. “Operation”.
6. If the problem persists, contact Microchip Support.