Figure 7.4 Erase/Erase-Verify Flowchart - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

Notes: 1. The RTS instruction must not be used during a period between dummy writing of H'FF to a verify address and verify data reading.
2. When WDT is in use, disable it once.
Downloaded from
Elcodis.com
electronic components distributor
Set block start address as verify address
H'FF dummy write to verify address
Read verify data
Verify data + all 1s ?
Increment address
No
Last address of block ?
No
All erase block erased ?

Figure 7.4 Erase/Erase-Verify Flowchart

Erase start
*
Disable WDT
2
SWE bit ← 1
Wait 1 µs
n ← 1
Set EBR1
Enable WDT
ESU bit ← 1
Wait 100 µs
E bit ← 1
Wait 10 µs
E bit ← 0
Wait 10 µs
ESU bit ← 10
Wait 10 µs
Disable WDT
EV bit ← 1
Wait 20 µs
Wait 2 µs
*
1
No
Yes
Yes
EV bit ← 0
Wait 4 µs
Yes
Yes
SWE bit ← 0
Wait 100 µs
End of erasing
n ← n + 1
EV bit ← 0
Wait 4µs
Yes
n ≤100 ?
No
SWE bit ← 0
Wait 100 µs
Erase failure
Rev. 1.00, 11/03, page 107 of 376

Advertisement

Table of Contents
loading

Table of Contents