English
Language : 

SH7014 Datasheet, PDF (540/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
18. 128 kB Flash Memory (F-ZTAT)
Start
Set pins to boot mode
and execute reset-start
Host transfers data (H'00)
continuously at prescribed bit rate
SH7017 measures low period
of H'00 data transmitted by host
SH7017 calculates bit rate and
sets value in bit rate register
After bit rate adjustment, SH7017
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,
SH7017 transmits one H'AA
data byte to host
Host transmits number
of programming control program
bytes (N), upper byte followed
by lower byte
SH7017 transmits received
number of bytes to host as verify
data (echo-back)
n=1
Host transmits programming control
program sequentially in byte units
SH7017 transmits received
programming control program to
host as verify data (echo-back)
Transfer received programming
control program to on-chip RAM
n+1→n
n = N?
No
Yes
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,
SH7017 transmits one H'AA data
byte to host
Execute programming control
program transferred to on-chip RAM
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 18.9 Boot Mode Execution Procedure
Rev.5.00 Sep. 27, 2007 Page 506 of 716
REJ09B0398-0500