Table 24.5 Boot Mode Operation - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 24 ROM

Table 24.5 Boot Mode Operation

Host Operation
Processing Contents
Continuously transmits data H'00
at specified bit rate.
Transmits data H'55 when data H'00
is received error-free.
Receives data H'AA.
Transmits number of bytes (N) of
programming control program to be
transferred as 2-byte data (low-order byte
following high-order byte).
Transmits 1 byte of programming control
program (repeated for N times).
Receives data H'AA.
Rev. 3.00 Jan 25, 2006 page 730 of 872
REJ09B0286-0300
Communications Contents
H'00, H'00 . . . H'00
High-order byte and
low-order byte
Boot program
erase error
Branches to boot program at reset-start.
• Measures low-level period of receive data H'00.
• Calculates bit rate and sets it in BRR of SCI_1.
• Transmits data H'00 to host as adjustment end
H'00
indication.
H'55
H'AA
After receiving data H'55, transmits data
H'AA to host.
Echobacks the 2-byte data received to host.
Echoback
H'XX
Echobacks received data to host and also
transfers it to RAM (repeated for N times).
Echoback
H'FF
Checks flash memory data, erases all flash
memory blocks in case of written data
existing, and transmits data H'AA to host.
(If erase could not be done, transmits data
H'AA
H'FF to host and aborts operation.)
Branches to programming control program
transferred to on-chip RAM and starts
execution.
LSI Operation
Processing Contents
Boot program start

Advertisement

Table of Contents
loading

Table of Contents