27.6.4.5 Erase Row
Before a page can be written, the row containing that page must be erased. The Erase Row command can be used to erase the desired row in the NVM main address space. The RWWEE Erase Row can be used to erase the desired row in the RWWEE array. Erasing the row sets all bits to '1'. If the row resides in a region that is locked, the erase will not be performed and the Lock Error bit in the Status register (STATUS.LOCKE) will be set.
Procedure for Erase Row
- Write the address of the row to erase to ADDR. Any address within the row can be used.
- Issue an Erase Row command.
Note: The NVM Address bit field in the Address
register (ADDR.ADDR) uses 16-bit addressing.