Follow the instructions below to set up emulation header hardware and connections.
Set Jumpers and Switches
Set any jumpers or switches on the header to determine device functionality or selection as specified for that header. See the section “Emulation Header List” for information on how to set up individual headers.
Connect Header to Tool
Connect the header to your desired debug tool as shown below. For the PICkit™ 3 and MPLAB® ICD 3 In-Circuit Debuggers, only the standard (ICSP) connection is available. For the MPLAB® REAL ICE™ In-Circuit Emulator, an additional connection for trace is available. Use the trace cable and interface board (included with the emulation header) to connect the header to the logic probe connector on the emulator.
Figure: PICkit™ 3 In-Circuit Debugger Connections
Figure: MPLAB® ICD 3 In-Circuit Debugger Connections
Figure: MPLAB® REAL ICE™ In-Circuit Emulator Connections
Connect Header to Target
Connect the header to the target board. On the bottom of the header is a socket that is used to connect to the target board. The header can be connected to the target board in one of the following ways:
- PDIP header socket to PDIP target socket with a stand-off (male-to-male) connector or single in-line pins. An example connection is shown below.
- Header socket to plug on the target board.
- Header socket to target socket with a transition socket (see the Transition Socket Specification, DS51194).
The header socket will have the same pin count as your selected device. The -ME2 device on the top of the header usually has a larger pin count because it has additional pins that are dedicated to debug.
Figure: Connect Header to Target
Power Debug Tool
If using a debug tool that can power the target, power that tool now.
Power the Target
Power the target, if needed.
Continue to MPLAB® X IDE Setup
To set up MPLAB® X IDE to use the header, go to: Emulation Header Setup for MPLAB X IDE.