All information contained in these materials, including products and product specifications,
website (http://www.renesas.com).
RH850 Family
Additional Docum ent for User’s Manu al
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.
Notice
on of
1. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operati
semiconductor products and application examples. You are fully responsible for the incorporation or any other use of the circuits,
software, and i nformation i n the desi gn of your produc t or syste m. Renesa s Electr onics discla ims any and al l liabilit y for any loss es and
damages incurred by you or third parti es arising from the use of these circuits, software, or infor ma tion.
2. Renesas Elec tronics hereby expressly disclaims any warranties against and liabi lity for infringeme nt or any other claims involving pa tents,
copyrights, or other intellectual prop erty rights of third part ies, by or arising from the use of Renesas Electronics pr oducts or technical
information described in this document, including but not limited to, the product data, drawings, charts, programs, algorithms, and
application examples.
3. No license, expr ess, impli ed or otherwi se, is gra nted hereb y under an y patents , copyright s or other intell ectual prop erty rights of Renesas
Electronics or others.
4. You shall not alter , modify, copy, or revers e engineer any Renes as Electr onics product , whether in whole or in part. Renesas Electronics
disclaims any and all liability for any losses or damages incurred by you or third parties arising from such alteration, modification,
copying or reverse engineering.
5. Renesas Electroni cs products are cla ssified accordi ng to the following two qua lity grades: “Sta ndard” and “High Quali ty”. The intended
applications for each Renesas Electronics product depends on the product’s quality grade, a s indicated below.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment;
home electronic appliances; machine tools; persona l electronic equip me nt; industrial robots; etc.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control (traffic lights); large-scale communication
equipment; key financial terminal systems; safety control equipment; et c.
Unless expressl y designated a s a high reli abilit y product or a product for ha rsh environ ments in a Renes as Elec tronics data sheet or ot her
Renesas Electr onic s docum ent, Ren esa s El ectr onic s pr oduc ts a re not i ntended or a uthor i z ed for us e in produc t s or systems tha t may pose a
direct threat to huma n life or bodily injury (ar tificial life supp ort devices or systems; s urgical implantations ; etc.), or may cause ser ious
property damage (s pace system; unders ea repeaters ; nuclear power cont rol systems; a ircraft control systems; key pla nt systems; milit ary
equipment; etc. ). Renesa s El ectroni cs dis claims a ny and al l liab ilit y for any damages or los ses i ncurred b y you or any thi rd parties arising
from the use of any Renes as Electronics product that is inconsistent with any Renesa s Electronics data sheet, us er’s manual or other
Renesas Electronics document.
6. When using Renesas Elect roni cs product s, r efer to t he lates t product informa tion ( data sheet s, user ’s manu als, applica tion not es, “Genera l
Notes for Handling a nd Using Semic onductor Devices ” in the relia bility handbook, etc.), and ens ure that usage c onditions are w ithin the
ranges specified by Renesas Electronics with respect to maximum ratings, operating power supply voltage range, heat dissipation
characterist ics, insta llation, etc. Renesa s Electr onics dis claims any and a ll liabi lity for any ma lfunct ions, fa ilure or acc ident aris ing out of
the use of Renesas Electronics products outside of such specified ranges.
7. Although Renesa s Electroni cs endeavors to imp rove the qual ity and relia bility of Renes as Electroni cs products, semiconductor products
have specific cha racteristics, such as the occurrenc e of failure at a certain rate and malf unctions under certain use conditi ons. Unless
designated as a high reliability product or a product for harsh environments in a Renesas Electronics data sheet or other Renesas
Electronics document, Renesa s Elect ronics produc ts are not s ubject t o radiation res istance des ign. You are r esponsib le for implement ing
safety measures to gua rd aga ins t the pos sibi lity of b odil y injur y, injur y or da mage c aus ed by fir e, a nd/or d anger t o the p ublic in the e vent
of a failure or malf unction of Renesas Elec tronics pr oducts, s uch as safety design for ha rdware a nd software, including b ut not limited t o
redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures.
Because the e valuat ion of mic roc omputer s oft ware a lone is very dif fi cult and imp ract ical, you are res pons ibl e for eval uat ing the s afet y of
the final products or systems manufa ctured by you.
8. Please contact a Renesas El ectronics sa les office f or details as to environmenta l matters such as the en vironmental compatibility of each
Renesas Elec tronic s produc t. Y ou are r esp onsibl e for c aref ully and s uff icient ly inves ti gati ng appl icab le laws and r egulat ions that regula te
the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive, and using Renesas Electronics
products in compl iance with all these applicab le laws and regul ations. Renesa s Electr onics disclai ms any and all liab ility for damages or
losses occurring as a result of your noncompliance with applicable laws and regulations.
9. Renesas Electr oni cs pr oduc ts and t echnol ogi es s ha ll not be us ed f or or incorp or ated i nt o any pr oduc ts or s ystems whos e manuf act ur e, us e,
or sale is pr ohibited under a ny applica ble domestic or foreign laws or regulati ons. You shall comply with an y applicabl e export contr ol
laws and regulations promulgated and administered by the governments of any countries asserting jurisdiction over the parties or
transactions.
10. It is the respons ibility of the buyer or distributor of Renesas Electronics products, or any other party who distr ibutes, disposes of, or
otherwise sell s or tr ansf er s the p r oduct to a thi rd pa r ty, t o noti f y such t hir d p ar ty in a dvanc e of the c ont ent s a nd condi t ions s et f orth i n t his
document.
11. This document sha ll not be repri nted, rep roduced or dup licated i n any form, in whole or in part, wit hout prior wr itten consent of Renesa s
Electronics.
12. Please contact a Renesas Electronics sales of fice if you have an y questions r egarding the information conta ined in this document or
Renesas Electronics products.
(Note 1) “Renesas Electr onics” as used in this document means Renesas El ectronics Corp oration and a lso includes i ts directl y or indirectly
controlled subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufa ctured by or for Renesas Electronics.
1.1 Features of the E2 emulator ..................................................................................................................................................... 4
1.2 Configuration of manuals .......................................................................................................................................................... 4
2. Connecting the Emulator and User System ...................................................................................................................................... 5
2.1 Connector mounted on the user system ................................................................................................................................... 5
2.2 Pin assignments of the connector ............................................................................................................................................. 7
2.3 Examples of recommended connections between the connector and MCU .............................................................................. 8
3. Procedure for Connecting the Emulator to the User System ........................................................................................................... 16
3.1 When a separate power supply is used for the user system ................................................................................................... 16
3.2 When power is supplied to the user system from the emulator ............................................................................................... 17
5. Notes on Usage ............................................................................................................................................................................. 22
5.1 General cautionary notes........................................................................................................................................................ 22
5.2 Notes on connecting the E2 emulator ..................................................................................................................................... 23
5.3 Notes on differences in operation between the actual device and the emulator ...................................................................... 24
5.4 Cautionary notes on debugging .............................................................................................................................................. 26
6. Internal Circuit of the Emulator ....................................................................................................................................................... 33
R20UT4140EJ0100 Rev.1.00 Page 3 of 37
Jul. 01, 2018
E2 Emulator 1. Outline
1. Outline
1.1 Features of the E2 emulator
The E2 emulator is an on-chip debugging emulator tha t includes a flash pr ogramming function, which is used for
debugging a nd progra mming programs to be embedded in microcontrollers that have on-chip flash memory. That is, the
product can be used for both debugging programs while the target microcontroller is connected to the user system, and to
write programs to the on-chip flash memory of microcontrollers.
1.2 Configuration of manuals
Documentation for the E2 emulato r manual is in two parts: (1) E2 Emulator User’s Manual and (2) E2 Emulator
Additional Docume nt for User ’s Manual (this manual). Be sure to re ad both of the manuals before using the E2 emulator.
(1) E2 emulator user’s manual
The E2 Emulator User’s Manual describes hardware specifications including the following items:
• Components of the emulator
• Emulator hardware specifications
• Connecting the emulator to a host computer and user sys t em
(2) E2 emulator additional document for user’s manual (this manual)
The E2 Emulator Additional Docume nt for User’s Manual describes functions of the debugger and gives details and
notes on points that depend on the target device.
R20UT4140EJ0100 Rev.1.00 Page 4 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
7614-6002
Sumitomo 3M Limited
14-pin straight type (Japan)
12
11 13
14
9107856341
2
5 mm
5 mm
5 mm5 mm
Top View
Area where restriction applies to mounted components
(components must have heights no greater than 10 mm)
2. Connecting the Emula tor and User System
To connect t he E2 emulator, a connector for the user system interface cable must be mounted on the user system. When
designing the user system, read this chapter of this manual and the hardware manual for the MCUs to be used.
2.1 Connector mounted on the user system
Table 2-1 shows the recommended connectors for connection of the E2 emulator. When other components are mounted
around the connector, do not mount components with heights exceeding 10 mm within 5 mm of the connector on the user
system as shown in
Figure 2-1
Table 2-1 Recommended Connectors
Type
14-pin
connector
Number
2514-6002 3M Limited 14-pin straight type (other countries)
Manufacturer Specification
Figure 2-1 Area where Restrict ion Applies to Mounted Components
To connect an E2 emulator to the connector on the user system, use the connector conversion adapter that comes with the
E2 and the user system interface cable. Figure 2-2 shows an example of the connection.
After connecting the user system interface cable to the connector conversion adapter, connect the connector conversion
adapter to the connector on the user system.
The connector conversion adapter is provided with a switch. Setting for the switch must be on the “1” side for the
RH850. Operation is not guaranteed if the switch is on the “3” side. For setting the swi tc h, refer to Table 2-2.
R20UT4140EJ0100 Rev.1.00 Page 5 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
Setting
Description
3
The target device is an RL 78 micr oco nt ro ller.
CAUTION
Note on connector insertion and removal (1):
When connecting or disconnecting the user-system interface cable and the connector conversion adapter, grasp
damage the wiring.
CAUTION
Note on connector insertion and removal (2):
20-pin (1.27-mm pi
tch
) user-system
interface cabl e
13 mm
10.5 mm
User syste m
14-pin (2.54-mm pitch)
connector
7614-6002 or 2514-6002
20-pin (1.27-mm pitch)
to 14-pin (2.54-mm
pitch) connector
conv ers i on adap t er
The switch (SW1) must be i n posi tion 1 (labelled
“Other”*) for RH850 or RX M CUs or i n pos ition 3
(labelled “RL78”*) for RL78 MCUs.
Connector for the emulator:
10.5 mm
29.0 mm
1
3
SW1
TP1
GND
RL78
Other
CN1
*: These are no t print ed on s om e versions
of the con versi on adapter .
Figure 2-2 Connecting the User System Interface Cable to the 14-pin Connector in the E2 Emulator
Table 2-2 Setting of Switches (SW1)
1 The target device is an RH 8 50 microc ontroller (default setting).
both sides of the board of the connector conversion adapter. Pulling the user-system int erface cable itself will
Be aware that the connector conversio n adapter must be inserted with the correct orientation. Connecting the
connector conversion adapter with the wrong orientation may cause damage.
R20UT4140EJ0100 Rev.1.00 Page 6 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
Signal name ( -: unused)
Debugging
Programming (RFP)
4-pin LPD
2-wire UART
CSI
1
LPDCLK
FPCK
Input
3
TRST
Input 4 FPMD0
FPMD0
FPMD0
Input 5 LPDO
FPDT
FPDT
Output
6
FPMD1
FPMD1
Input 7 LPDIO
FPDR
FPDR
I/O 8 TVDD
TVDD
TVDD
9
10 (*2)
EVTO
11
LPDCLKO
Output
12 (*1)
GND
GND
GND
13
RESET
RESET
RESET
Input
14 (*1)
GND
GND
GND
CAUTION
Unused pins:
Do not apply signals from the user system to unused pins. Doing so may damage the pins.
2.2 Pin assignments of the connector
Table 2-3 shows the pin assignments of the 14 -pin connector.
Table 2-3 Pin Assig nments of the 14-pin Connector
Pin No.
2 (*1)
GND GND GND
I/O (*3)
Notes 1. Securely connect pins 2, 12, and 14 of the connector to GND of the user system. These pins are used for
electrical GND and to monitor connection with the user system by the E2 emulator.
2. The EVTO pin provides for the output of event s i gnals from the device to the E2 emulator. Although
connecting the EVTO pin is no t essential, we recommend connecting this pin in advance.
In some devices, the EVTO pin is not pre sent o r is only available as a pin function multiplexed with other
functions. W hen the EVTO pin is a multiplexed pin function and the event output function is to be used, se t
the EVTO pin so that it will function a s the EVTO pin by making the required register settings described in
the user’s manual for the device.
3. Input and output are defined from the perspective of the user system.
R20UT4140EJ0100 Rev.1.00 Page 7 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
Usage
Tool
Device Mode
Connection Interface
Programming
Renesas Flash
Serial programming
2-wire UART or CSI
Debugging
CS+ or MULTI (*)
Normal operation mode
4-pin LPD
2.3 Examples of recommended connections between the connector and MCU
Different tools are used with the E2 emulator according to whether the purpose is debugging or flash programming.
Table 2-4 shows the relationships between the operating modes and connection interfaces.
Table 2-4 Relationships between the Oper ating Modes and Connection Int e rfaces
Programmer (RFP)
mode
or user boot mode
Note: This refers to the MULT I integrated development environment from Green Hills Software. It is simply referred to
as MULTI in the remainder of this document.
This section describes examples of recommended connections between the E2 emul ator and the target MCU. Since there
are various examples of recommended connections according to the purpose of the E2 emulator, select the appropriate
circuit with reference to Table 2-5. Be sure to take the specifications of the target device as well as measures to prevent
noise into consideration when designing your circuit.
Table 2-5 Purpose of the E2 Emulator and the Corresponding Example of Recommended Connection s
Purpose
Both debugging (4-pin LPD) a nd progr ammi ng (2-wire UART or CSI)
Only programming (2-wire UART)
Only programming (CSI)
Figure
Figure 2-3
Figure 2-4
Figure 2-5
R20UT4140EJ0100 Rev.1.00 Page 8 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
CAUTION
Connection of emulators from other manufacturers:
The E2 emulator does not support debugging through a JTAG interface; however, if an emulator from another
2.3.1 Example of recommended connections for both debugging (4-pin LPD) and programming
(2-wire UART or CSI)
Figure 2-3 Example of Connecti on
Refer to section 2.3.4, Connecting the RESET pin, for more information on the reset circuit.
For details on TVDD, refer to section 2.3.5, Connecting the TVDD pin.
Make wiri ng runs between the 14-pin connector and target device as short as possible (within 50 mm is
recommended). Do not connect the signal lines between the connector and MCU to other signal lines.
Use GND to apply a guard ring for the wiring which runs between the 14-pin connector and target device. Do
not route high-speed signal lines parallel to each other or allow them to cross each other.
Pin names may vary among target devices. Refer to the user’ s manual for the target device you are using for the
actual pin names.
Proceed with appropriate processing for pins of target devices which do not require connection to the emulator
in accord with the descriptions in “Handling of Unused Pins” in the user’s manual for the target device.
manufacturer, which supports the JTAG interface, is to be connected, connect the TMS signal to pin 9 of the 14pin connector. If you use such an emulator for debugging, be sure to read its manual beforehand.
R20UT4140EJ0100 Rev.1.00 Page 9 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
2.3.2 Example of recommended connections for only programming (2-wire UART)
Figure 2-4 Example of Connecti on
Refer to section 2.3.4, Connecting the RESET pin, for more information on the reset circuit.
For details on TVDD, refer to section 2.3.5, Connecting the TVDD pin.
Make wiri ng runs between the 14-pin connector and target device as short as possible (within 50 mm is
recommended). Do not connect the signal lines between the connector and MCU to other signal lines.
Use GND to apply a guard ring for the wiring which runs between the 14-pin connector and target device. Do
not route hi gh-speed signal lines parallel to each other or allow them to cross each other.
Pin names may vary among target devices. Refer to the user’s manual for the target device you are using for the
actual pin names.
Proceed with appropriate processing for pins of target devices which do not require connection to the emulator
in accord with the descriptions in “Handling of Unused Pins” in the user’s manual for the target device.
R20UT4140EJ0100 Rev.1.00 Page 10 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
2.3.3 Example of recommended connections for only programming (CSI)
Figure 2-5 Example of Connecti on
Refer to section 2.3.4, Connecting the RESET pin, for more information on the reset circuit.
For details on TVDD, refer to section 2.3.5, Connecting the TVDD pin.
Make wiri ng runs between the 14-pin connector and target device as short as possible (within 50 mm is
recommended). Do not connect the signal lines between the connector and MCU to other signal lines.
Use GND to apply a guard ring for the wiring which runs between the 14-pin connector and target device. Do
not route hi gh-speed signal lines parallel to each other or allow them to cross each other.
Pin names may vary among target devices. Refer to the user’s manual for the target device you are using for the
actual pin names.
Proceed with appropriate processing for pins of target devices which do not require connection to the emulator
in accord with the descriptions in “Handling of Unused Pins” in the user’s manual for the target device.
R20UT4140EJ0100 Rev.1.00 Page 11 of 37
Jul. 01, 2018
E2 Emulator 2. Connecting the Emulator and User S ystem
RES
RESET
13
Example
Power domain of RES ET
14-pin connector
Target device
2.3.4 Connecting the RESET pin
While you are using the E2 emulator, pin 13 (RESET pin) of the 14-pin connector must be connected to the reset pin of
the target device. An e xample is shown in the figure below.
The E2 emulator fixes the RESET pin to the low level before the debugger is activated. After the debugger is activated,
the emulator either keeps the pin at the low level or plac es it in the high-impedance state in accord with the operation of
the debugger.
Figure 2-6 Example of Connecting a Reset Circuit
Output of the reset circuit should be either n-channel open drain or be a signal generated solely by a resistor and
capacitor (and possible other components).
Use the power source for the power domain of the RESET pin of the target device as the destination voltage for
pulling up.
Pin 13 (RESET) of the E2 emulator is pulled up (by a 100-kΩ resistor) within the emulator (refer to section 6,
Internal Circuit of the Emulato r).
The RESET pin of the target device may be pulled up or down within the device. On this point, refer to the
user’s manual for the target device.
The maximum sink current accepted by the RESET pin of the E2 emulator is 2 mA. Select an appropriate pull-
up resistance which does not surpass this value.
Adjust the time constant of the reset circuit so that the time elapsing before the signal reaches 80% of the high
level from the low level is within 900 µs.
When you use hot p l ug-in, consider installation of a capacitor between the reset signal and GND in order to
suppress a noise. In this case, however, the specifications of the time described above must be satisfied.
R20UT4140EJ0100 Rev.1.00 Page 12 of 37
Jul. 01, 2018
Loading...
+ 25 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.