RL78/G1P
CHAPTER 23 FLASH MEMORY
R01UH0895EJ0100 Rev.1.00
682
Nov 29, 2019
23.5.4 Communication commands
The RL78/G1P communicates with the dedicated flash memory programmer or external device by using commands.
The signals sent from the flash memory programmer or external device to the RL78/G1P are called commands, and the
signals sent from the RL78/G1P to the dedicated flash memory programmer or external device are called response.
Figure 23-9. Communication Commands
Command
Response
Dedicated flash
memory programmer
PG-FP6
E1, E2, E2 Lite, E20
External device
(such as microcontroller
and ASIC)
RL78/G1P
The flash memory control commands of the RL78/G1P are listed in the table below. All these commands are issued
from the programmer or external device, and the RL78/G1P performs processing corresponding to the respective
commands.
Table 23-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.
Note
Getting information
Silicon Signature
Gets the RL78/G1P 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.
The RL78/G1P returns a response for the command issued by the dedicated flash memory programmer or external
device. The response names sent from the RL78/G1P are listed below.