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 Corp. without notice. Please review the latest information published by
Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
website (http://www.renesas.com).
1.1. Features ...........................................................................................................................................4
1.2 Cautions on Using E20...................................................................................................................4
1.3 Configuration of Manuals...............................................................................................................4
CHAPTER 2 DESIGNING USER SYSTEM.....................................................................................................5
2.1 Connecting the Emulator with the User System..........................................................................5
2.2 Pin Assignments of the Connector on the User System ............................................................6
2.3 System Configuration.....................................................................................................................7
2.4 Recommend Circuit between Connector and MCU.....................................................................8
2.4.1 Recommend Circuit Connection (Except 20pin and 24pin of RL78/G12) .....................................8
2.4.2 Connection of reset pin.....................................................................................................................9
2.4.3 Recommend Circuit Connection (Only 20pin and 24pin of RL78/G12)....................................... 12
CHAPTER 3 SETTING OF SECURITY ID AND SETTING OF DEBUGGING RESOURCES .....................15
3.1 Setting of Security ID .....................................................................................................................15
3.2 Setting of On-chip debugging option byte...................................................................................16
3.3 Securing of area for debugging ....................................................................................................17
APPENDIX EQUIVALENT CIRCUIT FOR E1/E20-RL78 CONNECTION....................................................23
R20UT1994EJ0100 Rev.1.00 Page 3 of 26
APR 20, 2012
E1/E20 Emulator CHAPTER 1 OUTLINE
CHAPTER 1 OUTLINE
1.1. Features
E1/E20 Emulator (hereinafter referred to as E1/E20) is an on-chip debug emulator with flash programming function,
which is used for debugging and programming a program to be embedded in on-chip flash memor y microcontrollers. This
product can debug with the target microcontroller connected to the user system, and can write programs to the on-chip
flash memory of microcontrollers.
1.2 Cautions on Using E20
The functions used for debugging of the RL78 device by u sing the E20 are the sam e as in the E 1. Large trace function,
characteristic functions of the E20, cannot be used. The power supply function from the E20 is not supported.
1.3 Configuration of Manuals
Documentation for the E1/E20 emulator manual is in two parts: the E1/E20 Emulator User’s Manual and the E1/E20
Emulator Additional Document for User’s Manual (this manual). Be sure to read both of the manuals before using the
E1/E20 emulator.
(1) E1/E20 Emulator User’s Manual
The E1/E20 Emulator User’s Manual has the following contents:
Components of the emulators
Emulator hardware specificat ion
Connection to the emulator and the host computer and user system
(2) E1/E20 Emulator Additional Document for User’s Manual
The E1/E20 Emulator Additional Document for User’s Manual has the following contents:
For use in hardware d esign, an example of connection and the interface circuit required to connect the emulator.
Notes on using the emulator
Software specifications and so on for using each microcomputers
R20UT1994EJ0100 Rev.1.00 Page 4 of 26
Apr 20, 2012
E1/E20 Emulator CHAPTER 2 DESIGNING USER SYSTEM
A
CHAPTER 2 DESIGNING USER SYSTEM
To connect the E1/E20 emulator, 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 MCUs.
2.1 Connecting the Emulator with the User System
Table 2-1 shows the type numbers of the E1/E20 emulators
Table 2-1. Connector Type Numbers
Type Number Manufacturer Specification
14-pin
connector
Figure 2-1 shows examples of the connection between a user system interface cable of the 14-pin type. Do not mount
other components with a height exceeding 10 mm within 5 mm of the connector on the user system. 38-pin of the E20
is not supported. To use the E20, use the 38-pin/14-pin conversion adapter [R0E00 0200CKA00] that comes with the
E20 for connection.
Figure 2-1. Connecting the User System Interface Cable to the 14-pin Connector of the E1 Emulator
7614-6002 Sumitomo 3M Limited 14-pin straight type (Japan)
2514-6002 3M Limited 14-pin straight type (other countries)
14-pin user system interface cable
14-pin type connector
User system
rea with limit on mounted components
(heights must be no greater than 10 mm)
R20UT1994EJ0100 Rev.1.00 Page 5 of 26
Apr 20, 2012
E1/E20 Emulator CHAPTER 2 DESIGNING USER SYSTEM
2.2 Pin Assignments of the Connector on the User System
Table 2-2 shows the pin assignments of the 14-pin connector.
Table 2-2. Pin Assignments of the Connector on the User System (14-Pin)
2. Securely connect pins 2, 12, and 14 of the connector to GND of the user system. These pins are used for
electrical grounding as well as for monitoring of connection with the user system by the E1/E20.
3. Securely connect both pin 10 and pin 13. These pins are also used to monitor the user system.
4. RSTPU is used only when selecting the 20pin and 24pin of RL78/G12.
Table 2-2. Pin Functions
Pin Name Input/Output
Note
Description
RESET_IN Input Pin used to input reset signal from the user system
RESET_OUT Output Pin used to output reset signal to the target device
TOOL0 Output/Input Pin used to transmit command/data to the target device
R.F.U. – This pin is reserved. For the connection of the reserved pins, see each
circuit related to the pins.
RSTPU Output RSTPU is used only when selecting the 20pin and 24pin of RL78/G12.
This pin is used to pull up the reset line.
Note As seen from E1/E20.
R20UT1994EJ0100 Rev.1.00 Page 6 of 26
Apr 20, 2012
E1/E20 Emulator CHAPTER 2 DESIGNING USER SYSTEM
2.3 System Configuration
Figure 2-2 shows the system configuration used for the E1/E20. For cautions on connection, refer to the E1/E20 User’s
Manual. As software used on the host machine, use the “CubeSuite+” when on-chip debugging is used, or use the
“Renesas Flash Programmer” for flash programming. For details, refer to the following URL’s.
Integrated development environment “CubeSuite+” website
Remark To use it with the E20, connect the 38-pin/14-pin conversion adapter to the user interface cable (E20).
38-pin is not supported.
USB Interface cable
User interface cable
User system
38-pin/14-pin conversion adapter
R20UT1994EJ0100 Rev.1.00 Page 7 of 26
Apr 20, 2012
E1/E20 Emulator CHAPTER 2 DESIGNING USER SYSTEM
2.4 Recommend Circuit between Connector and MCU
2.4.1 Recommend Circuit Connection (Except 20pin and 24pin of
Refer to Figure 2-3 and design an appropriate circuit.
Be sure to take into consideration the specifications of the target device as well as measures to prevent noise when
designing your circuit.
Figure 2-3. Recommend Circuit Communication (Except 20pin and 24pin of RL78/G12)
V
Note1
DD
1 k
Operation voltage for TOOL0
10 k
Target Connecter
R.F.U.
GND
R.F.U.
R.F.U.
TOOL0
RESET_IN
R.F.U.
V
EMV
RESET_OUT
RESET OUT
Note2
R.F.U.
GND
Note2
GND
1
2
3
4
5
6
7
V
8
DD
9
DD
10
11
12
13
14
DD
RL78/G12)
1 k
Reset circuit
RESET signal
Note2
Note3
TOOL0
RESET
Target Device
V
DD
V
DD
V
SS
Notes 1. The circuit enclosed by a dashed line is not required when only flash programming is performed.
2. Refer to 2.4.2 connection of reset pin (1)
the pull-up resistor value of the reset circuit.
Automatically switching the reset signal via resistor about
3. The drive power supply of TOOL0 is different depending on devices. Defer to user’s manual of device.
Caution
The circuits and resistance values listed are recommended but not guaranteed. Determine the circuit desig n
and resistance values by taking into account the specifications of the target device and noise. For flash
programming for mass production, perform sufficient evaluation about whether the specifications of the target
device are satisfied.
For processing of pins not used by the E1/E20, refer to the user’s manual of the device.
Securely connect pins 2, 12, and 14 of the connection to GND of the user system. These pins are used for
electrical grounding as well as for monitoring of connection with the user system by the E1/E20.
Securely connect both pin 10 and pin 13. These pins are also used to monitor the user system.
R20UT1994EJ0100 Rev.1.00 Page 8 of 26
Apr 20, 2012
Loading...
+ 18 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.