Microchip Technology MPLAB ICD 3 User Manual
Microchip Technology MPLAB ICD 3 User Manual

Microchip Technology MPLAB ICD 3 User Manual

In-circuit debugger
Hide thumbs Also See for MPLAB ICD 3:

Advertisement

Quick Links

®
MPLAB
ICD 3
In-Circuit Debugger
User's Guide
For MPLAB X IDE
 2012-2014 Microchip Technology Inc.
DS50002081B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MPLAB ICD 3 and is the answer not in the manual?

Questions and answers

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...
  • Page 4: Table Of Contents

    Chapter 1. About the Debugger 1.1 Introduction ....................11 1.2 MPLAB ICD 3 In-Circuit Debugger Defined ..........11 1.3 How the MPLAB ICD 3 In-Circuit Debugger Helps You ....... 12 1.4 MPLAB ICD 3 In-Circuit Debugger Components ......... 12 Chapter 2. Operation 2.1 Introduction ....................
  • Page 5 B.1 Introduction ....................47 B.2 Highlights ..................... 47 B.3 USB Port/Power ................... 47 B.4 MPLAB ICD 3 In-Circuit Debugger .............. 48 B.5 Standard Communication Hardware ............49 B.6 ICD 3 Test Interface Board ................51 B.7 Target Board Considerations ............... 52 Appendix C.
  • Page 6: Preface

    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.
  • Page 10: Part 1 -Getting Started

    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...
  • Page 11: Chapter 1. About The Debugger

    • 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.
  • Page 12: How The Mplab Icd 3 In-Circuit Debugger Helps You

    • 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...
  • Page 13: Chapter 2. Operation

    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.
  • Page 14: Tools Comparison

    ® 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.
  • Page 15: Debugger To Target Communication

    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...
  • Page 17: Target Communication Connections

    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: •...
  • Page 20: Debugging

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

Table of Contents