Datasheet
RL78/L12    CHAPTER 26 FLASH MEMORY 
R01UH0330EJ0200 Rev.2.00      810 
Dec 13, 2013 
The dedicated flash memory programmer generates the following signals for the RL78 microcontroller. See the manual 
of PG-FP5, FL-PR5, or E1 on-chip debugging emulator for details. 
Table 26-2. Pin Connection 
Dedicated Flash Memory Programmer RL78 microcontroller 
Signal Name  I/O  Pin Function  Pin Name 
PG-FP5, 
FL-PR5 
E1 on-chip 
debugging 
emulator 
VDD  I/O VDD voltage generation/power monitoring  VDD 
GND 
− 
Ground 
V
SS, EVSS, REGC
 Note
EMVDD 
− 
Driving power for TOOL0 pin  VDD, EVDD 
/RESET 
− 
Output Reset signal  RESET 
− 
RESET Output 
− 
TOOL0 I/O  Transmit/receive signal  TOOL0 
SI/RxD 
− 
I/O Transmit/receive signal   
Note  Connect REGC pin to ground via a capacitor (0.47 to 1 
μ
F). 
Caution  Pins to be connected differ with the product. For details, see Table 26-1. 
26.2 Writing to Flash Memory by 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). 
26.2.1 Programming Environment 
The environment required for writing a program to the flash memory of the RL78 microcontroller is illustrated below. 
Figure 26-3. Environment for Writing Program to Flash Memory 
RL78 
microcontroller
External device
(such as microcontroller 
and ASIC)
EV
DD, VDD
EVSS, VSS
RESET
UART (TOOLTxD, TOOLRxD)
TOOL0
Processing to write data to or delete data from the RL78 microcontroller by using an external device is performed on-
board. Off-board writing is not possible. 
<R> 
<R> 
<R> 










