Emulation Header Hardware Setup

Last modified by Microchip on 2023/12/20 19:04

Follow the instructions below to set up emulation header hardware and connections.

Check for Inserts

Check the header box for any paper inserts that specify special operating instructions and the emulation header for any stickers.

Special header instructions

Figure: Special Header Instructions

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 in the accompanying images. 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.

PICkit 3 in-circuit debugger connections

Figure: PICkit 3 in-circuit debugger connections

MPLAB ICD 3 in-circuit debugger connections

Figure: MPLAB ICD 3 in-circuit debugger connections

MPLAB REAL ICE in-circuit emulator connections

Figure: MPLAB REAL ICE in-circuit emulator connections​​​​​

Connect Header to Target

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.

Example connection

Figure: Example connection​​​


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 the "Emulation Header Setup for MPLAB X IDE" page.

Back to top