HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 620

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Rev. 2.0, 08/02, page 580 of 788
3. Flash memory initialization
1. Initial state
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.
The flash memory is erased at shipment.
The following describes how to write over
an old-version application program or data in
the flash memory. The user should prepare
the programming control program and
new application program beforehand in the host.
<This LSI>
<This LSI>
<Flash memory>
<Flash memory>
Flash memory
Boot program
Boot program
(old version)
Application
program
erase
application program
application program
control program
Programming
<Host>
<Host>
New
New
Boot program area
control program
Programming
<RAM>
<RAM>
SCI
SCI
Figure 23.3 Boot Mode
2. SCI communication check
4. Writing new application program
<This LSI>
<This LSI>
When boot mode is entered, the boot program in
this LSI (originally incorporated in the chip) is started
and SCI communication is checked. Then 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 via SCI communication is executed,
and the new application program in the host is written
into the flash memory.
<Flash memory>
<Flash memory>
Boot program
Boot program
(old version)
Application
application
program
program
New
application program
<Host>
<Host>
New
Boot program area
Boot program area
control program
control program
Programming
Programming
Program execution state
<RAM>
<RAM>
SCI
SCI

Related parts for HD6432160