h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 637

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
On-Board Programming Modes
Boot mode
Section 21 ROM
1. Initial state
3. Flash memory initialization
The chip
The chip
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.
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.
Application program
Flash memory
Flash memory
Flash memory
Boot program
Boot program
(old version)
erase
Programming control
Programming control
New application
New application
program
program
program
program
Host
Host
(Mask ROM Version, H8S/2138 F-ZTAT, H8S/2134 F-ZTAT, and H8S/2132 F-ZTAT)
Boot program area
RAM
RAM
Figure 21.4 Boot Mode
SCI
SCI
2. SCI communication check
4. Writing new application program
The chip
The chip
When boot mode is entered, the boot program in
the 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.
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.
Application program
Rev. 4.00 Jun 06, 2006 page 583 of 1004
New application
Flash memory
Flash memory
Boot program
Boot program
(old version)
program
Programming control
New application
program
program
Host
Host
Boot program area
control program
Programming
Program execution state
RAM
RAM
REJ09B0301-0400
SCI
SCI

Related parts for h8s-2138