Renesas E2 Emulator User Manual
Hide thumbs Also See for E2 Emulator:
Table of Contents

Advertisement

Quick Links

E2 Emulator, E2 Emulator Lite
Additional Document for User's Manual
(Notes on Connection of RE Devices)
Supported Devices:
RE 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 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 Jul 2019

Advertisement

Table of Contents
loading

Summary of Contents for Renesas E2 Emulator

  • 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 Electronics products are not subject to radiation resistance design. You are responsible for implementing safety measures to guard against the possibility of bodily injury, injury or damage caused by fire, and/or danger to the public in the event of a failure or malfunction of Renesas Electronics products, such as safety design for hardware and software, including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures.
  • Page 3 Unit Products The following usage notes are applicable to all Microprocessing unit and Microcontroller unit products from Renesas. For detailed usage notes on the products covered by this document, refer to the relevant sections of the document as well as any technical updates that have been issued for the products.
  • Page 4: Table Of Contents

    Table of Contents 1. Overview .......................... 6 Overview of E2 Emulator and E2 Emulator Lite ..................6 Configuration of E2/E2 Lite Manuals ....................... 6 Supported Devices ........................... 7 Debugging Functions ..........................7 2. Designing the User System ..................... 8 Connecting the E2/E2 Lite with the User System ..................8 Installing the Connector on the User System ..................
  • Page 5 This means the program to be debugged. Programming Software In this document, this indicates the Renesas Flash Programmer that can be used with the E2 or E2 Lite. "#" at the end of a pin name (signal name) "#" at the end of a pin name (signal name) indicates that the pin (signal) is active low (e.g., RES#).
  • Page 6: Overview

    1. Overview Overview of E2 Emulator and E2 Emulator Lite In this document, we describe ‘E2 Emulator’ as ‘E2’ and ‘E2 Emulator Lite’ as ’E2 Lite’. The E2 and E2 Lite are on-chip debugging emulators for Renesas' mainstream MCUs. The E2 Lite is highly affordable development tools providing basic debugging functions. The E2 has the debugging functions of the E2 Lite and also handles high-speed downloading at up to twice the rate of the E2 Lite.
  • Page 7: Supported Devices

    E2/E2 Lite Overview Supported Devices Table 1.1 Supported Device List E2 Lite Supported Device SWD I/F FINE I/F SCI I/F SWD I/F JTAG I/F SCI I/F    RE0 series DBG: Can be used for debugging, PRG: Can be used for flash programming Debugging Functions Table 1.2 Debugging Function List...
  • Page 8: Designing The User System

    E2/E2 Lite Designing the User System 2. Designing the User System Connecting the E2/E2 Lite with the User System To connect the E2/E2 Lite, 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. Installing the Connector on the User System Table 2.1 and Table 2.2 list the recommended connectors and user system interface cables for the E2/E2 Lite, respectively.
  • Page 9: Connecting The User System Interface Cable To The 20-Pin Connector

    E2/E2 Lite Designing the User System 2.2.1 Connecting the User System Interface Cable to the 20-Pin Connector Figure 2.1 shows how to connect the user system interface cable to the 20-pin connector of the E2/E2 Lite. User system interface cable with the 20-pin (1.27-mm pin pitch) connector Connector: 20-pin (1.27-mm pin pitch) connector...
  • Page 10: Pin Assignments Of The Connector On The User System

    E2/E2 Lite Designing the User System Pin Assignments of the Connector on the User System 2.3.1 20-Pin and 10-Pin Connector Specifications Figure 2.2 shows the specifications of the 20-pin and 10-pin connectors. Table 2.3 shows the pin assignments of the 20-pin and 10-pin connectors for SWD interface connection. FTSH-110-01-L-DV-K FTSH-105-01-L-DV-K FTSH-105-01-L-DV...
  • Page 11 E2/E2 Lite Designing the User System Table 2.3 Pin Assignments of the 20-Pin and 10-Pin Connectors for SWD Interface Connection R7F0E01 Group Note Signal *1 Direction *2 – Power supply SWDIO/RxD9 I/O / Clock for debugging communications/ Input Communications data for flash programming –...
  • Page 12: Recommended Circuit Between The Connector And The Mcu

    E2/E2 Lite Designing the User System Recommended Circuit between the Connector and the MCU This section shows recommended circuits for connection between the connector and the MCU when the E2/E2 Lite is used. For details on the handling of signals, refer to section 2.5, Notes on Connection. 2.4.1 SWD Interface Connection between the 20-Pin and 10-Pin Connectors and the MCU Figure 2.3 shows a recommended circuit for connection between the 20-pin and 10-pin connectors and the...
  • Page 13: Notes On Connection

    E2/E2 Lite Designing the User System Notes on Connection Wiring patterns between the connector and the MCU must be as short as possible (within 50 mm is recommended). Do not connect the signal lines between the connector and MCU to other signal lines on the board.
  • Page 14: Md Pin

    E2/E2 Lite Designing the User System 2.5.2 MD Pin Connection of the MD pin to the connector is optional. When debugging with the E2/E2 Lite, set the MD pin to the high level. When rewriting flash memory by the programming software, set the MD pin to the low level. When the contents of flash memory are being rewritten by the programming software, the MD pin must be handled so that it is switched to the low level.
  • Page 15: Gnd

    E2/E2 Lite. Use a stable, separate power supply for the user system. As the software when writing a program in a mass-production process, use the Renesas Flash Programmer. For details on the programming software, refer to the following: Renesas Flash Programmer: https://www.renesas.com/RFP...
  • Page 16: Internal Circuits Of The Emulator

    E2/E2 Lite Designing the User System Internal Circuits of the Emulator 2.6.1 Internal Circuits of the E2 Figure 2.7 shows the internal circuits of the E2 with the MCU connected via the SWD interface. User-side connector 1 MΩ x 2 Power-supply circuit (only for use in...
  • Page 17: Internal Circuits Of The E2 Lite

    E2/E2 Lite Designing the User System 2.6.2 Internal Circuits of the E2 Lite Figure 2.8 shows the internal circuits of the E2 Lite with the MCU connected via the SWD interface. User-side connector 100 kΩ x 3 Power-supply circuit (only for use in the mode to supply power to the user system)
  • Page 18: Notes On Usage

    E2/E2 Lite Notes on Usage 3. Notes on Usage Turning the Power On/Off Turn the power of the E2/E2 Lite and the user system following the procedure below. 3.1.1 When a Separate Power Supply is Used for the User System <When using the emulator>...
  • Page 19: When Power Is Supplied To The User System From The Emulator

    E2/E2 Lite Notes on Usage 3.1.2 When Power is Supplied to the User System from the Emulator <When using the emulator> (1) Connect the user system. Connect the emulator and the user system with a user-system interface cable. (2) Connect the host machine and turn on the emulator. Connect the emulator and the host machine with a USB interface cable, then turn on the emulator.
  • Page 20: Notes On Using The Emulator Debugger

    E2/E2 Lite Notes on Usage Notes on Using the Emulator Debugger This section describes how to set the [Debug Configurations] window of the e studio. To open the [Debug Configurations] window, click on [Run] → [Debug Configurations…] or the downward-pointing arrow next to icon→...
  • Page 21 E2/E2 Lite Notes on Usage Figure 3.4 Setting of [Hold reset during connect] (2) Startup mode When the emulator debugger is connected, handle the pins on the user system so that the startup mode of the MCU is normal mode. In normal mode, the MD pin is at the high level and the EHMD pin is at the low level.
  • Page 22: Notes On A Debugging Operation That Involves Reprogramming Of Flash Memory

    E2/E2 Lite Notes on Usage 3.3.2 Notes on a Debugging Operation that Involves Reprogramming of Flash Memory A “debugging operation that involves reprogramming of flash memory” refers to the following operations of the emulator debugger. • Downloading data to flash memory •...
  • Page 23 E2/E2 Lite Notes on Usage (d) The frequency of the system clock (ICLK) of the MCU is 1 MHz or higher.* Note: For [Clock] in the [Connection Settings] tabbed page of the emulator debugger, when [Yes] is selected for [Permit Clock Source change on writing on-chip Flash Memory], condition (d) can be excluded (the operation is explained for the case when the e studio is in use).
  • Page 24: Note On Using Software Breaks In The On-Chip Sram

    E2/E2 Lite Notes on Usage Figure 3.9 Setting of [Use Flash Breakpoints] Note: For [Clock] in the [Connection Settings] tabbed page of the emulator debugger, when [Yes] is selected for [Permit Clock Source change on writing on-chip Flash Memory], condition (d) can be excluded (the operation is explained for the case when the e studio is in use).
  • Page 25: Note On Peripheral I/O Registers Occupied By The Debugger

    E2/E2 Lite Notes on Usage (4) Removal of software breakpoints when the emulator debugger is to be disconnected When the emulator debugger is to be disconnected, remove all software breakpoints that have been set. At this time, reset the CPU since the emulator debugger is certain to reprogram the flash memory. 3.3.5 Note on Peripheral I/O Registers Occupied by the Debugger (1) Peripheral I/O registers occupied by the debugger...
  • Page 26: Notes On Power Supply Modes

    E2/E2 Lite Notes on Usage (3) Debugging in DSTBY mode Debugging a program that has entered DSTBY is not supported. 3.3.8 Notes on Power Supply Modes (1) Downloading a program that includes a transition to MINPWON or EXFPWON mode To download a program that includes a transition to MINPWON or EXFPWON mode, for [Flash] on the [Debug Tool Settings] tabbed page of the emulator debugger, select [Yes] for [Erase on-chip program flash before download] (the operation is explained for the case when the e studio is in use).
  • Page 27: Mcus That Are Used In Debugging

    E2/E2 Lite Notes on Usage Table 3.1 Access to MPU-Protected Areas Protected Area Operation of the Emulator Debugger Arm MPU Accessible Bus master MPU The protected area is not accessible. Slave MPU Accessible Security MPU On-chip SRAM/peripheral I/O registers • Reading: A dummy value (0x00) is read.
  • Page 28 E2 Emulator, E2 Emulator Lite Revision History Additional Document for User's Manual (Notes on Connection of RE Devices) Rev. Date Description Page Summary   1.00 Jul.16.19...
  • Page 29 E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on Connection of RE Devices) Publication Date: Rev.1.00 Jul.16.19 Published by: Renesas Electronics Corporation...
  • Page 30 E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on Connection of RE Devices) R20UT4582EJ0100...

This manual is also suitable for:

E2 emulator lite

Table of Contents