Datasheet
RL78/L12 CHAPTER 26 FLASH MEMORY
R01UH0330EJ0200 Rev.2.00 817
Dec 13, 2013
26.4.3 Selecting communication mode
Communication modes of the RL78 microcontroller are as follows.
Table 26-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,
250000 bps,
500000 bps,
1 Mbps
− −
TOOL0
Dedicated UART
(when external device
is used)
UART 115200 bps,
250000 bps,
500000 bps,
1 Mbps
− −
TOOLTxD,
TOOLRxD
Notes 1. Selection items for Standard settings on GUI of the flash memory programmer.
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.
26.4.4 Communication commands
The RL78 microcontroller executes serial programming through the commands listed in Table 26-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. For details, refer to the
RL78 Microcontrollers (RL78 Protocol A) Programmer Edition Application Note (R01AN0815).
Table 26-7. Flash Memory Control Commands
Classification Command Name Function
Verify Verify
Compares the contents of a specified area of the flash memory with data
transmitted from the programmer.
Erase Block Erase Erases a specified area in the flash memory.
Blank check Block Blank Check Checks if a specified block in the flash memory has been correctly erased.
Write Programming Writes data to a specified area in the flash memory.
Getting information Silicon Signature
Gets the RL78 microcontroller information (such as the part number, flash
memory configuration, and programming firmware version).
Checksum Gets the checksum data for a specified area.
Security Security Set Sets security information.
Security Get Gets security information.
Security Release Release setting of prohibition of writing.
Others Reset Used to detect synchronization status of communication.
Baud Rate Set Sets baud rate when UART communication mode is selected.
Note Confirm that no data has been written to the write area. Because data cannot be erased after block erase is
prohibited, do not write data if the data has not been erased.