The debugger is connected to the computer via a USB cable for communication and debugger power (not target power).
The debugger is connected to the target application for communication and data collection. Refer to Connecting an RJ-11 Type Cable to an RJ-45 Socket for pinout information.
The MPLAB® X IDE software must be installed prior to connecting the MPLAB ICD 4 In-Circuit Debugger.
The power supply (not included) is connected either to the target application (preferred method) or the debugger to provide power to the target. The debugger system configurations are discussed in the following sections.
Standard ICSP Device Communication
The debugger system can be configured to use standard 6-pin ICSP (modular cable) communication connection for both programming and debugging functions. The modular cable can be inserted into either:
- a matching socket at the target, where the target device is on the target board (see Figure 1), or
- a standard adapter/header board combo (available as a Processor Extension Pak), which is then plugged into the target board (see Figure 2).
Older header boards used a 6-pin (RJ-11 type) modular connector instead of an 8-pin connector, so these headers may be connected directly to the debugger. For more on standard communication, see Standard Communication
Figure 1: STANDARD DEBUGGER SYSTEM – DEVICE WITH ON-BOARD ICE CIRCUITRY
Figure 2: STANDARD DEBUGGER SYSTEM – ICE DEVICE