RL78/G1A CHAPTER 25 FLASH MEMORY
The dedicated flash memory programmer generates the following signals for the RL78 microcontroller. See each
manual of PG-FP5, FL-PR5, or E1 on-chip debugging emulator for details.
Table 25-2. Pin Connection
<R>
Dedicated Flash Memory Programmer RL78 Microcontroller
Signal Name
PG-FP5,
FL-PR5
E1 On-chip
Debugging
Emulator
I/O Pin Function Pin Name
VDD I/O VDD voltage generation/power monitoring VDD
GND
−
Ground VSS, EVSS0, REGC
Note 1
EMVDD
−
Driving power for TOOL0 pin VDD or EVDD0
Note 2
/RESET
−
Output
−
RESET Output
Reset signal RESET
−
TOOL0 I/O Transmit/receive signal TOOL0
SI/RxD
−
I/O Transmit/receive signal
Notes 1. Connect REGC pin to ground via a capacitor (0.47 to 1
μ
F).
2. Pins to be connected differ with the product. For details, see Table 25-1.
25.2 Serial Programming Using External Device (that Incorporates UART)
On-board data writing to the internal flash memory is possible by using the RL78 microcontroller and an external device
(a microcontroller or ASIC) connected to a UART.
On the development of flash memory programmer by user, refer to the RL78 Microcontrollers (RL78 Protocol A)
Programmer Edition Application Note (R01AN0815).
25.2.1 Programming environment
The environment required for writing a program to the flash memory of the RL78 microcontroller is illustrated below.
Figure 25-3. Environment for Writing Program to Flash Memory
<R>
RL78 microcontrollerExternal device
(such as microcontroller
and ASIC)
V
DD
, EV
DD
Note
V
SS
, EV
SS
Note
RESET
UART (TOOLTxD, TOOLRxD)
TOOL0
Note 64-pin product only.
Processing to write data to or erase data from the RL78 microcontroller by using an external device is performed on-
board. Off-board writing is not possible.
R01UH0305EJ0200 Rev.2.00 805
Jul 04, 2013