ATtiny1624/1626/1627

CTRLB

Control B

  0x01 8 Configuration Change Protection 0x00    

Control B

Bit  7 6 5 4 3 2 1 0  
              BOOTLOCK APCWP  
Access              R/W R/W  
Reset              0 0  

Bit 1 – BOOTLOCK: Boot Section Lock

Boot Section Lock

Writing this bit to ‘1’ locks the BOOT section from reading and instruction fetching.

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

Application Code Section Write Protection

Writing this bit to ‘1’ prevents further updates to the Application Code section.

This bit can only be written to ‘1’. It is cleared to ‘0’ only by Reset.