Mode Transitions; Figure 18.2 Flash Memory State Transitions; Table 18.1 Differences Between Boot Mode And User Program Mode - Renesas H8S/2111B Hardware Manual

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

Advertisement

18.2

Mode Transitions

When the mode pins are set in the reset state and a reset-start is executed, this LSI enters an
operating mode as shown in figure 18.2. In user mode, flash memory can be read but not
programmed or erased. The boot, user program, and programmer modes are provided as modes to
write and erase the flash memory.
The differences between boot mode and user program mode are shown in table 18.1. Figure 18.3
shows the boot mode and figure 18.4 shows the user program mode.
User mode
(on-chip ROM
enabled)
FLSHE = 0
FLSHE = 1
SWE = 0
SWE = 1
User
program
mode
On-board programming mode

Table 18.1 Differences between Boot Mode and User Program Mode

Total erase
Block erase
Programming control program*
Note:
*
Should be provided by the user, in accordance with the recommended algorithm.
Reset state
1
*
Boot mode

Figure 18.2 Flash Memory State Transitions

Boot Mode
Yes
No
Program/program-verify
RES = 0
2
*
Programmer
mode
Notes: Only make a transition between user mode
and user program mode when the CPU is not
accessing the flash memory.
1. MD1 = MD0 = 0, P92 = P91 = P90 = 1
2. MD1 = MD0 = 0, P92 = 0, P91 = P90 = 1
User Program Mode
Yes
Yes
Program/program-verify
Erase/erase-verify
Rev. 1.00, 05/04, page 433 of 544

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents