English
Language : 

HD64F2149 Datasheet, PDF (708/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
Start
Set pins to boot mode and execute reset-start
Host transfers data (H'00) continuously at prescribed
bit rate
The chip measures low period of H'00 data transmitted
by host
The chip calculates bit rate and sets value in bit rate
register
After bit rate adjustment, 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, trransmit one H'AA data byte
to host
Host transmits number of user program bytes (N),
upper byte followed by lower byte
The chip transmits received number of bytes to host as
verify data (echo-back)
n=1
Host transmits programming control program
sequentially in byte units
The chip transmits received programming control program
to host as verify data (echo-back)
Transfer received programming control program
to on-chip RAM
No
n = N?
Yes
End of transmission
Check flash memory data, and if data has already
been written, erase all blocks
Confirm that all flash memory data has been erased
Check ID code at beginning of user program transfer
area
No
ID code match?
Yes
Transmit one H'AA byte to host
Execute programming control program transferred
to on-chip RAM
n+1→n
Transfer 1-byte of H'FF
data as an ID code
error indicator and halt
other operations.
Note: If a memory cell does not operate normally and cannot be erased, one H'FF byte is transmitted as an erase error, and
the erase operation and subsequent operations are halted.
Figure 22.8 Boot Mode Execution Procedure
674