User manual
MPLAB
®
ICD 3 IN-CIRCUIT
DEBUGGER USER’S GUIDE
© 2008 Microchip Technology Inc. DS51766A-page iii
Table of Contents
Preface ........................................................................................................................... 1
Part 1 –Getting Started
Chapter 1. Overview
1.1 Introduction ..................................................................................................... 9
1.2 MPLAB ICD 3 In-Circuit Debugger Defined ................................................... 9
1.3 How the MPLAB ICD 3 In-Circuit Debugger Helps You ............................... 10
1.4 MPLAB ICD 3 In-Circuit Debugger Kit Components .................................... 10
1.5 Device and Feature Support ........................................................................ 11
Chapter 2. Theory of Operation
2.1 Introduction ................................................................................................... 13
2.2 MPLAB ICD 3 In-Circuit Debugger vs. MPLAB ICE 2000/4000
In-Circuit Emulators ................................................................................ 13
2.3 MPLAB ICD 3 In-Circuit Debugger vs. MPLAB ICD 2 Debugger ................. 13
2.4 Debugger To Target Communication ........................................................... 14
2.5 Communication Connections ....................................................................... 15
2.6 Debugging with the Debugger ...................................................................... 17
2.7 Requirements For Debugging ...................................................................... 18
2.8 Programming with the Debugger .................................................................. 20
2.9 Resources Used by the Debugger ............................................................... 20
Chapter 3. Installation
3.1 Introduction ................................................................................................... 21
3.2 Installing the Software .................................................................................. 21
3.3 Installing the USB Device Drivers ................................................................ 21
3.4 Connecting the Target .................................................................................. 22
3.5 Setting Up the Target Board ......................................................................... 22
3.6 Setting Up MPLAB IDE ................................................................................ 23
Chapter 4. General Setup
4.1 Introduction ................................................................................................... 25
4.2 Starting the MPLAB IDE Software ................................................................ 25
4.3 Creating a Project ......................................................................................... 26
4.4 Viewing the Project ....................................................................................... 26
4.5 Building the Project ...................................................................................... 26
4.6 Setting Configuration Bits ............................................................................. 27
4.7 Setting the Debugger as the Debugger or Programmer ............................... 27
4.8 Debugger/Programmer Limitations .............................................................. 27