of 58
Jan.20.22
Contents
1. Overview .......................................................................................................................... 7
1.1 Overview of E1/E20/E2 Emulator and E2 emulator Lite .......................................................................... 7
1.2 Note on Using E20 ................................................................................................................................... 7
1.3 Configuration of E1/E20/E2/E2 Lite Manuals .......................................................................................... 8
1.4 Supported Devices ................................................................................................................................... 9
1.5 Overview of the Specifications of the External Trigger Input and Output .............................................. 11
1.5.1 Assignments of the External Trigger Input and Output Pins ........................................................ 11
1.5.2 Specifications of the External Trigger Inputs and Outputs ........................................................... 12
2. Designing the User System ........................................................................................... 13
2.1 Connecting the E1/E20/E2/E2 Lite to the User System ........................................................................ 13
2.2 Installing the Connector on the User System ........................................................................................ 13
2.2.1 Connecting the User System Interface Cable to the 14-Pin Connector....................................... 13
2.3 Pin Assignments of the Connector on the User System ........................................................................ 17
2.3.1 14-Pin Connector Specifications .................................................................................................. 17
2.4 Recommended Circuits between the Connector and the MCU ............................................................. 19
2.4.1 Connection between the 14-Pin Connector and the RL78 Family MCUs in General .................. 19
2.4.2 Connection between the 14-Pin Connector and the RL78 Family MCUs (Only the RL78/G11 and
the 20- and 24-Pin Versions of the RL78/G12) ........................................................................................... 21
2.4.3 Connection between the 14-Pin Connector and the RL78 Family MCU (Only the RL78/I1C) .... 22
2.5 Notes on Connection ............................................................................................................................. 25
2.5.1 RESET# Pin ................................................................................................................................. 25
2.5.2 TOOL0 Pin ................................................................................................................................... 28
2.5.3 GND ............................................................................................................................................. 29
2.5.4 VDD .............................................................................................................................................. 29
2.6 Internal Circuits of the Emulator ............................................................................................................ 31
2.6.1 Internal Circuits of the E1 (when the RL78 Family is Connected) ............................................... 31
2.6.2 Internal Circuits of the E20 (when the RL78 Family is Connected) ............................................. 32
2.6.3 Internal Circuits of the E2 (when the RL78 Family is Connected) ............................................... 33
2.6.4 Internal Circuits of the E2 Lite (when the RL78 Family is Connected) ........................................ 35
2.7 Notes on Designing the User System .................................................................................................... 36
2.7.1 Isolator for the E1 ......................................................................................................................... 36
2.7.2 Small Connector Conversion Adapter for the E1 ......................................................................... 36
3. Notes on Usage ............................................................................................................. 38
3.1 Turning the Power On/Off ...................................................................................................................... 38
3.1.1 When a Separate Power Supply is Used for the User System .................................................... 38
3.1.2 When Power is Supplied to the User System from the Emulator (E1/E2/E2 Lite Only) .............. 39
3.2 Power Supply Function of the E1/E2/E2 Lite ......................................................................................... 39
3.3 MCU Resources to be Occupied ........................................................................................................... 40
3.3.1 Securing an Area for the Debugging Monitor Program ................................................................ 41
3.3.2 Securing a Stack Area for Debugging .......................................................................................... 42
3.3.3 Setting an On-Chip Debugging Option Byte ................................................................................ 43
3.3.4 Setting a Security ID .................................................................................................................... 44
3.3.5 Setting a Serial Programming Security ID ................................................................................... 45
3.4 Reset ...................................................................................................................................................... 46
3.4.1 Operation after a Reset ................................................................................................................ 46
3.4.2 SP Value after a Reset ................................................................................................................. 46
3.5 Flash Memory ........................................................................................................................................ 46
3.5.1 Flash Memory Programming by Self-Programming ..................................................................... 46
3.5.2 Operation for Voltages and Flash Operation Modes Not Permitting Flash Memory Rewriting ... 47
3.6 GDIDIS ................................................................................................................................................... 47