RL78/G1P
CHAPTER 23 FLASH MEMORY
R01UH0895EJ0100 Rev.1.00
681
Nov 29, 2019
Table 23-4. Relationship Between TOOL0 Pin and Operation Mode After Reset Release
TOOL0 Operation
Mode
V
DD
Normal operation mode
0
Flash memory programming mode
There are two flash memory programming modes: wide voltage mode and full speed mode. The supply voltage value
applied to the microcontroller during write operations and the setting information of the user option byte for setting of the
flash memory programming mode determine which mode is selected.
When a dedicated flash memory programmer is used for serial programming, setting the voltage on GUI selects the
mode automatically.
Table 23-5. Programming Modes and Voltages at Which Data Can Be Written, Erased, or Verified
Mode
Voltages at Which Data can Be Written, Erased, or Verified
Writing Clock Frequency
Wide voltage mode
2.7 V to 3.6 V
8 MHz (MAX.)
2.7 V to 3.6 V
16 MHz (MAX.)
2.7 V to 3.6 V
32 MHz (MAX.)
Full speed mode
Note
2.7 V to 3.6 V
16 MHz (MAX.)
2.7 V to 3.6 V
32 MHz (MAX.)
Note
This can only be specified if the CMODE1 and CMODE0 bits of the option byte 000C2H are 1.
Specify the mode that corresponds to the voltage range in which to write data. When programming by using the
dedicated flash memory programmer, the mode is automatically selected by the voltage setting on GUI.
Remarks 1.
Using both the wide voltage mode and full speed mode imposes no restrictions on writing, deletion, or
verification.
2.
For details about communication commands, see
23.5.4 Communication commands
.
23.5.3 Selecting communication mode
Communication mode of the RL78 microcontroller as follows.
Table 23-6. Communication Modes
Communication Mode
Standard Setting
Note 1
Pins
Used
Port Speed
Note 2
Frequency Multiply Rate
1-line mode
(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.