CONFIG4
0
.0
.1
. Once
BBEN = 0
, BBSIZE[2:0] can only
be changed through a Bulk Erase.110
’
to ‘000
’ for a PIC16F15213
(Max PFM = 2048 words) will result in a maximum Boot Block size of 1024
words.Bit15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
LVP | WRTSAF | WRTC | WRTB | ||||
Access | R/W | R/W | R/W | R/W | |||
Reset | 1 | 1 | 1 | 1 | |||
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
WRTAPP | SAFEN | BBEN | BBSIZE[2:0] | ||||
AccessR/W | R/W | R/W | R/W | R/W | R/W | ||
Reset1 | 1 | 1 | 1 | 1 | 1 |
Low-Voltage Programming Enable(1)
Value | Description |
---|---|
1 | Low-Voltage Programming is enabled. MCLR/VPP pin function is MCLR. The MCLRE bit is ignored. |
0 | High voltage (HV) on MCLR/VPP must be used for programming |
Storage Area Flash (SAF) Write Protection(2,3)
Value | Description |
---|---|
1 | SAF is not write-protected |
0 | SAF is write-protected |
Configuration Registers Write Protection(2)
Value | Description |
---|---|
1 | Configuration registers are not write-protected |
0 | Configuration registers are write-protected |
Boot Block Write Protection(2,4)
Value | Description |
---|---|
1 | Boot Block is not write-protected |
0 | Boot Block is write-protected |
Application Block Write Protection(2)
Value | Description |
---|---|
1 | Application Block is not write-protected |
0 | Application Block is write-protected |
Boot Block Size Selection(5,6)
BBEN | BBSIZE | End Address of Boot Block | Boot Block Size (words) | |
---|---|---|---|---|
PIC16F15213 PIC16F15223 PIC16F15243 |
PIC16F15214 PIC16F15224 PIC16F15244 |
|||
1 |
xxx |
– | – | |
0 |
111 |
01FFh | 512 | |
0 |
110 |
03FFh | 1024 | |
0 |
101 |
07FFh | –(6) | 2048 |
0 |
100 |
0FFFh | –(6) | |
0 |
011 |
1FFFh | –(6) | |
0 |
010 |
3FFFh | –(6) | |
0 |
001 |
3FFFh | –(6) | |
0 |
000 |
3FFFh | –(6) |