CHAPTER1: Flash Memory
3. Operations
P E R I P H E R A L M A N U A L
26
S6E1Cx_MN710-00016-1v0-E, August 31, 2015
CONFIDENTIAL
Figure 3-3 Example of Sector Erase Procedure
Start of sector erase
Sector erase command sequence
1.Addr:0000_0A98 Data:00AA
2.Addr:0000_0544 Data:0055
3.Addr:0000_0A98 Data:0080
4.Addr:0000_0A98 Data:00AA
5.Addr:0000_0544 Data:0055
Write erase code (0x0030) to
sector to be erased
There is another
sector to be erased?
SERS=0 & RDY=1 ?
End of sector erase
Yes
No
Failure of sector erase
erase
Write erase code (0x00E0) to
sector to be erased
消去コード
()
Read FSTR (dummy)
Read FSTR
HNG?
0
1
Yes
No
Once the sector erase operation has finished, the flash memory returns to read/reset mode.
Notes:
−
See Section "3.1 Automatic Algorithm" for details on the sector erase command.
−
Because the value may not be read correctly immediately after issuing a command, ignore the first
read value of the Flash Status Register (FSTR) after issuing the command.