Page 1
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.
Page 2
11. This document shall not be reprinted, reproduced or duplicated in any form, in whole or in part, without prior written consent of Renesas Electronics.
E2, IE850A Contents Contents Outline .......................... 4 Features of the E2 and IE850A emulators from Renesas ................. 4 Configuration of manuals ........................... 4 2. Connecting the Emulator and User System ............... 5 Connector ..............................5 Pin assignments of the 14-pin connector ....................8 Examples of recommended connections between the 14-pin connector and MCU ........
MCUs of the RH850 family, extended facilities such as a CAN communication time measurement solution are also available in addition to the basic debugging facilities. The IE850A supports the external tracing (Aurora tracing) interface of MCUs of the RH850 family and has a large-capacity trace memory.
E2, IE850A 2. Connecting the Emulator and User System 2.Connecting the Emulator and User System Connector To connect the emulator to a user system, a connector must be mounted on the system. The 14-pin connector and 34-pin connector can be used for external tracing. Mount the 34-pin connector if you intend to use external tracing.
Page 6
E2, IE850A 2. Connecting the Emulator and User System 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.
Page 7
SAMTEC ASP-137973-01 When designing a user system on which a 34-pin connector is to be mounted, refer to the IE850A Emulator User’s Manual and the user’s manual for the target device. Note that a connector mounted on the emulation adapter is for use with the 34-pin connector. For details, refer to the user’s manual for the emulation adapter.
E2, IE850A 2. Connecting the Emulator and User System Pin assignments of the 14-pin connector Table 2-5 shows the pin assignments of the 14-pin connector. Table 2-5 Pin Assignments of the 14-pin Connector Signal name (-: unused) Pin No. Debugging...
Figure 2-4 Only programming (CSI) Figure 2-5 For examples of recommended connections between the 34-pin connector for external tracing, refer to the IE850A Emulator User’s Manual and the user’s manual for the target device. R20UT4140EJ0300 Rev.3.00 Page 9 of 41 Oct.09.20...
Page 10
E2, IE850A 2. Connecting the Emulator and User System 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 Connection Refer to section 2.3.4, Connecting the RESET pin, for more information on the reset circuit.
Page 11
E2, IE850A 2. Connecting the Emulator and User System 2.3.2 Example of recommended connections for only programming (2-wire UART) Figure 2-4 Example of Connection Refer to section 2.3.4, Connecting the RESET pin, for more information on the reset circuit. •...
Page 12
E2, IE850A 2. Connecting the Emulator and User System 2.3.3 Example of recommended connections for only programming (CSI) Figure 2-5 Example of Connection 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.
Page 13
E2, IE850A 2. Connecting the Emulator and User System 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 example is shown in the figure below.
Page 14
For power supply from the E2 emulator, precision is not guaranteed. When writing a program that requires reliability, do not use the power supply function of the E2 emulator. Use a stable, separate power supply for the user system. When writing a program for mass production processes, use the Renesas Flash Programmer. CAUTION Turning the Power On/Off: When supplying power, ensure that there are no shorts between the user system and power circuit.
Page 15
Isolator 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 (R0E000010ACB20) which is separately available from Renesas. 2.3.8 Small connector conversion adapter...
E2, IE850A 2. Connecting the Emulator and User System E2 expansion interface (external trigger input and output) Using the expansion interface of the E2 emulator (the connector for the interface can be found by removing the cover on which SELF CHECK is printed) enables the input and output of external triggers.
Connect the E2 emulator to the user system and turn the power on and off by following the procedures below. For the procedure for connecting the IE850A to the user system, refer to the IE850A Emulator User’s Manual. When a separate power supply is used for the user system <When using the emulator>...
E2, IE850A 3. Procedure for Connecting the Emulator to the User System When power is supplied to the user system from the E2 emulator Do not use the function that supplies the power to the user system from the E2 emulator for a user system which draws a current of 200 mA or more.
4.Functional Overview List of functions Specifications that the E2 emulator and IE850A support are listed in the table below. Support for some debugging-related functions also depends on the debugger. Refer to the user’s manual, etc. for the debugger you are using.
Page 20
Parameter E2 Emulator IE850A Tracing Output Internal trace memory (size of Trace memory of the IE850A (up destination for the trace RAM of the target to 9 GB) or internal trace memory (when you are using a traced data device)
Page 21
E2, IE850A 4. Functional overview Parameter E2 Emulator IE850A Emulator detection by user programs Available Any 32-bit value which is debugging information from the debugger is specified and held in the debugging startup register while the emulator is connected. This function can be used to determine the state of the emulator being connected or not from within user programs.
Page 22
E2, IE850A 4. Functional overview Table 4-2 Functions Specific to the E2 Emulator Parameter E2 Emulator Software tracing (LPD Condition of Only available in the synchronous debugging mode. output) the debugging Not available in GTM debugging. mode (Refer to section 4.2.) Selection of a single CPU.
Table 4-3 Software Tracing and Supported Emulators Output Destination of Software Trace Data Supported Emulator Internal trace memory (trace RAM of the target device) E2 emulator and IE850A External tracing (Aurora tracing) interface IE850A LPD output E2 emulator Unlike conventional tracing, the software tracing function does not cater for the setting of events or conditions so that trace data are output when the settings match the results of program execution;...
Combination of events Tracing Output Internal trace memory (size of Trace memory of the IE850A (up destination for the trace RAM of the target to 9 GB) or internal trace memory (when you are using a traced data device)
E2, IE850A 5. Notes on Usage 5.Notes on Usage Cautionary notes on using the E2 emulator and the IE850A are given below. Conventions: [E2]: Only applicable to the E2 emulator. [IE850A]: Only applicable to the IE850A. Otherwise, the notes apply in common to the E2 emulator and the IE850A.
MOSC_40MHz bit is 1 (40 MHz). When the input frequency of the main OSC is 20 MHz, set the MOSC_40MHz bit to 0 (20 MHz) by the Renesas Flash Programmer (RFP). 5.2.4 Cases where connecting the debugger is not possible It is not possible to start debugging if the target device is in any of the following states (this also applies in cases where hot plug-in connection is in use).
E2, IE850A 5. Notes on Usage Notes on differences in operation between the actual device and the emulator 5.3.1 Serial programming function The serial programming function cannot be used with the emulator during debugging. 5.3.2 Current drawn The target device draws more current when an emulator is connected than when it is not. That is, the target device consumes more power while it is connected an emulator than while it is not, since the debugging circuit is operating.
Page 28
E2, IE850A 5. Notes on Usage the initially stopped state following release from a reset and applications that include use of the standby mode of devices can be synchronously debugged. For details of the method, refer to the relevant application note (R20AN0577EJ0100).
E2, IE850A 5. Notes on Usage Cautionary notes on debugging 5.4.1 Power to the user system while debugging Do not turn the power to the user system off during debugging. Doing so will require reconnection of the debugger. 5.4.2 OTP flag Do not set the one-time programming (OTP) flag in self-programming with the emulator.
Page 30
E2, IE850A 5. Notes on Usage 5.4.8 The order of event detection In the following cases, since the orders of instructions and event detection may not operate as set, to measure the time or performance in sequential events, section tracing, and desired sections may not be possible.
Page 31
E2, IE850A 5. Notes on Usage 5.4.14 Masking of resets while the emulator is in use Table 5-1 shows the state of a device while the emulator is in use and the operation of resets issued by the user system or the user program (i.e. user system reset). During single stepping, resets are masked to emulate each step in the source code of the program in non-realtime.
Page 32
E2, IE850A 5. Notes on Usage 5.4.15 Masking of interrupts while the emulator is in use Table 5-2 shows the states of a device while the emulator is in use and the operation of interrupts (EIINT, FEINT, or FENMI). During single stepping, interrupts are masked to emulate each line of source code of the program in non-realtime.
Page 33
E2, IE850A 5. Notes on Usage 5.4.17 Rewriting of on-chip flash memory (modifying the clock settings) The debugger temporarily changes the clock settings to improve the speed of processing while the flash memory is being rewritten* and restores the previous clock settings after this processing.
Page 34
E2, IE850A 5. Notes on Usage 5.4.22 Cautionary points regarding asynchronous debugging mode In the asynchronous debugging mode, peripheral break functions cannot be used. Even if peripheral break • functions are enabled, peripheral functions are not stopped. In the asynchronous debugging mode, when any of CPUs is in the break state, no user system resets are •...
Page 35
Trace-full break [IE850A] In external tracing, trace data are stored in the trace memory in the IE850A. The emulator requests a break in execution by the target device before the trace memory becomes full (trace-full break). If the request is not accepted immediately, the output of trace data may continue even after the trace memory is full and data will thus be lost.
Page 36
E2, IE850A 5. Notes on Usage 5.4.29 Breakpoints in the code flash P/E mode or data flash P/E mode During debugging of a user program which makes the target device enter the code flash P/E mode or data flash P/E mode, we recommend using hardware breakpoints rather than software breakpoints.
E2, IE850A 6. Internal Circuit of the E2 Emulator 6.Internal Circuit of the E2 Emulator The internal interface circuit related to the communications interface between the E2 emulator and user system is shown in Figure 6-1. Please refer to the figure when determining parameters in board design.
Page 38
Jul.01.18 First Edition issued 2.00 Feb.22.19 Overall Descriptions on the IE850A were added. 3.00 Oct.09.20 Descriptions on FPMD0 and FPMD1 were added. A note was added to table 4-1. A note was added to table 4-2. Section 4.3, GTM debugging function, was added.
Page 39
E2 Emulator, IE850A Additional Document for User’s Manual (Notes on Connection of RH850/E2x Series) Publication Date: Rev.1.00 Jul.01.18 Rev.2.00 Feb.22.19 Rev.3.00 Oct.09.20 Published by: Renesas Electronics Corporation...
Page 40
SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics Corporation TOYOSU FORESIA, 3-2-24 Toyosu, Koto-ku, Tokyo 135-0061, Japan Renesas Electronics America Inc. Milpitas Campus 1001 Murphy Ranch Road, Milpitas, CA 95035, U.S.A. Tel: +1-408-432-8888, Fax: +1-408-434-5351 Renesas Electronics America Inc.
Page 41
E2 Emulator, IE850A Additional Document for User’s Manual (Notes on Connection of RH850/E2x Series) R20UT4140EJ0300...