RL78/G15 CHAPTER 19 FLASH MEMORY
R01UH0959EJ0110 Rev.1.10 Page 662 of 765
Mar 7, 2023
19.3 Connection of Pins on Board
To write the flash memory on-board by using the flash memory programmer, connectors that connect the dedicated flash
memory programmer must be provided on the target system. First provide a function that selects the normal operation
mode or flash memory programming mode on the board.
When the flash memory programming mode is set, all the pins not used for programming the flash memory are in the
same status as immediately after reset. Therefore, if the external device does not recognize the state immediately after
reset, the pins must be handled as described below.
Remark For the flash memory programming mode, see 19.4.2 Flash memory programming mode.
19.3.1 P40/TOOL0 pin
In the flash memory programming mode, connect this pin to the dedicated flash memory programmer via an external 1kΩ
pull-up resistor.
When this pin is used as the port pin, use that by the following method.
When used as an input pin:
-level is prohibited for t
HD
period after external pin reset release. However,
when this pin is used via pull
-down resistors, use the 500 kΩ or more resistors.
When used as an output pin:
When this pin is used via pull
-down resistors, use the 500 kΩ or more resistors.
Remark 1. t
HD
: How long to keep the TOOL0 pin at the low level from when the external and internal resets end for
setting of the flash memory programming mode (see 23.10 Timing of Entry to Flash Memory
Programming Mode and 24.10 Timing of Entry to Flash Memory Programming Mode).
Remark 2. The SAU and IICA pins are not used for communication between the RL78 microcontroller and dedicated
flash memory programmer, because single-line UART (TOOL0 pin) is used.