English
Language : 

HD64F2638F20J Datasheet, PDF (800/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 21A ROM
(H8S/2636 Group)
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
21A.4.4 On-Board Programming Modes
Boot Mode
1. Initial state
The old program version or data remains written
in the flash memory. The user should prepare the
programming control program and new
application program beforehand in the host.
Host
Programming control
program
New application
program
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
the chip (originally incorporated in the chip) is
started and the programming control program in
the host is transferred to RAM via SCI
communication. The boot program required for
flash memory erasing is automatically transferred
to the RAM boot program area.
Host
New application
program
Chip
Boot program
Flash memory
SCI
RAM
Application program
(old version)
Boot program area
Programming control
program
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, total flash
memory erasure is performed, without regard to
blocks.
Host
New application
program
Chip
Boot program
Flash memory
SCI
RAM
Flash memory
preprogramming
erase
Boot program area
Programming control
program
4. Writing new application program
The programming control program transferred
from the host to RAM is executed, and the new
application program in the host is written into the
flash memory.
Host
Chip
Boot program
Flash memory
New application
program
SCI
RAM
Boot program area
Programming control
program
Program execution state
Page 750 of 1458
REJ09B0103-0800 Rev. 8.00
May 28, 2010