QUICK START GUIDE
MPLAB
®
ICD 4 In-Circuit Debugger
GETTING STARTED
Install the Latest Software
Download the MPLAB X IDE software from
www.microchip.com/mplabx
and install onto your computer. The installer
automatically loads the USB drivers. Launch MPLAB X IDE.
Connect to Target Device
1. Connect the MPLAB ICD 4 to the computer
using the USB cable.
2. Connect external power either to the target
board or debugger.
1
2
www.microchip.com/icd4
C: 80 M: 45 Y: 0 K: 55
PMS: 7694C
Create, Build and Run Project
1. Refer to the MPLAB X IDE User's Guide or online help
for instructions to install language tools, create or
open a project, and configure project properties.
2. Check that the configuration bits in your code match
the Recommended Settings below.
3. To execute your code in Debug mode, perform a
debug run (
Debug>Debug Project
). To execute
your code in Non-Debug (release) mode, perform
a run (
Run>Run Project
). To hold a device in Reset
after programming, use the Hold in Reset icon
in the toolbar.
Recommended Settings
Component
Setting
Oscillator
• OSC bits set properly
• Running
Power
Supplied by target
WDT
Disabled (device dependent)
Code-Protect
Disabled
Table Read Protect
Disabled
LVP
Disabled
BOD
V
dd
> BOD V
dd
min.
JTAG
Disabled
AV
dd
and AV
ss
Must be connected
PGCx/PGDx
Proper channel selected, if applicable
Programming
V
dd
voltage levels meet programming spec
Note:
See MPLAB ICD 4 In-Circuit Debugger online help for more information.
Reserved Resources
For information on reserved resources used by the debug-
ger, see the MPLAB ICD 4 In-Circuit Debugger online help.
3
*Microchip Power Supply (AC002014) not included. Available at
www.microchipDIRECT.com.
**External target board power supply provided by user.
Typical Configuration
(With On-Board Debug Circuitry)
Debugger
Target Board
Target Device
Device with on-board
ICE circuitry
External Target Board
Power Supply**
External Microchip
Power Supply (AC002018)*
USB
OR
Alternative Configuration (Without Loss of Pins)
Debugger
Target Board
Transition Socket
Device-ICE
Header
Standard
Adapter
Processor Extension Pak
OR
Device-ICE
ICD Header
External Target Board
Power Supply**
USB
External Microchip
Power Supply (AC002018)*