Summary of Contents for Microchip Technology MPLAB ICD 3
Page 1
® MPLAB ICD 3 In-Circuit Debugger User’s Guide For MPLAB X IDE 2012-2014 Microchip Technology Inc. DS50002081B...
Page 2
WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
Page 3
® Object of Declaration: MPLAB ICD 3 In-Circuit Debugger 2012-2014 Microchip Technology Inc. DS50002081B-page 3...
Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before using the MPLAB ICD 3 In-Circuit Debugger. Items discussed in this chapter include: • Document Layout • Conventions Used in this Guide •...
Page 7
Part 3 – Reference • Appendix A. Debugger Function Summary – A summary of debugger functions available in MPLAB X IDE when the MPLAB ICD 3 debugger is chosen as the debug or program tool. • Appendix B. Hardware Specification –...
Page 8
Curly brackets and pipe Choice of mutually exclusive errorlevel {0|1} character: { | } arguments; an OR selection Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... 2012-2014 Microchip Technology Inc. DS50002081B-page 8...
Page 9
Preface RECOMMENDED READING This user's guide describes how to use MPLAB ICD 3 In-Circuit Debugger. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources. Multi-Tool Design Advisory (DS51764) Please read this first! This document contains important information about operational issues that should be considered when using the MPLAB ICD 3 with your target design.
MPLAB ICD 3 USER’S GUIDE ® FOR MPLAB X IDE Part 1 – Getting Started Chapter 1. About the Debugger .................. 11 Chapter 2. Operation....................13 2012-2014 Microchip Technology Inc. DS50002081B-page 10...
• How the MPLAB ICD 3 In-Circuit Debugger Helps You • MPLAB ICD 3 In-Circuit Debugger Components MPLAB ICD 3 IN-CIRCUIT DEBUGGER DEFINED The MPLAB ICD 3 In-Circuit Debugger is an in-circuit debugger that is controlled ® through a PC running MPLAB X IDE software on a Windows platform.
• USB cable to provide communications between the debugger and a PC and to provide power to the debugger • Cable to connect the MPLAB ICD 3 to a header module or target board • ICD 3 Test Interface Board...
Chapter 2. Operation INTRODUCTION A simplified description of how the MPLAB ICD 3 In-Circuit Debugger system works is provided here. It is intended to provide enough information so that a target board can be designed that is compatible with the debugger for both debugging and programming operations.
® TOOLS COMPARISON The MPLAB ICD 3 In-Circuit Debugger system differs physically and operationally from other Microchip debug tools as shown below. Specific features may vary by device - see the Development Tools Selector (DTS) on the Microchip website for details.
8-pin connector, so these headers may be connected directly to the debugger. For more on standard communication, see Appendix B. “Hardware Specification”. FIGURE 2-1: STANDARD DEBUGGER SYSTEM – DEVICE WITH ON-BOARD ICE CIRCUITRY Target Device or PIM Target Board Power 2012-2014 Microchip Technology Inc. DS50002081B-page 15...
Page 16
MPLAB ICD 3 User’s Guide for MPLAB X IDE ® FIGURE 2-2: STANDARD DEBUGGER SYSTEM – ICE DEVICE Processor Pak Standard Header Adapter Device-ICE ICD Header Transition Socket Device-ICE Target Board Power 2012-2014 Microchip Technology Inc. DS50002081B-page 16...
2.4.1 Standard Communication Target Connection Using the RJ-11 connector, the MPLAB ICD 3 In-Circuit Debugger is connected to the target device with the modular interface (six conductor) cable. The pin numbering for the connector is shown from the bottom of the target PCB in Figure 2-3.
Page 18
The interconnection is very simple. Any problems experienced are often caused by other connections or components on these critical lines that interfere with the operation of the MPLAB ICD 3 In-Circuit Debugger system, as discussed in the following section. 2012-2014 Microchip Technology Inc.
Page 19
Operation 2.4.5 Circuits That Will Prevent the Debugger From Functioning Figure 2-5 shows the active debugger lines with some components that will prevent the MPLAB ICD 3 In-Circuit Debugger system from functioning. FIGURE 2-5: IMPROPER CIRCUIT COMPONENTS /MCLR Interface Connector In particular, these guidelines must be followed: •...
® DEBUGGING There are two steps to using the MPLAB ICD 3 In-Circuit Debugger system as a debugger. The first requires that an application be programmed into the target device (MPLAB ICD 3 can be used for this). The second uses the internal in-circuit debug hardware of the target Flash device to run and test the application program.
Need help?
Do you have a question about the MPLAB ICD 3 and is the answer not in the manual?
Questions and answers