CHAPTER 16 FLASH MEMORY (
µµµµ
PD70F3116)
749
User’s Manual U14492EJ3V0UD
16.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.
FLPMC
Address
FFFFF8D4H
Initial value
Note
08H/0CH/00H
7
6
5
4
<3>
<2>
<1>
0
0
FLSPM
VPP
VPPDIS
0
0
0
0
Note
08H:
When writing voltage is not applied to the V
PP
pin
0CH: When writing voltage is applied to the V
PP
pin
00H: Product not provided with flash memory (
µ
PD703116)
Bit Position
Bit Name
Function
3
VPPDIS
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 V
PP
pin.
0: Enables writing/erasing flash memory
1: Disables writing/erasing flash memory
2
VPP
Indicates the voltage applied to the V
PP
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 V
PP
pin is not detected (the voltage has
not reached the writing voltage enable level)
1: Indicates high-voltage application to V
PP
pin is detected (the voltage has
reached the writing voltage enable level)
1
FLSPM
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 V
PP
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)
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...