HD6433640 HITACHI [Hitachi Semiconductor], HD6433640 Datasheet - Page 141

no-image

HD6433640

Manufacturer Part Number
HD6433640
Description
H8/3644 Series Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433640RA78H
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433640RB90H
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
6.7.3
Flowchart for Programming One Byte
132
(set bit for block to be programmed to 1)
(clear bit for programmed block to 0)
(flash memory latches write address
End (1-byte data programmed)
Select program-verify mode
Write data to flash memory
Clear erase block register
Enable watchdog timer
Disable watchdog timer
Programming Flowchart and Sample Program
Set erase block register
(PV bit = 1 in FLMCR)
Select program mode
(P bit = 1 in FLMCR)
Wait (t
(read memory)
Wait (x) s
Clear PV bit
and data)
Clear P bit
Verify
Start
n = 1
vs1
OK
) s
*3
*1
*4
*5
*2
Figure 6.14 Programming Flowchart
NG
End of programming
Programming error
Clear PV bit
n
Notes: 1. Write the data to be programmed using a byte
N?
Yes
*5
2. For the timer overflow interval, set the timer
3. Read the memory data to be verified using a
4. Programming time x is successively
5. t
transfer instruction.
counter value (TCW) to H'FE.
byte transfer instruction.
incremented to initial set value
6). The initial value should therefore be set to
15.8 s or less to make the total programming
time 1 ms or less.
N:
vs1
: 4 s or more
6 (set N so that total programming time
does not exceed 1 ms)
End of verify
No
Double the programming time
(x
n + 1
2
x)
n
2
n–1
(n = 1 to

Related parts for HD6433640