Datasheet

Section 23 ROM (H8S/2148 F-ZTAT A-Mask Version, H8S/2147 F-ZTAT A-Mask Version, H8S/2144 F-ZTAT A-Mask Version)
Rev. 4.00 Sep 27, 2006 page 687 of 1130
REJ09B0327-0400
Bits 6 to 2—Reserved: These bits cannot be modified and are always read as 0.
Bits 1 and 0—Mode Select 1 and 0 (MDS1, MDS0): These bits indicate values that reflects the
input levels of mode pins MD1 and MD0 (the current operating mode). Bits MDS1 and MDS0
correspond to pins MD1 and MD0, respectively. These are read-only bits, and cannot be modified.
When MDCR is read, the input levels of mode pins MD1 and MD0 are latched in these bits.
23.3 Operation
The on-chip flash memory is connected to the CPU by a 16-bit data bus, and both byte and word
data is accessed in one state. Even addresses are connected to the upper 8 bits, and odd addresses
to the lower 8 bits. Word data must start at an even address.
The mode pins (MD1 and MD0) and the EXPE bit in MDCR can be set to enable or disable the
on-chip ROM, as shown in table 23.2.
In normal mode, the maximum amount of ROM that can be used is 56 kbytes.
Table 23.2 Operating Modes and ROM
Operating Mode
Mode Pins MDCR
MCU
Operating
Mode
CPU
Operating
Mode
Description MD1 MD0 EXPE On-Chip ROM
Mode 1 Normal Expanded mode with
on-chip ROM disabled
01 1Disabled
Mode 2 Advanced Single-chip mode 1 0 0 Enabled
*
Advanced Expanded mode with
on-chip ROM enabled
1
Mode 3 Normal Single-chip mode 1 0
Normal Expanded mode with
on-chip ROM enabled
1
Enabled
(56 kbytes)
Note: * H8S/2148 F-ZTAT A-mask version and H8S/2144 F-ZTAT A-mask version have
128 kbytes, and H8S/2147 F-ZTAT A-mask version has 64 kbytes of on-chip ROM.