Flash Programming Mode Control Register (Flpmc) - NEC V850E/IA1 mPD703116 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for V850E/IA1 mPD703116:
Table of Contents

Advertisement

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.
programmer, the specification of FLSPM bit is ignored.
2. Do not change the initial value of bits 0 and 4 to 7.
7
6
FLPMC
0
0
Note 08H: When writing voltage is not applied to the V
0CH: When writing voltage is applied to the V
00H: Product not provided with flash memory ( µ PD703116)
Bit Position
Bit Name
3
VPPDIS
2
VPP
1
FLSPM
CHAPTER 16 FLASH MEMORY ( µ µ µ µ PD70F3116)
However, in on-board programming mode set by the flash
5
4
<3>
<2>
0
0
VPPDIS
VPP
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
pin.
PP
0: Enables writing/erasing flash memory
1: Disables writing/erasing flash memory
Indicates the voltage applied to the V
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
not reached the writing voltage enable level)
1: Indicates high-voltage application to V
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 V
0: Normal mode (for all addresses, instruction fetch is performed from on-chip
flash memory)
1: Self-programming mode (device internal processing is started)
User's Manual U14492EJ3V0UD
<1>
0
Address
FLSPM
0
FFFFF8D4H
pin
PP
pin
PP
Function
pin reaches the writing-enabled level (read-
PP
pin is not detected (the voltage has
PP
pin is detected (the voltage has
PP
pin reaches the writing voltage enable level.
PP
Note
Initial value
08H/0CH/00H
749

Advertisement

Table of Contents
loading

Table of Contents