Manual User’s
E1/E20 Emulator
Additional Document for User’s Manual (Notes on Connection for RL78)
Supported Devices: RL78 Family
RL78/F12, RL78/G12, RL78/G13, RL78G14, RL78G1A, RL78/I1A, RL78L12
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).
|
|
Rev.1.00 April 2012 |
|
www.renesas.com |
|||
|
E1/E20 Emulator |
CONTENTS |
|
|
CONTENTS |
|
CHAPTER 1 OUTLINE.................................................................................................................................... |
4 |
|
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 |
CHAPTER 4 SPECIFICATIONS ................................................................................................................... |
19 |
|
CHAPTER 5 NOTES ON USAGE ................................................................................................................. |
20 |
|
5.1 |
Lists ................................................................................................................................................ |
20 |
5.2 |
Details............................................................................................................................................. |
21 |
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
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 memory 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.
The functions used for debugging of the RL78 device by using the E20 are the same as in the E1. Large trace function, characteristic functions of the E20, cannot be used. The power supply function from the E20 is not supported.
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 specification
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 design, 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 |
||
|
|
|
|
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.
Table 2-1 shows the type numbers of the E1/E20 emulators
Table 2-1. Connector Type Numbers
|
Type Number |
Manufacturer |
Specification |
14-pin |
7614-6002 |
Sumitomo 3M Limited |
14-pin straight type (Japan) |
connector |
2514-6002 |
3M Limited |
14-pin straight type (other countries) |
|
|
|
|
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 [R0E000200CKA00] 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
14-pin user system interface cable
14-pin type connector
User system
Area 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 |
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)
Pin No. |
Pin Name |
|
Input/OutputNote 1 |
|
|
|
|
1 |
R.F.U |
|
Input |
|
|
|
|
2 |
GNDNote 2 |
- |
|
3 |
R.F.U |
- |
|
|
|
|
|
4 |
R.F.U / (RSTPU) Note 4 |
|
- / (Output) Note 4 |
5 |
TOOL0 |
|
Input/Output |
|
|
|
|
6 |
RESET_IN |
|
Input |
|
|
|
|
7 |
R.F.U |
- |
|
|
|
|
|
8 |
VDD |
- |
|
|
|
|
|
9 |
EMVDD |
- |
|
|
|
|
|
10 |
RESET_OUTNote 3 |
|
Output |
11 |
R.F.U |
- |
|
|
|
|
|
12 |
GNDNote 2 |
- |
|
13 |
RESET_OUTNote 3 |
|
Output |
14 |
GNDNote 2 |
|
- |
Notes 1. As seen from E1/E20.
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/OutputNote |
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 |
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 http://www.renesas.com/cubesuite+
Flash writing tool “Renesas Flash Programmer” website http://www.renesas.com/rfp
Figure 2-2. Connection Diagram of E1/E20
USB Interface cable
Host machine
User interface cable
E1 emulator
or User system E20 emulator
User interface cable (E1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38-pin/14-pin conversion adapter |
||||||||
|
|
User interface cable (E20) |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
R20UT1994EJ0100 Rev.1.00 |
|
Page 7 of 26 |
Apr 20, 2012 |
|
|
|
|
E1/E20 Emulator |
CHAPTER 2 DESIGNING USER SYSTEM |
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)
Target Connecter |
|
|
|
|
|
|
VDD |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
R.F.U. |
1 |
|
|
|
1 k Operation voltage for TOOL0 Note3 |
||||||||||
2 |
|
|
|
||||||||||||
GND |
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
3 |
|
|
|
|
|
|
|
|
|
VDD |
|||
R.F.U. |
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
||||||
|
|
4 |
|
|
|
|
|
1 k |
Target Device |
||||||
R.F.U. |
|
|
|
|
|
|
|
|
|
|
|||||
5 |
|
|
|
|
VDD |
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||
TOOL0 |
|
|
|
|
|
|
|
|
TOOL0 |
|
|
|
|||
6 |
|
|
Note1 |
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
||||
RESET_IN |
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
||
R.F.U. |
|
VDD |
|
|
|
|
|
|
|
|
|
||||
8 |
10 k |
|
|
|
|
||||||||||
VDD |
|
|
|
|
|||||||||||
|
|
|
|
|
|
|
|||||||||
9 |
|
|
|
|
|
|
|
||||||||
EMVDD |
|
|
|
|
|
|
|
|
|
|
|
|
|||
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|||
RESET_OUTNote2 |
|
|
|
|
|
|
|
|
RESET |
|
|
|
|||
R.F.U. |
11 |
|
|
|
|
|
|
|
|
|
|
|
|
||
12 |
|
|
|
|
|
|
Note2 |
|
|
|
|
||||
GND |
|
|
|
|
|
|
|
|
|
|
|||||
13 |
|
|
|
|
|
Reset circuit |
|
|
|
|
|||||
RESET OUTNote2 |
|
|
|
|
|
RESET signal |
|
|
|
|
|
||||
14 |
|
|
|
|
|
|
|
|
|
|
|||||
GND |
|
|
|
|
|
|
|
|
VSS |
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) Automatically switching the reset signal via resistor about
the pull-up resistor value of the reset circuit.
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 design 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 |
|
|
|
|