8.5.8 CONFIG8
Note:
- When
SAFLOCK =
0
, once a SAFSZ bit is programmed to0
through ICSP or a self-write, it can never be erased to a ‘1
’, not even through a Bulk Erase. - When SAFLOCK =
1
, once a SAFSZ bit is programmed to0
through ICSP or a self-write, it can only be reset though a Bulk Erase.
Name: | CONFIG8 |
Address: | 0x300019 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
SAFSZ[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
Bits 7:0 – SAFSZ[7:0] Storage Area Flash (SAF) Block Size Selection(1)(2)
WRTSAF | SAFLOCK | SAFSZ[7:0] | SAF Block Size | SAF Bulk Erase | SAF Self-write | ||
---|---|---|---|---|---|---|---|
PIC18Fx4Q24 | PIC18Fx5Q24 | PIC18Fx6Q24 | |||||
1 |
1 |
1111 1111
|
Storage Area Flash disabled | Yes | Yes | ||
1 |
1 |
1111 1110 |
Last 128 words of PFM | Yes | Yes | ||
1 |
1 |
1111 110x |
Last 256 words of PFM | Yes | Yes | ||
1 |
1 |
1111 10xx |
Last 384 words of PFM | Yes | Yes | ||
1 |
1 |
1111 0xxx |
Last 512 words of PFM | Yes | Yes | ||
1 |
1 |
1110 xxxx |
Last 640 words of PFM | Yes | Yes | ||
1 |
1 |
110x xxxx |
Last 768 words of PFM | Yes | Yes | ||
1 |
1 |
10xx xxxx |
Last 896 words of PFM | Yes | Yes | ||
1 |
1 |
0xxx xxxx |
Last 1024 words of PFM | Yes | Yes | ||
0 |
1 |
1111 1111
|
Storage Area Flash disabled | Yes | No | ||
0 |
1 |
1111 1110 |
Last 128 words of PFM | Yes | No | ||
0 |
1 |
1111 110x |
Last 256 words of PFM | Yes | No | ||
0 |
1 |
1111 10xx |
Last 384 words of PFM | Yes | No | ||
0 |
1 |
1111 0xxx |
Last 512 words of PFM | Yes | No | ||
0 |
1 |
1110 xxxx |
Last 640 words of PFM | Yes | No | ||
0 |
1 |
110x xxxx |
Last 768 words of PFM | Yes | No | ||
0 |
1 |
10xx xxxx |
Last 896 words of PFM | Yes | No | ||
0 |
1 |
0xxx xxxx |
Last 1024 words of PFM | Yes | No | ||
x |
0 |
1111 1111
|
Storage Area Flash disabled | No | No | ||
x |
0 |
1111 1110 |
Last 128 words of PFM | No | No | ||
x |
0 |
1111 110x |
Last 256 words of PFM | No | No | ||
x |
0 |
1111 10xx |
Last 384 words of PFM | No | No | ||
x |
0 |
1111 0xxx |
Last 512 words of PFM | No | No | ||
x |
0 |
1110 xxxx |
Last 640 words of PFM | No | No | ||
x |
0 |
110x xxxx |
Last 768 words of PFM | No | No | ||
x |
0 |
10xx xxxx |
Last 896 words of PFM | No | No | ||
x |
0 |
0xxx xxxx |
Last 1024 words of PFM | No | No |