When using a PICkit™ 3 In-Circuit Debugger for programming or debugging, the device being programmed needs to be powered. This can be done through the PICkit™ 3 In-Circuit Debugger or through the circuitry containing the device to be programmed. Without power, "target device not found" error will typically appear. This can be caused by:
- A bad connection between the PICkit™ 3 In-Circuit Debugger
- Incorrect orientation of the programming connector
- The PICkit™ 3 In-Circuit Debugger has the wrong operating system installed.
All of these can be reported as a Connection Failure Error. It's best to double check all connections per the directions shown here.
PICkit™ 3 In-Circuit Debugger Operating System Error
When using the PICkit™ 3 In-Circuit Debugger with the MPLAB® X IDE, the IDE will automatically install the proper device driver when first connecting to the target device. If the IDE cannot detect the device and the connections are verified to be correct, then the PICkit™ 3 In-Circuit Debugger may have incompatible operating system firmware already loaded in by the PICkit™ 3 Programming App and Scripting Tool. This software tool has been replaced by the MPLAB® Integrated Production Environment (IPE) application which is included with the MPLAB® X IDE installation package. The PICkit™ 3 Programming App and Scripting Tool is shown here:
The PICkit™ 3 Programmer App and Scripting Tool requires a unique operating system which is not compatible with the MPLAB® IDE software. If the PICkit™ 3 Programmer App and Scripting Tool software application was used to control the PICkit 3 previously, then the tool may have been left in this state. Therefore, in order for MPLAB® IDE to communicate again with the PICkit™ 3 In-Circuit Debugger, you must select the "Revert to MPLAB mode" within the PICkit™ 3 Programmer App and Scripting Tool software application to reset it back to the MPLAB® IDE compatible firmware. This can be found under the Tools > Revert to MPLAB mode within the PICkit™ 3 Programmer App and Scripting Tool software.