Command
Definition
COMMAND(byte)
|
1st
|
2nd
|
3rd
|
4th
|
5th
|
Action
|
WREN(Write
Enable)
|
06h
|
Sets the (WEL)
write enable latch bit
|
||||
WRDI(Write
Disable)
|
04h
|
Resets the (WEL)
write enable latch bit
|
||||
WRSR(Write Status
Register)
|
01h
|
to write new status
register
|
||||
RDID(Read
Identification)
|
9fh
|
output the manufacturer
ID and 2-byte device ID
|
||||
RDSR(Read Status
Register)
|
05h
|
To read out the
status register
|
||||
READ(Read Data)
|
03h
|
AD1
|
AD2
|
AD3
|
n bytes read out
until CS# goes high
|
|
Fast Read(Fast
Read Data)
|
0Bh
|
AD1
|
AD2
|
AD3
|
X
|
n bytes read out
until CS# goes high
|
RES(Read
Electronic ID)
|
ABh
|
X
|
X
|
X
|
To read out
1-byte Device ID
|
|
REMS(Read
Electronic Manufacturer & Device ID)
|
90h
|
X
|
X
|
ADD(1)
|
Output the manufacturer
ID and device ID
|
|
DREAD (Double Output
Mode command)
|
3Bh
|
AD1
|
AD2
|
AD3
|
Dummy
|
n bytes read out
by Dual Output until CS# goes high
|
SE(Sector Erase)
|
20h
|
AD1
|
AD2
|
AD3
|
to erase the selected
sector
|
|
BE(Block Erase)
|
52h
D8h
|
AD1
|
AD2
|
AD3
|
to erase the selected
block
|
|
CE(Chip Erase)
|
60h
C7h
|
to erase whole
chip
|
||||
PP(Page Program)
|
02h
|
AD1
|
AD2
|
AD3
|
to program the
selected page
|
|
DP(Deep Power
Down)
|
B9h
|
enters deep power
down mode
|
||||
RDP(Release from
Deep Power-down)
|
ABh
|
release from deep
power down mode
|
(1). ADD=00H will
output the manufacturer’s ID first and ADD=01H will output device ID first.
(2). It is not
recommended to adopt any other code which is not in the above command
definition table.
Table of ID
Definitions:
RDID Command
|
Manufacturer ID
|
Memory Type
|
Memory Density
|
C2
|
20
|
13
|
|
RES Command
|
Electronic ID
|
||
12
|
|||
REMS Command
|
Manufacturer ID
|
Device ID
|
|
C2
|
12
|
沒有留言:
張貼留言