RL78/G1H CHAPTER 27 FLASH MEMORY
R01UH0575EJ0120 Rev. 1.20 Page 816 of 920
Dec 22, 2016
27.3.4 Communication commands
The RL78 microcontroller executes serial programming through the commands listed in Table 27 - 6.
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 microcontroller (RL78 Protocol A) Programmer Edition Application Note (R01AN0815).
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.
Product information (such as product name and firmware version) can be obtained by executing the “Silicon
Signature” command.
Tables 27 - 7 show signature data list and example of signature data list.
Table 27 - 6 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 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.
Table 27 - 7 Signature Data List
Field Name Description Number of Transmit Data
Device code The serial number assigned to the device 3 bytes
Device name Device name (ASCII code) 10 bytes
Code flash memory area last address Last address of code flash memory area
(Sent from lower address.
3 bytes
Data flash memory area last address Last address of data flash memory area
(Sent from lower address.
3 bytes
Firmware version Version information of firmware for programming
(Sent from upper address.
3 bytes