background image

MPLAB

®

 ICD 3 USER’S GUIDE

FOR MPLAB X IDE

 2012-2014 Microchip Technology Inc.

DS50002081B-page 13

Chapter 2.  Operation

2.1

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. The basic theory of in-circuit debugging and programming is discussed so 
that problems, if encountered, are quickly resolved.

• Tools Comparison

• Debugger to Target Communication

• Target Communication Connections

• Debugging

• Requirements for Debugging

• Programming

• Resources Used by the Debugger

Summary of Contents for MPLAB ICD 3

Page 1: ...2012 2014 Microchip Technology Inc DS50002081B MPLAB ICD 3 In Circuit Debugger User s Guide For MPLAB X IDE...

Page 2: ...Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work you may have a right to...

Page 3: ...2012 2014 Microchip Technology Inc DS50002081B page 3 Object of Declaration MPLAB ICD 3 In Circuit Debugger...

Page 4: ...2 6 Requirements for Debugging 21 2 7 Programming 23 2 8 Resources Used by the Debugger 23 Part 2 Features Chapter 3 Debugger Usage 3 1 Introduction 25 3 2 Installation and Setup 25 3 3 Common Debug F...

Page 5: ...ntroduction 43 A 2 Debugger Selection and Switching 43 A 3 Debugger Options Selection 43 Appendix B Hardware Specification B 1 Introduction 47 B 2 Highlights 47 B 3 USB Port Power 47 B 4 MPLAB ICD 3 I...

Page 6: ...are constantly evolving to meet customer needs so some actual dialogs and or tool descriptions may differ from those in this document Please refer to our web site www microchip com to obtain the late...

Page 7: ...able in MPLAB X IDE when the MPLAB ICD 3 In Circuit Debugger is chosen as the debug tool This includes the debug features for breakpoints and stopwatch Part 2 Troubleshooting Chapter 4 Troubleshooting...

Page 8: ...Bold characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in angle...

Page 9: ...MPLAB X Using MPLAB ICD 3 In Circuit Debugger Poster DS52011 This poster shows you how to hook up the hardware and install the software for the MPLAB ICD 3 In Circuit Debugger using standard communic...

Page 10: ...MPLAB ICD 3 USER S GUIDE FOR MPLAB X IDE DS50002081B page 10 2012 2014 Microchip Technology Inc Part 1 Getting Started Chapter 1 About the Debugger 11 Chapter 2 Operation 13...

Page 11: ...ugger is a complex debugger system used for hardware and software development of Microchip PIC microcontrollers MCUs and dsPIC Digital Signal Controllers DSCs that are based on In Circuit Serial Progr...

Page 12: ...am your device 1 4 MPLAB ICD 3 IN CIRCUIT DEBUGGER COMPONENTS The components of the MPLAB ICD 3 In Circuit Debugger system are MPLAB ICD 3 with indicator lights USB cable to provide communications bet...

Page 13: ...ded to provide enough information so that a target board can be designed that is compatible with the debugger for both debugging and programming operations The basic theory of in circuit debugging and...

Page 14: ...mmer Debugger MPLAB REAL ICE In Circuit Emulator USB Speed High and Full Full Only High and Full USB Driver Microchip HID Microchip USB Powered Yes Yes Yes Power to Target Yes Yes No Programmable VPP...

Page 15: ...rget device is on the target board Figure 2 1 or a standard adapter header board combo available as a Processor Pak which is then plugged into the target board Figure 2 2 For more on standard communic...

Page 16: ...r MPLAB X IDE DS50002081B page 16 2012 2014 Microchip Technology Inc FIGURE 2 2 STANDARD DEBUGGER SYSTEM ICE DEVICE Target Board Transition Socket Device ICE Processor Pak Standard Adapter Header Devi...

Page 17: ...gger to the connector on the target board The diagram also shows the wiring from the connector to a device on the target PCB A pull up resistor usually around 50 k connected from the VPP MCLR line to...

Page 18: ...ve the device VDD separated from the rest of the application circuit for independent programming However it is not recommended for general usage because it imposes more current demands from the USB po...

Page 19: ...t use pull ups on PGC PGD they will disrupt the voltage levels since these lines have 4 7 k pull down resistors in the debugger Do not use capacitors on PGC PGD they will prevent fast transitions on d...

Page 20: ...ICD 3 In Circuit Debugger will not be able to debug Figure 2 6 shows the basic interconnections required for programming Note that this is the same as Figure 2 4 but for the sake of clarity the VDD a...

Reviews: