hd64338342hw Renesas Electronics Corporation., hd64338342hw Datasheet - Page 218

no-image

hd64338342hw

Manufacturer Part Number
hd64338342hw
Description
Renesas 8-bit Single-chip Microcomputer H8 Family/h8/300l Super Low Power Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 6 ROM
Rev. 6.00 Aug 04, 2006 page 182 of 680
REJ09B0145-0600
Wait (Wait time = programming time)
Write pulse application subroutine
Clear PSU bit in FLMCR1
Set PSU bit in FLMCR1
Clear P bit in FLMCR1
Set P bit in FLMCR1
Apply Write Pulse
Disable WDT
WDT enable
Wait 50 µs
Wait 5 µs
Wait 5 µs
End Sub
Figure 6.10 Program/Program-Verify Flowchart
Increment address
No
Store 128-byte program data in program
data area consecutively to flash memory
Write 128-byte data in RAM reprogram
Successively write 128-byte data from
H'FF dummy write to verify address
data area and reprogram data area
additional-programming data area
Additional-programming data
Reprogram data computation
Clear SWE bit in FLMCR1
Set block start address as
Set SWE bit in FLMCR1
Clear PV bit in FLMCR1
in RAM to flash memory
Set PV bit in FLMCR1
End of programming
Apply Write pulse
Apply Write Pulse
Read verify data
data verification
verify address
computation
Verify data =
Wait 100 µs
Yes
write data?
completed?
Wait 1 µs
Wait 4 µs
Wait 2 µs
Yes
Wait 2 µs
128-byte
START
m = 0 ?
n ≤ 6 ?
m = 0
n ≤ 6?
n = 1
Yes
Yes
Yes
Sub-Routine-Call
No
No
No
No
m = 1
Clear SWE bit in FLMCR1
Programming failure
Wait 100 µs
n ≤ 1000 ?
No
Yes
n ← n + 1

Related parts for hd64338342hw