1.5.2.2 Step 2. Connect MPLAB ICE 4 to a Target

Connect the MPLAB ICE 4 In-Circuit Emulator (DV244140) to your target hardware using one of the following methods:

  1. Connect MPLAB ICE 4 40-pin ribbon cable to the MPLAB ICE 4 Breakout Board (AC244141). Then connect the Breakout Board pins to the corresponding target ICSP modular connector pins as specified in the table below.
  2. Connect MPLAB ICE 4 40-pin ribbon cable directly to a 40-pin connector on the target. Ensure that the 40-pin connector pins map to the target device ICSP pins as specified in the table below.

The ICSP pins are required to debug and program the device, and the DGI_VCP_TXD and DGI_VCP_RXD pins are required to read the serial output. The DGI_VCP_TXD and DGI_VCP_RXD need to be connected to the pins which you have configured for your serial driver to use.

Table 1-1. Connection Summary
ICE 4 Function Names1,2 ICE 4 Breakout Board Pins1 ICE 4 Connector Pins at Target2 Target ICSP Names3 Target ICSP Pins3
TVPP_IO J4/5 19 37 MCLR/VPP 1
TVDD_PWR J2/3/4/5 20 39,40 VDD 2
GND J2/3 6,8,10,12,14,16 12,16,20,24,28,32 VSS 3
TPGD_IO J2/3 19 38 TGO/PGD 4
TPGC_IO J4/5 18 35 TCK/PGC 5
TAUX_IO J2/3 18 36 TAUX 6
DGI_VCP_TXD J4/5 13 25 TMS4 7 - TX pin used by configured serial driver
DGI_VCP_RXD J4/5 12 23 TDI4 8 - RX pin used by configured serial driver
  1. Refer to the MPLAB ICE 4 Breakout Board User’s Guide (DS-50003479)
  2. Refer to the MPLAB ICE 4 In-Circuit Emulator User’s Guide (DS-50003242), 3.3.1 “Target Connection Pinout” table.
  3. Refer to the MPLAB ICE 4 In-Circuit Emulator User’s Guide, 3.3.5.1 “ICSP Target Connection” figures.
  4. The MPLAB ICE 4 ICSP Adapter Board connects TMS and TDI to ICE 4 Connector Pins 34 and 33 respectively. Therefore this board cannot be used for CI/CD.
Figure 1-7. Hardware Connections using MPLAB ICE 4 Breakout Board
Figure 1-8. Hardware Connections directly from the ICE 4 40-pin Cable