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

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
Section 21 ROM
Rev. 4.00 Jun 06, 2006 page 584 of 1004
REJ09B0301-0400
User program mode
1. Initial state
3. Flash memory initialization
(1) The program that will transfer the
programming/ erase control program to on-chip
RAM should be written into the flash memory by
the user beforehand.
(2) The programming/erase control program
should be prepared in the host or in the flash
memory.
The programming/erase program in RAM is
executed, and the flash memory is initialized (to
H'FF). Erasing can be performed in block units,
but not in byte units.
The chip
The chip
Application program
Transfer program
Transfer program
Flash memory
Flash memory
Flash memory
Boot program
Boot program
(old version)
erase
erase control program
(Mask ROM Version, H8S/2138 F-ZTAT, H8S/2134 F-ZTAT, and H8S/2132 F-ZTAT)
New application
New application
Programming/
program
program
Host
Host
Figure 21.5 User Program Mode (Example)
erase control program
Programming/
RAM
RAM
SCI
SCI
2. Programming/erase control program transfer
4. Writing new application program
The chip
The chip
Executes the transfer program in the flash
memory, and transfers the programming/erase
control program to RAM.
Next, the new application program in the host is
written into the erased flash memory blocks. Do
not write to unerased blocks.
Application program
Transfer program
New application
Transfer program
Flash memory
Flash memory
Boot program
Boot program
(old version)
program
New application
program
Host
Host
erase control program
erase control program
Programming/
Programming/
Program execution state
RAM
RAM
SCI
SCI

Related parts for h8s-2138