Error Messages
User Guide
© 2023 Microchip Technology Inc. and its subsidiaries
DS-50003529B - 66
8. Error Messages
The MPLAB ICD 5 In-Circuit Debugger produces various error messages; some are specic, some
are informational, and others can be resolved with general corrective actions. In general, read any
instructions under your error message. If those fail to x the problem or if there are no instructions,
refer to the following sections.
8.1 Types of Error Messages
The following sections group selected error messages into logical categories and propose solutions.
The nal section lists all error messages.
8.1.1 Corrupted/Outdated Installaon Errors
Failed to download rmware
If the hex le exists:
• Reconnect and try again.
• If this does not work, the le may be corrupted. Reinstall MPLAB X IDE.
If the hex le does not exist:
• Reinstall MPLAB X IDE.
Unable to download debug executive
If you receive this error while attempting to debug:
1. Deselect the debugger as the debug tool.
2. Close your project and then close MPLAB X IDE.
3. Restart MPLAB X IDE and reopen your project.
4. Reselect the debugger as the debug tool and try to program the target device again.
Unable to download program executive
If you receive this error while attempting to program:
1. Deselect the debugger as the programmer.
2. Close your project and then close MPLAB X IDE.
3. Restart MPLAB X IDE and reopen your project.
4. Reselect the debugger as the programmer and try to program the target device again.
If these actions fail to x the problem, see Corrupted Installation Actions.
8.1.2 Debug Failure Errors
The target device is not ready for debugging. Please check your Conguration bit settings and
program the device before proceeding.
You will receive this message if you try to Run before programming your device. If you receive this
message after trying to Run, or immediately after programming your device:
The device is code protected.
The device on which you are attempting to operate (read, program, blank check, or verify) is code
protected, that is, the code cannot be read or modied. Check your Conguration bits setting for
code protection (Windows > Target Memory Views > Conguration Bits).
Disable code protection, set or clear the appropriate Conguration bits in code or in the
Conguration Bits window according to the device data sheet. Then erase and reprogram the entire
device.