
452
n = N?
Yes
No
Set pins to boot program mode and execute reset-start
n = 1
n + 1
→
n
Host transfers data (H'00) continuously at prescribed
bit rate
H8/3022F measures low period of H'00 data transmitted
by host
After bit rate adjustment, H8/3022F transmits one H'00
data byte to host to indicate end of adjustment
Host confirms normal reception of bit rate adjustment
end indication (H'00), and transmits one H'55 data byte
After receiving H'55, H8/3022F transmits one H'AA data
byte to host
Host transmits number of programming control program
bytes (N), upper byte followed by lower byte
H8/3022F transmits received number of bytes to host
as verify data (echo-back)
Host transmits programming control program
sequentially in byte units
H8/3022F transmits received programming control
program to host as verify data (echo-back)
Transfer received programming control program
to on-chip RAM
End of transmission
Check flash memory data, and if data has already been
written, erase all blocks
After confirming that all flash memory data has been
erased, H8/3022F transmits one H'AA data byte to host
Execute programming control program transferred
to on-chip RAM
Start
H8/3022F calculates bit rate and sets value in bit rate
register
Note: If a memory cell malfunctions and cannot be erased, the H8/3022F sends one H'FF byte as an erase error, and stops
the erase operation and subsequent operations.
Figure 15-7 Boot Mode Execution Procedure