English
Language : 

SH7047 Datasheet, PDF (608/764 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTMRISC engine Family/SH7000 Series
*1
Erase start
SWE bit ← 1
Wait (tSSWE) µs
n←1
Set EBR1 and EBR2
*3
Enable WDT
ESU bit ← 1
Wait (tSESU)
E bit ← 1
Wait (tSE)
E bit ← 0
Wait (tCE)
ESU bit ← 0
Wait (tCESU)
Disable WDT
EV bit ← 1
Wait (tSEV)
Set block start address as verify address
H'FF dummy write to verify address
Wait (tSEVR)
Read verify data
*2
n←n+1
Increment address
No
Verify data = all 1s?
Yes
No
Last address of block?
Yes
EV bit ← 0
Wait (tCEV)
No
*4
All erase block erased?
Yes
SWE bit ← 0
Wait (tCSWE)
EV bit ← 0
Wait (tCEV)
No
n ≥ N?
Yes
SWE bit ← 0
Wait (tCSWE)
End of erasing
Erase failure
Notes: *1 Prewriting (setting erase block data to all 0s) is not necessary.
*2 Verify data is read in 32-bit (longword) units.
*3 Make only a single-bit specification in the erase block register 1 (EBR1) and the erase block
register 2 (EBR2).
*4 Erasing is performed in block units. To erase multiple blocks, each block must be erased in turn.
Figure 19.10 Erase/Erase-Verify Flowchart
Rev. 2.00, 09/04, page 568 of 720