PIC18FXX20
REGISTER 23-7: CONFIG5L: CONFIGURATION REGISTER 5 LOW (BYTE ADDRESS 300008h)
R/P-1
R/P-1
R/P-1
R/P-1
R/P-1
CP3
R/P-1
CP2
R/P-1
CP1
R/P-1
CP0
CP7(1)
CP6(1)
CP5(1)
CP4(1)
bit 7
bit 0
bit 7
bit 6
bit 5
bit 4
bit 3
CP7: Code Protection bit(1)
1= Block 7 (01C000-01FFFFh) not code protected
0= Block 7 (01C000-01FFFFh) code protected
CP6: Code Protection bit(1)
1= Block 6 (018000-01BFFFh) not code protected
0= Block 6 (018000-01BFFFh) code protected
CP5: Code Protection bit(1)
1= Block 5 (014000-017FFFh) not code protected
0= Block 5 (014000-017FFFh) code protected
CP4: Code Protection bit(1)
1= Block 4 (010000-013FFFh) not code protected
0= Block 4 (010000-013FFFh) code protected
CP3: Code Protection bit
For PIC18FX520 devices:
1= Block 3 (006000-007FFFh) not code protected
0= Block 3 (006000-007FFFh) code protected
For PIC18FX620 and PIC18FX720 devices:
1= Block 3 (00C000-00FFFFh) not code protected
0= Block 3 (00C000-00FFFFh) code protected
bit 2
bit 1
bit 0
CP2: Code Protection bit
For PIC18FX520 devices:
1= Block 2 (004000-005FFFh) not code protected
0= Block 2 (004000-005FFFh) code protected
For PIC18FX620 and PIC18FX720 devices:
1= Block 2 (008000-00BFFFh) not code protected
0= Block 2 (008000-00BFFFh) code protected
CP1: Code Protection bit
For PIC18FX520 devices:
1= Block 1 (002000-003FFFh) not code protected
0= Block 1 (002000-003FFFh) code protected
For PIC18FX620 and PIC18FX720 devices:
1= Block 1 (004000-007FFFh) not code protected
0= Block 1 (004000-007FFFh) code protected
CP0: Code Protection bit
For PIC18FX520 devices:
1= Block 0 (000800-001FFFh) not code protected
0= Block 0 (000800-001FFFh) code protected
For PIC18FX620 and PIC18FX720 devices:
1= Block 0 (000200-003FFFh) not code protected
0= Block 0 (000200-003FFFh) code protected
Note 1: Unimplemented in PIC18FX520 and PIC18FX620 devices; maintain this bit set.
Legend:
R = Readable bit
- n = Value when device is unprogrammed
P = Programmable bit
U = Unimplemented bit, read as ‘0’
u = Unchanged from programmed state
DS39609A-page 244
Advance Information
2003 Microchip Technology Inc.