h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 640

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 21 ROM
21.4.4
The flash memory is controlled by means of the pins shown in table 21.3.
Table 21.3 Flash Memory Pins
Pin Name
Reset
Mode 1
Mode 0
Port 92
Port 91
Port 90
Transmit data
Receive data
21.4.5
The registers used to control the on-chip flash memory when enabled are shown in table 21.4.
In order for these registers to be accessed, the FLSHE bit must be set to 1 in STCR.
Table 21.4 Flash Memory Registers
Register Name
Flash memory control register 1
Flash memory control register 2
Erase block register 1
Erase block register 2
Serial timer control register
Notes: 1. Lower 16 bits of the address.
Rev. 4.00 Jun 06, 2006 page 586 of 1004
REJ09B0301-0400
2. Flash memory registers share addresses with other registers. Register selection is
3. In modes in which the on-chip flash memory is disabled, a read will return H'00, and
4. The SWE bit in FLMCR1 is not set, these registers are initialized to H'00.
5. FLMCR1, FLMCR2, EBR1, and EBR2 are 8-bit registers. Only byte accesses are valid
Pin Configuration
Register Configuration
performed by the FLSHE bit in the serial timer control register (STCR).
writes are invalid.
for these registers, the access requiring 2 states. These registers are used only in the
flash memory version. In the mask ROM version, a read at any of these addresses will
return an undefined value, and writes are invalid.
(Mask ROM Version, H8S/2138 F-ZTAT, H8S/2134 F-ZTAT, and H8S/2132 F-ZTAT)
Abbreviation
RES
MD1
MD0
P92
P91
P90
TxD1
RxD1
I/O
Input
Input
Input
Input
Input
Input
Output
Input
Abbreviation R/W
FLMCR1 *
FLMCR2 *
EBR1 *
EBR2 *
STCR
5
5
Reset
Sets MCU operating mode
Sets MCU operating mode
Serial transmit data output
Serial receive data input
Function
Sets MCU operating mode when MD1 = MD0 = 0
Sets MCU operating mode when MD1 = MD0 = 0
Sets MCU operating mode when MD1 = MD0 = 0
5
5
R/W
R/W *
R/W *
R/W *
R/W *
3
3
3
3
Initial Value
H'80
H'00 *
H'00 *
H'00 *
H'00
4
4
4
Address *
H'FF80 *
H'FF81 *
H'FF82 *
H'FF83 *
H'FFC3
2
2
2
2
1

Related parts for h8s-2138