29.4.14 Command Write Protection

To prevent any single software error from corrupting Flash content, lock bits or GPNVM bits, write and/or erase commands can be write-protected by setting the GPNVMWP, LOCKWP, ERASEWP and ERASEWL bits in EEFC_WPMR.

The GPNVM modification commands have no effect when EEFC_WPMR.GPNVMWP is set. Lock bit modifications are not possible when EEFC_WPMR.LOCKWP is set. Write and erase of pages, blocks or sectors are not possible when EEFC_WPMR.ERASEWP is set. Furthermore, these write and erase of pages, sectors or planes are not possible until hardware reset when EEFC_WPMR.ERASEWL is set.