English
Language : 

AT49SN12804 Datasheet, PDF (16/41 Pages) ATMEL Corporation – 128-megabit (8M x 16) Burst/Page Mode 1.8-volt Flash Memory
Sector Erase Flowchart
Start
Write 20,
Sector Address
(Sector Erase)
Write D0,
Sector Address
(Erase Confirm)
Read Status
Register
SR7 =
0
1
Full Erase
Status Check
(If Desired)
No
Suspend
Erase
Suspend
Erase
Loop
Yes
Sector Erase
Complete
Full Erase Status Check Flowchart
Read Status
Register
SR3 = 1
0
SR4, SR5= 1,1
0
SR5 = 1
0
SR1 = 1
0
Sector Erase
Successful
VP P Range
Error
Command
Sequence Error
Sector Erase
Error
Sector Locked
Error
Sector Erase Procedure
Bus
Operation Command Comments
Write
Sector
Erase
Setup
Data = 20
Addr = Sector to be erased (SA)
Write
Erase
Confirm
Data = D0
Addr = Sector to be erased (SA)
Read
None
Status register data: Toggle CE or
OE to update status register data
Idle
None
Check SR7
1 = WSMS Ready
0 = WSMS Busy
Repeat for subsequent sector erasures.
Full status register check can be done after each sector erase, or after a
sequence of sector erasures.
Write FF after the last operation to enter read mode.
Full Erase Status Check Procedure
Bus
Operation Command Comments
Idle
None
Check SR3:
1 = VPP Range Error
Idle
None
Check SR4, SR5:
Both 1 = Command Sequence Error
Idle
None
Check SR5:
1 = Sector Erase Error
Idle
None
Check SR1:
1 = Attempted erase of locked sector;
erase aborted.
SR1, SR3 must be cleared before the Write State Machine allows further
erase attempts.
Only the Clear Status Register command clears SR1, SR3, SR4, SR5.
If an error is detected, clear the status register before attempting an
erase retry or other error recovery.
16 AT49SN/SV12804 [Preliminary]
3314A–FLASH–4/04