PIC32MX1XX/2XX/5XX 64/100-PIN FAMILY
REGISTER 28-1: DEVCFG0: DEVICE CONFIGURATION WORD 0 (CONTINUED)
bit 19-10 PWP<9:0>: Program Flash Write-Protect bits
Prevents selected program Flash memory pages from being modified during code execution. The PWP bits
represent the one’s compliment of the number of write protected program Flash memory pages.
1111111111 = Disabled
1111111110 = Memory below 0x0400 address is write-protected
1111111101 = Memory below 0x0800 address is write-protected
1111111100 = Memory below 0x0C00 address is write-protected
1111111011 = Memory below 0x1000 (4K) address is write-protected
1111111010 = Memory below 0x1400 address is write-protected
1111111001 = Memory below 0x1800 address is write-protected
1111111000 = Memory below 0x1C00 address is write-protected
1111110111 = Memory below 0x2000 (8K) address is write-protected
1111110110 = Memory below 0x2400 address is write-protected
1111110101 = Memory below 0x2800 address is write-protected
1111110100 = Memory below 0x2C00 address is write-protected
1111110011 = Memory below 0x3000 address is write-protected
1111110010 = Memory below 0x3400 address is write-protected
1111110001 = Memory below 0x3800 address is write-protected
1111110000 = Memory below 0x3C00 address is write-protected
1111101111 = Memory below 0x4000 (16K) address is write-protected
•
•
•
1110111111 = Memory below 0x10000 (64K) address is write-protected
•
•
•
1101111111 = Memory below 0x20000 (128K) address is write-protected
•
•
•
1011111111 = Memory below 0x40000 (256K) address is write-protected
•
•
•
0111111111 = Memory below 0x80000 (512K) address is write-protected
•
•
•
0000000000 = All possible memory is write-protected
Note: These bits are effective only if Boot Flash is also protected by clearing the BWP bit
(DEVCFG0<24>).
bit 9-5 Reserved: Write ‘1’
bit 4-3
ICESEL<1:0>: In-Circuit Emulator/Debugger Communication Channel Select bits
11 = PGEC1/PGED1 pair is used
10 = PGEC2/PGED2 pair is used
01 = PGEC3/PGED3 pair is used
00 = Reserved
bit 2
JTAGEN: JTAG Enable bit(1)
1 = JTAG is enabled
0 = JTAG is disabled
bit 1-0
DEBUG<1:0>: Background Debugger Enable bits (forced to ‘11’ if code-protect is enabled)
1x = Debugger is disabled
0x = Debugger is enabled
Note 1: This bit sets the value for the JTAGEN bit in the CFGCON register.
DS60001290E-page 294
2014-2017 Microchip Technology Inc.