Datasheet
RL78/L12 CHAPTER 26 FLASH MEMORY
R01UH0330EJ0200 Rev.2.00 809
Dec 13, 2013
26.1.1 Programming Environment
The environment required for writing a program to the flash memory of the RL78 microcontroller is illustrated below.
Figure 26-1. Environment for Writing Program to Flash Memory
RS-232C
USB
RL78
microcontroller
EV
DD
Note
V
DD
V
SS
, EV
SS
RESET
TOOL0 (dedicated single-line UART)
Host machine
Dedicated flash
memory programmer
PG-FP5, FL-PR5
E1
Note 64-pin products only.
A host machine that controls the dedicated flash memory programmer is necessary.
To interface between the dedicated flash memory programmer and the RL78 microcontroller, the TOOL0 pin is used for
manipulation such as writing and erasing via a dedicated single-line UART.
26.1.2 Communication Mode
Communication between the dedicated flash memory programmer and the RL78 microcontroller is established by serial
communication using the TOOL0 pin via a dedicated single-line UART of the RL78 microcontroller.
Transfer rate: 1 M, 500 k, 250 k, 115.2 kbps
Figure 26-2. Communication with Dedicated Flash Memory Programmer
V
DD
/EV
DD
V
SS
/EV
SS
/REGC
Note 3
RESET
TOOL0
EMV
DD
V
DD
V
DD
GND
RESET
Note 1
,
/RESET
Note 2
RL78
microcontroller
Dedicated flash
memory programmer
PG-FP5, FL-PR5
E1
TOOL0
Note 1
SI/RxD
Note 2
Notes 1. When using E1 on-chip debugging emulator.
2. When using PG-FP5 or FL-PR5.
3. Connect REGC pin to ground via a capacitor (0.47 to 1
μ
F).
<R>