Datasheet

© 2008 Microchip Technology Inc. DS39631E-page 257
PIC18F2420/2520/4420/4520
REGISTER 23-12: DEVID1: DEVICE ID REGISTER 1 FOR PIC18F2420/2520/4420/4520
RRRRRRRR
DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0
bit 7 bit 0
Legend:
R = Readable bit P = Programmable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state
bit 7-5 DEV<2:0>: Device ID bits
110 = PIC18F4420
100 = PIC18F4520
010 = PIC18F2420
000 = PIC18F2520
bit 4-0 REV<4:0>: Revision ID bits
These bits are used to indicate the device revision.
REGISTER 23-13: DEVID2: DEVICE ID REGISTER 2 FOR PIC18F2420/2520/4420/4520
RRRRRRRR
DEV10
(1)
DEV9
(1)
DEV8
(1)
DEV7
(1)
DEV6
(1)
DEV5
(1)
DEV4
(1)
DEV3
(1)
bit 7 bit 0
Legend:
R = Read-only bit P = Programmable bit U = Unimplemented bit, read as ‘0’
-n = Value when device is unprogrammed u = Unchanged from programmed state
bit 7-0 DEV<10:3>: Device ID bits
(1)
These bits are used with the DEV<2:0> bits in Device ID Register 1 to identify the part number.
0001 0001 = PIC18F2420/2520 devices
0001 0000 = PIC18F4420/4520 devices
Note 1: These values for DEV<10:3> may be shared with other devices. The specific device is always identified by
using the entire DEV<10:0> bit sequence.