31:18 |
Reserved |
Reserved |
— |
0x0 |
23:8 |
Sector value |
Set the sector value of the flash device so that a particular memory sector can be erasing or protecting from erase or written. Please refer to the Valid Sector Value for Sector Protect and Sector Erase Command section for more detail. |
W |
0x0 |
7:3 |
Reserved |
Reserved |
— |
0x0 |
2:0 |
Memory protect/erase/write enable operation |
- 3’b011 – Sector protect:
Active-high port that executes the sector protect operation. If asserted, the IP takes the value of FLASH_MEM_OP[23:8] and writes to the FLASH status register. The status register contains the block protection bits that represent the memory sector to be protected from write or erase. You are required to perform a Write Enable operation before performing Sector Protect.
- 3’b010 – Sector erase:
Active-high port that executes the sector erase operation. If asserted, the IP starts erasing the memory sector on the flash device based on FLASH_MEM _OP[23:8] value. You are required to perform a Write Enable operation before performing Sector Erase.
- 3’b001 – Bulk erase
Active-high port that executes the bulk erase operation. If asserted, the IP performs a full-erase operation that sets all memory bits of the flash device to ‘1’, which includes the general purpose memory of the flash device. (Bulk erase is not supported in stack-die such as EPCQ512-L and EPCQ1024-L). You are required to perform a Write Enable operation before performing Bulk Erase.
- 3’b100 – Write Enable Operation
Active-high port that sets the write enable latch. You are required to perform this operation before performing Sector Protect, Sector Erase, and Bulk Erase.
All other options are N/A. For more information about how to perform the low level access operation, refer to the respective flash datasheet. |
W |
0x0 |