Datasheet
PIC32MX1XX/2XX
DS61168E-page 224 Preliminary 2011-2012 Microchip Technology Inc.
REGISTER 26-1: DEVCFG0: DEVICE CONFIGURATION WORD 0
Bit
Range
Bit
31/23/15/7
Bit
30/22/14/6
Bit
29/21/13/5
Bit
28/20/12/4
Bit
27/19/11/3
Bit
26/18/10/2
Bit
25/17/9/1
Bit
24/16/8/0
31:24
r-0 r-1 r-1 R/P r-1 r-1 r-1 R/P
— — —CP— — —BWP
23:16
r-1 r-1 r-1 r-1 r-1 r-1 r-1 R/P
— — — — — — —PWP<6>
15:8
R/P R/P R/P R/P R/P R/P r-1 r-1
PWP<5:0> — —
7:0
r-1 r-1 r-1 R/P R/P R/P R/P R/P
— — — ICESEL<1:0>
(2)
JTAGEN
(1)
DEBUG<1:0>
Legend: r = Reserved bit P = Programmable bit
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 31 Reserved: Write ‘0’
bit 30-29 Reserved: Write ‘1’
bit 28 CP: Code-Protect bit
Prevents boot and program Flash memory from being read or modified by an external pro-
gramming device.
1 = Protection is disabled
0 = Protection is enabled
bit 27-25 Reserved: Write ‘1’
bit 24 BWP: Boot Flash Write-Protect bit
Prevents boot Flash memory from being modified during code execution.
1 = Boot Flash is writable
0 = Boot Flash is not writable
bit 23-17 Reserved: Write ‘1’
bit 16-10 PWP<6:0>: Program Flash Write-Protect bits
Prevents selected program Flash memory pages from being modified during code execution.
1111111 = Disabled
1111110 = Memory below 0x0400 address is write-protected
1111101 = Memory below 0x0800 address is write-protected
1111100 = Memory below 0x0C00 address is write-protected
1111011 = Memory below 0x1000 address is write-protected
1111010 = Memory below 0x1400 address is write-protected
1111001 = Memory below 0x1800 address is write-protected
1111000 = Memory below 0x1C00 address is write-protected
1110111 = Memory below 0x2000 address is write-protected
1110110 = Memory below 0x2400 address is write-protected
1110101 = Memory below 0x2800 address is write-protected
1110100 = Memory below 0x2C00 address is write-protected
1110011 = Memory below 0x3000 address is write-protected
1110010 = Memory below 0x3400 address is write-protected
1110001 = Memory below 0x3800 address is write-protected
1110000 = Memory below 0x3C00 address is write-protected
1101111 = Memory below 0x4000 address is write-protected
•
•
•
0000000 = Memory below 0x20000 address is write-protected
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.