
R01UH0336EJ0102 Rev.1.02
Page 253 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 6 Memory Modules
6.7 Setting the FLMD Pin
Input the high level on the FLMD0 pin when flash-memory operations are to
proceed. Use of the on-chip pull-up resistor is selectable by setting a bit in the
FLMD control register (the FLMDCNT.FLMDPUP bit) to 1.
Table 6-9
List of FLMD Pin Setting Registers
6.7.1
Registers
(1)
FLMDCNT - FLMD Control Register
This eight-bit register specifies pulling the FLMD0 pin up or down. A
requirement for writing in a specified sequence protects the register. When
programming is not in the specified sequence, the FLMDPREPP bit in the
FLMDPS register is set to 1 to indicate the protection error.
For details, refer to Section 6.7.2, Setting the FLMDCNT Register.
Access
This register can be read/written in 8-bit units.
Address
FF43 8000
H
Initial value
00
H
This register is initialized by a reset from any source.
Table 6-10
FLMDCNT Register Contents
Register Name
Symbol
Address
FLMD control register
FLMDCNT
FF43 8000
H
FLMD protection command register
FLMDPCMD
FF43 8004
H
FLMD protection error status register
FLMDPS
FF43 8008
H
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
FLMDPUP
R
R
R
R
R
R
R
R/W
Bit Position
Bit Name
Function
0
FLMDPUP
Specifies pulling up or pulling down for the FLMD0 pin
0: FLMD0 pin is pulled down
1: FLMD0 pin is pulled up