User Guide
MPLAB
®
PICkit™ 4 USER’S GUIDE
2018 Microchip Technology Inc. DS50002751C-page 25
Chapter 3. Debugger Usage
3.1 INTRODUCTION
How to install and setup the MPLAB PICkit 4 In-Circuit Debugger system is discussed
in this section. For instructions on using MPLAB X IDE with the debugger, refer to the
online Help accessible from the MPLAB X IDE main menu bar Help>Tool Help
Contents>MPLAB X IDE Help.
• Installation and Setup
• Debug Tutorial
• Quick Debug/Program Reference
• Debugger Limitations
• Common Debug Features
• Connecting the Target Board
• Setting Up the Target Board
• Setting Up MPLAB X IDE
• Starting and Stopping Debugging
• Viewing Processor Memory and Files
• Breakpoints and Stopwatch
3.2 INSTALLATION AND SETUP
In MPLAB X IDE, refer to the Help file “Getting Started with MPLAB X IDE” for details
on installing the IDE and setting up the debugger to work with it.
In summary:
1. Install MPLAB X IDE.
Tutorial topics are available in the MPLAB X IDE online Help that is accessible
from the main menu bar Help>Tool Help Contents>MPLAB X IDE Help>Tutorial
.
2. Connect the MPLAB PICkit 4 to the computer and allow the default USB drivers
to install. For more information on target connections (see Chapter 2. “Opera-
tion”).
3. Select which language toolsuite/compiler you want to use for development and
install it on your computer.
4. Launch MPLAB X IDE and open the online Help (Help>Tool Help Con-
tents>MPLAB X IDE Help) for detailed instructions for the creating and setting up
a new project and running and debugging code.
Note: The debugger can power a target board only up to 50 mA.