Microchip Technology ICD 3 In-Circuit Debugger DV164035 DV164035 User Manual
Product codes
DV164035
Installation
© 2008 Microchip Technology Inc.
DS51766A-page 23
A transition socket is used with the ICE header to connect the header to the target
board. Transition sockets are available in various styles to allow a common header to
be connected to one of the supported surface mount package styles. For more
information on transition sockets, see the “Transition Socket Specification” (DS51194).
board. Transition sockets are available in various styles to allow a common header to
be connected to one of the supported surface mount package styles. For more
information on transition sockets, see the “Transition Socket Specification” (DS51194).
Header board layout will be different for headers or processor extension packs. For
connection information, see Section 2.4 “Debugger To Target Communication”,
“Standard ICSP Device Communication”.
connection information, see Section 2.4 “Debugger To Target Communication”,
“Standard ICSP Device Communication”.
3.5.3
Powering the Target
There are a couple of configurations for powering MPLAB ICD 3 and the target.
These are configuration essentials:
• When using the USB connection, MPLAB ICD 3 can be powered from the PC but
it can only provide a limited amount of current, up to 100 mA, at V
DD
from 3-5V to
a small target board.
• The desired method is for the target to provide V
DD
as it can provide a wider
voltage range from 2-5V. The additional benefit is that plug-and-play target
detection facility is inherited, i.e., MPLAB IDE will let you know in the Output
window when it has detected the target and has detected the device.
detection facility is inherited, i.e., MPLAB IDE will let you know in the Output
window when it has detected the target and has detected the device.
If you have not already done so, connect the MPLAB ICD 3 to the target using the
appropriate cables (see Section 3.4 “Connecting the Target”). Then power the
target. If you are powering the target through the MPLAB ICD 3, see
Section 9.5.8 “Settings Dialog, Power Tab” for instructions.
appropriate cables (see Section 3.4 “Connecting the Target”). Then power the
target. If you are powering the target through the MPLAB ICD 3, see
Section 9.5.8 “Settings Dialog, Power Tab” for instructions.
3.6
SETTING UP MPLAB IDE
Once the hardware is connected and powered, MPLAB IDE may be set up for use with
the MPLAB ICD 3 in-circuit debugger.
the MPLAB ICD 3 in-circuit debugger.
On some devices, you must select the communications channel in the Configuration
bits, e.g., PGC1/EMUC1 and PGD1/EMUD1. Make sure the pins selected here are the
same ones physically connected to the device.
bits, e.g., PGC1/EMUC1 and PGD1/EMUD1. Make sure the pins selected here are the
same ones physically connected to the device.
For more on setting up a project and getting started with MPLAB ICD 3, see Chapter
4. “General Setup”.
4. “General Setup”.
To walk through the process of programming and debugging a device with the MPLAB
ICD 3, see Chapter 5. “Tutorial”.
ICD 3, see Chapter 5. “Tutorial”.
Note:
The target voltage is only used for powering up the drivers for the ICSP
interface; the target voltage does not power up the MPLAB ICD 3. The
MPLAB ICD 3 system power is derived strictly from the USB port.
interface; the target voltage does not power up the MPLAB ICD 3. The
MPLAB ICD 3 system power is derived strictly from the USB port.