Datasheet

Section 19 Flash Memory (F-ZTAT Version)
Rev. 3.00 Mar 17, 2006 page 774 of 926
REJ09B0283-0300
Programming/erasing protection
There are three protect modes, hardware, software, and error protect, which allow protected
status to be designated for flash memory program/erase operations.
Module bus
Bus interface/controller
Flash memory
Operating
mode
EBR1
Internal address bus
Internal data bus (16 bits)
FWE pin
*
Mode pins
EBR2
SYSCR
FLMCR2
FLMCR1
RAMER
Legend:
FLMCR1: Flash memory control register 1
FLMCR2: Flash memory control register 2
EBR1: Erase block register 1
EBR2: Erase block register 2
RAMER: RAM emulation register
SYSCR: System control register
Note: * Only in H8S/2678 Group.
Figure 19.1 Block Diagram of Flash Memory
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, user program and programmer modes are provided as modes to write and erase the flash
memory.