PICkit 4 Quick Start Guide

PICkit-4_Quick_Start_Guide

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 3

DownloadPICkit-4 Quick Start Guide
Open PDF In BrowserView PDF
C: 10 M: 100 Y: 100 K: 20

MPLAB® PICkitTM 4 In-Circuit Debugger
QUICK START GUIDE
GETTING STARTED
1

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.

2

3

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.
Typical Debugger System – Device with
On-Board Debug Circuitry
Target Device

Power

Micro-B USB
from computer

Target Board

Standard
Adapter

Device-ICE

if needed

Transition Socket

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. 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

Alternative Debugger System – ICE Device
Header

Create, Build and Run Project

Power

Target Board

Micro-B USB
from computer

Setting

Power
WDT
Code-Protect
Table Read Protect
LVP
BOD
JTAG
AVdd and AVss
PGCx/PGDx

• OSC bits set properly
• Running
Supplied by target
Disabled (device dependent)
Disabled
Disabled
Disabled
Vdd > BOD Vdd min.
Disabled
Must be connected
Proper channel selected, if applicable

Programming

Vdd voltage levels meet programming spec

Oscillator

Note: See MPLAB PICkit 4 In-Circuit Debugger online help for more information.

Reserved Resources

*External target board power supply to be provided by user.

www.microchip.com/pickit4

For information on reserved resources used by the
debugger, see the MPLAB PICkit 4 In-Circuit Debugger
online help.

ADDITIONAL INFORMATION
Typical 6-Pin ICSP Pinout

Circuitry and Connector Pinouts
Correct

Pin

Target VDD (tVDD)

XTAL
Target Application
Device

VPP /MCLR

50 kΩ
Typical

2
1
5
4
3
6
7

PGC
PGD

AVDD

MPLAB® PICkit 4

1

MCLR/Vpp

NMCLR

2

Vdd Target

Vdd

3

Vss (ground)

Ground

Connect
Pin 1 to Pin 1

4

PGD (ICSPDAT) PGD

5

PGC (ICSPCLK) PGC

6

Do Not Connect Do Not Connect

8
V SS

AVSS

Target

Typical cable
length is 6 inches

V DD

7

Reserved for Future use

8

Reserved for Future use

Target Application PC Board

Target Circuit Design Precautions
Incorrect
Target VDD (tVDD)
V DD
VPP /MCLR

Target Application
Device

XTAL*

V

PGC
PGD

AVDD**
AVSS**

2
1
5
4
3
6
7
8

V SS

Target Application PC Board

• 	Do not use pull-ups on PGC/PGD: they will disrupt the voltage levels, since these lines have
programmable pull-down resistors in the debugger.
• 	Do not use capacitors on PGC/PGD: they will prevent fast transitions on data and clock lines
during programming and debug communications.
• 	Do not use capacitors on MCLR: they will prevent fast transitions of VPP. A simple pull-up
resistor is generally sufficient.
• 	Do not use diodes on PGC/PGD: they will prevent bidirectional communication between the
debugger and the target device.
• 	Do not exceed recommended cable lengths: Refer to the Hardware Specification of the
MPLAB PICkit 4 online help or user's guide for cable lengths.

Pinouts for Additional Interfaces
MPLAB® PICkit 4
Pin #

Debugging and Programming
ICSP

MIPS EJTAG

Cortex® SWD

Data Stream
DMCI/DGI
U(S)ART/CDC

1

Vpp/NMCLR

2

Vdd

VIO_REF

VTG

VTG

3

GND

GND

GND

GND

4

PGD

TDO

SWo

5

PGC

TCK

SWCLK

6

AUX

NRESET

NRST

7

TDI

TDI

8

TMS

TMS

SWDIO

DGI SPI

MISO
SCK
(SCK)
TX

MOSI

RX

SS

** Target device must be running with an oscillator for the debugger to function as a debugger.
*** If the device has AVdd and AVss lines, they must be connected for the debugger to operate.

The Microchip name and logo, the Microchip logo, MPLAB and PICkit are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned
herein are property of their respective companies. © 2018, Microchip Technology Incorporated. All Rights Reserved. 2/18
DS50002721A

www.microchip.com/pickit4

Mouser Electronics
Authorized Distributor

Click to View Pricing, Inventory, Delivery & Lifecycle Information:

Microchip:
PG164140



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Count                      : 3
XMP Toolkit                     : Adobe XMP Core 5.6-c143 79.161210, 2017/08/11-10:28:36
Create Date                     : 2018:02:26 16:48:41-07:00
Metadata Date                   : 2018:02:26 16:48:43-07:00
Modify Date                     : 2018:02:26 16:48:43-07:00
Creator Tool                    : Adobe InDesign CC 13.0 (Macintosh)
Instance ID                     : uuid:ddc6201d-3d8e-de46-86aa-0d4f9a6bceaf
Original Document ID            : xmp.did:3a453e90-85ac-4b73-908d-68e5fa587afc
Document ID                     : xmp.id:b5f5242e-4478-4642-8163-0a7982ac94ae
Rendition Class                 : proof:pdf
Derived From Instance ID        : xmp.iid:98406669-5257-451f-a900-132a0c435652
Derived From Document ID        : xmp.did:e3a79561-f64e-4383-b6b3-6ad5b04d0685
Derived From Original Document ID: xmp.did:3a453e90-85ac-4b73-908d-68e5fa587afc
Derived From Rendition Class    : default
History Action                  : converted
History Parameters              : from application/x-indesign to application/pdf
History Software Agent          : Adobe InDesign CC 13.0 (Macintosh)
History Changed                 : /
History When                    : 2018:02:26 16:48:41-07:00
Format                          : application/pdf
Producer                        : Adobe PDF Library 15.0
Trapped                         : False
Creator                         : Adobe InDesign CC 13.0 (Macintosh)
EXIF Metadata provided by EXIF.tools

Navigation menu