background image

MPLAB

®

 ICD 3 User’s Guide for MPLAB X IDE

DS50002081B-page 8

 2012-2014 Microchip Technology Inc.

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:

DOCUMENTATION CONVENTIONS

Description

Represents

Examples

Arial font:

Italic characters

Referenced books

MPLAB

®

 IDE User’s Guide

Emphasized text

...is the 

only

 compiler...

Initial caps

A window

the Output window

A dialog

the Settings dialog

A menu selection

select Enable Programmer

Quotes

A field name in a window or 
dialog

“Save project before build”

Underlined, italic text with 
right angle bracket

A menu path

File>Save

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 brackets < >

A key on the keyboard

Press <Enter>, <F1>

Courier New font:

Plain Courier New

Sample source code

#define START

Filenames

autoexec.bat

File paths

c:\mcc18\h

Keywords

_asm, _endasm, static

Command-line options

-Opa+, -Opa-

Bit values

0, 1

Constants

0xFF, ‘A’

Italic Courier New

A variable argument

file

.o

, where 

file

 can be 

any valid filename

Square brackets [ ]

Optional arguments

mcc18 [options] 

file

 

[options]

Curly brackets and pipe 
character: { | }

Choice of mutually exclusive 
arguments; an OR selection

errorlevel {0|1}

Ellipses...

Replaces repeated text

var_name [, 

var_name...]

Represents code supplied by 
user

void main (void)

{ ...

}

Содержание MPLAB ICD 3

Страница 1: ...2012 2014 Microchip Technology Inc DS50002081B MPLAB ICD 3 In Circuit Debugger User s Guide For MPLAB X IDE...

Страница 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...

Страница 3: ...2012 2014 Microchip Technology Inc DS50002081B page 3 Object of Declaration MPLAB ICD 3 In Circuit Debugger...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: