RL78/G1D
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.
Signal Name
PG-FP5,
E1 on-chip
FL-PR5
debugging
emulator
V
DD
GND
FLMD1
EMV
/RESET
–
RESET
–
TOOL0
SI/RxD
Note
Connect REGC pin to ground via a capacitor (0.47 to 1 µF).
26.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).
26.2.1 Programming environment
The environment required for writing a program to the flash memory of the RL78 microcontroller is illustrated below.
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.
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Table 26-2. Pin Connection
Dedicated Flash Memory Programmer
I/O
I/O
–
–
DD
–
Output
Output
I/O
–
I/O
Figure 26-3. Environment for Writing Program to Flash Memory
External device
(such as microcontroller
and ASIC)
Pin Function
V
voltage generation/power monitoring
DD
Ground
Driving power for TOOL0 pin
Reset signal
Transmit/receive signal
Transmit/receive signal
V
DD
V
SS
RESET
RL78 microcontroller
UART (TOOLTxD, TOOLRxD)
TOOL0
CHAPTER 26 FLASH MEMORY
RL78 Microcontroller
Pin Name
V
DD
V
, REGC
SS
V
DD
RESET
TOOL0
Note
767