29.4.7 Erase Function Lock
The Flash Erase Pin function can be locked, by programming the GPNVM[4:2], to prevent the device from being erased. The Erase Function Lock (EFL) is managed at application level.
By default the Erase pin is active. These GPNVM bits can be set to 0 or 1 by software, they apply only to the Erase Pin. These bits do not prevent software Erase commands.
| Description | GPNVM[4:2] Bits |
|---|---|
| Not locked | 000 |
| Erase Function Locked modifiable by software | 011 |
| Erase Function Locked not modifiable | 110 |
| Erase Function Locked modifiable by software | Others |
When the EFL is activated and the Security bit enabled, the device cannot be recovered. This function must be carefully used and should be validated at the very end of the production process.
