PICkit™ 3 In-Circuit Debugger Could not Connect to the MCU and Terminated Debug Session

Resetting the debugger usually resolves this condition. To reset the debugger:

  • Right-click on the project name, then go to Properties > Categories: Conf:[default] > PICKit3.
  • On the right of the window, click the Reset button to initiate the debugger reset.

This resets all PICKit™ 3 In-Circuit Debugger options to their default values and resolves the problem.

If the problem persists, please update to the latest version of MPLAB® X IDE. When the IDE first programs the device it will update the PICkit 3 debugger's firmware to the latest version.

If you already use the latest version of MPLAB X IDE, try to manually update the debugger's firmware:

  • Open MPLAB X IDE and make a new project. Select the PICkit 3 as the programmer.
  • From Project Properties, select 'PICkit3' and from Option categories select 'Firmware'.
  • Uncheck the 'Use Latest Firmware' box and click on 'Press to browse for a specific firmware version'.
  • Select the .jam file that appears in Firmware Files and then click Apply. The changes will be activated on the first attempt to either read or program a device.
© 2018 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.