English
Language : 

UPD70F3114 Datasheet, PDF (624/692 Pages) NEC – 32-Bit Single-Chip Microcontrollers
CHAPTER 15 FLASH MEMORY (µPD70F3114)
15.7.12 Flash programming mode control register (FLPMC)
The flash programming mode control register (FLPMC) is a register used to enable/disable writing to flash memory
and to specify the self-programming mode.
This register can be read/written in 8-bit or 1-bit units (the VPP bit (bit 2) is read-only).
Cautions 1. Be sure to transfer control to the internal RAM or external memory beforehand to
manipulate the FLSPM bit. However, in on-board programming mode set by the flash
programmer, the specification of FLSPM bit is ignored.
2. Do not change the initial value of bits 0 and 4 to 7.
7
6
5
4
<3>
<2>
<1>
0
Address
Initial valueNote
FLPMC
0
0
0
0
VPPDIS VPP FLSPM
0
FFFFF8D4H 08H/0CH/00H
Note 08H: When writing voltage is not applied to the VPP pin
0CH: When writing voltage is applied to the VPP pin
00H: Product not provided with flash memory (µPD703114)
Bit position
3
Bit name
VPPDIS
2
VPP
1
FLSPM
Function
Enables/disables writing/erasing on-chip flash memory. When this bit is 1,
writing/erasing on-chip flash memory is disabled even if a high voltage is applied to
the VPP pin.
0: Enables writing/erasing flash memory
1: Disables writing/erasing flash memory
Indicates the voltage applied to the VPP pin reaches the writing-enabled level (read-
only). This bit is used to check whether writing is possible or not in the self-
programming mode.
0: Indicates high-voltage application to VPP pin is not detected (the voltage has
not reached the writing voltage enable level)
1: Indicates high-voltage application to VPP pin is detected (the voltage has
reached the writing voltage enable level)
Controls switching between internal ROM and the self-programming interface. This
bit can switch the mode between the normal mode set by the mode pin on the
application system and the self-programming mode. The setting of this bit is valid
only if the voltage applied to the VPP pin reaches the writing voltage enable level.
0: Normal mode (for all addresses, instruction fetch is performed from on-chip
flash memory)
1: Self-programming mode (device internal processing is started)
624
User’s Manual U15195EJ5V0UD