User manual
Error Messages
2017 Microchip Technology Inc. DS50002596A-page 53
6.3 GENERAL CORRECTIVE ACTIONS
These general corrective actions may solve your problem:
• Read/Write Error Actions
• Debugger to Target Communication Error Actions
• Debugger to Computer Communication Error Actions
• Corrupted Installation Actions
• USB Port Communication Error Actions
• Debug Failure Actions
• Internal Error Actions
6.3.1 Read/Write Error Actions
If you receive a read or write error:
1. Did you hit Abort? This may produce read/write errors.
2. Try the action again. It may be a one-time error.
3. Ensure that the target is powered and at the correct voltage levels for the device.
See the device data sheet for required device voltage levels.
4. Ensure that the debugger-to-target connection is correct (PGC and PGD are
connected.)
5. For write failures, ensure that “Erase all before Program” is checked on the
Program Memory tab of the Settings dialog.
6. Ensure that the cable(s) are of the correct length.
6.3.2 Debugger to Target Communication Error Actions
If the MPLAB ICD 4 In-Circuit Debugger and the target device are not communicating
with each other.
1. Select Reset and then try the action again.
2. Ensure that the cable(s) are of the correct length.
6.3.3 Debugger to Computer Communication Error Actions
If the MPLAB ICD 4 In-Circuit Debugger and MPLAB IDE X are not communicating with
each other.
1. Unplug, and then plug in, the debugger.
1. Reconnect to the debugger.
2. Try the operation again. It is possible the error was a one-time event.
3. The version of MPLAB IDE X installed may be incorrect for the version of firm-
ware loaded on the MPLAB ICD 4 In-Circuit Debugger. Follow the steps outlined
in Section 6.3.4 “Corrupted Installation Actions”.
4. There may be an issue with the computer USB port. See Section 6.3.5 “USB Port
Communication Error Actions”.
6.3.4 Corrupted Installation Actions
The problem is most likely caused by a incomplete or corrupted installation of MPLAB
IDE X.
1. Uninstall all versions of MPLAB IDE X from the computer.
2. Reinstall the desired MPLAB IDE X version.
3. If the problem persists, contact Microchip Support.