Rev. 1.00, 05/04, page 449 of 544
End of erasing
START
Set SWE bit in FLMCR1
Set ESU bit in FLMCR2
Set E bit in FLMCR1
Wait (x)
µ
s
Wait (y)
µ
s
n = 1
Set EBR1 and EBR2
Enable WDT
*
4
*
2
*
2
*
2
*
2
*
2
*
2
*
2
*
2
*
2
*
2
Wait (z) ms
Wait (
α
)
µ
s
Wait (
β
)
µ
s
Wait (
γ
)
µ
s
Set block start address
as verify address
Wait (
ε
)
µ
s
Wait (
η
)
µ
s
*
5
*
3
Start of erasing
Clear E bit in FLMCR1
Clear ESU bit in FLMCR2
Set EV bit in FLMCR1
H'FF dummy write to verify address
Read verify data
Clear EV bit in FLMCR1
Wait (
η
)
µ
s
Clear EV bit in FLMCR1
Clear SWE bit in FLMCR1
Disable WDT
End of erasing
*
1
Verify data
= all "1"?
Last address
of block?
All erase blocks erased?
Erase failure
Clear SWE bit in FLMCR1
n
≥
(N) ?
NG
NG
NG
NG
OK
OK
OK
OK
Increment
address
n
←
n + 1
Wait (
θ
)
µ
s
Wait (
θ
)
µ
s
Notes:
1. Prewriting (writing 0 to all data in erased block) is not necessary.
2. The values of x, y, z,
α
,
β
,
γ,
ε
,
η
,
θ
, and N are shown in section 22.5, Flash Memory Characteristics.
3. Verify data is read in 16-bit (word) units.
4. Set only a single bit in EBR1 and EBR2. Do not set more than one bit.
5. Erasing is performed in block units. To erase multiple blocks, each block must be erased in turn.
Figure 18.10 Erase/Erase-Verify Flowchart
Содержание H8S/2111B
Страница 2: ...Rev 1 00 05 04 page ii of xxxiv...
Страница 8: ...Rev 1 00 05 04 page viii of xxxiv...
Страница 22: ...Rev 1 00 05 04 page xxii of xxxiv...
Страница 30: ...Rev 1 00 05 04 page xxx of xxxiv...
Страница 84: ...Rev 1 00 05 04 page 50 of 544...
Страница 100: ...Rev 1 00 05 04 page 66 of 544...
Страница 126: ...Rev 1 00 05 04 page 92 of 544...
Страница 180: ...Rev 1 00 05 04 page 146 of 544...
Страница 216: ...Rev 1 00 05 04 page 182 of 544...
Страница 254: ...Rev 1 00 05 04 page 220 of 544...
Страница 268: ...Rev 1 00 05 04 page 234 of 544...
Страница 382: ...Rev 1 00 05 04 page 348 of 544...
Страница 462: ...Rev 1 00 05 04 page 428 of 544...
Страница 464: ...Rev 1 00 05 04 page 430 of 544...
Страница 488: ...Rev 1 00 05 04 page 454 of 544...
Страница 496: ...Rev 1 00 05 04 page 462 of 544...
Страница 574: ...Rev 1 00 05 04 page 540 of 544...
Страница 581: ......
Страница 582: ...H8S 2111B Hardware Manual...