
Section
Page
Description
22.7.4 Erase-Verify
Mode
Figure 22.14
Erase/Erase-Verify
Flowchart
713
Figure amended
End of erasing
Start
Set SWE bit in FLMCR1
Set ESU1(2) bit in FLMCR1(2)
Set E1(2) bit in FLMCR1(2)
Wait 10
µ
s
Wait 200
µ
s
n = 1
Set EBR1(2)
Enable WDT
*
3
*
5
*
5
*
5
*
5
*
5
*
5
*
5
*
5
*
5
*
5
Wait 5 ms
Wait 10
µ
s
Wait 10
µ
s
Wait 20
µ
s
Set block start address to verify address
Wait 2
µ
s
Wait 5
µ
s
*
2
*
4
Start erase
Clear E1(2) bit in FLMCR1(2)
Clear ESU1(2) bit in FLMCR1(2)
Set EV1(2) bit in FLMCR1(2)
H'FF dummy write to verify address
Read verify data
Clear EV1(2) bit in FLMCR1(2)
Wait 5
µ
s
Clear EV1(2) bit in FLMCR1(2)
Clear SWE bit in FLMCR1
Disable WDT
Halt erase
*
1
Verify data = all "1"?
Last address of block?
End of
erasing of all erase
blocks?
Erase failure
Clear SWE bit in FLMCR1
n
≥
60?
NG
NG
NG
NG
OK
OK
OK
OK
n
←
n + 1
Increment
address
Notes:
*
1 Preprogramming (setting erase block data to all “0”) is not necessary.
*
2 Verify data is read in 32-bit (longword) units.
*
3 Set only one bit in EBR1(2). More than one bit cannot be set.
*
4 Erasing is performed in block units. To erase a number of blocks, each block must be erased in turn.
*
5 Make sure to set the wait times and repetitions as specified. Erasing may not complete correctly if values other
than the specified ones are used.
24.4.2 Canceling the
Standby Mode
747
Cancellation by a Manual Reset deleted
25. Electrical
Characteristics (5V,
33.3 MHz Version)
—
Deleted
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...