
Section
Page
Description
22.7.2 Program-
Verify Mode
Figure 22.13
Program/Program
Verify Flow
706
Figure amended
Set SWE bit in FLMCR1
n
=
1
m = 0
Write 32-byte data in reprogram data area
in RAM to flash memory consecutively
Start of programming
NG
NG
NG
NG
OK
OK
OK
*
2
*
5
*
5
*
5
*
5
*
5
*
5
*
5
*
5
*
5
Store 32-byte program data in
reprogram data area
*
4
*
1
*
5
Read verify data
Clear SWE bit in FLMCR1
m = 1
End of programming
Program data = verify data?
End of 32-byte
data verification?
flag = 0?
Verify
Increment address
Programming failure
OK
Clear SWE bit in FLMCR1
n
≥
1000
n
←
n + 1
Start
*
3
*
3
*
4
End of programming
Enable WDT
Disable WDT
Reprogram data computation
Transfer reprogram data to reprogram
data area
Wait 10
µ
s
Clear PV1(2) bit in FLMCR1(2)
Wait 4
µ
s
Dummy write of H'FF to verify address
Wait 2
µ
s
Set PV1(2) bit in FLMCR1(2)
Wait 4
µ
s
Clear PSU1(2) bit in FLMCR1(2)
Wait 10
µ
s
Clear P1(2) bit in FLMCR1(2)
Wait 10
µ
s
Set P1(2) bit in FLMCR1(2)
Wait 200
µ
s
Set PSU1(2) bit in FLMCR1(2)
Wait 50
µ
s
Note
*
5 added.
*
5 Make sure to set the wait times and repetitions as specified.
Programming may not complete correctly if values other than
the specified ones are used.
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...