9.3 Device Configuration Information

The Device Configuration Information (DCI) is a dedicated region in the program memory mapped from 3C0000h to 3C0009h. The data stored in these location is read-only and cannot be erased. Refer to the table below for the complete DCI table address and description. The DCI holds information about the device, which is useful for programming and Bootloader applications.

The erase size is the minimum erasable unit in the PFM, expressed as rows. The total device Flash memory capacity is (Erase size * Number of user-erasable pages).

Table 9-3. Device Configuration Information for PIC18-Q40 Devices
ADDRESS NAME DESCRIPTION VALUE UNITS
PIC18F04/14Q40 PIC18F05/15Q40 PIC18F06/16Q40
3C0000h-3C0001h ERSIZ Erase page size 128 128 128 Words
3C0002h-3C0003h WLSIZ Number of write latches per row 0 0 0 Words
3C0004h-3C0005h URSIZ Number of user-erasable pages 64 128 256 Pages
3C0006h-3C0007h EESIZ Data EEPROM memory size 512 512 512 Bytes
3C0008h-3C0009h PCNT Pin count 14/20 14/20 14/20 Pins