MPLAB
®
ICD 2
DS51292L-page 4 © 2005 Microchip Technology Inc.
18-PIN HEADERS
For these headers, there are no jumpers/switches. The device with the most program
memory is always selected.
If PIC16F627A or PIC16F628A devices are selected for MPLAB ICD 2 development in
MPLAB IDE, the warning “ICDWarn0020: Invalid target device id” may be received in
the build window and as a dialog. The reason is the PIC16F648A-ICD device supports
PIC16F648A, PIC16F627A and PIC16F628A, but only reports the device ID for the
PIC16F648A.
Ignore this warning or disable it under the Warnings tab on the ICD Programming
dialog.
20-PIN HEADER – PIC16F639
For the PIC16F639 20-pin header, you will need to connect the jumper J3 as specified
below.
In addition to being used with MPLAB ICD 2, this header is used with the PCM16YM0
processor module to emulate a PIC16F639 on the MPLAB ICE 2000 in-circuit emulator.
Plug the end of the processor module into the header, and then plug the header into
the transition socket or directly onto the target board.
20-PIN HEADER – PIC16F785
For the PIC16F785 20-pin header, you will need to connect the jumper J2 to enable the
shunt regulator.
20-PIN HEADER – PIC16F690
For the PIC16F690 20-pin header, you will need to set the S1 switches (Figure 2) to
enable peripherals and choose devices (Table 3).
FIGURE 2: S1 SWITCH HARDWARE
Tool Jumper Setting Function
MPLAB
®
ICE 2000
1-2
Run/program as regular device
MPLAB ICD 2 2-3 Run/program as ICD device
Device Jumper Setting Function
PIC16F785
1-2
Disable shunt regulator
PIC16HV785 2-3 Enable shunt regulator
ADC
4kPFM
ECCP
SSP
USART
S1
Switch configuration at left shows all
peripherals enabled, which is the setting to
select the PIC16F690 device.
ENABLE
ON
Header Specification
© 2005 Microchip Technology Inc. DS51292L-page 5
64/80-PIN HEADERS
For these headers, there are no jumpers/switches. MPLAB IDE will use its selected
device to choose the correct device to emulate.
Test points are available on this header to check the following: V
DD, VDDcore and
ground.
The PICDEM™ HPC Explorer Board is 5V, whereas the ICD device on the header is
3.6V max. Therefore, modification to the demo board is necessary before the header
can be used.
1. Switch S3 should be set to ICE.
2. Jumper J2 must be connected as shown to modify the operating voltage. See
demo board documentation for more information.
Connect the Header and MPLAB ICD 2
Connect the 9-inch modular interface cable between the MPLAB ICD 2 Module and the
MPLAB ICD 2 Header.
Connect the Header and the Target Board
The header may be connected to the target board as follows:
PDIP header socket to PDIP target socket with a stand-off (male-to-male
connector)
Header socket to plug on the target board
Header socket to target socket with a transition socket (see MPLAB
®
ICE
2000/4000 Transition Socket Specification, DS51194)
TABLE 3: S1 SWITCH SETTINGS
Device
Switches
ADC 4kPFM USART SSP ECCP
PIC16F631 0 0* 0 0 0
PIC16F677 1 0** 0 1 0
PIC16F685 1 1 0 0 1
PIC16F687 1 0** 1 1 0
PIC16F689 1 1 1 1 0
PIC16F690 1 1 1 1 1
Legend: 1 = Enabled 0 = Disabled * = 1k PFM ** = 2k PFM
CAUTION
This header cannot be plugged directly into the PICDEM™ HPC Explorer Board or
device damage will result.
J2
pin1
VINADJ+5V
R
For V = 3.3V:
R = 1.18KΩ (1%)
MPLAB
®
ICD 2
DS51292L-page 6 © 2005 Microchip Technology Inc.
PROGRAMMING NON-ICD DEVICES
The MPLAB ICD 2 header can only program the -ICD device, not the regular device.
To program non-ICD devices with the MPLAB ICD 2, use the Universal Programming
Module (AC162049) or design a modular interface connector on the target. See the
appropriate specification for connections. For the most up-to-date device programming
specifications, see the Microchip website (www.microchip.com).
CALIBRATION BITS
The calibration bits for the band gap and internal oscillator are always preserved by the
MPLAB ICD 2 to their factory settings.
MPLAB ICD 2 PERFORMANCE
The PICmicro
®
MCU devices do not support partial program memory erase; therefore,
users may experience slower MPLAB ICD 2 performance than with other devices.
ADDITIONAL INFORMATION
Please refer to the MPLAB
®
ICD 2 In-Circuit Debugger User’s Guide (DS51331),
MPLAB IDE Help and the MPLAB ICD 2 Readme for additional information.
SCHEMATICS
The following schematics show header electrical connections.

AC162053

Mfr. #:
Manufacturer:
Description:
HEADER INTERFACE ICD,ICD2 18DIP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union