PIC18F2XXX/4XXX FAMILY
DS30009622M-page 38 2010-2015 Microchip Technology Inc.
TABLE 5-1: CONFIGURATION BITS AND DEVICE IDS
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Default/
Unprogrammed
Value
300000h
(1,8)
CONFIG1L — — USBDIV CPUDIV1 CPUDIV0 PLLDIV2 PLLDIV1 PLLDIV0 --00 0000
300001h CONFIG1H IESO FCMEN
— — FOSC3 FOSC2 FOSC1 FOSC0
00-- 0111
00-- 0101
(1,8)
300002h CONFIG2L — —
—
BORV1 BORV0 BOREN1 BOREN0 PWRTEN
---1 1111
VREGEN
(1,8)
--01 1111
(1,8)
300003h CONFIG2H — — — WDTPS3 WDTPS2 WDTPS1 WDTPS0 WDTEN ---1 1111
300005h CONFIG3H MCLRE
— — — — LPT1OSC PBADEN
CCP2MX
(7)
1--- -011
(7)
— 1--- -01-
300006h CONFIG4L DEBUG
XINST
ICPRT
(1)
— —
LVP
—STVREN
100- -1-1
(1)
BBSIZ1 BBSIZ0 — 1000 -1-1
— BBSIZ
(3)
— 10-0 -1-1
(3)
ICPRT
(8)
—BBSIZ
(8)
100- 01-1
(8)
BBSIZ1
(2)
BBSIZ2
(2)
— 1000 -1-1
(2)
300008h CONFIG5L — —CP5
(10)
CP4
(9)
CP3
(4)
CP2
(4)
CP1 CP0 --11 1111
300009h CONFIG5H CPD CPB
— — — — — — 11-- ----
30000Ah CONFIG6L
— —WRT5
(10)
WRT4
(9)
WRT3
(4)
WRT2
(4)
WRT1 WRT0 --11 1111
30000Bh CONFIG6H WRTD WRTB WRTC
(5)
— — — — — 111- ----
30000Ch CONFIG7L
— — EBTR5
(10)
EBTR4
(9)
EBTR3
(4)
EBTR2
(4)
EBTR1 EBTR0 --11 1111
30000Dh CONFIG7H
— EBTRB — — — — — — -1-- ----
3FFFFEh DEVID1
(6)
DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0 See Table 5-2
3FFFFFh DEVID2
(6)
DEV10 DEV9 DEV8 DEV7 DEV6 DEV5 DEV4 DEV3 See Table 5-2
Legend: - = unimplemented. Shaded cells are unimplemented, read as ‘0’.
Note 1: Implemented only on PIC18F2455/2550/4455/4550 and PIC18F2458/2553/4458/4553 devices.
2: Implemented on PIC18F2585/2680/4585/4680, PIC18F2682/2685 and PIC18F4682/4685 devices only.
3: Implemented on PIC18F2480/2580/4480/4580 devices only.
4: These bits are only implemented on specific devices based on available memory. Refer to Section 2.3 “Memory Maps”.
5: In PIC18F2480/2580/4480/4580 devices, this bit is read-only in Normal Execution mode; it can be written only in Program mode.
6: DEVID registers are read-only and cannot be programmed by the user.
7: Implemented on all devices with the exception of the PIC18FXX8X and PIC18F2450/4450 devices.
8: Implemented on PIC18F2450/4450 devices only.
9: Implemented on PIC18F2682/2685 and PIC18F4682/4685 devices only.
10: Implemented on PIC18F2685/4685 devices only.