The device on which you are attempting to operate (read, program, blank check or verify) is code protected, in other
words, the code cannot be read or modified. Check your Configuration bits setting for code protection (
Windows >
Target Memory Views > Configuration Bits
).
Disable code protection, set or clear the appropriate Configuration bits in code or in the Configuration Bits window
according to the device data sheet. Then erase and reprogram the entire device.
If these actions fail to fix the problem, see
Debugger to Target Communication Error Actions
.
8.1.4
Miscellaneous Errors
MPLAB PICkit 4 is busy. Please wait for the current operation to finish.
If you receive this error when attamepting to deselect the debugger as a debugger or programmer:
1.
Wait. Give the debugger time to finish any application tasks. Then try to deselect the debugger again.
2.
Select
(Finish Debugger Session) to stop any running applications. Then, try to deselect the debugger
again.
3.
Unplug the debugger from the computer. Then, try to deselect the debugger again.
4.
Shut down MPLAB X IDE.
8.1.5
List of Error Messages
Table 8-1. Alphabetized List Of Error Messages
AP_VER=Algorithm Plugin Version
AREAS_TO_PROGRAM=The following memory area(s) will be programmed:
AREAS_TO_READ=The following memory area(s) will be read:
AREAS_TO_VERIFY=The following memory area(s) will be verified:
BLANK_CHECK_COMPLETE=Blank check complete, device is blank.
BLANK_CHECK_FAILED=Blank check failed. The device is not blank.
BLANK_CHECKING=Blank Checking...
BOOT_CONFIG_MEMORY=boot config memory
BOOT_VER=Boot Version
BOOTFLASH=boot flash
BP_CANT_B_DELETED_WHEN_RUNNING=software breakpoints cannot be removed while the target is running.
The selected breakpoint will be removed the next time the target halts.
CANT_CREATE_CONTROLLER=Unable to find the tool controller class.
CANT_FIND_FILE=Unable to locate file %s.
CANT_OP_BELOW_LVPTHRESH=The voltage level selected %f, is below the minimum erase voltage of %f. The
operation cannot continue at this voltage level.
CANT_PGM_USEROTP=The debug tool cannot program User OTP memory because it is not blank. Please
exclude User OTP memory from the memories to program or switch to a device with blank User OTP memory.
CANT_PRESERVE_PGM_MEM=Unable to preserve program memory: Invalid range Start = %08x, End = %08x.
CANT_READ_REGISTERS=Unable to read target register(s).
CANT_READ_SERIALNUM=Unable to read the device serial number.
CANT_REGISTER_ALTERNATE_PNP=Unable to register for PNP events for multiple USB product IDs.
Error Messages
©
2020 Microchip Technology Inc.
User Guide
DS50002751D-page 39