
RL78/G1P
CHAPTER 23 FLASH MEMORY
R01UH0895EJ0100 Rev.1.00
671
Nov 29, 2019
23.1.1 Programming environment
The environment required for writing a program to the flash memory of the RL78/G1P is illustrated below.
Figure 23-1. Environment for Writing Program to Flash Memory
RS-232C
USB
RL78/G1P
V
DD
V
SS
RESET
TOOL0 (dedicated single-line U ART)
Host machine
Dedicated flash
memory programmer
PG-FP6
E1, E2, E2 Lite, E20
A host machine that controls the dedicated flash memory programmer is necessary.
To interface between the dedicated flash memory programmer and the RL78/G1P, the TOOL0 pin is used for
manipulation such as writing and erasing via a dedicated single-line UART.
23.1.2 Communication mode
Communication between the dedicated flash memory programmer and the RL78/G1P is established by serial
communication using the TOOL0 pin via a dedicated single-line UART of the RL78/G1P.
Transfer rate: 1 M, 500 k, 250 k, 115.2 kbps
Figure 23-2. Communication with Dedicated Flash Memory Programmer
V
DD
V
SS
/REGC
Note 4
RESET
TOOL0
V
DD
V
DD
GND
RESET
Note 2
,
/RESET
Note 3
SI/RxD
Note 3
TOOL0
Note 2
Dedicated flash
memory programmer
PG-FP6
E1, E2, E2 Lite, E20
RL78/G1P
Note 1
EMV
DD Note 2
FLMD1
Note 3
,
,
Notes 1.
The name of the signal for connection in the case of the PG-FP6 is V
CC
.
2.
When using E1, E2, E2 Lite, E20 on-chip debugging emulator.
3.
When using PG-FP6.
4.
Connect REGC pin to ground via a capacitor (0.47 to 1
F).