482
17.2.3
Pin Configuration
The flash memory is controlled by means of the pins shown in table 17.2.
Table 17.2
Flash Memory Pins
Pin Name
Abbreviation
I/O
Function
Reset
RES
Input
Reset
Flash write enable
FWE
*
Input
Flash program/erase protection by hardware
Mode 2
MD
2
Input
Sets operating mode of H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
Mode 1
MD
1
Input
Sets operating mode of H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
Mode 0
MD
0
Input
Sets operating mode of H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
Transmit data
TxD
1
Output
Serial transmit data output
Receive data
RxD
1
Input
Serial receive data input
Note:
The transmit data pin and receive data pin are used in boot mode.
*
In the versions with on-chip mask ROM, the FWE pin functions as the
RESO
pin.
17.2.4
Register Configuration
The registers used to control the on-chip flash memory when enabled are shown in table 17.3.
Table 17.3
Flash Memory Registers
Register Name
Abbreviation
R/W
Initial Value
Address
*
1
Flash memory control register
FLMCR
R/W
H'00
*
2
H'EE030
Erase block register
EBR
R/W
H'00
H'EE032
RAM control register
RAMCR
R/W
H'F1
H'EE077
Flash memory status register
FLMSR
R
H'7F
H'EE07D
Notes: FLMCR, EBR, RAMCR, and FLMSR are 8-bit registers,
and should be accessed by byte
access. These registers are used only in the versions with on-chip flash memory. Reading
the corresponding addresses in a version with on-chip mask ROM will always return 1s,
and writes to these addresses are disabled.
*
1 Lower 20 bits of address in advanced mode
*
2 When a high level is input to the FWE pin, the initial value is H'80.
Содержание H8/3060
Страница 10: ......
Страница 16: ......
Страница 114: ...66 ...
Страница 132: ...84 ...
Страница 144: ...96 ...
Страница 170: ...122 ...
Страница 212: ...164 ...
Страница 268: ...220 ...
Страница 332: ...284 ...
Страница 396: ...348 ...
Страница 494: ...446 ...
Страница 698: ...650 ...
Страница 729: ...681 H8 3062F ZTAT or H8 3062F ZTAT R mask version Ports 1 2 5 LED 600 Ω Figure 22 5 Sample LED Circuit ...
Страница 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Страница 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Страница 810: ...762 ...
Страница 994: ...946 ...