4.1.2 Effect on Microcontroller Programming and Debugging Operations
Once the ICSPDIS Configuration bit has been enabled, the ICSP interface will be permanently disabled. The PDID feature cannot be disabled, even through a Bulk Erase operation on the microcontroller. This will inhibit programming and debugging operations on the microcontroller through the ICSP interface. It will also not permit read or write operations to the microcontroller's memory regions through the ICSP interface.
Any attempts to perform read or write operations to the microcontroller's memory regions
through the ICSP interface will result in a programmer communication error message. If
the ICSP interface has been disabled by setting the ICSPDIS
configuration bit to 0
, the Device ID and Revision ID can still be read
using the dedicated ICSP commands, which can be used as a verification for the PDID
feature. This message will be displayed in the Debugger output window of MPLAB X IDE, as
shown in the PDID Protection
Warning figure.