
Rev. 2.0, 11/00, page 199 of 1037
End of erasing
START
Set SWE bit in FLMCR1
Set ESU bit in FLMCR1 or FLMCR2
Set E bit in FLMCR1 or FLMCR2
Wait (x) µs
Wait (y) µs
n = 1
Set EBR1, EBR2
Enable WDT
*
2
*
4
*
2
Wait (z) ms
*
2
Wait ( ) µs
*
2
Wait ( ) µs
*
2
Wait ( ) µs
Set block start address to
verify address
*
2
Wait ( ) µs
*
2
Wait ( ) µs
*
2
*
2
*
2
*
3
*
5
Start of erase
Clear E bit in FLMCR1 or FLMCR2
Clear ESU bit in FLMCR1 or FLMCR2
Set EV bit in FLMCR1 or FLMCR2
H'FF dummy write to verify address
Read verify data
Clear EV bit in FLMCR1 or FLMCR2
Wait ( ) µs
Clear EV bit in FLMCR1 or FLMCR2
Clear SWE bit in FLMCR1
Disable WDT
Halt erase
*
1
Verify data =
all 1?
End of erasing of
all erase blocks?
Erase failure
Clear SWE bit in FLMCR1
n N?
NO
NO
NO
NO
YES
YES
YES
YES
Notes: 1.
2.
3.
4.
5.
Increment
address
n
n+1
Last address
of block?
Preprogramming (setting erase block data to all 0) is not necessary.
The values of x, y, z, , , , , and N are listed in section 29.2.7, Flash Memory Characteristics.
Verify data is read in 16-bit (word) units.
Set only one bit in EBR1 or EBR2. More than one bit cannot be set.
Erasing is performed in block units. To erase a number of blocks, the individual blocks must be erased sequentially.
Figure 8.13 Erase/Erase-Verify Flowchart (Single-Block Erase)
Содержание Hitachi H8S/2191
Страница 123: ...Rev 2 0 11 00 page 96 of 1037...
Страница 149: ...Rev 2 0 11 00 page 122 of 1037...
Страница 197: ...Rev 2 0 11 00 page 170 of 1037...
Страница 247: ...Rev 2 0 11 00 page 220 of 1037...
Страница 249: ...Rev 2 0 11 00 page 222 of 1037...
Страница 347: ...Rev 2 0 11 00 page 320 of 1037...
Страница 357: ...Rev 2 0 11 00 page 330 of 1037...
Страница 417: ...Rev 2 0 11 00 page 390 of 1037...
Страница 431: ...Rev 2 0 11 00 page 404 of 1037...
Страница 439: ...Rev 2 0 11 00 page 412 of 1037...
Страница 457: ...Rev 2 0 11 00 page 430 of 1037...
Страница 525: ...Rev 2 0 11 00 page 498 of 1037...
Страница 543: ...Rev 2 0 11 00 page 516 of 1037...
Страница 639: ...Rev 2 0 11 00 page 612 of 1037 28 1 2 Block Diagram Figure 28 1 shows a block diagram of the servo circuits...
Страница 845: ...Rev 2 0 11 00 page 818 of 1037...