Datasheet

Table Of Contents
Section 19 Flash Memory (F-ZTAT Version)
REJ09B0140-0900 Rev. 9.00 Page 629 of 846
Sep 16, 2010
H8S/2215 Group
19.2 Mode Transitions
When the mode pins and the FWE pin are set in the reset state and a reset-start is executed, this
LSI enters an operating mode as shown in figure 19.2. In user mode, flash memory can be read but
not programmed or erased. The boot and user program 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 19.1. Boot mode
and user program mode operations are shown in figures 19.3 and 19.4, respectively.
Boot mode
SCI,USB
On-board programming mode
User
program mode
User mode
(on-chip ROM
enabled)
Reset state
Pro
grammer
mode
RES = 0
FWE = 1 FWE = 0
*
1
*
1
*
2
Notes: Only make a transition between user mode and user program mode when the CPU is
not accessing the flash memory.
1. RAM emulation possible
2. MD2 to MD0 = 000, PF3, PF0, P16, P14 = 1100
3. 10x applies only to the HD64F2215RU, HD64F2215TU and HD64F2215CU
with 24-MHz system clock.
RES = 0
MD2 to 0 = 01x
or 10x*
3
FWE = 1
RES = 0
RES = 0
MD2 to 0 = 11x,
FWE = 0
MD2 to 0 = 11x,
FWE = 1
Figure 19.2 Flash Memory State Transitions