MPLAB® ICD 5 In-Circuit Debugger

Quick Start Guide

1. Install the Latest Software

Download the MPLAB® X Integrated Development Environment (IDE) software V6.10 or higher from www.microchip.com/mplabx and install it onto your computer. The installer automatically loads the USB drivers.

Launch MPLAB X IDE.

2. Connect to Target Device

  1. Connect the MPLAB ICD 5 to the computer using a USB cable.
  2. If you will be using Ethernet communication, a Power Over Ethernet (PoE) injector is mandatory.
  3. Connect external power* to the target board if not using debugger power.

IMPORTANT NOTE: A USB connection is required at first to set up Ethernet communication.

Computer Connections

A diagram shows the MPLAB ICD 5 unit with a USB-C port and an RJ-45 Ethernet port. It indicates connections for USB and Ethernet.

Target Connections

A diagram shows the MPLAB ICD 5's target connector and an RJ-45/RJ-11 connector for Fast Ethernet with PoE+. It also shows a target board with a modular connector.

*External target board power supply provided by user.

Additional resources found in section 10.6.1 of the user's guide.

3. Set Up Ethernet

To configure MPLAB ICD 5 for Ethernet, go to Project Properties > Manage Network Tools in MPLAB X IDE.

A screenshot displays the "Manage Network Tools" dialog in MPLAB X IDE, showing options for configuring network tools, selecting discovered tools, and setting connection types (USB, Ethernet, Wi-Fi).

Use the following steps to set up your selected computer connection:

  1. Connect the device to your PC via the USB cable.
  2. If you will be using Ethernet communication, a PoE injector is mandatory. A USB connection is required at first to set up Ethernet communication.
  3. Go to Tools > Manage Network Tools in MPLAB® X IDE.
  4. Under "Network Capable Tools Plugged into USB," select your debugger.
  5. Under "Configure Default Connection Type for Selected Tool," select the radio button for the connection you want.
  6. Ethernet (Wired/StaticIP): Input Static IP Address, Subnet Mask and Gateway. Click Update Connection Type.
  7. If Ethernet communication was chosen, ensure the PoE injector is connected and then unplug the USB cable from your debugger unit. Keep the Manage Network Tools window open.
  8. The debugger will restart automatically and come up in the connection mode you selected. The LEDs will display for either a successful network connection or a network connection failure/error.
  9. Now go back to the "Manage Network Tools" dialog and click the Scan button, which will list your debugger under "Active Discovered Network Tools." Select the checkbox for your tool and close the dialog.
  10. If your debugger is not found under "Active Discovered Network Tools," you can manually enter information in the "User Specified Network Tools" section. You must know the IP address of the tool (by the way of network admin or static IP assignment).

4. Connect to a Target

See the table below for the pin-out of the 8-pin connector on your target. It is recommended that you connect your target to the MPLAB ICD 5 using the flat 8-pin cable. However, you may use one of the legacy adapters provided in the MPLAB ICD 5 kit between the cable and an existing target.

Additional Information

Pinouts for Debug Interfaces

A table details the pinouts for the MPLAB ICD 5's 8-pin modular connector for various debug interfaces (ICSP, MIPS EJTAG, Cortex SWD, AVR JTAG, AVR debugWire, AVR UPDI, AVR PDI) and their corresponding target connections.

Notes:

Pinouts for Data Stream Interfaces

A table details the pinouts for the MPLAB ICD 5's 8-pin modular connector for data stream interfaces (PIC® and AVR® Devices, SAM Devices) and their corresponding target connections (8-pin and 6-pin modular connectors).

Notes:

5. Create, Build and Run Project

  1. Refer to the MPLAB X IDE User's Guide or online help for instructions to install compilers, create or open a project, and configure project properties.
  2. Consider the shown settings for configuration bits.
  3. To run the project:
    • Execute your code in Debug mode ▶️
    • Execute your code in Non-Debug (release) mode ▶️
    • Hold a device in Reset after programming ⚙️

Recommended Settings

A table lists recommended settings for components like Oscillator, Power, WDT, Code-Protect, Table Read, LVP, BOD, AVdd and AVss, and PGC/PGDX.

Reserved Resources

For information on reserved resources used by the debugger, see the MPLAB X IDE Help > Release Notes > Reserved Resources.

Models: MPLAB ICD 5 In Circuit Debugger, MPLAB ICD, 5 In Circuit Debugger, Circuit Debugger, Debugger

File Info : application/pdf, 4 Pages, 624.02KB

PDF preview unavailable. Download the PDF instead.

MPLAB-ICD-5-In-Circuit-Debugger-Quick-Start-Guide-5000348

References

Adobe PDF Library 17.0 Adobe InDesign 19.2 (Macintosh)

Related Documents

Preview MPLAB REAL ICE In-Circuit Emulator User's Guide
Explore the Microchip MPLAB REAL ICE In-Circuit Emulator with this comprehensive user's guide. Learn about its features for debugging, programming, and hardware integration of PICmicro and dsPIC devices, optimizing embedded system development.
Preview MPLAB REAL ICE In-Circuit Emulator User's Guide for MPLAB X IDE
User's Guide for the Microchip MPLAB REAL ICE In-Circuit Emulator, detailing its features, operation, setup, debugging functions, troubleshooting, and hardware specifications for use with MPLAB X IDE.
Preview MPLAB IPE User's Guide: Integrated Programming Environment
Comprehensive user's guide for Microchip's MPLAB IPE (Integrated Programming Environment), detailing its features for programming and debugging embedded systems, installation, setup, and advanced configurations.
Preview MPLAB ICE 4 Quick Start Guide: In-Circuit Emulator Setup and Usage
Quick start guide for the Microchip MPLAB ICE 4 In-Circuit Emulator. Learn how to install MPLAB X IDE, connect to target devices, configure network settings (Wi-Fi/Ethernet), and begin your embedded development projects.
Preview PICkit 3 In-Circuit Debugger/Programmer - Microchip Technology
Discover the Microchip PICkit 3 In-Circuit Debugger/Programmer (PG164130), a cost-effective hardware tool for embedded systems developers. It facilitates debugging and programming of PIC and dsPIC microcontrollers, integrating seamlessly with MPLAB X IDE. Features, specifications, and documentation for development.
Preview MPLAB REAL ICE In-Circuit Emulator User's Guide
Comprehensive guide to Microchip's MPLAB REAL ICE In-Circuit Emulator, covering installation, setup, debugging features, programming, and hardware specifications for embedded development.
Preview MPLAB ICD 4 In-Circuit Debugger User's Guide - Microchip Technology
Official user's guide for the Microchip MPLAB ICD 4 In-Circuit Debugger (DV164045). Covers setup, operation, debugging, programming, hardware specifications, and troubleshooting for PIC and dsPIC embedded development.
Preview PIC32MZ EF Curiosity USB CDC Device Demo Guide
A guide to demonstrating the USB CDC Device class with the PIC32MZ EF Curiosity Development Board, enabling two serial ports on a USB host PC.