Note: |
For header support, see the Release Notes for MPLAB PICkit 4 in MPLAB X IDE v5.25 or greater. |
|
All Baseline and some Mid-Range PIC microcontrollers require a special –ICD device mounted on a debug header circuit board to enable the debugging feature. For a list of these devices and the required ICD header board part number, please see the “
Processor Extension Pak and Header Specification” (DS50001292).
Each ICD header board comes with the necessary – ICD device and is used on the target board instead of the production microcontroller. However, most header boards have an RJ-11 debug connector which requires the AC164110 RJ-11 to ICSP adapter kit to connect it to MPLAB PICkit 4.
Many Mid-Range PIC microcontrollers and all PIC18 and 16-bit PIC microcontroller devices do not require an ICD header and can be debugged directly through the ICSP programming connections.
These are configuration essentials:
• |
When using the USB connection, MPLAB PICkit 4 can be powered from the computer but it can only provide a limited amount of current, up to 50 mA, at V dd from 1.2-5V to a small target board. |
• |
The desired method is for the target to provide V dd since it can provide a higher current. The additional benefit is that plug-and-play target detection facility is inherited, i.e., MPLAB X IDE will let you know in the Output window when it has detected the target and has detected the device. |
If you have not already done so, connect the MPLAB PICkit 4 to the target using the appropriate cables (see
“Connecting the Target Board”). Then power the target.