
Section 6 ROM
Rev. 6.00 Sep 12, 2006 page 139 of 526
REJ09B0326-0600
Flowchart for Erasing Multiple Blocks
Start
End of erase
Erase error
Set erase block register
(set bit for block to be erased to 1)
Write 0 data in all addresses to be
erased (prewrite)
*
1
Select erase mode
(E bit = 1 in FLMCR)
n = 1
Wait (x) ms
*
5
Clear E bit
Erasing halts
No
No
No
NG
No
No
No
OK
Yes
Yes
Yes
Yes
Yes
Yes
Enable watchdog timer
*
2
Disable watchdog timer
Wait (t
vs1
)
µ
s
*
6
Dummy write to verify address
*
3
(flash memory latches
address)
Set block start address as
verify address
Erase-verify
next block
Select erase-verify mode
(EV bit = 1 in FLMCR)
Wait (t
vs2
) µs
*
6
Clear EBR bit for erase
block
Clear EV bit
A 1
→
address
n + 1
→
n
Erase-verify next block
Double the erase time
(x
×
2
→
x)
Verify
*
4
(read data H'FF?)
Last address
of block?
Erase-verify
completed for all erase
blocks?
Erase-verify
completed for all erase
blocks?
All erase
blocks erased?
(EBR1 = EBR2 = 0?)
n
≥
N?
*
6
n
≥
4?
Notes: 1. Program all addresses to be erased by
following the prewrite flowchart.
2. Set the timer overflow interval to the initial
value shown in table 6.13.
3. For the erase-verify dummy write, write
H'FF using a byte transfer instruction.
4. For the erase-verify operation, read the
data using a byte transfer instruction.
When erasing multiple blocks, clear the
erase block register bits for erased blocks
and perform additional erasing only for
unerased blocks.
5. Erase time x is successively incremented
to initial set value
×
2
n–1
(n = 1 to 4), and
is fixed from the 4th time onward. An initial
value of 6.25 ms or less should be set,
and the time for one erasure should be 50
ms or less.
6. t
vs1
: 4
µ
s or more
t
vs2
: 2
µ
s or more
N:
602 (set N so that the total erase
time does not exceed 30 s)
Figure 6.16 Multiple-Block Erase Flowchart
Содержание F-ZTAT H8/3642A Series
Страница 6: ...Rev 6 00 Sep 12 2006 page iv of xx ...
Страница 8: ...Rev 6 00 Sep 12 2006 page vi of xx ...
Страница 21: ...Rev 6 00 Sep 12 2006 page xix of xx Appendix E Product Code Lineup 522 Appendix F Package Dimensions 524 ...
Страница 22: ...Rev 6 00 Sep 12 2006 page xx of xx ...
Страница 124: ...Section 5 Power Down Modes Rev 6 00 Sep 12 2006 page 102 of 526 REJ09B0326 0600 ...
Страница 188: ...Section 6 ROM Rev 6 00 Sep 12 2006 page 166 of 526 REJ09B0326 0600 ...
Страница 190: ...Section 7 RAM Rev 6 00 Sep 12 2006 page 168 of 526 REJ09B0326 0600 ...
Страница 298: ...Section 9 Timers Rev 6 00 Sep 12 2006 page 276 of 526 REJ09B0326 0600 ...
Страница 378: ...Section 12 A D Converter Rev 6 00 Sep 12 2006 page 356 of 526 REJ09B0326 0600 ...
Страница 446: ...Section 13 Electrical Characteristics Rev 6 00 Sep 12 2006 page 424 of 526 REJ09B0326 0600 ...