Debugger Powered

If the target is powered through the debugger with an externally powered hub as shown below, the power available to the target is limited to 50 mA.
Figure 1. Target Powered Through Self-Powered Hub

Not all devices have the AVDD and AVSS lines, but if they are present on the target device, all must be connected to the appropriate levels in order for the debugger to operate. They cannot be left floating.

Also, devices with a VCAP line (PIC18FXXJ for example) should be connected to the appropriate capacitor or level.

Note: The interconnection is very simple. Any problems experienced are often caused by other connections or components on these critical lines that interfere with the operation of the MPLAB PICkit 4 In-Circuit Debugger, as discussed in the following section.