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

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
23.7.2
On-board programming/erasing of an individual flash memory block can also be performed in user
program mode by branching to a user program/erase control program. The user must set branching
conditions and provide on-board means of supplying programming data. The flash memory must
contain the user program/erase control program or a program which provides the user
program/erase control program from external memory. Because the flash memory itself cannot be
read during programming/erasing, transfer the user program/erase control program to on-chip
RAM, as like in boot mode. Figure 23.10 shows a sample procedure for programming/erasing in
user program mode. Prepare a user program/erase control program in accordance with the
description in section 23.8, Flash Memory Programming/Erasing.
Figure 23.10 Programming/Erasing Flowchart Example in User Program Mode
User Program Mode
Execute user program/erase control
program (flash memory rewrite)
erase control program to RAM
erase control program in RAM
Branch to user program/
Branch to flash memory
Transfer user program/
application program
Program/erase?
Reset-start
Yes
No
Branch to flash memory
application program
Rev. 2.0, 08/02, page 597 of 788

Related parts for HD6432160