8.5.8 CONFIG8

Configuration Byte 8
Note:
  1. BBSIZE[7:0] bits can only be changed when BBEN = 1. Once BBEN = 0, BBSIZE[7:0] can only be changed through a Bulk Erase.
Name: CONFIG8
Address: 30 0007h

Bit 76543210 
 BBSIZE[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 11111111 

Bits 7:0 – BBSIZE[7:0]  Boot Block Size Selection(1)

Table 8-1. Boot Block Size
ValueConditionEnd Address of Boot BlockBoot Block Size (words)
PIC18Fx4Q20PIC18Fx5Q20PIC18Fx6Q20
xxxxxxxxBBEN = 1N/A N/A
01111111BBEN = 000 7FFFhN/A 16384
01111110BBEN = 000 7EFFhN/A 16256
. . .. . .. . .. . .
01000000BBEN = 000 40FFhN/A 8320
00111111BBEN = 000 3FFFhN/A 8192
00111110BBEN = 000 3EFFhN/A 8064
. . .. . .. . .. . .
00100000BBEN = 000 20FFhN/A 4224
00011111BBEN = 000 1FFFh4096
00011110BBEN = 000 1EFFh3968
. . .. . .. . .. . .
00000011BBEN = 000 03FFh512
00000010BBEN = 000 02FFh384
00000001BBEN = 000 01FFh256
00000000BBEN = 000 00FFh128
BBSIZE[7:0] bits can only be changed when BBEN = 1. Once BBEN = 0, BBSIZE[7:0] can only be changed through a Bulk Erase.