29.5.7 SEFC Write Protection Mode Register

Name: EEFC_WPMR
Offset: 0xE4
Reset: 0x00000010
Property: Read/Write

Bit 3130292827262524 
 WPKEY[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 WPKEY[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 WPKEY[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 ERASEWL  USRWPERASEWPLOCKWPGPNVMWPWPEN 
Access R/WR/WR/WR/WR/WR/W 
Reset 010000 

Bits 31:8 – WPKEY[23:0] Write Protection Key

ValueNameDescription
0x454643 PASSWD

Writing any other value in this field aborts the write operation.

Always reads as 0.

Bit 7 – ERASEWL Erase and Write Lock

ValueDescription
0

All Write and Erase commands in the main memory plane as selected by EEFC_FCR.FCMD are enabled.

1

All Write and Erase commands in the main memory plane as selected by EEFC_FCR.FCMD are disabled until hardware reset. When set to 1, this bit can no longer be modified until hardware reset.

Bit 4 – USRWP User Signature Write Protection

ValueDescription
0

Disables the write protection of EEFC_USR and EEFC_KBLR registers.

1

Enables the write protection of EEFC_USR and EEFC_KBLR registers.

Bit 3 – ERASEWP Erase and Write Protection

ValueDescription
0

All Write and Erase commands in the main memory plane as selected by EEFC_FCR.FCMD are enabled.

1

All Write and Erase commands in the main memory plane as selected by EEFC_FCR.FCMD are disabled.

Bit 2 – LOCKWP Lock Bit Write Protection

ValueDescription
0

The ‘Set lock bit’ and ‘Clear lock bit’ commands selected by EEFC_FCR.FCMD are enabled.

1

The ‘Set lock bit’ and ‘Clear lock bit’ commands selected by EEFC_FCR.FCMD are disabled.

Bit 1 – GPNVMWP GPNVM Bit Write Protection

ValueDescription
0

The ‘Set GPNVM bit’ and ‘Clear GPNVM bit’ commands selected by EEFC_FCR.FCMD are enabled.

1

The ‘Set GPNVM bit’ and ‘Clear GPNVM bit’ commands selected by EEFC_FCR.FCMD are disabled.

Bit 0 – WPEN Write Protection Enable

See Register Write Protection for the list of registers that can be protected.

ValueDescription
0

Disables write protection if WPKEY corresponds to 0x454643 (“EFC” in ASCII).

1

Enables write protection if WPKEY corresponds to 0x454643 (“EFC” in ASCII).