6.7 CONFIG7

Configuration Byte 7
Note:
  1. Once protection is enabled through ICSP™ or a self-write, it can only be reset through a Bulk Erase.
  2. BBSIZE[2:0] bits can only be changed when BBEN = 1. Once BBEN = 0, BBSIZE[2:0] can only be changed through a Bulk Erase.
Name: CONFIG7
Offset: 30 0006h

Bit 76543210 
   DEBUGSAFENBBENBBSIZE[2:0] 
Access R/WR/WR/WR/WR/WR/W 
Reset 111111 

Bit 5 – DEBUG Debugger Enable

ValueDescription
1Background debugger disabled
0Background debugger enabled

Bit 4 – SAFEN  Storage Area Flash (SAF) Enable(1)

ValueDescription
1SAF is disabled
0SAF is enabled

Bit 3 – BBEN  Boot Block Enable(1)

ValueDescription
1Boot Block is disabled
0Boot Block is enabled

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

Table 6-2. Boot Block Size
BBENBBSIZEEnd Address of Boot BlockBoot Block Size (words)
PIC18Fx6Q83/Q84PIC18Fx7Q83/Q84
1xxx
011100 03FFh512
011000 07FFh1024
010100 0FFFh2048
010000 1FFFh4096
001100 3FFFh8192
001000 7FFFh16384
000100 FFFFh32768
000001 FFFFh
Once protection is enabled through ICSP™ or a self-write, it can only be reset through a Bulk Erase.BBSIZE[2:0] bits can only be changed when BBEN = 1. Once BBEN = 0, BBSIZE[2:0] can only be changed through a Bulk Erase.