HD6432670 Hitachi, HD6432670 Datasheet - Page 811

no-image

HD6432670

Manufacturer Part Number
HD6432670
Description
(HD64F267x Series) 16-Bit Microcomputer
Manufacturer
Hitachi
Datasheet
Notes: 1. Prewriting (setting erase block data to all 0) is not necessary.
2. The values of x, y, z, , , , , , , and N are shown in section 24.6, Flash Memory Characteristics.
3. Verify data is read in 16-bit (W) units.
4. Set only one bit in EBR1or EBR2. More than one bit cannot be set.
5. Erasing is performed in block units. To erase a number of blocks, the individual blocks must be erased sequentially.
Increment
address
NG
NG
Set block start address to verify address
Figure 19.11 Erase/Erase-Verify Flowchart
H'FF dummy write to verify address
Clear ESU bit in FLMCR1
Clear SWE bit in FLMCR1
5
Set SWE bit in FLMCR1
Set ESU bit in FLMCR1
Clear EV bit in FLMCR1
Clear E bit in FLMCR1
Set EV bit in FLMCR1
Last address of block?
Set E bit in FLMCR1
erasing of all erase
Verify data = all 1?
Set EBR1, EBR2
Read verify data
End of erasing
Disable WDT
Enable WDT
Wait (z) ms
Wait ( ) s
Wait ( ) s
Wait ( ) s
Wait ( ) s
Wait (x) s
Wait (y) s
Wait ( ) s
Wait ( ) s
blocks?
End of
n = 1
Start
OK
OK
OK
1
2
NG
Start of erase
Halt erase
2
2
4
2
2
2
2
2
2
3
Clear SWE bit in FLMCR1
Clear EV bit in FLMCR1
Rev. 2.0, 04/02, page 765 of 906
Erase failure
Wait ( ) s
Wait ( ) s
n
N?
OK
2
NG
2
n ¬ n + 1
2

Related parts for HD6432670