PICkit™ 2 USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 1
Chapter 1. PICkit 2 Programmer/Debugger Overview
1.1 Introduction ..................................................................................................... 7
1.2 PICkit 2 Development Programmer/Debugger Contents ............................... 7
1.3 PICkit 2 Development Programmer/Debugger ............................................... 7
1.4 PICkit 2 Programmer Application ................................................................. 10
Chapter 2. PICkit 2 Programmer Getting Started
2.1 Introduction ................................................................................................... 15
2.2 Installing the PICkit 2 Hardware ................................................................... 15
2.3 Installing and Launching the PICkit 2 Programmer Application ................... 16
2.4 Connecting to the Device ............................................................................. 16
2.5 Selecting Target Power ................................................................................ 18
2.6 Importing a Hex File ..................................................................................... 19
2.7 Writing the Program to the Device ............................................................... 20
2.8 Verifying the Device ..................................................................................... 23
2.9 Reading Device Memory .............................................................................. 23
2.10 Code Protecting the Device ........................................................................ 23
2.11 Erasing and Blank Checking the Device .................................................... 24
2.12 Automating Write/Read Procedures ........................................................... 24
2.13 PICkit 2 Calibration and Unit ID .................................................................. 25
Chapter 3. Using In-Circuit Serial Programming™ (ICSP™)
3.1 Introduction ................................................................................................... 27
3.2 Isolate VPP/MCLR/Port Pin ........................................................................... 28
3.3 Isolate ICSPCLK or PGC and ICSPDAT or PGD pins ................................. 28
3.4 VDD ............................................................................................................... 29
3.5 VSS ............................................................................................................... 30
3.6 Cable Lengths .............................................................................................. 30
3.7 Serial EEPROM and KeeLoq HCS Devices ................................................. 30
Chapter 4. PICkit 2 Debug Express
4.1 Introduction ................................................................................................... 31
4.2 PICkit 2 Debug Express Kit Contents ........................................................... 31
4.3 Installing the Hardware and Software .......................................................... 32
4.4 Using PICkit 2 Debug Express ..................................................................... 32
4.5 Debug Express Tutorial ................................................................................ 36
© 2008 Microchip Technology Inc.
DS51553E-page iii