All information contained in these materials, including products and product specifications,
Supported Devices:
RL78/G10, RL78/G1M, RL78/G1N
Additional Document for User’s Manual
RL78 Family
(Notes on Connection of RL78)
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
Corporate Headquarters
Contact information
Trademarks
Notice
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products
and application examples. You are fully responsible for the incorporation or any other use of the circuits, software, and information in the design of your
product or system. Renesas Electronics disclaims any and all liability for any losses and damages incurred by you or third parties arising from the use of
these circuits, software, or information.
2. Renesas Electronics hereby expressly disclaims any warranties against and liability for infringement or any other claims involving patents, copyrigh ts , or
other intellectual property rights of third parties, by or arising from the use of Renesas Electronics products or technical information described in this
document, including but not limited to, the product data, drawings, charts, programs, algorithms, and application examples.
3. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or
others.
4. You shall not alter, modify, copy, or reverse engineer any Renesas Electronics product, whether in whole or in part. Renesas Electronics disclaims any
and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification, copying or reverse engineering.
5. Renesas Electronics products are classified according to the following two quality grades: “Standard” and “High Quality”. The intended applications for
each Renesas Electronics product depends on the product’s quality grade, as indicated below.
"Standard": Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home
"High Quality": Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication equipment; key
Unless expressly designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas
Electronics document, Renesas Electronics products are not intended or authorized for use in products or systems that may pose a direct threat to
human life or bodily injury (artificial life support devices or systems; surgical implantations; etc.), or may cause serious property damage (sp ace system;
undersea repeaters; nuclear power control systems; aircraft control systems; key plant systems; military equipment; etc.). Renesas Electronics disclaims
any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is
inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
6. When using Renesas Electronics products, refer to the latest product information (data sheets, user’s manuals, application notes, “General Notes for
Handling and Using Semiconductor Devices” in the reliability handbook, etc.), and ensure that usage conditions are within the ranges specified by
Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation characteristics, installation, etc. Renesas
Electronics disclaims any and all liability for any malfunctions, failure or accident arising out of the use of Renesas Electronics products outsi de of such
specified ranges.
7. Although Renesas Electronics endeavors to improve the quality and reliability of Renesas Electronics products, semiconductor products have specific
characteristics, such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Unless designated as a high reliability
product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas Electronics document, Renesas Electronics products
are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury,
injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, such as safety
design for hardware and software, including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging
degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult and impractical, you are
responsible for evaluating the safety of the final products or systems manufactured by you.
8. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas
Electronics product. You are responsible for carefully and sufficiently investigating applicable laws and regulations that regulate the inclusion or use of
controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics products in compliance with all these
applicable laws and regulations. Renesas Electronics disclaims any and all liability for damages or losses occurring as a result of your noncompliance
with applicable laws and regulations.
9. Renesas Electronics products and technologies shall not be used for or incorporated into any products or systems whose manufacture, use, or sale is
prohibited under any applicable domestic or foreign laws or regulations. You shall comply with any applicable export control laws and regulations
promulgated and administered by the governments of any countries asserting jurisdiction over the parties or transactions.
10. It is the responsibility of the buyer or distributor of Renesas Electronics products, or any other party who distributes, disposes of, or otherwise sells or
transfers the product to a third party, to notify such third party in advance of the contents and conditions set forth in this document.
11. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas
Electronics products.
(Note1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its directly or indirectly con tr ol led
(Note2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
subsidiaries.
electronic appliances; machine tools; personal electronic equipment; industrial robots; etc.
financial terminal systems; safety control equipment; etc.
(Rev.4.0-1 November 2017)
TOYOSU FORESIA, 3-2-24 Toyosu,
Koto-ku, Tokyo 135-0061, Japan
www.renesas.com
Renesas and the Renesas logo are trademarks of Renesas
Electronics Corporation. All trademarks and registered trademarks
are the property of their respective owners.
For further information on a product, technology, the most up-to-date
version of a document, or your nea rest sales office, please vi si t:
General Precautions in the Handling of Microprocessing Unit and Microcontrolle r
Unit Products
The following usage n otes are applicable to all Micropro cessing unit and Microcontroller uni t products from Renesas. For detail ed usage notes on the
products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
1. Precaution against Electrostatic Discharge (ESD)
A strong electrical field, when exposed to a CMOS device, can cause destruction of the gate oxide and ultimately degrade the device operation. Steps
must be taken to stop the generation of static electricity as much as possible, and quickly dissipate it when it occurs. Environmental control must be
adequate. When it is dry, a humidifier should be used. This is recommended to avoid using insulators that can easily build up static elec tricity.
Semiconductor devices must be stored and trans por te d in an an ti-static container, static shielding bag or conductive material. All test and measurement
tools including work benches and floors must be grounded. The operator must also be grounded using a wrist strap. Semiconductor devices must not be
touched with bare hands. Similar precautions must be taken for printed circuit boards with mounted semiconductor devices.
2. Processing at power-on
The state of the product is undefined at the time when power is supplied. The states of internal circuits in the LSI are indeterminate and the states of
register settings and pins are undefined at the time when power is supplied. In a finished product where the reset signal is applied to the external reset
pin, the states of pins are not guaranteed from the time when power is supplied until the reset process is completed. In a similar way, the states of pins in
a product that is reset by an on-chip power-on reset function are not guaranteed from the time when power is supplied until the power reaches the level
at which resetting is specified.
3. Input of signal during power-off state
Do not input signals or an I/O pull-up power supply while the device is powered off. The current injection that results from input of such a signal or I/O
pull-up power supply may cause malfunction and the abnormal current that passes in the device at this time may cause degradation of internal elements.
Follow the guideline for input signal during power-off state as described in your product documentation.
4. Handling of unused pins
Handle unused pins in accordance with the directions given under handling of unused pins in the manual. The input pins of CMOS products are
generally in the high-impedance state. In operation with an unused pin in the open-circuit state, extra electromagnetic noise is induced in the vicinity of
the LSI, an associated shoot -through current flows internally, and malfunctions occur due to the false recognition of the pin state as an input signal
become possible.
5. Clock signals
After applying a reset, only release the reset line after the operating clock signal becomes stable. When switching the clock signal during program
execution, wait until the target clock signal is stabilized. When the clock signal is generated with an external resonator or from an external oscillator
during a reset, ensure that the reset line is only released after full stabilization of the clock signal. Additionally, when switching to a clock signal produced
with an external resonator or by an external oscillator while program execution is in progress, wait until the target clock signal is stable.
6. Voltage application waveform at input pin
Waveform distortion due to input noise or a reflected wave may cause malfunction. If the input of the CMOS device stays in the area between V
and V
(Min.) due to noise, for example, the device may malfunction. Take care to prevent chattering noise from entering the device when the input
IH
level is fixed, and also in the transition period when the input level passes through the area between V
7. Prohibition of access to res erv ed ad dr esses
Access to reserved addresses is prohibited. The reserved addresses are provided for possible future expansion of functions. Do not access these
addresses as the correct ope ration of the LSI is not guaranteed.
8. Differences between products
Before changing from one product to another, for example to a product with a different part number, confirm that the change will not lead to problems.
The characteristics of a microprocessing unit or microcontroller unit products in the same group but having a different part number might differ in terms of
internal memory capacity, layout pattern, and other factors, which can affect the ranges of electrical characteristics, such as characteristic values,
operating margins, immunity to noise, and amount of radiated noise. When changing to a product with a different part number, implement a systemevaluation test for the given product.
1.1 Overview of E1/E20/E2 Emulator and E2 emulator Lite ............................................................................ 7
1.2 Note on Using E20 ..................................................................................................................................... 7
1.3 Configuration of Manuals ........................................................................................................................... 8
2.6 Internal Circuits of the Emulator .............................................................................................................. 25
2.6.1 Internal Circuits of the E1 (when the RL78 Family is Connected) ................................................. 25
2.6.2 Internal Circuits of the E20 (when the RL78 Family is Connected) ............................................... 26
2.6.3 Internal Circuits of the E2 (when the RL78 Family is Connected) ................................................. 27
2.6.4 Internal Circuits of the E2 Lite (when the RL78 Family is Connected) .......................................... 28
2.7 Notes on Designing the User System ...................................................................................................... 29
2.7.1 Isolator for the E1 ........................................................................................................................... 29
2.7.3 Small Connector Conversion Adapter for the E1 ........................................................................... 30
3. Notes on Usage ...............................................................................................................32
3.1 Turning the Power On/Off ........................................................................................................................ 32
3.1.1 When a Separate Power Supply is Used for the User System ...................................................... 32
3.1.2 When Power is Supplied to the User System from the Emulator (E1/E2/E2 Lite Only) ................ 34
3.2 Power Supply Function of the E1/E2/E2 Lite ........................................................................................... 35
3.3 MCU Resources to be Occupied ............................................................................................................. 36
3.3.1 Securing an Area for the Debugging Monitor Program .................................................................. 36
3.3.2 Securing a Stack Area for Debugging ............................................................................................ 37
3.3.3 Setting an On-Chip Debugging Option Byte .................................................................................. 37
3.3.4 Setting a Security ID ...................................................................................................................... 38
3.3.5 Area for Pseudo-RRM/Pseudo-DMM ............................................................................................. 38
3.9.6 Extended Functions of the E2 ........................................................................................................ 42
Revision History ...................................................................................................................43
R20UT2937EJ0301 Rev.3.01 Page 5 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document Terminology
Terminology
Some specific words used in this user's manual are defined below.
Host machine
This means a personal computer used to control the emulator.
User system
This means a user's application system in which the MCU to be debugged is used.
User program
This means the program to be debugged.
Programming Software
In this document, this indicates Renesas Flash Programmer that can be used with the E1, E20, E2, or
E2 Lite.
"#" at the end of a pin name (signal name)
"#" at the end of a pin name (signal name) indicates that the pin (signal) is active low (e.g., RESET#).
Extended function of the E2
This means an extended function which is available with the E2 emulator.
E2 expansion interface
This means the interface required for extended functions of the E2 emulator.
R20UT2937EJ0301 Rev.3.01 Page 6 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 1. Overview
1. Overview
1.1 Overview of E1/E20/E2 Emulator and E2 emulator Lite
In this document, we describe ‘E2 Emulator’ as ‘E2’, ‘E1 Emulator’ as ‘E1’, ‘E20 Emulator’ as ‘E20’ and
‘E2 emulator Lite’ as ‘E2 Lite’.
The E1, E20, E2, and E2 Lite are on-chip debugging emulators for Renesas' mainstream MCUs.
The E1 and E2 Lite are highly affordable development tools providing basic debugging functions. The
E20 is a development tool allowing sophisticated debugging through enhanced functions such as
tracing and RAM monitoring as well as the basic debugging functions of the E1 and E2 Lite. The E2 is a
development tool providing a solution for the tuning of current consumption and an external trigger
function as extended functions beyond the basic debugging functions of the E1 and E2 Lite. The
E1/E20/E2/E2 Lite can also serve as a Flash Programmer.
1.2 Note on Using E20
The large trace function and the real-time RAM monitoring function, which are the primary features of
the E20, cannot be used with RL78 devices.
The available functions are equivalent to those of the E1/E2 Lite (only the internal trace function in the
MCU and memory reference and modification during execution).
The power supply function from the E20 is not supported.
R20UT2937EJ0301 Rev.3.01 Page 7 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 1. Overview
1.3 Configuration of Manuals
The E1, E20, E2, and E2 Lite manuals consist of the following.
E1/E20 Emulator User's Manual
E2 Emulator Lite User’s Manual
E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User’s Manual
Be sure to read each user’s manual before using the E1, E20, E2, or E2 Lite.
(1) E2 Emulator User’s Manual
The E2 emulator user’s manual has the following contents:
Components of the E2
Hardware specifications of the E2
Connection to the E2 and the host machine and user system
(2) E1/E20 Emulator User’s Manual
The E1/E20 emulator user’s manual has the following contents:
Components of the E1/E20
Hardware specifications of the E1/E20
Connection to the E1/E20 and the host machine and user system
(3) E2 Emulator Lite User’s Manual
The E2 Emulator Lite user’s manual has the following contents:
Components of the E2 Lite
Hardware specifications of the E2 Lite
Connection to the E2 Lite and the host machine and user system
(4) E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on Connection of
RL78)
The E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on
Connection of RL78) describes information necessary for hardware design such as connection
examples, interface circuits, and notes on using the emulator.
(5) User’s manual and help for the emulator debugger
The user’s manual and help for the emulator debugger describe the functions of the E1/E20/E2/E2 Lite
emulator debugger and the operating instructions.
Refer to the following.
CS+ Integrated Development Environment User's Manual: RL78 Debug
R20UT2937EJ0301 Rev.3.01 Page 8 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 1. Overview
Help for e2 studio
When using C-SPY made by IAR Systems, also refer to "IAR C-SPY Hardware Debugger System User
Guide issued by IAR Systems" published by IAR Systems.
(6) Application note for extended functions of the E2
The application note for extended functions of the E2 includes an explanation and descriptions of
operation methods for an extended function of the E2 emulator. Refer to the Application Note for the
Solution for the Tuning of Current Consumption.
R20UT2937EJ0301 Rev.3.01 Page 9 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 1. Overview
Item
Description
Target MCUs
RL78 Family (RL78-S1 Core) *1
Item
Type of the RL78 Core
Description
RL78-S1
Pseudo-real-time RAM monitor
Supported
CPU is used when monitoring
Event
2 points (max)
Can be used for hardware break
Hardware break
Supported
Execution address
Trace
Acquired information
Not supported
End event
Not supported
Performance
Supported
Resolution: 100 μs
Coverage measurement function
Not supported
External trigger
Supported
External triggers can be input to or output
1.4 Supported Devices
Table 1-1 Supported Device List
RL78/G1x: RL78/G10, RL78/G1M, RL78/G1N
Notes: 1. For details on the RL78-S1 core, refer to "RL78 Family User's Manual: Software".
2. When using other than the RL78/G10, RL78/G1M, RL78/G1N, refer to "E1/E20/E2 Emulator, E2 Emulator
Lite Additional Document for User's Manual (Notes on Connection of RL78) (R20UT1994)".
Table 1-2 Debugging Function List
Memory reference or change during program execution
(RRM)
Dynamic Memory Modification
(DMM)
Supported CPU is used when changing
Break Software break Not supported
Forced break Supported
Start event Not supported
Performance
measurement
function
Hot plug-in Not supported
Extended
function of the
E2*
Note: When the low-voltage OCD board is in use, the extended functions of the E2 are not available.
Measurement item Supported Between start and stop of user program
execution
Maximum measurement time: 119 hours
18 min
Solution for the tuning
of current
consumption
input/output
Supported Current consumption by the user system
is measured when the power is supplied
from the E2.
from the E2 expansion interface.
R20UT2937EJ0301 Rev.3.01 Page 10 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 1. Overview
14
131
2
1.5 Overview of the Specifications of the External Trigger Input and Output
This section describes the specifications of the external trigger input and output, which is one of E2
extended functions of the E2.
1.5.1 Assignments of the External Trigger Input and Output Pins
The following figure and table show the assignments of the external trigger input and output pins for the
E2 expansion interface.
Figure 1-1 E2 Expansion Interface
R20UT2937EJ0301 Rev.3.01 Page 11 of 45
Jul 1, 2020
Operation during the output of
an external trigger
Note: About 100 µs will be required from the detection of a condition for an external trigger input being satisfied until
the user program is stopped.
•When the power is supplied from the emulator:
supply voltage (1.8V to 5.0 V)
• When the power is not supplied from the emulator: VDD voltage
• Detecting edges (rising, falling, or both)
• Detecting a level (low or high)
• Break*
• Recording the data from measuring the current consumption while the
low or high level is being input
consumption
• When a break is detected, a low- or high-level pulse is output (the
pulse width can be set to times in the range from 1 µsec to 65535
µsec).
• When a trigger condition for measuring the current consumption is
detected, a high-level pulse is output (the pulse width can be set to
times in the range from 1 µsec to 65535 µsec). Otherwise, a high level
is output while a condition is being satisfied.
R20UT2937EJ0301 Rev.3.01 Page 12 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 2. Designing the User System
Connector
Type Number
Manufacturer
Specifications
14-pin
7614-6002
3M Japan Limited
14-pin straight type (Japan)
14-pin us
er-system interface cable
14-
pin connector
7614-60
02 or
2514-60
02
User system
Pin 1
Pin 2
2. Designing the User System
2.1 Connecting the E1/E20/E2/E2 Lite to the User System
To connect the E1/E20/E2/E2 Lite to the user system, a connector for the user system interface cable
must be mounted on the user system.
When designing the user system, read this section of this manual and the hardware manual for the MCU
in use.
2.2 Installing the Connector on the User System
Table 2-1 shows the recommended connectors for the E1/E20/E2/E2 Lite.
Table 2-1 Recommended Connectors
connector
Note: Connection to the 38-pin connector of the E20 is not supported. To use the E20, use the 38-pin to 14-pin
conversion adapter that comes with the E20 for connection to the 14-pin connector on the user system.
2514-6002 3M Limited 14-pin straight type (other countries)
2.2.1 Connecting the User System Interface Cable to the 14-Pin Connector
The following figures show how to connect the user system interface cable to the 14-pin connector of
each emulator.
E1/E2 Lite: Figure 2-1 (Connecting the User System Interface Cable to the 14-Pin Connector of the
E1/E2 Lite Emulator)
E20: Figure 2-2 (Connecting the User System Interface Cable to the 14-Pin Connector of the E20
Emulator)
E2: Figure 2-3 (Connecting the User System Interface Cable to the 14-Pin Connector of the E2
Emulator)
Figure 2-1 Connecting the User System Interface Cable to the 14-Pin Connector of the E1/E2 Lite
Emulator
R20UT2937EJ0301 Rev.3.01 Page 13 of 45
Jul 1, 2020
E1/E20/E2/E2 Lite Additional Document 2. Designing the User System