RL78/G15 CHAPTER 19 FLASH MEMORY
R01UH0959EJ0110 Rev.1.10 Page 667 of 765
Mar 7, 2023
19.4.3 Selecting communication mode
Communication modes of the RL78 microcontroller are as follows.
Table 19-6. Communication Modes
Communication Mode Standard Setting
Note 1
Pins Used
Port Speed
Note 2
Frequency Multiply Rate
1-line UART
(when flash memory programmer is used,
or when external device is used)
UART 115200 bps — — TOOL0
Dedicated UART
(when external device is used)
UART 115200 bps — —
TOOLTxD,
TOOLRxD
Note 1. Selection items for Standard settings on GUI of the flash memory programmer.
Note 2. Because factors other than the baud rate error, such as the signal waveform slew, also affect UART
communication, thoroughly evaluate the slew as well as the baud rate error.
19.4.4 Communication commands
The RL78 microcontroller executes serial programming through the commands listed in Table 19-7.
The signals sent from the dedicated flash memory programmer or external device to the RL78 microcontroller are called
commands, and programming functions corresponding to the commands are executed.
Table 19-7. Flash Memory Control Commands
Classification Command Name Function
CRC checking CRC check
(code flash memory)
Calculate the checksum of the code flash memory.
CRC check
(data flash memory)
Calculate the checksum of the data flash memory.
Writing after erasure Write after erase
(code flash memory)
Write data after erasing data in the code flash memory.
Write after erase
(data flash memory)
Write data after erasing data in the data flash memory.