1. Overview & Purpose ️· Device: GD25WD80C (Flash Memory)
️· Purpose: This document details the various commands and operations for interacting with this flash memory device. It describes the sequences needed to read, write, and manage the device's status.
2. Key Concepts & Terms ️· WEL (Write Enable Latch): A flag that must be set to '1' *before* any write operations (Page Program, Sector Erase, Block Erase, Chip Erase, Write Status Register) can be executed. A Write Enable (WREN) command sets this bit. A Write Disable (WRDI) command resets it.
️· WIP (Write In Progress): A bit in the Status Register that indicates whether a write operation (Program, Erase, Write Status Register) is currently in progress. It's '1' during the operation and '0' when complete. You should check this bit before initiating another write command.
️· SRP (Status Register Protect): A bit that, when set, puts the device into "Hardware Protected Mode" (HPM). In HPM, the Status Register can *not* be written.
️· HPM (Hardware Protected Mode): A protection mode where the Status Register is read-only.
️· Page: The unit of data programming for the `Page Program` command.
3. Command Summary
| Command |
Opcode (Hex) |
Description |
Requires WEL? |
| Write Enable (WREN) |
06 |
Sets the Write Enable Latch (WEL) to 1. |
N/A |
| Write Disable (WRDI) |
04 |
Resets the Write Enable Latch (WEL) to 0. |
N/A |
| Read Status Register (RDSR) |
05 |
Reads the Status Register. |
No |
| Write Status Register (WRSR) |
01 |
Writes to the Status Register. Allows modification of Block Protect bits and SRP. Cannot be executed in HPM. |
Yes |
| Read Data Bytes (READ) |
03 |
Reads data from memory, starting at a specified address. Automatically increments address after each byte read. |
No |
| Fast Read |
0B |
Reads data quickly, starting at a specified address. Automatically increments address. |
No |
| Dual Output Fast Read |
3B |
Reads data quickly, outputting 2 bits per clock cycle. Automatically increments address. |
No |
| Page Program (PP) |
02 |
Programs a page of memory. |
Yes |
4. Detailed Command Sequences & Important Notes ️· General Format: Most commands follow a pattern: `CS# Low --> Command Opcode --> Data (if applicable) --> CS# High`.
️· CS# (Chip Select): Must be driven low for the entire sequence (except for the WREN and WRDI commands where it can go high immediately after sending the opcode).
️· Data Timing: Data (addresses, data bytes) is sent on Serial Data Input (SI), and data is read from Serial Data Output (SO).
️· Page Program (PP) Details:
- You must send at least one data byte.
- If you send more than 256 bytes, only the last 256 are programmed.
- The programming starts at the beginning of the page.
️· Write Status Register (WRSR) Limitations:
- Cannot be executed while the device is in Hardware Protected Mode (HPM).
️· Fast Read and Dual Output Fast Read: These commands offer faster read speeds.
5. Figure References (Key Visuals)The document includes several figures showing the command sequences. These are very useful for understanding the timing and steps involved in each command. Look carefully at these figures for a complete picture of the operation.
Summary of the Table of ID Definitions (Bottom of the Document)
| Operation Code |
M7-M0 |
ID15-ID8 |
ID7-ID0 |
| 9FH |
C8 |
64 |
14 |
| 90H |
C8 |
|
13 |
| ABH |
|
|
13 |
This table seems to hold unique identifiers, related to a specific memory function. Without context on how these identifiers are used, their purpose is unclear. It's most likely specific to a function of the memory.