EasyManua.ls Logo

MPLAB PICkit 4 User Manual

MPLAB PICkit 4
2 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
Page #1 background imageLoading...
Page #1 background image
QUICK START GUIDE
MPLAB
®
PICkit
TM
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 PICkit 4 to the computer
using the supplied Micro-B USB cable.
2. Attach the communications cable between the
debugger and target board.
3. Connect external power to target board.
1
2
www.microchip.com/pickit4
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 congure project properties.
2. Check that the conguration bits in your code match
the Recommended Settings below.
3. To execute your code in Debug mode, perform a
debug run. To execute your code in Non-Debug
(release) mode, perform a run. 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 Vdd > BOD Vdd min.
JTAG Disabled
AVdd and AVss Must be connected
PGCx/PGDx Proper channel selected, if applicable
Programming Vdd voltage levels meet programming spec
Note: See MPLAB PICkit 4 In-Circuit Debugger online help for more information.
Reserved Resources
For information on reserved resources used by the
debugger, see the MPLAB
PICkit
4 In-Circuit Debugger
online help.
3
*External target board power supply to be provided by user.
Typical Debugger System – Device with
On-Board Debug Circuitry
Alternative Debugger System – ICE Device
C: 10 M: 100 Y: 100 K: 20 PMS: 7621C
Transition Socket
if needed
Device-ICE
Standard
Adapter
Header
Power
Micro-B USB
from computer
Target Board
Micro-B USB
from computer
Target Device
Power
Target Board
Question and Answer IconNeed help?

Do you have a question about the MPLAB PICkit 4 and is the answer not in the manual?

MPLAB PICkit 4 Specifications

General IconGeneral
Programming ProtocolICSP, JTAG, SWD
USB InterfaceUSB 2.0
Target Voltage1.20V to 5.5V
DebuggingYes
ConnectivityUSB
Status LEDsPower, Active, Status
Operating Temperature0°C to 50°C
CompatibilityMPLAB X IDE
Supported DevicesPIC, dsPIC, AVR, SAM
Debug CommunicationJTAG, SWD
ConnectorRJ-11

Summary

Getting Started with MPLAB PICkit 4

Install MPLAB X IDE Software

Download and install the MPLAB X IDE software, which automatically loads USB drivers.

Connect PICkit 4 to Target Device

Connect the PICkit 4 debugger to the computer and target board using USB and communication cables.

Create, Build, and Run Project

Guide to creating, building, and executing projects in debug or release modes.

Additional Information and Pinouts

PICkit 4 Circuitry and Connector Pinouts

Details the typical 6-pin ICSP pinout and target application board connection for the PICkit 4.

Target Circuit Design Precautions

Provides essential design guidelines for pull-ups, capacitors, and diodes on target circuits.

Pinouts for Additional Interfaces

Lists pin assignments for ICSP, MIPS EJTAG, Cortex SWD, DMCI/DGI, and DGI SPI interfaces.