Header Board Specification INTRODUCTION This document contains information about MPLAB ICD 2 in-circuit debugger and MPLAB REAL ICE in-circuit emulator header boards, which provide in-circuit debugging and/or emulating capabilities for specific Microchip devices. A special ICD or ICE device is connected to a header board to be used with the debugger or emulator. This device is mounted on the top of a header and its signals are routed to the debugger or emulator connector. On the bottom of the header is a socket that is used to connect to the target board. For an example connection, see Figure 1. FIGURE 1: MODULE CONNECTION WITH HEADER MPLAB ICD 2 Module Header Board or J2 Jumpers MPLAB REAL ICE P1 J1 In-Circuit Emulator Stand-off Connector** Module -ICD or -ICE Device* Target Socket Power In *Number of pins is determined by -ICD/-ICE device used. **Number of stand-off pins is Target Application determined by Header used. Special ICD/ICE versions of selected devices are needed to provide one or more of the following: the built-in debug circuitry that a device may lack additional pins for the clock, data and MCLR functions required, so regular pins do not have to be forfieted dedicated program/data memory for in-circuit debug or emulation These special device versions are labeled with the appropriate suffix (i.e., either Device-ICD or Device-ICE). In general, ICD devices are designed for MPLAB ICD 2 debugger use and ICE devices are designed for MPLAB REAL ICE emulator use. However, ICD devices may be used with the MPLAB REAL ICE emulator and ICE devices may be used with the MPLAB ICD 2 debugger, but will provide only basic ICD functionality. 2007 Microchip Technology Inc. DS51292N-page 1Header Board Specification GENERAL HEADER SETUP To set up a header board: 1. If the ICD/ICE device is not soldered onto the header, plug the device into the socket on the top of the header. 2. Set any jumpers or switches to determine device functionality/selection as specified for that header. HEADER CONNECTION TO THE DEBUGGER/EMULATOR AND TARGET Connect the modular interface cable between the MPLAB ICD 2 debugger and the header boardor. For MPLAB REAL ICE in-circuit emulator connections, consult the emualtor documentation. 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 the Transition Socket Specification, DS51194) PROGRAMMING NON-ICD/ICE DEVICES The header board can only program the ICD/ICE device, not the regular device. To pro- gram non-ICD/ICE devices, 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 to their factory settings. PERFORMANCE ISSUES The PIC MCU devices do not support partial program memory erase therefore, users may experience slower performance than with other devices. DS51292N-page 2 2007 Microchip Technology Inc.