MODIFICATION HISTORY:
Ver Who Date Changes ----- ------- -------- ----------------------------------------------- 1.00a ksu/sdm 03/03/08 First release 2.01a sdm 01/04/10 Added Support for Winbond W25QXX/W25XX devices 2.04a sdm 08/17/10 Updated to support Numonyx (N25QXX) and Spansion flash memories 3.00a srt 06/20/12 Updated to support interfaces SPI PS and QSPI PS. Added support to SST flash on SPI PS interface. 3.02a srt 04/26/13 Modified SECTOR and BLOCK Erase commands for SST flash (CR 703816).
|
|
Byte Positions. Byte 1 position |
|
|
Byte 2 position |
|
|
Byte 3 position |
|
|
Byte 4 position |
|
|
Byte 5 position |
|
|
Address Shift Masks. 16 bit Shift |
|
|
8 bit Shift |
|
|
The definition specifies the total bytes in Bulk Erase commands. This count includes Command byte and any don't care bytes needed. Bulk erase extra bytes |
|
|
Definitions for Intel, STM, Winbond and Spansion Serial Flash Device geometry. 256 Bytes per Page |
|
|
Block Erase command |
|
|
Definitions of Erase commands. Bulk Erase command |
|
|
Clear SR fail bits Cmd |
|
|
Enter DPD mode command |
|
|
Write disable command |
|
|
Dual i/o fast read |
|
|
Dual input extended fast page write |
|
|
Dual input fast page write |
|
|
Dual output fast read |
|
|
Enable high performance mode |
|
|
Definitions of commands used for
|
|
|
Fast Read command |
|
|
This definition specifies the extra bytes in Fast Read and Fast Buffer Read commands. This count includes Command byte, address bytes and any don't care bytes needed. Fast read and Fast buffer read extra bytes |
|
|
Device Info command |
|
|
Max extra bytes for all commands |
|
|
Definitions of commands which are only supported in Intel Serial Flash. OTP data read command |
|
|
OTP write command |
|
|
Definitions of Write commands. Page Program command |
|
|
Parameter Block Erase command |
|
|
Quad i/o fast read |
|
|
Dual input extended fast page write |
|
|
Quad input fast page write |
|
|
Quad output fast read |
|
|
Definitions of Read commands. Random Read command |
|
|
Release DPD mode command |
|
|
Sector Erase command |
|
|
Sector Erase command |
|
|
This definition specifies the extra bytes in each of the Write/Read/Erase commands, commands operating on SPR, auto page write, page to buffer and buffer to page transfer commands. This count includes Command byte, Address bytes and any don't care bytes needed. Command extra bytes |
|
|
Status Reg2 Read command |
|
|
Status Reg Read command |
|
|
Status Reg Write Command |
|
|
Sub-sector Erase command. only for N25QXX |
|
|
This definition specifies the extra bytes in each of the Write Enable/Disable commands. This count includes Command byte, address bytes and any don't care bytes needed. Write enable/disable command extra bytes |
|
|
Dummy byte to fill |
|
|
Serial Flash HPM bytes |
|
|
Serial Flash Info extra bytes |
|
|
Serial Flash Info read bytes count |
|
|
The following definitions specify the Device Id for the different Intel (Numonyx) S33 Serial Flash devices. Device ID for 16Mbit |
|
|
Device ID for 32Mbit |
|
|
Device ID for 64Mbit |
|
|
Serial Flash IOCTL bytes |
|
|
Device ID for N25Q128 |
|
|
Device ID for N25Q128 |
|
|
The following definitions specify the Device Id (memory type/capacity) for the different STM (Numonyx) N25QXX Serial Flash devices. Device ID for N25Q32 |
|
|
Device ID for N25Q64 |
|
|
1024 Sectors |
|
|
128 Sectors |
|
|
16 Sectors |
|
|
2 Sectors |
|
|
2048 Sectors |
|
|
256 Sectors |
|
|
32 Sectors |
|
|
4 Sectors |
|
|
4096 Sectors |
|
|
512 Sectors |
|
|
64 Sectors |
|
|
8 Sector |
|
|
OTP Read/Write extra bytes |
|
|
1024 Pages per Sector |
|
|
128 Pages per Sector |
|
|
16 Pages per Sector |
|
|
256 Pages per Sector |
|
|
The following definitions specify the Device Id for the different Spansion S25FLXX Serial Flash devices. Device ID for S25FL004 |
|
|
Device ID for S25FL008 |
|
|
Device ID for S25FL016 |
|
|
Device ID for S25FL032 |
|
|
Device ID for S25FL064 |
|
|
Device ID for S25FL128 and S25FL129 |
|
|
Block Protect mask |
|
|
Block protect bits shift |
|
|
Erase Fail bit mask |
|
|
The following definitions specify the Status Register bit definitions of Intel, STM, Winbond and Spansion Serial Flash. Ready mask |
|
|
Program Fail bit mask |
|
|
Sector Protect mask |
|
|
Top/Bottom Write Protect |
|
|
Write Enable latch mask |
|
|
Status Reg write protect mask |
|
|
The following definitions specify the Device Id for the different SST Serial Flash device. Device ID for SST25WF080 |
|
|
The following definitions specify the total bytes in some of the commands. This count includes Command byte and any don't care bytes needed. Status Read/Write bytes count |
|
|
The following definitions specify the Device Id for the different STM (Numonyx) M25PXX Serial Flash devices. Device ID for M25P05-A |
|
|
Device ID for M25P10-A |
|
|
Device ID for M25P128 |
|
|
Device ID for M25P16 |
|
|
Device ID for M25P20 |
|
|
Device ID for M25P32 |
|
|
Device ID for M25P40 |
|
|
Device ID for M25P64 |
|
|
Device ID for M25P80 |
|
|
Device ID for W25Q128 |
|
|
Device ID for W25Q16 |
|
|
Device ID for W25Q32 |
|
|
Device ID for W25Q64 |
|
|
The following definitions specify the Device Id (memory type/capacity) for the different Winbond W25QX/W25XX Serial Flash devices. Device ID for W25Q80 |
|
|
Device ID for W25X10 |
|
|
Device ID for W25X16 |
|
|
Device ID for W25X20 |
|
|
Device ID for W25X32 |
|
|
Device ID for W25X40 |
|
|
Device ID for W25X64 |
|
|
Device ID for W25X80 |
|
|
Write disable |
|
|
The following definitions specify the Write Enable and Disable operation arguments to be passed to the XIsf_WriteEnable API. Write enable |
1.4.5