RL78 Debugging Functions Using the Serial Port
Introduction
This application note describes how to use the RL78 debugging functions using the serial port.
Target Device
RL78
Contents
1.
Overview ................................................................................................................................. 4
1.1
1.2
Applicable devices ................................................................................................................................... 4
2.
User system design ................................................................................................................. 5
2.1
2.1.1
2.2
2.2.1
RESET# pin ........................................................................................................................................... 6
2.2.2
TOOL0/TOOLTxD/TOOLRxD pins ........................................................................................................ 8
2.2.3
GND ....................................................................................................................................................... 9
2.2.4
Power supply voltage ............................................................................................................................ 9
3.
Usage notes .......................................................................................................................... 10
3.1
Power on/off .......................................................................................................................................... 10
3.1.1
Power supply sequence ...................................................................................................................... 10
3.2
MCU resources that are used ............................................................................................................... 11
3.2.1
3.2.2
3.2.3
3.2.4
Setting the security ID ......................................................................................................................... 15
3.3
Reset ..................................................................................................................................................... 16
3.3.1
Behavior after reset ............................................................................................................................. 16
3.3.2
Registers after reset ............................................................................................................................ 16
3.3.3
Pin reset during break ......................................................................................................................... 16
3.4
Flash memory ........................................................................................................................................ 16
3.4.1
3.4.2
3.5
GDIDIS function ..................................................................................................................................... 18
3.6
3.6.1
R20AN0632EJ0100 Rev.1.00
Jul.20.21
Application Note
Page 1 of 23