Using
MPLAB
ICD 3
?
In-Circuit Debugger
? Install the Latest Software
Install the MPLAB? IDE software onto your PC using the MPLAB IDE CD-ROM
ADDITIONAL INFORMATION
1
MCLR/V PP
5
PGC (ICSPCLK)
6 LVP
PGC 2
or download the software from the MPLAB IDE page of the Microchip web site
(www.microchip.com/MPLAB). Check the latest release notes for additional
information.
? Configure PC USB Communications
Connect the MPLAB ICD 3 in-circuit debugger to a PC USB port via a USB
cable. If the drivers do not install automatically, then install the drivers as
instructed in: C:\Program Files\Microchip\MPLAB IDE\ICD 3
Drivers ddri.htm.
Note: If a USB hub is used, the hub must be powered with its own power supply.
Circuitry and Connector Pinouts
Target Connector Pinout
Standard Connection Modular Connector Pin     Microcontroller Pin
At Target
2 V DD
3 Ground
4 PGD (ICSPDAT)
2 4 6
1 3 5
Bottom View
Of Target Board
MPLAB ICD 3 RJ-11 Jack Pinout
Pin Signal
LVP 1
1 2 3 4 5 6
PGD 3
Ground 4
V DD 5
MCLR/V PP 6
USB
PC
Target Circuit Design Precautions
V PP /MCLR
tV DD
MPLAB
tV DD
X
X
Build Your Project
1. Launch MPLAB IDE.
2. Load your project or use the Project Wizard to create a new one.
4. Build your project based on your configurations and options.
5. Select the MPLAB ICD 3 as either a debugger ( Debugger>Select Tool> ICD 3)
or as a programmer ( Programmer>Select Programmer> ICD 3).
Connect to Target Device
Correct
Target V DD (tV DD )
V DD
4.7 -
XTAL* 10 k ?
Typical
2
1
PGC 5
PGD 4
3
AV DD **
AV SS ** V SS
MPLAB ICD 3
Internal Circuitry (Simplified)
tV DD Target V DD
V PP (tV DD ) is used
to power the
Input/Output
drivers in
4.7 k ?
ICD 3
debugger
tV DD
4.7 k ?
tV DD
Incorrect
Target V DD (tV DD )
V DD
XTAL*
V PP /MCLR
PGC
PGD
X
AV DD **
AV SS ** V SS
X
2
1
5
4
3
? Do not use multiplexing on PGC/PGD – they are
dedicated for communications to MPLAB ICD 3.
? Do not use pull-ups on PGC/PGD – they will divide the
voltage levels since these lines have 4.7 k ? pull-down
resistors in MPLAB ICD 3.
? Do not use capacitors on PGC/PGD – they will prevent
fast transitions on data and clock lines during
programming and debug communications.
? Do not use capacitors on MCLR – they will prevent
fast transitions of V PP .
? Do not use diodes on PGC/PGD – they will prevent
bidirectional communication between MPLAB ICD 3 and
the target PIC? MCU.
1. Attach the MPLAB ICD 3 to the PC using the USB cable, if not already.
2. Attach the communications cable between the debugger and target board.
3. Connect power to the target board.
Typical Debugger System – Device with on-board ICE circuitry
Target Application PC Board
*Target device must be running with an oscillator for the debugger to function as a debugger.
**If the device has AV DD and AV SS lines, they must be connected for the debugger to operate.
Target Application PC Board
Recommended Settings
Header
Target Device
or PIM
Target Board
Power
Alternate Debugger System – ICE Device
Processor Pak
Standard
Adapter
Device-ICE
USB from PC
ICD 3 Test Interface Board
Use the ICD 3 Test Interface Board to verify that the MPLAB ICD 3 is
functioning properly:
1. Disconnect the debugger from the target and PC.
2. Connect the ICD 3 Test Interface Board to the debugger using the
modular cable.
3. Connect the debugger to the PC.
4. Select “MPLAB ICD 3” on either the Debugger or Programmer menu in
MPLAB IDE.
5. From that menu, select “Settings”, Status tab, then click on Run ICD 3
Test Interface. The status (pass/fail) is displayed in the Output window.
COMPONENT SETTING
Oscillator ? OSC bits set properly
? Running
Power Supplied by target
WDT Disabled (device dependent)
Code-Protect Disabled
Table Read Protect Disabled
LVP Disabled
BOD V DD > BOD V DD min
JTAG Disabled
AV DD and AV SS Must be connected
PGCx/PGDx Proper channel selected, if
applicable
Programming V DD voltage levels meet
programming specs
ICD Header
OR
USB from PC
ICD 3 Test Interface Board
Note: See the “ MPLAB ICD 3 User’s Guide” (DS51766) for more
component and setting information.
Device-ICE
Transition Socket
Power
Modular Cable
USB/Power
From PC
Reserved Resources
For information on reserved resources used by the debugger, see the MPLAB ICD 3
on-line help.
Target Board
?
Program and Debug
1. Program your device.
2. As a programmer, MPLAB ICD 3 will automatically run your code. As a
debugger, you can run, halt, single step and set breakpoints in your code.
The Microchip name and logo, the Microchip logo, MPLAB and PIC are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other countries. The MPLAB Certified logo
is a trademark of Microchip Technology Incorporated in the U.S.A. and other countries.
? 2008 Microchip Technology Incorporated. Printed in the U.S.A. All Rights Reserved. 9/08
www.microchip.com ? 2008 Microchip Technology Inc., 9/08 DS51765A
?
相关PDF资料
DV164039 KIT DEV PIC24FJ256DA210
DV164101 KIT DEV PICKIT1 FLASH 8/14PIN
DV164120 KIT STARTER PICKIT 2
DV164121 KIT PICKIT 2 DEBUG EXPRESS
DV164122 ANALYZER SRL PICKIT W/DEMO BOARD
DV164131 KIT STARTER PICKIT 3
DV164132 KIT EVAL F1 FOR PIC12F1/PIC16F1
DV243003 KIT STARTER FOR SRL MEM PRODUCTS
相关代理商/技术参数
DV164035 RENT 制造商:Microchip Technology Inc 功能描述:KIT EVALUATION ICD3RENT
DV164035 制造商:Microchip Technology Inc 功能描述:MPLAB ICD 3 In-Circuit Debugger Kit
DV164036 功能描述:电路内置调试器 MPLAB ICD 3 Eval Kit RoHS:否 制造商:Microchip Technology 产品:In-Circuit Debugger Kits 工具用于评估:PIC MCUs, dsPIC DSCs 用于:07-00024, AC164113 核心:dsPIC, PIC 接口类型:USB 工作电源电压:3 V to 5 V
DV164037 功能描述:开发板和工具包 - PIC / DSPIC Explorer 16 Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164037 制造商:Microchip Technology Inc 功能描述:EXPLORER 16 KIT ((NW))
DV164039 功能描述:开发板和工具包 - PIC / DSPIC PIC24FJ256DA210 Dev Kit RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164101 功能描述:开发板和工具包 - PIC / DSPIC PICkit 1 8/14P Flash RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DV164101 制造商:Microchip Technology Inc 功能描述:TOOLS: FLASH MICROCONTROLLER (