English
Language : 

SH7040 Datasheet, PDF (727/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
22.3 Pin Configuration
The flash memory is controlled by the pins shown in table 22.2.
Table 22.2 Pin Configuration
Pin Name
Power-on reset
Flash write protect
Mode 3
Mode 2
Mode 1
Mode 0
Transmit data
Receive data
Abbreviation I/O
RES
Input
FWP
Input
MD3
Input
MD2
Input
MD1
Input
MD0
Input
TxD1
Output
RxD1
Input
Function
Power-on reset
Flash program/erase protection by hardware
Set operation mode of LSI
Set operation mode of LSI
Set operation mode of LSI
Set operation mode of LSI
Serial send data output
Serial receive data input
22.4 Register Configuration
Registers that control the flash memory when the on-chip flash memory is valid are shown in table
22.3.
Table 22.3 Register Configuration
Name
Abbre-
viation R/W
Initial Value Address Access Size
Flash memory control register 1 FLMCR1 R/W*1 H'00*2
H'FFFF8580 8
Flash memory control register 2 FLMCR2 R/W*1 H'00*3
H'FFFF8581 8
Erase block register 1
EBR1 R/W*1 H'00*3
H'FFFF8582 8
Erase block register 2
EBR2 R/W*1 H'00*3
H'FFFF8583 8
RAM emulation register
RAMER R/W
H'0000
H'FFFF8628 8, 16, 32
Notes: 1. FLMCR1, FLMCR2, EBR1, and EBR2 are 8-bit registers, and RAMER is a 16-bit
register.
2. Only byte accesses are valid for FLMCR1, FLMCR2, EBR1, and EBR2, the access
requiring 3 cycles. Three cycles are required for a byte or word access to RAMER, and
6 cycles for a longword access.
3. When a longword write is performed on RAMER, 0 must always be written to the lower
word (address H'FFFF8630). Operation is not guaranteed if any other value is written.
*1 In modes in which the on-chip flash memory is disabled, a read will return H'00, and
writes are invalid. Writes are also disabled when the FWE bit is set to 1 in FLMCR1.
*2 When a low level is input to the FWP pin, the initial value is H'80.
*3 When a high level is input to the FWP pin, or if a low level is input and the SWE bit in
FLMCR1 is not set, these registers are initialized to H'00.
689