User Program Mode; Figure 18.8 Programming/Erasing Flowchart Example In User Program Mode - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

18.7.2

User Program Mode

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 18.8 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 18.8, Flash Memory Programming/Erasing.
erase control program to RAM
erase control program in RAM
Execute user program/erase control
program (flash memory rewrite)

Figure 18.8 Programming/Erasing Flowchart Example in User Program Mode

Reset-start
Program/erase?
Yes
Transfer user program/
Branch to user program/
Branch to flash memory
application program
No
Branch to flash memory
application program
Rev. 1.00, 05/04, page 445 of 544

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents