1. Overview ️· This document details the GD25LH80C, a flash memory device. It appears to be a serial flash memory device, likely a SPI flash.
️· It has a focus on status register functionality, protection mechanisms, and features like Quad Mode operation.
2. Key Features ️· Serial Peripheral Interface (SPI): The device communicates using SPI protocol.
️· Quad Mode: Supports Quad IO operation (using IO2 and IO3) to improve read and write speeds. Enabled via the `QE` bit in the Status Register.
️· Block Protection: Offers flexible block protection to prevent unwanted programming/erasing of certain memory areas. This is controlled by the `BP4, BP3, BP2, BP1, BP0` bits.
️· Status Register Protection (SRP): Provides several levels of protection for the Status Register itself, preventing accidental modifications. This is controlled by the `SRP1` and `SRP0` bits.
- Software Protected (default)
- Hardware Protected (locked by WP# pin)
- Hardware Unprotected
- Power Supply Lock-Down (requires power cycle to reset)
- One-Time Programmable (OTP) – permanently locked.
️· One-Time Programmable (OTP) Security Registers: These registers, controlled by the `LB3, LB2, LB1` bits in the Status Register, provide a layer of security. Once programmed, they become read-only.
️· Program/Erase Suspend: Supports suspending program/erase operations (`Program/Erase Suspend` command – 75H), indicated by the `SUS1` and `SUS2` bits in the Status Register.
️· CMP Bit (Compatibility Mode): Works in conjunction with the `BP` bits to define protected memory regions.
️· Fast Read: Supports fast read speed
3. Status Register Details (Crucial for Understanding Protection & Operation)
| Bit |
Name |
Description |
| S15 |
SUS1 |
Indicates if Program Suspend is active. Set by Suspend command, cleared by Resume. |
| S14 |
CMP |
Compatibility Mode bit. Used with BP bits to control protection. |
| S13-S11 |
LB3, LB2, LB1 |
OTP Security Register control. Once programmed, they become read-only, locking the security registers. |
| S10 |
SUS2 |
Indicates if Erase Suspend is active. Set by Suspend command, cleared by Resume. |
| S9 |
QE |
Quad Enable. Enables Quad IO operation. |
| S8 |
SRP1 |
Status Register Protection bit. Controls various levels of status register protection. |
| S7 |
SRP0 |
Status Register Protection bit. Controls various levels of status register protection. |
| S6 |
BP4 |
Block Protect bit. Defines the size of the memory region under software protection. |
| S5 |
BP3 |
Block Protect bit. Defines the size of the memory region under software protection. |
| S4 |
BP2 |
Block Protect bit. Defines the size of the memory region under software protection. |
| S3 |
BP1 |
Block Protect bit. Defines the size of the memory region under software protection. |
| S2 |
BP0 |
Block Protect bit. Defines the size of the memory region under software protection. |
| S1 |
WEL |
Write Enable Latch. Indicates whether write operations are allowed. |
| S0 |
WIP |
Write In Progress. Indicates whether a write operation is currently in progress. |
4. Important Notes & Considerations ️· Default State: The document highlights default states for various bits, which is important for initial configuration. For example, CMP = 0, QE = 0, SRP = Software Protection.
️· Protection Levels: Carefully understand the implications of setting SRP bits. Power-down cycles might be needed to reset some protection levels.
️· OTP: The LB bits, once programmed, are permanent.
️· Compatibility Mode (CMP): The behavior of Block Protection is affected by the CMP bit. Refer to the documentation for details on how these interact.
️· Suspend and Resume: Understanding the SUS1 and SUS2 bits, and how they relate to Program/Erase Suspend and Resume commands, is crucial for implementing advanced memory management.