CHAPTER 27 FLASH MEMORY
Page 810 of 920
27.2
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
Refer to flash programming mode, see
27.3.2 Flash memory programming mode
27.2.1
P40/TOOL0 pin
In the flash memory programming mode, connect this pin to the dedicated flash memory programmer via an
external 1 k
Ω
pull-up resistor.
When this pin is used as the port pin, use that by the following method.
When used as an input pin:
Input of low-level is prohibited for t
HD
period after external 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 31.11 Timing for Switching Flash Memory
Programming Modes).
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.
27.2.2
RESET pin
Signal conflict will occur if the reset signal of the dedicated flash memory programmer and external device are
connected to the RESET pin that is connected to the reset signal generator on the board. To prevent this conflict,
isolate the connection with the reset signal generator.
The flash memory will not be correctly programmed if the reset signal is input from the user system while the
flash memory programming mode is set. Do not input any signal other than the reset signal of the dedicated flash
memory programmer and external device.
Figure 27 - 3 Signal Conflict (RESET Pin)
Input pin
Signal conflict
Dedicated flash memory programmer
connection pin
Another device
Output pin
In the flash memory programming mode, a signal output by another device
will conflict with the signal output by the dedicated flash memory
programmer. Therefore, isolate the signal of another device .
RL78 microcontroller
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...