Debugger to Target Communication
Note: |
The MPLAB X IDE software must be installed prior to connecting the MPLAB ICD 4 In-Circuit Debugger. |
|
The debugger is connected to the computer via a USB cable for communication and debugger power (not target power).
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.
|
|
|
Do not connect the hardware before installing the software and USB drivers.
|
|
|
|
Debugger or Target Damage.
Do not change hardware connections while the debugger or target is powered.
|
Standard ICSP Device Communication
Note: |
For header support, see the Release Notes for MPLAB ICD 4 in MPLAB X IDE v5.25 or greater. |
|
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:
Note: |
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. |
|
Figure: Standard Debugger System – Device with On-Board ICE Circuitry
Figure: Standard Debugger System – ICE Device