9.5.2 Control B

Name: CTRLB
Offset: 0x01
Reset: 0x00
Property: -

Bit 76543210 
       BOOTLOCKAPCWP 
Access R/WR/W 
Reset 00 

Bit 1 – BOOTLOCK 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 be written from the boot section only. It can only be cleared to ‘0’ by a Reset.

This bit will take effect only when the boot section is left the first time after the bit is written.

Bit 0 – APCWP 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.