Datasheet

PIC18F87J50 FAMILY
DS39775C-page 350 © 2009 Microchip Technology Inc.
TABLE 25-1: MAPPING OF THE FLASH CONFIGURATION WORDS TO THE CONFIGURATION
REGISTERS
TABLE 25-2: CONFIGURATION BITS AND DEVICE IDs
Configuration Byte Code Space Address
Configuration Register
Address
CONFIG1L XXXF8h 300000h
CONFIG1H XXXF9h 300001h
CONFIG2L XXXFAh 300002h
CONFIG2H XXXFBh 300003h
CONFIG3L XXXFCh 300004h
CONFIG3H XXXFDh 300005h
CONFIG4L
(1)
XXXFEh 300006h
CONFIG4H
(1)
XXXFFh 300007h
Note 1: Unimplemented in PIC18F87J10 family devices.
File Name Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Default/
Unprogrammed
Value
(1)
300000h CONFIG1L DEBUG XINST STVREN PLLDIV2 PLLDIV1 PLLDIV0 WDTEN 111- 1111
300001h CONFIG1H
(2)
(2)
(2)
(2)
CP0 CPDIV1 CPDIV0 1111 -111
300002h CONFIG2L IESO FCMEN
FOSC2 FOSC1 FOSC0 11-- -111
300003h CONFIG2H
(2)
(2)
(2)
(2)
WDTPS3 WDTPS2 WDTPS1 WDTPS0 1111 1111
300004h CONFIG3L WAIT
(3)
BW
(3)
EMB1
(3)
EMB0
(3)
EASHFT
(3)
1111 1---
300005h CONFIG3H
(2)
(2)
(2)
(2)
MSSPMSK PMPMX
(3)
ECCPMX
(3)
CCP2MX 1111 1111
3FFFFEh DEVID1 DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0 xxx0 0000
(4)
3FFFFFh DEVID2 DEV10 DEV9 DEV8 DEV7 DEV6 DEV5 DEV4 DEV3 0100 00xx
(4)
Legend: x = unknown, u = unchanged, - = unimplemented. Shaded cells are unimplemented, read as ‘0’.
Note 1: Values reflect the unprogrammed state as received from the factory and following Power-on Resets. In all other Reset
states, the configuration bytes maintain their previously programmed states.
2: The value of these bits in program memory should always be ‘
1’. This ensures that the location is executed as a NOP if it
is accidentally executed.
3: Implemented in 80-pin devices only.
4: See Register 25-7 and Register 25-8 for DEVID values. These registers are read-only and cannot be programmed by
the user.