Control B
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BOOTLOCK | APCWP | ||||||
Access | R/W | R/W | |||||
Reset | 0 | 0 |
Boot Section Lock
Writing a '1' to this bit locks the boot section from read and instruction fetch.
If this bit is '1', a read from the boot section will return '0'. A fetch from the boot section will also return 0 as instruction.
This bit can only be written from the boot section. It can only be cleared to '0' by a Reset.
This bit will only take effect when the boot section is left the first time after the bit is written.
Application Code Section Write Protection
Writing a '1' to this bit protects the application code section from further writes.
This bit can only be written to '1', it is cleared to '0' only by Reset.