Header Board Specification INTRODUCTION This document contains information about the MPLAB REAL ICE in-circuit emulator and MPLAB ICD 2 in-circuit debugger header boards. Header boards, or headers, pro- vide in-circuit debugging and/or emulating capabilities for specific Microchip devices. Depending on your device, a header may be necessary, unnecessary or optional in order to debug your application code (Figure 1). FIGURE 1: DEBUG OPTIONS Regular Device without Regular Device with On-Board Debug Circuitry On-Board Debug Circuitry VDD VSS Rx1/DAT Rx0/CLK MCLR/VPP Debug Circuitry No debug capability. Debug capability available. Header required for debug. However, header can provide dedicated resources for debug. Header Board with Additional ICE/ICD Device with On-Board Debug Circuitry to Support Debug Circuitry, Dedicated Debug Pins and Functions (sometimes) Dedicated Debug Memory S1 VSS J1 VDD DAT MCLR CLK VPP Rx1 Rx0 TP1 TP2 ICE/ Debug TP3 ICD Memory Device Debug Circuitry To determine what device resources must still be dedicated to debugging for either a device with on-board debug capability or the special ICE/ICD device, see the Resources used by the Emulator section of the MPLAB REAL ICE in-circuit emulator on-line help file or the Resources used by MPLAB ICD 2 section of the MPLAB ICD 2 in-circuit debugger on-line help file. 2008 Microchip Technology Inc. DS51292P-page 1 ONHeader Board Specification HEADER SETUP To set up your header, do the following: 1. Check the header board for any stickers and the header box for any paper inserts that may specify special operating instructions (Figure 2). Follow these instructions before doing anything else. FIGURE 2: SPECIAL HEADER INSTRUCTIONS Header Board (Top) CAUTION 2. Set any jumpers or switches on the header to determine device functionality or selection as specified for that header. See the sections Headers for ICE Devices or Headers for ICD Devices for information on how to set up individual headers. 3. Connect the header to your desired debug tool. For the MPLAB REAL ICE in-circuit emulator, consult the emulator documentation for connection options. For the MPLAB ICD 2 in-circuit debugger, connect the modular interface cable between the debugger and the header board. An example connection is shown in Figure 3. The special ICE/ICD device is mounted on the top of a header and its signals are routed to the emulator or debugger connector. These special device versions are labeled with the appropriate suffix (i.e., either Device-ICE or Device-ICD). In general, ICE devices are designed for MPLAB REAL ICE in-circuit emulator use and ICD devices are designed for MPLAB ICD 2 in-circuit debugger use. However, ICE devices may be used with the MPLAB ICD 2 in-circuit debugger, and ICD devices may be used with the MPLAB REAL ICE in-circuit emulator, but will provide only basic ICD functionality. FIGURE 3: CONNECT HEADER TO DEBUG TOOL Debug Tool Module (Top) MPLAB REAL ICE Header Board (Top) In-Circuit Emulator To PC and or ICE/ICD Device MPLAB IDE MPLAB ICD 2 In-Circuit Debugger DS51292P-page 2 2008 Microchip Technology Inc. CAUTION