Datasheet

© 2011-2014 Microchip Technology Inc. DS60001168F-page 227
PIC32MX1XX/2XX
bit 18-10 PWP<8:0>: Program Flash Write-Protect bits
(3)
Prevents selected program Flash memory pages from being modified during code execution.
111111111 = Disabled
111111110 = Memory below 0x0400 address is write-protected
111111101 = Memory below 0x0800 address is write-protected
111111100 = Memory below 0x0C00 address is write-protected
111111011 = Memory below 0x1000 (4K) address is write-protected
111111010 = Memory below 0x1400 address is write-protected
111111001 = Memory below 0x1800 address is write-protected
111111000 = Memory below 0x1C00 address is write-protected
111110111 = Memory below 0x2000 (8K) address is write-protected
111110110 = Memory below 0x2400 address is write-protected
111110101 = Memory below 0x2800 address is write-protected
111110100 = Memory below 0x2C00 address is write-protected
111110011 = Memory below 0x3000 address is write-protected
111110010 = Memory below 0x3400 address is write-protected
111110001 = Memory below 0x3800 address is write-protected
111110000 = Memory below 0x3C00 address is write-protected
111101111 = Memory below 0x4000 (16K) address is write-protected
110111111 = Memory below 0x10000 (64K) address is write-protected
101111111 = Memory below 0x20000 (128K) address is write-protected
011111111 = Memory below 0x40000 (256K) address is write-protected
000000000 = All possible memory is write-protected
bit 9-5 Reserved: Write1
bit 4-3 ICESEL<1:0>: In-Circuit Emulator/Debugger Communication Channel Select bits
(2)
11 = PGEC1/PGED1 pair is used
10 = PGEC2/PGED2 pair is used
01 = PGEC3/PGED3 pair is used
00 = PGEC4/PGED4 pair is used
(2)
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
REGISTER 26-1: DEVCFG0: DEVICE CONFIGURATION WORD 0 (CONTINUED)
Note 1: This bit sets the value for the JTAGEN bit in the CFGCON register.
2: The PGEC4/PGED4 pin pair is not available on all devices. Refer to the “Pin Diagrams” section for
availability.
3: The PWP<8:7> bits are only available on devices with 256 KB Flash.