English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (855/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 27 FLASH MEMORY
27.4.7 Power supply
To use the supply voltage output of the flash memory programmer, connect the VDD pin to VDD of the flash memory
programmer, and the VSS pin to GND of the flash memory programmer.
To use the on-board supply voltage, connect in compliance with the normal operation mode.
However, when using the on-board supply voltage, be sure to connect the VDD and VSS pins to VDD and GND of the
flash memory programmer to use the power monitor function with the flash memory programmer.
Supply the same other power supplies (EVDD, EVSS, AVDD0, AVDD1, and AVSS) as those in the normal operation mode.
27.5 Registers Controlling Flash Memory
(1) Background event control register (BECTL)
Even if the FLMD0 pin is not controlled externally, it can be controlled by software with the BECTL register to set the
self-programming mode.
However, depending on the processing of the FLMD0 pin, it may not be possible to set the self-programming mode by
software. When using BECTL, leaving the FLMD0 pin open is recommended. When pulling it down externally, use a
resistor with a resistance of 100 kΩ or more. In addition, in the normal operation mode, use BECTL with the pull
down selection. In the self-programming mode, the setting is switched to pull up in the self- programming library.
The BECTL register is set by a 1-bit or 8-bit memory manipulation instruction.
Reset input sets this register to 00H.
Figure 27-6. Format of Background Event Control Register (BECTL)
Address: FFFBEH After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
BECTL FLMDPUP
0
0
0
0
0
0
0
FLMDPUP
0
Selects pull-down
1
Selects pull-up
Software control of FLMD0 pin
R01UH0004EJ0501 Rev.5.01
839
Jun 20, 2011