5.2 Device Protected State

When the device is locked through code protection, MEM-AP access range is limited to DSU external range. For more details on Intellectual Property Protection, refer to the PIC32CX-BZ6 and PIC32WM-BZ6 Family Data Sheet. When the device debug is locked through a secure device apart from DSU external registers, Flash Controller registers and Flash Memory addresses are placed under a MEM-AP-permissible address range to allow programming. The debugger must first read the status bit to handle this case. See Chip Erase for unprotecting the device if the device is protected through code protection.

Note: DSU external range (0x100-0x2000) is denoted as DSUEXT in this document.