![Renesas RL78/G1H Скачать руководство пользователя страница 831](http://html1.mh-extra.com/html/renesas/rl78-g1h/rl78-g1h_user-manual_1440449831.webp)
CHAPTER 27 FLASH MEMORY
Page 813 of 920
27.3.2
Flash memory programming mode
To rewrite the contents of the code flash memory through serial programming, specify the flash memory
programming mode. To enter the mode, set as follows.
<When serial programming by using the dedicated flash memory programmer>
Connect the RL78 microcontroller to a dedicated flash memory programmer. Communication from the dedicated
flash memory programmer is performed to automatically switch to the flash memory programming mode.
<When serial programming by using an external device>
Set the TOOL0 pin to the low level, and then cancel the reset (see
). After that, enter flash memory
programming mode according to the procedures <1> to <4> shown in
. For details, refer to the
RL78 microcontrollers (RL78 Protocol A) Programmer Edition Application Note (R01AN0815)
.
Figure 27 - 5 Setting of Flash Memory Programming Mode
<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.
Remark
t
SUINIT
: The segment shows that it is necessary to finish specifying the initial communication settings
within 100 ms from when the external resets end.
t
SU
:
How long from when the TOOL0 pin is placed at the low level until a pin reset ends.
t
HD
:
How long to keep the TOOL0 pin at the low level from when the external resets end (the flash
firmware processing time is excluded).
For details, see
31.11 Timing for Switching Flash Memory Programming Modes
Table 27 - 3 Relationship Between TOOL0 Pin and Operation Mode After Reset Release
TOOL0
Operation Mode
V
DD
Normal operation mode
0 V
Flash memory programming mode
TOOL0
<1> <2>
<3>
t
SU
<4>
t
SUINIT
723 µs + t
HD
processing
time
00H reception
(TOOLRxD, TOOLTxD mode)
RESET
Содержание RL78/G1H
Страница 941: ...R01UH0575EJ0120 RL78 G1H...