
515
n = N
Note:
If a memory cell malfunctions and cannot be erased, the H8/3437SF transmits one H'FF byte to report an erase
error, halts erasing, and halts further operations.
Yes
No
Program H8/3437SF pins for boot mode, and
reset
n = 1
n + 1
→
n
Host transmits H'00 data continuously at desired
bit rate
H8/3437SF measures low period of H'00 data
transmitted from host
After completing bit-rate alignment, H8/3437SF
sends one H'00 data byte to host to indicate that
alignment is completed
Host checks that this byte, indicating completion
of bit-rate alignment, is received normally, then
transmits one H'55 byte.
After receiving H'55, H8/3437SF sends part of
the boot program to RAM
After checking that all data in flash memory has
been erased, H8/3437SF transmits one H'AA
data byte to host
Check flash memory data, and if data has
already been written, erase all blocks
Host transmits user program sequentially,
in byte units
H8/3437SF transmits received user program to
host as verification data (echo-back)
Transfer received on-board update routine to
on-chip RAM
End of transfer
Transmit one H'AA data byte to host, and
execute on-board update routine transferred
to on-chip RAM
Host transmits byte length (N) of user program in
two bytes, upper byte followed by lower byte
H8/3437SF transmits received byte length to
host as verification data (echo-back)
Start
H8/3437SF computes bit rate and sets bit rate
register
Figure 21.7 Boot Mode Flowchart