1. Memory Organization & Capacity:
️· The document refers to a GD25LR128, which implies a 128Mb (Megabit) flash memory.
️· The flash is organized into sectors (likely 4KB sectors, although the specific details are not explicitly stated).
2. Key Features & Commands:
️· Quad Operation: Supports quad I/O for faster data transfer. The QE (Quad Enable) bit in the status register enables this (and is permanently set to 1).
️· Program/Erase Suspend/Resume: Supports suspending and resuming program/erase operations (using commands 75H and 7AH respectively). SUS1 and SUS2 bits in the status register indicate the state (Program/Erase Suspend).
️· Write Status Register (WRSR): Used to modify the status register, including setting BP (Block Protect) bits.
️· Page Program (PP), Sector Erase (SE), Block Erase (BE): Standard programming and erase commands.
️· Write Enable Latch (WEL): Controls whether programming/erasing is allowed.
️· Write in Progress (WIP): Indicates if the memory is busy.
3. Status Register (Important Details):
️· BP4-BP0 (Block Protect): Non-volatile bits that define software-protected areas. These work in conjunction with the CMP bit.
️· CMP (Compare): A non-volatile bit that modifies the behavior of the BP bits.
️· SRP1, SRP0 (Status Register Protection): Control how the status register can be modified.
- 0,X: Software protected (default).
- 1,0: Power Supply Lock-Down (requires power cycle to reset).
- 1,1: One-Time Programmable (permanent protection, requires special order).
️· QE (Quad Enable): Permanently set to 1.
️· LB3, LB2, LB1: One-Time Programmable bits, used to control access to Security Registers.
️· SUS1, SUS2: Indicate program/erase suspend status.
4. Memory Protection Schemes:
️· Software Protection (BP bits and CMP): Provides flexible protection of memory blocks. The specific protected areas depend on the configuration of the BP bits and the CMP bit. Tables 1 and 2 detail these configurations.
️· Power Supply Lock-Down: Makes the status register read-only until a power cycle.
️· One-Time Programmable (OTP): Permanently locks the status register.
5. Key takeaways
️· The GD25LR128 offers both flexible and permanent memory protection options.
️· The status register plays a crucial role in controlling memory operations and security.
️· Understanding the interaction of the BP bits and CMP bit is essential for configuring memory protection.