Renesas RL78/G1P Hardware User Manual page 699

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P
23.5.2 Flash memory programming mode
To rewrite the contents of the flash memory, set the RL78/G1P in the flash memory programming mode. To enter the
mode, set as follows.
<When programming by using the dedicated flash memory programmer>
Communication from the dedicated flash memory programmer is performed to automatically switch to the flash
memory programming mode.
<When programming by using an external device>
Set the TOOL0 pin to the low level, and then cancel the reset. Keep the TOOL0 pin at the low level from the reset
ends to 1 ms + software processing end, and then use UART communication to send the data "00H" from the external
device. Finish UART communication within 100 ms after the reset ends.
Remark t
: The segment shows that it is necessary to finish specifying the initial communication settings within
SUINIT
100 ms from when the resets end.
t
:
How long from when the TOOL0 pin is placed at the low level until an external reset ends
SU
t
:
How long to keep the TOOL0 pin at the low level from when the external and internal resets end
HD
(except soft processing time)
For details, see 27.9 Timing of Entry to Flash Memory Programming Modes.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
Figure 23-8. Setting of Flash Memory Programming Mode
<1>
RESET
TOOL0
t
SU
<1> The low level is input to the TOOL0 pin.
<2> The external reset ends (POR and LVD reset must end before the external reset ends.).
<3> The TOOL0 pin is set to the high level.
<4> Setting of the flash memory programming mode by UART reception and complete the baud
rate setting.
<2>
<3>
723 μs + t
HD
processing
00H reception
time
(TOOLRxD, TOOLTxD mode)
t
SUINIT
CHAPTER 23 FLASH MEMORY
<4>
680

Advertisement

Table of Contents
loading

Table of Contents