English
Language : 

HD64F3039F18 Datasheet, PDF (480/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
Section 15 ROM
Start
Set pins to boot program mode
1
and execute reset-start
1 Set this LSI to the boot mode and reset starts the LSI.
2
Host transfers data (H'00)
continuously at prescribed bit rate
This LSI measures low period
of H'00 data transmitted by host
3
This LSI calculates bit rate
and sets value in bit rate register
2 Set the host to the prescribed bit rate (4800, 9600)
and consecutively send H'00 data in 8-bit data,
1 stop bit format.
3 This LSI repeatedly measures the RXD1 pin Low
period and calculates the asynchronous
communication bit rate at which the host
performs transfer.
After bit rate adjustment, this LSI
4
transmits one byte of H'00 data to
host to indicate end of adjustment
4 At the end of SCI bit rate adjustment, this LSI sends
one byte of H'00 data to signal the end of adjustment.
Host confirms normal reception
of bit rate adjustment end
5
indication (H'00), and transmits
one byte of H'55 data
After receiving H'55, this LSI
sends H'AA and receives two bytes
6
of the byte count (N) of the program
transferred to the on-chip RAM.*1
This LSI transfers the user
program to RAM.*2
This LSI calculates the remaining
7
number of bytes to be sent (N = N − 1).
Transfer
No
end byte count
N = 0?
Yes
5 Check if the host normally received the one byte bit
rate adjustment end signal sent from this LSI and
sent one byte of H'55 data.
6 After H'55 is sent, the host receives H'AA and sends
the byte count of the user program that is
transferred to this LSI.
Send the 2-byte count in upper byte and lower byte
order. Then sequentially send the program set by
the user.
This LSI sequentially sends (echo back) each byte of
the received byte count and user program to the host
as verification data.
7 This LSI sequentially writes the received user
program to the on-chip RAM area (H'FF300–H'FFEFF).
8 Before executing the transferred user program, this LSI
checks if data was written to flash memory after
control branched to the RAM boot program area
(H'FEF10–H'FF2FF). If data was already written to
flash memory, all the blocks are erased.
After branching to the
RAM boot program area
(H'FEF10 to H'FF2FF),
9 After sending H'AA, this LSI branches to the on-chip
RAM area (H'FF300) and executes the user program
written to that area.
this LSI checks the data in
the flashmemory user area.
Notes: 1. The RAM area that can be used by the user is
3.0 kbytes. Set the transfer byte count to within
8
No
All data = H'FF?
3.0 kbytes. Always send the 2-byte transfer byte
count in upper byte and lower byte order.
Transfer byte count example: For 256 bytes (H'0100),
Yes Erase all blocks of flash
memory.*3
upper byte H'01, lower byte H'00.
2. Set the part that controls the user program flash
memory at the program according to the flash
memory programming/erase algorithms described later.
After sending H'AA, this LSI
9
branches to the RAM area
(H'FF300) and executes the user
program transferred to the RAM.
3. When a memory cell malfunctions and cannot be
erased, this LSI sends one H'FF byte as an erase
error and stops the erase operation and subsequent
operations.
Figure 15.6 Boot Mode Execution Procedure
Rev.3.00 Mar. 26, 2007 Page 456 of 682
REJ09B0353-0300