1. Device Overview (General) ️· This document describes a flash memory device (likely a NAND or NOR flash).
️· It focuses on functionality and key registers.
2. Status Register DetailsThe Status Register is critical for monitoring and controlling the device. Here's a breakdown of the bits:
️· WIP (Write In Progress):
- `1`: Device is busy with a program, erase, or write-to-status-register operation.
- `0`: Device is idle (not busy).
️· WEL (Write Enable Latch):
- `1`: Write Enable Latch is set. Allows Write Status Register, Program, and Erase commands.
- `0`: Write Enable Latch is reset. Write commands are disabled.
️· BP4, BP3, BP2, BP1, BP0 (Block Protect Bits):
- Non-volatile bits that define a software-protected memory area.
- When set to '1', the corresponding memory area is protected from Program and Erase commands.
- Written using the Write Status Register (WRSR) command.
- The block protect bits interact with the CMP bit to define how the erase command will operate.
️· SRP1, SRP0 (Status Register Protect Bits):
- Non-volatile bits that control how the Status Register can be written (locked down). They interact with the #WP (hardware protection) pin. See the table for details.
3. SRP1, SRP0 and #WP Interaction (Table Summary)
| SRP1 |
SRP0 |
#WP |
Status Register |
Description |
| 0 |
0 |
X |
Software Protected |
Default. Writable after a Write Enable command. |
| 0 |
1 |
0 |
Hardware Protected |
Status Register is locked by #WP=0. |
| 0 |
1 |
1 |
Hardware Unprotected |
Status Register is writable after a Write Enable command if #WP=1. |
| 1 |
0 |
X |
Power Supply Lock-Down |
Status Register is protected until the next power cycle. |
| 1 |
1 |
X |
One-Time Programmable |
Status Register is permanently protected. |
4. CMP bitThe CMP bit is related to the Block Protect bits and how erase commands will operate.
Key Takeaways & Considerations ️· WEL is Essential: You *must* have WEL = 1 before attempting to write to the Status Register, Program, or Erase.