E1 E2 Lite
E1 E2 Lite
E1 E2 Lite
Supported Devices:
RX Family
All information contained in these materials, including products and product specifications,
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).
Table of Contents
Corporate Headquarters ...................................................................................................... 1
Trademarks.......................................................................................................................... 1
1. Overview .......................................................................................................................... 7
1.1 Overview of E1/E20/E2 Emulator and E2 Emulator Lite ......................................................................... 7
1.2 Notes 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 .............................................. 10
1.5.1 Assignments of the External Trigger Input and Output Pins ........................................................ 10
1.5.2 Specifications of the External Trigger Inputs and Outputs........................................................... 11
Terminology
Some specific words used in this user's manual are defined below.
Host machine
User system
This means a user's application system in which the MCU to be debugged is used.
User program
Programming Software
In this document, this indicates the Flash Development Toolkit or Renesas Flash Programmer that can be
used with the E1, E20, E2, or E2 Lite.
"#" at the end of a pin name (signal name) indicates that the pin (signal) is active low (e.g., TRST#).
E2 expansion interface
This means the interface required for extended functions of the E2 emulator.
1. Overview
1.1 Overview of E1/E20/E2 Emulator and E2 Emulator Lite
In this document, we describe ‘E1 Emulator’ as ’E1’, ‘E20 Emulator’ as ’E20’, ‘E2 Emulator’ as ‘E2’, 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.
When using the E20 with the 38-pin to 14-pin conversion adapter (R0E000200CKA00) that is bundled with
the E20, the large trace function and realtime RAM monitoring function are not available with any MCU.
The available functions are equivalent to those of the E1 (only the internal trace function in the MCU and
memory reference and modification during execution).
When you need to use the large trace function or realtime RAM monitoring function with MCUs of the RX600
series and RX700 series in packages that have 100 pins or less, use the debug MCU board which is
separately available.
Be sure to read each user’s manual before using the E1, E20, E2 or E2 Lite.
When you use extended functions of the E2, be sure to read the application notes for those functions.
(4) E1/E20/E2 Emulator, E2 Emulator Lite Additional Documents for User's Manual (Notes on Connection of
RX Devices) (this document)
The E1/E20/E2 Emulator, E2 Emulator Lite Additional Documents for User's Manual (Notes on
Connection of RX Devices) describes information necessary for hardware design such as connection
examples and interface circuits.
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 extended
functions of the E2.
The following figure and table show the assignments of the external trigger input and output pins for the E2
expansion interface.
13 1
14 2
Table 1.2 Assignments of the External Trigger Input and Output Pins for the E2 Expansion Interface
Input signal channels E2 expansion interface: 2 (ch. 0: pin 11, ch. 1: pin 12)
Output signal channels E2 expansion interface: 2 (ch. 0: pin 9, ch. 1: pin 10)
Voltage of the E2 When the power is supplied from the emulator:
expansion interface When the user interface is selected: VCC voltage
When the E2 expansion interface is selected: supply voltage (1.8 V to 5.0 V)
When the power is not supplied from the emulator: VCC voltage
Conditions for detecting Detecting edges (rising, falling, or both)
an input Detecting a level (low or high)
Input characteristics VIH: 0.7 × voltage of E2 expansion interface, VIL: 0.3 × voltage of E2 expansion
interface
Operation during the input Break
of an external trigger The time required from the detection of an external trigger input as a condition to be
satisfied until the user program stops
FINE bit rate of 2 Mbps: About 60 µs
FINE bit rate of 250 Kbps: About 400 µs
Recording the data from measuring the current consumption while the low or high
level is being input
Condition for detecting an Detecting a break or a trigger condition for measuring the current consumption
output
Operation during the When a break is detected, a low- or high-level pulse is output (the pulse width can be
output of an external set to times in the range from 1 µs to 65535 µs).
trigger 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 µs to
65535 µs). Otherwise, a high level is output while a condition is being satisfied.
Output characteristics VOH: VDD - 0.1 V, VOL: 0.1 V (@ Io = 100 µA)
Output delay Max. 100 ns from condition satisfaction to pulse output
When designing the user system, read this section of this manual and the hardware manual for the MCUs.
The emulator connectors have 14 or 38 pins. Use the connector that corresponds to the aims of emulation.
Using the external trace-output function, which is capable of obtaining large amounts of trace data in real-
time, requires the 38-pin connector.
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)
14-pin connector
7614-6002 or
Pin 2 2514-6002
User system
Pin 1
Figure 2.1 Connecting the User System Interface Cable to the 14-Pin Connector of the E1/E2 Lite
Emulator
9.4 mm
26.2 mm
9.4 mm
38-pin to 14-pin
conversion adapter
14-pin connector
7614-6002 or
38-pin to 14-pin conversion adapter (top view)
2514-6002
10 mm R0E000200CKA00
(include in the E20 package)
User system
Figure 2.2 Connecting the User System Interface Cable to the 14-Pin Connector of the E20 Emulator
CAUTION
Limit to the height on connector periphery:
For a case where the R0E000200CKA00 is used for connecting the E20 to a 14-pin connector, do not mount
other components with a height of 10 mm or more within 5 mm of the connector on the user system.
3M Japan Ltd.)
10.5 mm 29.0 mm
Other
1
GND SW1
20-pin (1.27-mm pin
spacing) to 14-pin 10.5 mm
(2.54-mm pin spacing)
RL78
TP1
CN1
3
connector conversion
adapter
20-pin (1.27-mm pin spacing) to 14-pin
13 mm (2.54-mm pin spacing) connector
14-pin (2.54-mm pin spacing)
conversion adapter (top view)
connector
7614-6002 or 2514-6002 *: These are not printed on some versions
of the conversion adapter.
User system
Set the switch to position “1” .
Figure 2.3 Connecting the User System Interface Cable to the 14-Pin Connector of the E2 Emulator
CAUTION
Limit to the height on connector periphery:
If the 20-pin (1.27-mm pin spacing) to 14-pin (2.54-mm pin spacing) connector conversion adapter is in use
and the E2 is to be connected to the 14-pin connector, do not mount components with a height of 13 mm or
more on the user system within a rectangle 2 mm from the edges of the connector.
2 mm
2 mm
2 mm 2 mm
Area with limit on mounted components
(heights must be no greater than 13 mm)
2.2.2 Connecting the User System Interface Cable to the 38-Pin Connector
When designing the layout of a user board with a 38-pin connector, reduce cross-talk noise etc. by keeping
other signal lines out of the region where the connector is situated.
As shown in Figure 2.4, an upper limit (5 mm) applies to the heights of other components mounted around
the connector (labeled "Area with limit on mounted components") in the figure.
30 mm
37 1
15 mm
38-pin connector
2-5767004-2 5 mm 38 2
Figure 2.4 Connecting the User System Interface Cable to the 38-Pin Connector of the E20 Emulator
CAUTION
Limit to the height on connector periphery:
For a case where the E20 is connected to a 38-pin connector:
When designing the layout of a user board with a 38-pin connector, reduce cross-talk noise etc. by keeping
other signal lines out of the region where the connector is situated. As shown below, an upper limit (5 mm)
applies to the heights of components mounted around the connector on the user system (indicated by “area
with limit on mounted components” in the figure).
CAUTION
Notes on connector insertion and removal:
When connecting or disconnecting the user-system interface cable and the emulator or user system,
grasp the connector cover at the end of the cable. Pulling the cable itself will damage the wiring.
Also, be aware that the user-system interface cable has the direction in which it must be inserted. If the
cable is connected in the wrong direction, it may be damaged.
Correct example Incorrect example
Table 2.3 and Table 2.4 on the following pages show the pin assignments of the 14-pin connector for JTAG
interface and FINE interface connections, respectively.
25.0
23.0
6 x 2.54 = 15.24 Connector (top view)
(2.54)
Pin 2 Pin 14
Pin 1 Pin 13
0.45
Table 2.3 Pin Assignments of the 14-Pin Connector for JTAG Interface Connection (for Debugging
and Flash Programming)
Table 2.4 Pin Assignments of the 14-Pin Connector for FINE Interface Connection (for Debugging
and Flash Programming)
Figure 2.6 shows the specifications of the 38-pin connector. Table 2.5 shows the pin assignments of the 38-
pin connector for JTAG interface connection with MCUs of the RX610, RX621, RX62N, RX62T, and RX62G
groups. Table 2.6 shows the pin assignments of the 38-pin connector for JTAG interface connection with
MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, and RX72x groups.
During FINE interface connection, use the 38-pin to 14-pin conversion adapter included with the E20 to
connect the emulator to the 14-pin connector.
Note that with the packages which do not have a trace pin, the function to acquire large amounts of trace
data is not available. In such a case, use a 14-pin connector.
37 1
6.91
38 2
Unit: mm
25.4
Connector (top view)
The GND bus lead at the center of the 38-pin connector must be grounded.
Table 2.5 Pin Assignments of the 38-Pin Connector for JTAG Interface Connection with MCUs of
the RX610, RX621, RX62N, RX62T, and RX62G Groups (for Debugging)
Table 2.6 Pin Assignments of the 38-Pin Connector for JTAG Interface Connection with MCUs of
the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups (for
Debugging and Flash Programming)
2.4.1 JTAG Interface Connection between the 14-Pin Connector and MCUs of the RX610 Group
Figure 2.7 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX610 group in JTAG interface connection.
Figure 2.8 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX610 group when programming software is used.
For MCUs of the RX610 group, pin assignments of the 14-pin connector differ between the cases when
debugging is to be executed and when the flash memory is to be programmed by using programming
software. Accordingly, two 14-pin connectors are required to execute both debugging and flash programming
for an MCU of this group.
Pull up at 4.7 kΩ to 10 kΩ
8 MCU
VCC
TCK 1 TCK
TRST# 3 TRST#
TDO 5 TDO
TMS 9 TMS
TDI 11 TDI
13
RES# RES#
Pull down at
4.7 kΩ to 10 kΩ
EMLE 4 EMLE*1
2,12,14
GND
Not 6
connected
Figure 2.7 Example of Connection between the 14-Pin Connector and MCUs of the RX610 Group in
JTAG Interface Connection (for Debugging)
Notes: 1. For details on the handling of the MD0, MD1, and EMLE signals, refer to section 2.5, Notes on
Connection.
2. The output of the reset circuit of the user system must be open collector.
If the hot plug-in facility is to be used, connection to the emulator must be with the TRST# and EMLE signals for the
emulator at the low and high levels, respectively, when power is supplied to the user system (at the time of a
system reset). Ensure that a ceramic capacitor (approx. 0.1 µF) is installed between the RES# pin and GND and
the TRST# signal is pulled down, and include circuitry which can switch the EMLE signal to the high or low level.
Pull up at 4.7 kΩ to 10 kΩ
8 MCU
VCC
RxD 5 TxD4
TxD 11 RxD4
io0 4 MD0*2
io1 6 MD1*2
13
RES# RES#
EMLE
Reset
circuit Pull down at
Open-collector 4.7 kΩ to 10 kΩ
buffer*3
2,12,14
GND
Figure 2.8 Example of Connection between the 14-Pin Connector and MCUs of the RX610 Group
when Programming Software is Used (for Flash Programming)
Notes: 1. Leave open the pins for which no name is shown in the figure for pin assignments of the 14-pin
connector.
2. For details on the handling of the MD0 and MD1 signals, refer to section 2.5, Notes on Connection.
3. The output of the reset circuit of the user system must be open collector.
2.4.2 JTAG Interface Connection between the 14-Pin Connector and MCUs of the RX621, RX62N,
RX62T, and RX62G Groups
Figure 2.9 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX621, RX62N, RX62T, and RX62G groups in JTAG interface connection.
Figure 2.10 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX62T and RX62G groups (112-pin version) when programming software is used.
For MCUs of the RX62T and RX62G groups (112-pin version), pin assignments of the 14-pin connector differ
between the cases when debugging is to be executed and when the flash memory is to be programmed by
using programming software. Accordingly, two 14-pin connectors are required to execute both debugging
and flash programming for MCUs of these groups (112-pin version).
Pull up at 4.7 kΩ to 10 kΩ
8 MCU
VCC
TCK 1 TCK
TRST# 3 TRST#
TDO 5
TDO/TxD1
(RxD)*3
9 TMS
TMS
11 TDI/RxD1
TDI
(TxD)*3
13
RES# RES#
Pull down at
4.7 kΩ to 10 kΩ
2,12,14
GND
Not 6
connected
Figure 2.9 Example of Connection between the 14-Pin Connector and MCUs of the RX621, RX62N,
RX62T, and RX62G Groups in JTAG Interface Connection (for Debugging)
Notes: 1. For details on the handling of the MD0, MD1, and EMLE signals, refer to section 2.5, Notes on
Connection.
2. The output of the reset circuit of the user system must be open collector.
3. The names in parentheses “()” are the pin names of the 14-pin connector for the E1/E20/E2/E2
Lite when programming software is to be used to program flash memory. When programming flash
memory, VCC, GND, and RES# still require connection.
If the hot plug-in facility is to be used, connection to the emulator must be with the TRST# and EMLE signals for the
emulator at the low and high levels, respectively, when power is supplied to the user system (at the time of a system
reset). Ensure that a ceramic capacitor (approx. 0.1 µF) is installed between the RES# pin and GND and the TRST#
signal is pulled down, and include circuitry which can switch the EMLE signal to the high or low level.
Pull up at 4.7 kΩ to 10 kΩ
RxD 5 TxD1*4
TxD 11 RxD1*4
Io3 7 MD0*2
io2 10 MD1*2
13
RES# RES#
EMLE
Reset
circuit
Pull down at
Open-collector
4.7 kΩ to 10 kΩ
buffer*3
2,12,14
GND
Figure 2.10 Example of Connection between the 14-Pin Connector and MCUs of the RX62T and
RX62G Groups (112-Pin Version) when Programming Software is Used (for Flash Programming)
Notes: 1. Leave open the pins for which no name is shown in the figure for pin assignments of the 14-pin
connector.
2. For details on the handling of the MD0 and MD1 signals, refer to section 2.5, Notes on Connection.
3. The output of the reset circuit of the user system must be open collector.
4. Note that TDO and TxD1, and TDI and RxD1 are assigned to different pins in MCUs of the RX62T
and RX62G groups (112-pin version).
2.4.3 JTAG Interface Connection between the 14-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups
Figure 2.11 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T groups in JTAG interface connection.
When rewriting flash memory by programming software (using the boot mode), the input of the main clock to
the MCU is needed. (RX63x only)
Pull up at 4.7 kΩ to 10 kΩ
8 MCU
VCC
TCK 1 TCK
TRST# 3 TRST#
TDO 5
TDO/TxD1
(RxD)*3
TMS 9 TMS
11 TDI/RxD1
TDI
(TxD)*3
13
RES# RES#
Pull down at
4.7 kΩ to 10 kΩ
2,12,14
GND
Not 6
connected
Figure 2.11 Example of Connection between the 14-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups in JTAG Interface Connection (for
Debugging and Flash Programming)
Notes: 1. For details on the handling of the MD, UB, and EMLE signals, refer to section 2.5, Notes on
Connection.
2. The output of the reset circuit of the user system must be open collector.
3. The names in parentheses “()” are the pin names of the 14-pin connector for the E1/E20/E2/E2
Lite when programming software is to be used to program flash memory. When programming flash
memory, VCC, GND, and RES# still require connection.
The MD pin must be connected to debug a ROM-less product of the RX631 group.
If the hot plug-in facility is to be used, connection to the emulator must be with the TRST# and EMLE signals for the
emulator at the low and high levels, respectively, when power is supplied to the user system (at the time of a system
reset). Ensure that a ceramic capacitor (approx. 0.1 µF) is installed between the RES# pin and GND and the TRST#
signal is pulled down, and include circuitry which can switch the EMLE signal to the high or low level.
2.4.4 FINE Interface Connection between the 14-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups
Figure 2.12 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T groups in FINE interface connection.
When rewriting flash memory by programming software (using the boot mode), the input of the main clock to
the MCU is needed. (RX63x only)
Pull up at 4.7 kΩ to 10 kΩ
1
FINEC*5 FINEC
7
MD/FINED MD/FINED
(io3)*4
5
(RxD)*3, 4 TxD1*3
11
(TxD)*3, 4 RxD1*3
13
RES# RES#
Figure 2.12 Example of Connection between the 14-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups in FINE Interface Connection (for Debugging
and Flash Programming)
Notes: 1. For details on the handling of the UB and EMLE signals, refer to section 2.5, Notes on Connection.
2. The output of the reset circuit of the user system must be open collector.
3. The RxD1 and TxD1 signals are NOT required for debugging. These are only used for internal
flash programming with Renesas Flash Programmer.
• Applicable MCUs: RX65x, RX66x, RX67x, RX72x and RX26T
Connect the RxD1 and TxD1 pins when flash memory is programmed through the SCI.
When flash memory is programmed through the FINE interface, they do not need to be connected.
4. The names in parentheses “()” are the pin names of the 14-pin connector for the E1/E20/E2/E2
Lite when programming software is to be used to program flash memory. When programming flash
memory, VCC, GND, and RES# still require connection.
5. For details on the FINEC pins, refer to note 6 in Table 2.4.
2.4.5 FINE Interface Connection between the 14-Pin Connector and MCUs of the RX200 Series,
except RX24T
Figure 2.13 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX200 series in FINE interface connection.
Pull up at 4.7 kΩ to 10 kΩ
7 MD/FINED
MD/FINED
(io3)*4
5
(RxD)*3, 4 TxD1*3
3, 4 11
(TxD)*
RxD1*3
13
RES# RES#
2,12,14
GND
1,3,4,6,9
Not
connected
Figure 2.13 Example of Connection between the 14-Pin Connector and MCUs of the RX200 Series in
FINE Interface Connection (for Debugging and Flash Programming)
Notes: 1. For details on the handling of the UB signal, refer to section 2.5, Notes on Connection.
2. The output of the reset circuit of the user system must be open collector.
3. Connect the RxD1 and TxD1 pins when flash memory is programmed through the SCI.
When flash memory is programmed through the FINE interface, they do not need to be connected.
For details on the handling of the RxD1 and TxD1 signals, refer to section 2.5.14, TxD1 and RxD1
Pins (Flash Programming via an SCI).
4. The names in parentheses “()” are the pin names of the 14-pin connector for the E1/E20/E2/E2
Lite when programming software is to be used to program flash memory. When programming flash
memory, VCC, GND, and RES# still require connection.
2.4.6 FINE Interface Connection between the 14-Pin Connector and MCUs of the RX100 Series
Figure 2.14 shows a recommended circuit for connection between the 14-pin connector and MCUs of the
RX100 series in FINE interface connection.
Pull up at 4.7 kΩ to 10 kΩ
7 MD/FINED
MD/FINED
(io3)*4
5
(RxD)*3, 4 TxD1*3
11
(TxD)*3, 4
RxD1*3
13
RES# RES#
2,12,14
GND
1,3,4,6,9
Not
connected
Figure 2.14 Example of Connection between the 14-Pin Connector and MCUs of the RX100 Series in
FINE Interface Connection (for Debugging and Flash Programming)
Notes: 1. In MCUs of the RX100 series, the UB pin connection is not required. Also, the debugging of
programs in the USB I/F mode is not possible. During debugging, pull up the pin on the user
system that selects the SCI I/F mode or USB I/F mode so that the pin is selecting the SCI I/F
mode.
2. The output of the reset circuit of the user system must be open collector.
3. Connect the RxD1 and TxD1 pins when flash memory is programmed through the SCI.
When flash memory is programmed through the FINE interface, they do not need to be connected.
For details on the handling of the RxD1 and TxD1 signals, refer to section 2.5.14, TxD1 and RxD1
Pins (Flash Programming via an SCI).
4. The names in parentheses “()” are the pin names of the 14-pin connector for the E1/E20/E2/E2
Lite when programming software is to be used to program flash memory. When programming flash
memory, VCC, GND, and RES# still require connection.
2.4.7 JTAG Interface Connection between the 38-Pin Connector and MCUs of the RX610, RX621,
RX62N, RX62T, and RX62G Groups
Figure 2.15 shows a recommended circuit for connection between the 38-pin connector and MCUs of the
RX610, RX621, RX62N, RX62T, and RX62G groups in JTAG interface connection.
Pull up at 4.7 kΩ to 10 kΩ
12,14
VCC
6
TRCLK TRCLK
32
TRSYNC TRSYNC
30
TRDATA0 TRDATA0
28
TRDATA1 TRDATA1
26
TRDATA2 TRDATA2
24
TRDATA3 TRDATA3
TCK 15 TCK
TRST# 21 TRST#
TDO 11 TDO
TMS 17 TMS
TDI 19 TDI
9
RES# RES#
Pull down at
4.7 kΩ to 10 kΩ
MD0 2 MD0*1
EMLE 3 EMLE*1
5
GND
1,4,7,10,13,16,18,20,
22,23,25,27,29,31,
Not 33,34,35,36,37,38
connected
Figure 2.15 Example of Connection between the 38-Pin Connector and MCUs of the RX610, RX621,
RX62N, RX62T, and RX62G Groups in JTAG Interface Connection (for Debugging)
Notes: 1. For details on the handling of the MD0, MD1, and EMLE signals, refer to section 2.5, Notes on
Connection.
2. The output of the reset circuit of the user system must be open collector.
3. When using programming software to program flash memory, connect the emulator connector and
target MCU with reference to Figure 2.8 for an MCU of the RX610, and Figure 2.9 and Figure 2.10
for an MCU of the RX621, RX62N, RX62T, or RX62G. In debugging, refer to Figure 2.15 for the
connector numbers for emulator connection.
The GND bus lead at the center of the 38-pin connector must be grounded.
If the hot plug-in facility is to be used, connection to the emulator must be with the TRST# and EMLE signals for the
emulator at the low and high levels, respectively, when power is supplied to the user system (at the time of a
system reset). Ensure that a ceramic capacitor (approx. 0.1 µF) is installed between the RES# pin and GND and
the TRST# signal is pulled down, and include circuitry which can switch the EMLE signal to the high or low level.
2.4.8 JTAG Interface Connection between the 38-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups
Figure 2.16 shows a recommended circuit for connection between the 38-pin connector and MCUs of the
RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T groups in JTAG interface connection.
When rewriting flash memory by programming software (using the boot mode), the input of the main clock to
the MCU is needed (RX63x only).
Pull up at 4.7 kΩ to 10 kΩ
12,14
VCC
6
TRCLK TRCLK
32
TRSYNC TRSYNC
30
TRDATA0 TRDATA0
28
TRDATA1 TRDATA1
26
TRDATA2 TRDATA2
24
TRDATA3 TRDATA3
TCK 15 TCK
TRST# 21 TRST#
11 TDO
TDO
TMS 17 TMS
19 TDI
TDI
9
RES# RES#
Pull down at
4.7 kΩ to 10 kΩ
EMLE 3 EMLE*1
5
GND
1,4,7,10,13,16,18,20,
22,23,25,27,29,31,
Not 33,34,35,36,37,38
connected
Figure 2.16 Example of Connection between the 38-Pin Connector and MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups in JTAG Interface Connection (for
Debugging and Flash Programming)
Notes: 1. For details on the handling of the MD, UB, and EMLE signals, refer to section 2.5, Notes on
Connection.
2. The output of the reset circuit of the user system must be open collector.
3. When using programming software to program flash memory, connect the emulator connector and
target MCU with reference to Figure 2.11 for an MCU of the RX63x, RX64x, RX65x, RX66x,
RX67x, RX71x, RX72x, or.RX26T In debugging, refer to Figure 2.16 for the connector numbers for
emulator connection.
The GND bus lead at the center of the 38-pin connector must be grounded.
The MD pin must be connected to debug a ROM-less product of the RX631 group.
If the hot plug-in facility is to be used, connection to the emulator must be with the TRST# and EMLE signals for the
emulator at the low and high levels, respectively, when power is supplied to the user system (at the time of a
system reset). Ensure that a ceramic capacitor (approx. 0.1 µF) is installed between the RES# pin and GND and
the TRST# signal is pulled down, and include circuitry which can switch the EMLE signal to the high or low level.
For the handling of pins while the E1/E20/E2/E2 Lite is not in use, refer to the hardware manual for the MCU.
If the user system includes a user logic reset circuit, the output signal from the reset circuit must be
connected to the RES# pin of the connector via an open-collector buffer as shown below. If there is no reset
circuit, the RES# pin from the connector must be directly connected to the RES# pin of the MCU.
When you use hot plug-in, install a ceramic capacitor (approx. 0.1 µF) between the RES# pin and GND in
order to suppress a noise to the RES# pin that would occur when the emulator is connected.
4.7 kΩ to 10 kΩ MCU
Connector
RES# RES#
0.1 uF
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
When debugging with the E1/E20/E2/E2 Lite, set the EMLE pin to the high level. When using the MCU
without the emulator, or when rewriting flash memory by the programming software, set the EMLE pin to the
low level.
When the EMLE pins of the E1/E20/E2/E2 Lite and the MCU are connected, the E1/E20/E2/E2 Lite operates
the EMLE pin. Therefore, pull the levels on the EMLE pin down on the user system. When the EMLE pins of
the E1/E20/E2/E2 Lite and the MCU are not connected, set up circuitry on the user system to switch the level
on the pin between the high and low levels.
If hot plug-in is to be used, ensure that the user system includes circuitry for switching the level on the EMLE
pin to the high to low level, and turn the power on with the EMLE pin at the high level.
In the RX26T, the EMLE pin function is multiplexed with a port pin function. After connecting with the
debugger, it can be used as a port function.
EMLE EMLE
4.7 kΩ to 10 kΩ
EMLE*1 EMLE
Note: 1. Connecting the pins is not necessary if the emulators do not control the EMLE pin.
4.7 kΩ to 10 kΩ 1 kΩ to 3 kΩ
Connector
MCU
EMLE EMLE
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
When debugging with the E1/E20/E2/E2 Lite, or when using the MCU without the emulator, set the EMLE pin
to the low level.
When the EMLE pins of the E1/E20/E2/E2 Lite and the MCU are connected, the E1/E20/E2/E2 Lite operates
the EMLE pin. Therefore, pull the levels on the EMLE pin down on the user system. When the EMLE pins of
the E1/E20/E2/E2 Lite and the MCU are not connected (e.g. when only FINE interface connection is used),
pull the levels on the EMLE pin down at 4.7 kΩ to 10 kΩ on the user system.
If the MCU does not have an EMLE pin, it is not necessary to connect it to the emulator connector. In this
case, only FINE interface connection is available.
In the RX26T, the EMLE pin function is multiplexed with a port pin function. After connecting with the
debugger, it can be used as a port function.
Connector MCU
EMLE EMLE
4.7 kΩ to 10 kΩ
Connector MCU
EMLE EMLE
4.7 kΩ to 10 kΩ
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
2.5.4 MODE Pin (JTAG Interface Connection for MCUs of the RX610, RX621, RX62N, RX62T, and
RX62G Groups)
Connecting the MD0 and MD1 pins of the E1/E20/E2/E2 Lite and the target MCU allows debugging without
switching the MD0 and MD1 pins on the user system because the E1/E20/E2/E2 Lite controls these pins.
Debugging cannot be done in boot mode.
[When the E1/E20/E2/E2 Lite controls the MD0 and MD1 pins]
Use a 4.7-kΩ to 10-kΩ resistor to pull the MD0 and MD1 pins up or down according to the target MCU
operating mode to be used.
When using the programming software to program the on-chip flash memory, set the flash programming
software so that high-level and low-level signals are output from the MD0 and MD1 pins, respectively.
[When the E1/E20/E2/E2 Lite does not control the MD0 and MD1 pins]
Use a 4.7-kΩ to 10-kΩ resistor to pull the MD0 and MD1 pins up or down according to the target MCU
operating mode to be used.
When using the programming software to program the on-chip flash memory, use switches to pull the MD0
pin up and the MD1 pin down.
Connector MCU
1
Pull up or pull down at 4.7 kΩ to 10 kΩ*
MD0 MD0
Note: 1. Pull up or pull down the pins according to the operating mode
of the MCU used.
[When the emulator does not control the MD0 and MD1 pins]
VCC VCC
4.7 kΩ to 10 kΩ 4.7 kΩ to
10 kΩ
4.7 kΩ to
4.7 kΩ to MCU
Connector 10 kΩ
10 kΩ
MD0 MD0
MD1 MD1
Figure 2.20 Connection of the MODE Pins (JTAG Interface Connection for the RX610, RX621, RX62N,
RX62T, and RX62G Groups)
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
2.5.5 MODE Pin (JTAG Interface Connection for MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and RX26T Groups)
The MD pin must be connected to debug a ROM-less product of the RX631 group.
Connecting the MD pin of the E1/E20/E2/E2 Lite and the target MCU allows debugging without switching the
MD pin on the user system because the E1/E20/E2/E2 Lite controls this pin.
Use a 4.7-kΩ resistor to pull the MD pin up or a 4.7-kΩ to 10-kΩ resistor to pull the MD pin down according
to the target MCU operating mode to be used.
When using the programming software to program the on-chip flash memory, set the flash programming
software so that a low-level signal is output from the MD pin.
Use a 4.7-kΩ resistor to pull the MD pin up or a 4.7-kΩ to 10-kΩ resistor to pull the MD pin down according
to the target MCU operating mode to be used.
When using the programming software to program the on-chip flash memory, use switches to pull the MD pin
down.
MD MD
Figure 2.21 Connection of the MODE Pin (JTAG Interface Connection for the RX63x, RX64x, RX65x,
RX66x, RX67x, RX71x, and RX72x Groups)
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
2.5.6 MODE Pin (FINE Interface Connection for MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, and RX72x Groups, RX200 Series, and RX100 Series)
The MD/FINED pin must be connected to the connector as it is used as a communication channel.
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
2.5.7 UB Pin
Refer to Table 2.7 regarding whether the UB pin that controls entry to each boot mode is or is not connected
to the emulator. The UB pin is only referred to as the name of a port name for some MCUs. In such cases,
confirm the pin corresponding to the UB pin in the section on operating modes in the user’s manual for the
hardware of the target MCU you are using.
Connecting the UB pins of the E1/E20/E2/E2 Lite and the target MCU allows debugging in the user boot
mode and programming of the on-chip flash memory without switching the level on the UB pin in the user
system because the E1/E20/E2/E2 Lite controls the pin.
When the UB pin of the E1/E20/E2/E2 Lite is not connected to that of the MCU, specific handling of the pin
may be required according to whether debugging is to be in the user boot mode and whether the MCU has
the USB boot mode.
Table 2.7 Connection of the UB Pin of the MCU and the Emulator
For an MCU having user boot mode, debugging can proceed in the user boot mode.
Use a 4.7-kΩ to 10-kΩ resistor to pull the UB pin up or down according to the MCU operating mode to be
used in the user system without the emulator connected.
When using the programming software to program the on-chip flash memory, set the flash programming
software so that a low-level signal is output from the UB pin.
Even if the MCU has user boot mode, debugging cannot proceed in the user boot mode.
Refer to Table 2.7 for handling of the UB pin during debugging. When programming software is to be used to
program the on-chip flash memory, use the switch circuit to pull the UB pin down. When the UB pin is used
on the user system without the emulator connected, set the switch circuit on the user system to place the
MCU in the required operating mode.
4.7 kΩ to
Connector 4.7 kΩ to
10 kΩ MCU
10 kΩ
UB UB
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
For details on connection of the UB pin of the MCU and the emulator, refer to Table 2.7.
Since whether the MCU you are using supports or does not support USB boot mode depends on the MCU,
refer to the section on operating modes in the hardware manual of the target MCU you are using.
In JTAG interface connection, the TCK, TDO, TMS, and TDI pins are exclusively used by the E1/E20/E2/E2
Lite. Any functions that are multiplexed on these pins are not available.
Make the lengths of the signal lines for the JTAG pins (TCK, TMS, and TDI) as uniform as is possible
(keeping the variation within ±20 mm is recommended). The wiring run for the TDO pin must be the shortest.
Use a 4.7-kΩ to 10-kΩ resistor to pull these pins up and do not arrange these signal lines in parallel with or
across other high-speed signal lines.
Connector VCC
MCU
TCK, 4.7 kΩ to 10 kΩ
TDO,
TMS,
TDI
Figure 2.23 Connection of the TCK, TDO, TMS, and TDI Pins
Do not use adjacent resistors for pull-up of the TCK pin because they may affect or may be affected from other pins.
For the TCK pin, add a grounded guard ring to the pattern between the connector and the MCU.
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
In JTAG interface connection, the TRST# pin is exclusively used by the E1/E20/E2/E2 Lite. Any functions
that are multiplexed on this pin are not available. Use a 4.7-kΩ to 10-kΩ resistor to pull the TRST# pin down.
Connector MCU
TRST# TRST#
4.7 kΩ to 10 kΩ
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
The FINE interface connection for the RX63x group supports a 2-wire transfer system through the FINEC
and MD/FINED pins. The FINEC and MD/FINED pins are exclusively used by the E1/E20/E2/E2 Lite. Any
functions that are multiplexed on the FINEC pin are not available.
The FINE interface connection for the RX64x, RX65x, RX66x, RX67x, RX71x, and RX72x groups, RX200
series, and RX100 series supports a 1-wire transfer system through the MD/FINED pin. The MD/FINED pin
is the only pin exclusively used by the E1/E20/E2/E2 Lite. Any functions that are multiplexed on the
MD/FINED pin are not available. Do not change the registers (bits) associated with the relevant port function.
It is not necessary to connect the FINEC pin since this pin is not used.
Use a 4.7-kΩ resistor to pull the MD/FINED pin up. Use a 4.7-kΩ to 10-kΩ resistor to pull the FINEC pin up.
Do not arrange these signal lines in parallel with or across other high-speed signal lines.
VCC VCC
MD/FINED MD/FINED
Do not use adjacent resistors for pull-up of the FINEC pin because they may affect or may be affected from other
pins.
For the FINEC pin, add a grounded guard ring to the pattern between the connector and the MCU.
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
The TRCLK, TRSYNC, and TRDATA0 to TRDATA3 pins are intended for the acquisition of large amounts of
trace data when the E20 is in use with a 38-pin connector. The trace signals (TRCLK, TRSYNC, and
TRDATA0 to TRDATA3) operate at high speed. Make the lengths of these signal lines as uniform as is
possible (keeping the variation within ±10 mm is recommended). Do not split the signal lines or wire any
other signal line close to these lines and make the lines as short as possible. Pull up the TRCLK, TRSYNC,
and TRDATA0 to TRDATA3 signals at 4.7 kΩ to 10 kΩ. Do not arrange these signal lines in parallel with or
across other high-speed signal lines.
VCC
Connector MCU
TRCLK,
TRSYNC, 4.7 kΩ to 10 kΩ
TRDATA0,
TRDATA1,
TRDATA2,
TRDATA3
Trace signals (TRCLK, TRSYNC, and TRDATA0 to TRDATA3) operate at high speed. Do not place any devices that
will produce noise over these lines.
For the TRCLK pin, add a grounded guard ring to the pattern between the connector and the MCU.
Do not install capacitors, series resistors, or filters on signal lines; if this is attempted, correct communication may not
be established.
It is not necessary to connect trace signals (TRSYNC1 and TRDATA4 to TRDATA7) to the 38-pin connector.
2.5.12 GND
The pins of the connector marked "GND" must be at the same ground level as the VSS pin of the MCU.
2.5.13 VCC
Connect the VCC of the connector to the VCC (power supply) of the user system.
Use the emulator within the power supply voltage of 1.8 V to 5.5 V and within the operating voltage range of
the MCU.
When power is supplied to the user system from other than the emulator, the E1/E20/E2/E2 Lite consumes
the power supply for the last output and first input buffers of the emulator.
When using the power supply function of the E1, E2, or E2 Lite, check the voltage that is actually being
supplied to the user system since this depends on the environment.
Power supply from the E1/E2/E2 Lite depends on the quality of the USB power supply of the host machine, and as
such, precision is not guaranteed. When writing a program that requires reliability, do not use the power supply
function of the E1/E2/E2 Lite. Use a stable, separate power supply for the user system. When writing a program for
mass production processes, use the Renesas Flash Programmer or the Flash Development Toolkit.
For details on the programming software, refer to the following:
Renesas Flash Programmer: https://www.renesas.com/RFP
Flash Development Toolkit: https://www.renesas.com/FDT
When the MCU is changed to low power mode, the internal debugging circuit continues to run. This leads to the MCU
drawing more electric current than is listed in the DC characteristics of the target MCU.
WARNING
Warning for Turning the Power On/Off:
When supplying power, ensure that there are no shorts between Vcc and GND. Only connect the
E1/E20/E2/E2 Lite after confirming that there are no mismatches of alignment on the user system port
connector. Incorrect connection will result in the host machine, the E1/E20/E2/E2 Lite, and the user
system emitting smoke or catching fire.
When flash memory is programmed via an SCI, the RxD1 and TxD1 pins must be connected to the emulator.
Connecting these pins to the emulator is not needed when flash memory is to be programmed via the FINE
interface (programming via the FINE interface is only available for MCUs of the RX65x, RX66x, RX67x, and
RX72x groups, RX200 series, and RX100 series) or for debugging. If the MCU has multiple RxD1 or TxD1
pins, check the hardware manual of the MCU to confirm which of the pins is used in boot mode.
When using the current consumption tuning solution of the E2, pin 11 of the user interface (14-pin connector)
is a CMOS output from the emulator rather than Hi-Z. Check the following conditions before use.
2.6.1 Internal Circuits of the E1 (JTAG Interface Connection for MCUs of the RX600 Series, RX700
Series and RX26T)
Figure 2.27 shows the internal circuits of the E1 with MCUs of the RX600 series, RX700 series and RX26T
connected via the JTAG interface.
User-side
100 kΩ x 5 connector
Power-supply VCC
circuit 8
(only for use in
the mode to 10 kΩ
supply power to
the user system)
100 kΩ
74LVC125 22 Ω
(MD1)*1 *2
Emulator 7
control 74LVC8T245
circuit
74LVC125 22 Ω
(MD0)*1 *2
10
74LVC8T245
3.3 V
100 kΩ
74LVC125 22 Ω
GND
14
3.3 V
470 Ω
DTC124EE
DTC124EE
74LVC8T245
22 Ω
RES# 13
GND
2, 12
Self-recovering
fuse
Figure 2.27 Internal Circuits of the E1 with MCUs of the RX600 Series, RX700 Series and RX26T
Connected via the JTAG Interface
Notes: 1. The signals marked with () operate even if they are not connected to the user system.
2. When using MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T
groups, read the MD1 pin and MD0 pin as the MD pin and UB pin, respectively.
2.6.2 Internal Circuits of the E1 (FINE Interface Connection for MCUs of the RX63x, RX64x, RX65x,
RX66x, RX67x, RX71x, RX72x and RX26T Groups)
Figure 2.28 shows the internal circuits of the E1 with MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and RX26T groups connected via the FINE interface.
User-side
100 kΩ x 3 connector
Power-supply VCC
circuit 8
(only for use in
the mode to
10 kΩ
supply power to
the user system)
3.3 V
74LVC125 22 Ω (EMLE)*1
4
74LVC8T245
100 kΩ
74LVC125 1 kΩ
74LVC125 22 Ω
MD/FINED
Emulator 7
control 74LVC8T245
circuit
74LVC125 22 Ω
(UB)*1
10
74LVC8T245 3.3 V
100 kΩ
74LVC125 22 Ω
GND
14
3.3 V
470 Ω
DTC124EE
DTC124EE
74LVC8T245 22 Ω
RES#
13
GND
2, 12
Self-recovering
fuse
3, 5, 6,
9, 11
Figure 2.28 Internal Circuits of the E1 with MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and RX26T Groups Connected via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
2.6.3 Internal Circuits of the E1 (FINE Interface Connection for MCUs of the RX200 Series, RX100
Series, and except RX26T)
Figure 2.29 shows the internal circuits of the E1 with MCUs of the RX200 series and RX100 series
connected via the FINE interface.
User-side
100 kΩ x 2 connector
Power-supply VCC
circuit 8
(only for use in
the mode to
10 kΩ
supply power to
the user system)
3.3 V
74LVC125 1 kΩ
74LVC125 22 Ω
MD/FINED
Emulator 7
control 74LVC8T245
circuit
74LVC125 22 Ω
(UB)*1
10
74LVC8T245 3.3 V
100 kΩ
74LVC125 22 Ω
GND
14
3.3 V
470 Ω
DTC124EE
DTC124EE
74LVC8T245
22 Ω
RES#
13
GND
2, 12
Self-recovering
fuse 1, 3, 4, 5,
6, 9, 11
Figure 2.29 Internal Circuits of the E1 with MCUs of the RX200 Series and RX100 Series Connected
via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
2.6.4 Internal Circuits of the E20 (JTAG Interface Connection for MCUs of the RX600 Series, RX700
Series and RX26T)
Figure 2.30 shows the internal circuits of the E20 with MCUs of the RX600 series, RX700 series and RX26T
connected via the JTAG interface.
Figure 2.31 shows the internal circuits of the E20 in the tracing circuit section.
User-side
100 kΩ x 5 connector
VCC
14
10 kΩ
100 kΩ
74LVC125 22 Ω
(MD1)*1 *2
Emulator 8
control 74LVC8T245
circuit
74LVC125 22 Ω
(MD0)*1 *2
2
74LVC8T245 3.3 V
100 kΩ
74LVC125 22 Ω
GND
5
3.3 V
470 Ω
DTC124EE
DTC124EE
74LVC8T245 22 Ω
RES#
9
GND GND
bus lead
Self-recovering
fuse
1
Figure 2.30 Internal Circuits of the E20 with MCUs of the RX600 Series, RX700 Series and RX26T
Connected via the JTAG Interface
Notes: 1. The signals marked with () operate even if they are not connected to the user system.
2. When using MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T
groups, read the MD1 pin and MD0 pin as the MD pin and UB pin, respectively.
User-side connector
on the user system
interface cable
10 kΩ x 6
VCC
Power-supply 12
circuit VCC_REF
220 Ω
3.3 V
Figure 2.31 Internal Circuits of the E20 in the Tracing Circuit Section
2.6.5 Internal Circuits of the E2 (JTAG Interface Connection for MCUs of the RX600 Series, RX700
Series and RX26T)
Figure 2.32 shows the internal circuits of the E2 with MCUs of the RX600 series, RX700 series and RX26T
connected via the JTAG interface.
User-side
1 MΩ x 6 connector
Power-supply
VCC
circuit 8
(only for use in
the mode to
100 kΩ
supply power to
the user system) 3.3 V
74LVC1T45 47 Ω (EMLE)*1
4
74LVC8T245
1 MΩ 3 MΩ
74LVC1T45 47 Ω
(MD0)*1 *2
10
74LVC8T245
3.3 V
100 kΩ
GND
14
0.1uF
74LVC1T45 47 Ω
RES# 13
74LVC1T45
GND
2, 12
Self-recovering
fuse
Figure 2.32 Internal Circuits of the E2 with MCUs of the RX600 Series, RX700 Series and RX26T
Connected via the JTAG Interface
Notes: 1. The signals marked with () operate even if they are not connected to the user system.
2. When using MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T
groups, read the MD1 pin and MD0 pin as the MD pin and UB pin, respectively.
2.6.6 Internal Circuits of the E2 (FINE Interface Connection for MCUs of the RX63x, RX64x, RX65x,
RX66x, RX67x, RX71x, RX72x and RX26T Groups)
Figure 2.33 shows the internal circuits of the E1 with MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and RX26T groups connected via the FINE interface.
User-side
1 MΩ x 3 connector
Power-supply
VCC
circuit 8
(only for use in
the mode to
supply power to 100 kΩ
the user system) 3.3 V
74LVC1T45 47 Ω (EMLE)*1
4
74LVC8T245
3 MΩ
74LVC1T45 1 kΩ
74LVC1T45 47 Ω
MD/FINED
7
74LVC8T245
Emulator
control
circuit
74LVC1T45 47 Ω
(UB)*1
10
74LVC8T245
3.3 V
100 kΩ
GND
14
0.1uF
74LVC1T45 47 Ω
RES#
13
74LVC1T45
GND
2, 12
Self-recovering
fuse
3,5,6,9,11
Figure 2.33 Internal Circuits of the E2 with MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and RX26T Groups Connected via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
2.6.7 Internal Circuits of the E2 (FINE Interface Connection for MCUs of the RX200 Series, RX100
Series, and except RX26T)
Figure 2.34 shows the internal circuits of the E2 with MCUs of the RX200 series and RX100 series
connected via the FINE interface.
User-side
Power-supply 1 MΩ x 2 connector
circuit VCC
(only for use in
8
the mode to
supply power to 100 kΩ
the user system)
3.3 V
74LVC1T45 1 kΩ
74LVC1T45 47 Ω
MD/FINED
7
74LVC8T245
Emulator
control
circuit
74LVC1T45 47 Ω
(UB)*1
10
74LVC8T245
3.3 V
100 kΩ
GND
14
0.1uF
74LVC1T45 47 Ω
RES#
13
74LVC8T245
GND
2, 12
Self-recovering
fuse
1,3,4,5,6,
9,11
Figure 2.34 Internal Circuits of the E2 with MCUs of the RX200 Series and RX100 Series Connected
via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
2.6.8 Internal Circuits of the E2 Lite (JTAG Interface Connection for MCUs of the RX600 Series,
RX700 Series and RX26T)
Figure 2.35 shows the internal circuits of the E2 Lite with MCUs of the RX600 series, RX700 series and
RX26T connected via the JTAG interface.
User-side
100 kΩ x 7 connector
Power-supply VCC
circuit 8
(only for use in
the mode to 1 MΩ
supply power to
the user system)
74LVC125 47 Ω
TCK
1
74LVC125 47 Ω
TRST#
3.3 V 3
74LVC2T45 47 Ω
TDO
5
74LVC125 47 Ω
TMS
9
74LVC125 47 Ω
TDI
11
74LVC125 47 Ω (EMLE)*1
4
74LVC8T245
74LVC125 47 Ω
(MD1)*1 *2
Emulator 7
control 74LVC8T245
circuit
74LVC125 47 Ω
(MD0)*1 *2
10
74LVC8T245
3.3 V
100 kΩ
74LVC125 47 Ω
GND
14
74LVC125
74LVC8T245
47 Ω
RES# 13
GND
2, 12
Self-recovering
fuse
Figure 2.35 Internal Circuits of the E2 Lite with MCUs of the RX600 Series, RX700 Series and RX26T
Connected via the JTAG Interface
Notes: 1. The signals marked with () operate even if they are not connected to the user system.
2. When using MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x, RX71x, RX72x and RX26T
groups, read the MD1 pin and MD0 pin as the MD pin and UB pin, respectively.
2.6.9 Internal Circuits of the E2 Lite (FINE Interface Connection for MCUs of the RX63x, RX64x,
RX65x, RX66x, RX67x, RX71x, RX72x and RX26T Groups)
Figure 2.36 shows the internal circuits of the E2 Lite with MCUs of the RX63x, RX64x, RX65x, RX66x,
RX67x, RX71x, RX72x and RX26T groups connected via the FINE interface.
User-side
100 kΩ x 4 connector
Power-supply VCC
circuit 8
(only for use in
the mode to 1 MΩ
supply power to
the user system)
74LVC125 47 Ω
FINEC
1
3.3 V
74LVC125 47 Ω (EMLE)*1
4
74LVC8T245
74LVC125 1 kΩ
74LVC125 47 Ω
MD/FINED
7
74LVC8T245
Emulator 74LVC125
control
47 Ω
(UB)*1
10
circuit 74LVC8T245
3.3 V
100 kΩ
74LVC125 47 Ω
GND
14
74LVC125
74LVC8T245 47 Ω
RES#
13
GND
2, 12
Self-recovering
fuse
3,5,6,9,11
Figure 2.36 Internal Circuits of the E2 Lite with MCUs of the RX63x, RX64x, RX65x, RX66x, RX67x,
RX71x, RX72x and Groups Connected via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
2.6.10 Internal Circuits of the E2 Lite (FINE Interface Connection for MCUs of the RX200 Series,
RX100 Series, and except RX26T)
Figure 2.37 shows the internal circuits of the E2 Lite with MCUs of the RX200 series and RX100 series
connected via the FINE interface.
User-side
100 kΩ x 3 connector
Power-supply VCC
circuit 8
(only for use in
the mode to
supply power to
the user system)
3.3 V
74LVC125 1 kΩ
74LVC125 47 Ω
MD/FINED
7
74LVC8T245
74LVC125 47 Ω
(UB)*1
10
Emulator 74LVC8T245 3.3 V
control
circuit 74LVC125
100 kΩ
47 Ω
GND
14
74LVC125
74LVC8T245 47 Ω
RES#
13
GND
2, 12
Self-recovering
fuse
1,3,4,5,6,
9,11
Figure 2.37 Internal Circuits of the E2 Lite with MCUs of the RX200 Series and RX100 Series
Connected via the FINE Interface
Note: The signals marked with () operate even if they are not connected to the user system.
The E1/E20/E2/E2 Lite does not support JTAG chain connections. When designing user systems, do not
connect the TDI and TDO signals of the device to the boundary scan loop, or separate them by using a
switch.
Connector of the
Emulator MCU
TDI
TDO OCD
JTAG
IC IC IC
Connector
TDI TDO TDI TDO TDI TDO
TAP TAP TAP
User system
For a debugging environment where there is a difference in potential between the GND of the user system
and that of the host PC, use the isolator for the E1 emulator (R0E000010ACB10) or for the E20 emulator
(R0E000200ACB10) which is separately available from Renesas. Use the isolator for the E1
(R0E000010ACB10) with the E2/E2 Lite in such situations.
A small connector conversion adapter for the E1 (R0E000010CKZ11) is separately available from Renesas
for user system boards which are too small to mount the 14-pin connector that is the standard connector for
the E1/E2/E2 Lite. By using the adapter, you can reduce the area taken up by the connector mounted on
your system.
However, when you use the small connector conversion adapter for the E1, be aware that the pin
assignments of the connector differ from those of the standard interface connector for the E1/E2/E2 Lite.
Table 2.8 shows the pin assignments of the 14-pin connector when the small connector conversion adapter
for the E1 is used.
CN1
CN2
Figure 2.39 Usage of the Small Connector Conversion Adapter for the E1
Table 2.8 Pin Assignments of the Connector when the Small Connector Conversion Adapter for the
E1 is Used
3. Notes on Usage
Refer to the notes indicated by ‘√’ in Table 3.1 and Table 3.2 according to the MCU you are using.
RX72T RX63T
RX72M RX62T
RX71M RX651 RX63N
RX72N RX62N
RX660 RX65N RX631 RX610
RX671 RX621
RX66T RX65W-A RX634
RX66N RX62G
RX64M RX630
3.1 Turning the Power On/Off √ √ √ √ √ √
3.2 Power Supply Function of the √ √ √ √ √ √
E1/E2/E2 Lite
3.3 Reset √ √ √ √ √ √
3.4 FINE Communication Interface √ √ √ √
3.5 Clocks √ √ √ √ √ √
3.6.1 Option Function Select √ √ √ √
Register 1 (OFS1)
3.6.2 Endian Select Registers √ √ √ √
(MDEB and MDES)
3.6.3 Flash Access Window Register √ √
(FAW)
3.6.4 Endian Select Register (MDE) √ √
and Bank Select Register
(BANKSEL)
3.7 Memory Protection Unit (MPU) √ √ √ √ √
3.8.1 Registers Related to Flash √ √ √ √ √ √
Memory
3.8.2 Lock Bits √ √ √ √
3.8.3 Area Protection √ √
3.8.4 Startup Program Protection
Function
3.8.5 Trusted Memory √ √ √
3.8.6 ROM Cache Function √
3.8.7 Debugging in Dual Mode √ √
3.9 DMAC and DTC √ √ √ √ √ √
3.10 Debugging Functions √ √ √ √ √ √
3.11 Differences between Operation √ √ √ √ √ √
of the MCU without the Emulator
and Debugging
3.12 MCUs that are Used in √ √ √ √ √ √
Debugging
RX23T RX140
RX231 RX130
RX24U RX21A
RX26T RX230 RX220 RX113
RX24T RX210
RX23W RX111
RX23E-A RX110
3.1 Turning the Power On/Off √ √ √ √ √ √
3.2 Power Supply Function of the √ √ √ √ √ √
E1/E2/E2 Lite
3.3 Reset √ √ √ √ √ √
3.4 FINE Communication Interface √ √ √ √ √ √
3.5 Clocks √ √ √ √ √ √
3.6.1 Option Function Select Register √ √ √ √ √ √
1 (OFS1)
3.6.2 Endian Select Registers (MDEB √ √ √ √ √ √
and MDES)
3.6.3 Flash Access Window Register √
(FAW)
3.6.4 Endian Select Register (MDE) √
and Bank Select Register (BANKSEL)
3.7 Memory Protection Unit (MPU) √ √ √ √
3.8.1 Registers Related to Flash √ √ √ √ √ √
Memory
3.8.2 Lock Bits √ √
3.8.3 Area Protection √ √ √ √
3.8.4 Startup Program Protection √ √ √
Function
3.8.5 Trusted Memory √
3.8.6 ROM Cache Function √
3.8.7 Debugging in Dual Mode √
3.9 DMAC and DTC √ √ √ √ √ √
3.10 Debugging Functions √ √ √ √ √ √
3.11 Differences between Operation of √ √ √ √ √ √
the MCU without the Emulator and
Debugging
3.12 MCUs that are Used in √ √ √ √ √ √
Debugging
3.1.1 When a Separate Power Supply is Used for the User System
(1) Disconnect the emulator from the emulator debugger or programming software.
Disconnections may vary depending on software.
(2) Turn off the user system.
Turn off the user system.
(3) Close the emulator debugger or programming software.
Close the emulator debugger or programming software.
(4) Turn off the emulator and disconnect the emulator.
When using the E20, turn off its power switch. Disconnect the USB interface cable from the E1/E2/E2
Lite. The E1/E2/E2 Lite is turned off by disconnecting from the USB interface cable.
(5) Disconnect the user system.
Disconnect the user-system interface cable from the user system.
CAUTION
Notes on the User System Power Supply:
While the power of the user system is on, do not turn off the host machine, unplug the USB interface
cable, or turn off the power switch of the E20.
The user system may be damaged due to leakages current.
3.1.2 When Power is Supplied to the User System from the Emulator (E1/E2/E2 Lite Only)
(1) Disconnect the emulator from the emulator debugger or programming software.
Disconnections may vary depending on software.
(2) Close the emulator debugger or programming software.
Close the emulator debugger or programming software.
(3) Turn off the emulator and disconnect the emulator.
Disconnect the USB interface cable from the emulator, then turn off the emulator.
(4) Disconnect the user system.
Disconnect the user-system interface cable from the user system.
When using the power supply function of the E1, E2, or E2 Lite, check the voltage that is actually being
supplied to the user system since this depends on the environment.
3.3 Reset
If a pin reset or an internal reset occurs under either of the following conditions, refer to Table 3.3, showing
the notes on pin resets, or Table 3.4, showing notes on internal resets. The points to note depend on the
operating mode of the MCU and communication interface of the emulator.
• While the user program is being executed in the on-chip ROM disabled extended mode or user boot
mode
• While the user program is being executed via FINE communication interface
A software reset does not occur if either of the following operations is performed at the address of an
instruction that causes a software reset.
• Stepping
• Running in a state where a software breakpoint or a hardware (pre-execution) breakpoint is set to the
address of an instruction that causes a software reset
This note only applies to JTAG communications. Do not allow a software reset during FINE communications.
A software reset will make the emulator unable to control the microcontroller.
The error message "A timeout error. The MCU is in the reset state. The system was reset." is displayed in
response to the input of a reset signal through the reset pin or a reset of the CPU by the watchdog timer
during operations by the emulator debugger in relation to the MCU (e.g. reference to memory in the
[Memory] panel or the [Memory] view). The emulator is initialized and the user program stops running. After
the system is reset, trace records are also initialized. However, debugging can continue.
The FINEC and MD/FINED pins are exclusively used by the E1/E20/E2/E2 Lite. Any functions that are
multiplexed on the FINEC pin are not available.
The RX64x, RX65x, RX66x, RX67x, RX71x, and RX72x groups, RX200 series, and RX100 series FINE
interface supports a 1-wire transfer system through the MD/FINED pin. The MD/FINED pin is the only pin
exclusively used by the E1/E20/E2/E2 Lite. It is not necessary to connect the FINEC pin since this pin is not
used.
The external trace-output and real-time RAM monitoring functions via FINE interface are not supported.
3.5 Clocks
For the FINE interface of an MCU of the RX200 series or RX100 series, the emulator uses the internal high-
speed clock oscillator (HOCO) of the device to achieve communications with the MCU. Therefore, the HOCO
is always oscillating when the FINE interface is in use, regardless of the settings of the HOCO-related
registers.
In cases of contention between switching of the frequency of HOCO by the user program and access to
memory by the emulator debugger during window processing, operations of memory access are not
guaranteed.
Switching the frequency of the HOCO from the user program or the emulator debugger may cause a
communications error between the emulator and the device. If such an error occurs, lower the FINE bit rate.
If the emulator debugger is started up in user boot mode, do not use the high-speed on-chip oscillator power
supply control register (HOCOPCR) to apply control to turn the power supply of the HOCO off. Turning this
power supply off will make the emulator unable to control the MCU.
This note does not, of course, apply to those MCUs (e.g. RX111) that do not have an HOCOPCR.
The minimum operating frequency of MCUs at which the emulator is capable of debugging is 32.768 kHz.
Notes on the OFS1 register are applicable to specific types of MCU. Confirm the notes among the following
which apply to the MCU you are using.
(3) When FINE communications is in use, the emulator forcibly sets bits 25 and 24 in the OFS1 register to
10b. In this case, ensure that the user program does not write to bits 25 and 24 in the OFS1 register.
(2) The OFS1 register allows you to enable or disable a voltage monitoring 0 reset function and set a voltage
detection level. The value for this register is located in flash memory and may not be controllable by the
emulator. This depends on the settings.
When the contents of flash ROM are modified by an operation (e.g. downloading or editing through the
[Memory] panel or the [Memory] view), if the OFS1 register is set to a condition that generates a voltage
monitoring 0 reset, an error will occur.
For details on the OFS1 register, refer to the hardware manual of the MCU.
(3) When FINE communications is in use, the emulator forcibly sets bits 25 and 24 in the OFS1 register to
10b. In this case, ensure that the user program does not write to bits 25 and 24 in the OFS1 register.
(2) The OFS1 register allows you to enable or disable a voltage monitoring 0 reset function and set a voltage
detection level. The value for this register is located in flash memory and may not be controllable by the
emulator. This depends on the settings.
When the contents of flash ROM are modified by an operation (e.g. downloading or editing through the
[Memory] panel or the [Memory] view), if the OFS1 register is set to a condition that generates a voltage
monitoring 0 reset, an error will occur.
For details on the OFS1 register, refer to the hardware manual of the MCU.
(3) When FINE communications is in use, the emulator forcibly sets bits 25 and 24 in the OFS1 register to
10b. In this case, ensure that the user program does not write to bits 25 and 24 in the OFS1 register.
(3) When FINE communications is in use, the emulator forcibly sets bits 25 and 24 in the OFS1 register to
10b. In this case, ensure that the user program does not write to bits 25 and 24 in the OFS1 register.
Writing to the MDEB and MDES registers proceeds with the values and target register corresponding to the
endian and operating mode that have been selected as properties in the emulator debugger. For setting of
the property of the endian or operating mode, refer to the user’s manual and help system for the emulator
debugger.
When debugging in single-chip mode, you cannot modify the MDES register by emulator debugger
operations. When debugging in user boot mode, you cannot modify the MDEB register by emulator
debugger operations.
3.6.4 Endian Select Register (MDE) and Bank Select Register (BANKSEL)
• Applicable MCUs: RX65x MCUs with 1.5 or more Mbytes of code flash memory, RX72M, RX72N, RX67x,
and RX26T
Writing to the MDE and BANKSEL registers proceeds to the target registers with the values
corresponding to the endian, bank mode, and startup bank that have been selected as properties in the
emulator debugger.
When writing to flash memory takes place (e.g. downloading a program, setting a software breakpoint, or
modifying a value in the [Memory] panel or the [Memory] view), note that the values of the registers related
to flash memory are also overwritten by the debugger.
• Applicable MCUs: RX72T, RX71x, RX66x, RX64x, RX63x, RX62x, RX61x, RX22x, and RX21x
(1) Clearing the lock bit before downloading
If the user program is to be downloaded into a flash ROM area for which the lock bit is set, the emulator
debugger clears the lock bit of the block to which the data are to be downloaded before it starts
downloading.
• Applicable MCUs: RX72M, RX72N, RX67x, RX65x, RX26T, RX24x, RX23x, and RX100 series
(1) Disabling area protection before downloading
The emulator debugger disables area protection when a user program is downloaded to an area of flash
ROM that is protected from programming by area protection.
If the emulator has issued a reset signal during debugging of a user program that involves the startup
program protection function, download the user program again before resuming debugging.
After the flash extra area control register (FEXCR) is controlled to switch the default area and the
alternate area during the execution of a user program in flash memory, do not generate a CPU reset by
operating the emulator debugger or allow the generation of a pin reset or internal reset.
Debugging of the switched boot area is possible after closing and restarting the debugger.
After the flash initial setting register (FISR) is controlled to immediately switch the default area and the
alternate area during the execution of the user program, do not allow the generation of a pin reset while
execution of the program is stopped. Input of a reset signal through the reset pin is only possible while the
program is running.
While the execution of the user program is stopped, do not immediately switch the default area and the
alternate area by controlling the flash initial setting register (FISR).
• Applicable MCUs: RX72x, RX71x, RX67x, RX66x, RX65x, RX64x and RX26T
When the trusted-memory facility is enabled, the value of the trusted memory identification data (TMINF)
register cannot be rewritten. Even in the case of attempted downloading to the TMINF register, its value is
not modified.
• Applicable MCUs: RX65x MCUs with 1.5 or more Mbytes of code flash memory, RX72M, RX72N, RX67x
and RX26T
(1) Creating a project
When creating a project, select the type name with ‘_DUAL’ for the MCU to be used.
Select [Start bank] as a property of the emulator debugger.
When either of the following conditions is met and any of the debugging operations listed below them is
performed while the user program is stopped, the DMAC and DTC may not operate as expected.
[Conditions]
• An address in the on-chip flash ROM is specified as the source of transfer by a DMAC or DTC.
• An address in the on-chip flash ROM is specified as the interrupt vector for a DMAC or DTC activation
source or as the address of the DTC’s vector table.
[Debugging operations]
3.10.2 Events
• Applicable MCUs: RX72x, RX71x, RX67x, RX66x, RX65x, RX64x, RX26T, RX23x, and RX24x
Address-execution events can be combined for use in a sequential break and so on.
When [Sequential] is selected as the event combination condition in the target MCU, do not specify
address-execution events for consecutive instructions. Events set in this way may not be detected in
some cases.
In the trace function, when an interrupt occurs, the next or second yet-to-be executed instruction from the
location where an interrupt occurred is displayed before interrupt processing proceeds.
The working RAM area which is specified as a property of the emulator debugger must always be a valid
area in the on-chip RAM of the MCU.
3.10.6 Note on Using the Large Trace Capacity or Coverage Function of the E20 Emulator
[Conditions]
If all following conditions (1) to (3) are met, this problem may occur depending on the condition of the trace
buffer in the MCU.
(1) Selected debugging is via JTAG communications and a pin reset or internal reset occurs during the
execution of the program.
(3) An RTSD or RTFI instruction is placed immediately after a BSR or JSR instruction.
Example:
_func_A: _func_B:
: :
BSR _func_B ; (1) RTS
RTSD #20, R8-R9 ; (2)
In C programs, when a call of another function is coded at the end of a function (as shown in the following
example), an instruction sequence of the type shown in the preceding example may be generated. This
depends on the compiler type and settings.
Example:
void func_A(void) { void func_B(void) {
: :
func_B(); }
}
The specific instruction format of (2) in which this phenomenon occurs is as follows.
Instruction format of (2)
RTSD src, dest-dest2
RTFI
When this phenomenon occurs, the branch destination for the execution of (2) becomes an address that
is different from what it should be, and the program runs out of control.
3.10.7 Note on Using the Large Trace Capacity or Coverage Function of the E20 Emulator and the
Internal Trace Function of the E20, E1, E2, and E2 Lite
• Applicable MCUs: RX72x, RX71x, RX67x, RX66x, RX65x, RX64x, RX26T, RX23x, and RX24x
When the large trace capacity or coverage function of the E20 emulator or the internal trace function of
the E20, E1, E2, and E2 Lite is in use, trace information or coverage information cannot be correctly
acquired if specific conditions are satisfied. Note that this phenomenon is only relevant to debugging with
the emulator, and is not connected with stand-alone operation of the chip.
[Condition]
Example:
Branching by branch instruction (3) shown below is to an address (1) that is smaller than (3) and an interrupt
is accepted at the same time.
LOOP: ; (1)
:
SUB r3, r4
BNE LABEL1 ; (2) (the first branch instruction after (1))
:
BNE LOOP ; (3)
:
LABEL1:
:
Coverage acquisition The display indicates that all instructions from (1) to (3) have been executed
(are covered) regardless of the actual states of execution.
In trace acquisition, the same instruction sequence being output in the trace results both before and after
interrupt processing indicates that this phenomenon may have occurred.
3.11 Differences between Operation of the MCU without the Emulator and
Debugging
(1) Initial values of registers
When the emulator is started up during debugging, it initializes the general-purpose registers and some of
the control registers. The PC is initialized to the value of PC in the power-on reset vector table. Other
general-purpose registers are cleared to 0. The initial values of the MCU are undefined.
Caution:
Do not cause a break in the user program while the RES# or WAIT# signal is at the low level. Doing so will
cause a timeout error. If the WAIT# signal is fixed to the low level during a break, a timeout error will occur in
the case of access to memory.
(5) Contention between modifying of registers related to the clock generator circuit and debugging functions
Do not change the values of registers related to the clock generator circuit in the [Memory] window, etc.
while the user program is running. For details on registers related to the clock generator circuit, refer to
the hardware manual for the MCU you are using.
MCUs that are connected to the E1/E20/E2/E2 Lite and used in debugging are placed under stress by
repeated programming of flash memory during emulation. Do not use MCUs that were used in debugging in
mass-production for end users.
R20UT0399EJ1600