Datasheet

Rev. 3.00, 03/04, page 612 of 830
User boot mode
The user boot program of the optional interface can be made and the user MAT can be
programmed.
Programming/erasing protection
Sets protection against flash memory programming/erasing via hardware, software, or error
protection.
Programmer mode
This mode uses the PROM programmer. The user MAT and user boot MAT can be
programmed.
FCCS
FPCS
FECS
FKEY
FMATS
Control unit
Memory MAT unit
Flash memory
User MAT:
256 kbytes (H8S/2168)
384 kbytes (H8S/2167)
512 kbytes (H8S/2166)
User boot MAT: 8 kbytes
Operating
mode
Module bus
FWE pin
Mode pin
Internal address bus
Internal data bus (16 bits)
[Legend]
FCCS: Flash code control status register
FPCS: Flash program code select register
FECS: Flash erase code select register
FKEY: Flash key code register
FMATS: Flash MAT select register
FTDAR: Flash transfer destination address register
To read from or write to the registers, the FLSHE bit in the serial timer control
register (STCR) must be set to 1.
Note:
FTDAR
Figure 20.1 Block Diagram of Flash Memory