English
Language : 

HD64F3039F18 Datasheet, PDF (477/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
Section 15 ROM
On-Board Programming Modes
• Boot mode
1. Initial state
The flash memory is in the erased state when the
device is shipped. The description here applies to
the case where the old program version or data
is being rewritten. The user should prepare the
programming control program and new
application program beforehand in the host.
Host
Programming control
program
New application
program
This chip
Boot program
Flash memory
SCI
RAM
Application program
(old version)
2. Programming control program transfer
When boot mode is entered, the boot program in
this chip (originally incorporated in the chip) is
started, an SCI communication check is carried
out, and the boot program required for flash
memory erasing is automatically transferred to
the RAM boot program area.
Host
Programming control
program
New application
program
This chip
Boot program
Flash memory
SCI
RAM
Application program
(old version)
Boot program area
3. Flash memory initialization
The erase program in the boot program area (in
RAM) is executed, and the flash memory is
initialized (to H'FF). In boot mode, entire flash
memory erasure is performed, without regard to
blocks.
Host
Programming control
program
New application
program
This chip
Boot program
Flash memory
SCI
RAM
Flash memory
erase
Boot program area
4. Writing new application program
The programming control program transferred
from the host to RAM by SCI communication is
executed, and the new application program in the
host is written into the flash memory.
Host
This chip
Boot program
Flash memory
New application
program
SCI
RAM
Programming
control program
Figure 15.3 Boot Mode
Program execution state
Rev.3.00 Mar. 26, 2007 Page 453 of 682
REJ09B0353-0300