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

Advertisement

E1/E20/E2 Emulator, E2 Emulator Lite
Supported Devices:
RL78 Family
RL78/G10, RL78/G1M, RL78/G1N
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 Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
Additional Document for User's Manual
(Notes on Connection of RL78)
Rev.3.01 Jul 2020

Advertisement

Table of Contents
loading

Summary of Contents for Renesas E1

  • 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 Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
  • Page 2 Renesas Electronics disclaims any and all liability for any damages or losses incurred by you or any third parties arising from the use of any Renesas Electronics product that is inconsistent with any Renesas Electronics data sheet, user’s manual or other Renesas Electronics document.
  • 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

    When a Separate Power Supply is Used for the User System ............32 3.1.2 When Power is Supplied to the User System from the Emulator (E1/E2/E2 Lite Only) ....34 Power Supply Function of the E1/E2/E2 Lite ................... 35 MCU Resources to be Occupied ......................36 3.3.1...
  • Page 5 E1/E20/E2/E2 Lite Additional Document Contents 3.7.1 Usage in Mass-Production ......................40 3.7.2 Standalone Operation ........................40 Final Evaluation of the User Program ...................... 40 Debug Functions ............................41 3.9.1 Step Execution ..........................41 3.9.2 [Go to Here] ............................ 41 3.9.3 Debugging in Standby Mode ......................
  • Page 6 User program This means the program to be debugged. Programming Software In this document, this indicates Renesas Flash Programmer that can be used with the E1, E20, E2, or E2 Lite. "#" at the end of a pin name (signal name) "#"...
  • Page 7: Overview

    E20 is a development tool allowing sophisticated debugging through enhanced functions such as tracing and RAM monitoring as well as the basic debugging functions of the E1 and E2 Lite. The E2 is a development tool providing a solution for the tuning of current consumption and an external trigger function as extended functions beyond the basic debugging functions of the E1 and E2 Lite.
  • Page 8: Configuration Of Manuals

     E2 Emulator Lite User’s Manual  E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User’s Manual Be sure to read each user’s manual before using the E1, E20, E2, or E2 Lite. (1) E2 Emulator User’s Manual The E2 emulator user’s manual has the following contents: ...
  • Page 9 E1/E20/E2/E2 Lite Additional Document Overview  Help for e2 studio When using C-SPY made by IAR Systems, also refer to "IAR C-SPY Hardware Debugger System User Guide issued by IAR Systems" published by IAR Systems. (6) Application note for extended functions of the E2 The application note for extended functions of the E2 includes an explanation and descriptions of operation methods for an extended function of the E2 emulator.
  • Page 10: Supported Devices

    Notes: 1. For details on the RL78-S1 core, refer to "RL78 Family User's Manual: Software". 2. When using other than the RL78/G10, RL78/G1M, RL78/G1N, refer to "E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on Connection of RL78) (R20UT1994)".
  • Page 11: Overview Of The Specifications Of The External Trigger Input And Output

    E1/E20/E2/E2 Lite Additional Document Overview Overview of the Specifications of the External Trigger Input and Output This section describes the specifications of the external trigger input and output, which is one of E2 extended functions of the E2. 1.5.1 Assignments of the External Trigger Input and Output Pins The following figure and table show the assignments of the external trigger input and output pins for the E2 expansion interface.
  • Page 12: Specifications Of The External Trigger Inputs And Outputs

    E1/E20/E2/E2 Lite Additional Document Overview Table 1-3 Assignments of the External Trigger Input and Output Pins for the E2 Expansion Interface Pin No. Input/Output Description Pin Nos. 1 to 8 are not used.  These pins must be left open-circuit.
  • Page 13: Designing The User System

    2. Designing the User System Connecting the E1/E20/E2/E2 Lite to the User System To connect the E1/E20/E2/E2 Lite to the user system, 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 MCU in use.
  • Page 14 E1/E20/E2/E2 Lite Additional Document Designing the User System 38-pin user-system interface cable 9.4 mm 26.2 mm 38-pin to 14-pin conversion adapter 14-pin connector 7614-6002 or 38-pin to 14-pin conversion adapter (top view) 2514-6002 R0E000200CKA00 10 mm (include in the E20 package)
  • Page 15 E1/E20/E2/E2 Lite Additional Document Designing the User System CAUTION Limit to the height on connector periphery: For a case where the R0E000200CKA00 is used for connecting the E20 to a 14-pin connector, do not mount other components with a height of 10 mm or more within 5 mm of the connector on the user system.
  • Page 16 E1/E20/E2/E2 Lite Additional Document Designing the User System CAUTION Limit to the height on connector periphery: If the 20-pin (1.27-mm pin spacing) to 14-pin (2.54-mm pin spacing) connector conversion adapter is in use and the E2 is to be connected to the 14-pin connector, do not mount components with a height of 13 mm or more on the user system within a rectangle 2 mm from the edges of the connector.
  • Page 17: Pin Assignments Of The Connector On The User System

    E1/E20/E2/E2 Lite Additional Document Designing the User System Pin Assignments of the Connector on the User System 2.3.1 14-Pin Connector Specifications Figure 2-4 shows the specifications of the 14-pin connector. Table 2-2 on the following pages shows the pin assignments of the 14-pin connector.
  • Page 18 E1/E20/E2/E2 Lite Additional Document Designing the User System Table 2-2 14-Pin Connector Pin Assignments RL78/G10 Note Signal *1 Direction *2 R.F.U   R.F.U  RSTPU Input This pin is used to pull up the reset line. TOOL0 This pin is used to transmit command/data to the target device.
  • Page 19: Recommended Circuits Between The Connector And The Mcu

    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/E2/E2 Lite, refer to the hardware manual for the device. The recommended circuit for the RESET# pin differs depending on whether the multiplexed functions are used.
  • Page 20: Notes On Connection

    Do not connect the signal lines between the connector and MCU to other signal lines on the board. For the handling of pins while the E1/E20/E2/E2 Lite is not in use, refer to the hardware manual for the MCU.
  • Page 21: Reset# Pin

    2.5.1 RESET# Pin The RESET# pin is used by the E1/E20/E2/E2 Lite to monitor the pin state and issue a reset to the device. Therefore, a reset signal on the user system is once input to the E1/E20/E2/E2 Lite where it is controlled by masking and then output to the target device.
  • Page 22: Tool0 Pin

    2.5.2 TOOL0 Pin The E1/E20/E2/E2 Lite uses the TOOL0 pin. Any functions that are multiplexed on this pin are not available. Pull up the signals of the TOOL0 pin at 1 kΩ and do not arrange these signal lines in parallel with or across other high-speed signal lines.
  • Page 23: Gnd

    E1/E20/E2/E2 Lite. Power supply from the E1/E2/E2 Lite depends on the quality of the USB power supply of the host machine, and as such, precision is not guaranteed. When writing a program that requires reliability, do not use the power supply function of the E1/E2/E2 Lite.
  • Page 24 When supplying power, ensure that there are no shorts between VDD and GND. Only connect the E1/E20/E2/E2 Lite after confirming that there are no mismatches of alignment on the user system port connector. Incorrect connection will result in the host machine, the E1/E20/E2/E2 Lite, and the user system emitting smoke or catching fire.
  • Page 25: Internal Circuits Of The Emulator

    Designing the User System Internal Circuits of the Emulator 2.6.1 Internal Circuits of the E1 (when the RL78 Family is Connected) Figure 2-9 shows the internal circuits of the E1 with the RL78 family connected. User-side connector Power-supply circuit (only for use in the mode to...
  • Page 26: Internal Circuits Of The E20 (When The Rl78 Family Is Connected)

    E1/E20/E2/E2 Lite Additional Document Designing the User System 2.6.2 Internal Circuits of the E20 (when the RL78 Family is Connected) Figure 2-10 shows the internal circuits of the E20 with the RL78 family connected. User-side connector 100 kΩ 100 kΩ × 2 3.3 V...
  • Page 27: Internal Circuits Of The E2 (When The Rl78 Family Is Connected)

    E1/E20/E2/E2 Lite Additional Document Designing the User System 2.6.3 Internal Circuits of the E2 (when the RL78 Family is Connected) Figure 2-11 shows the internal circuits of the E2 with the RL78 family connected. User-side 1 MΩ × 2 connector...
  • Page 28: Internal Circuits Of The E2 Lite (When The Rl78 Family Is Connected)

    E1/E20/E2/E2 Lite Additional Document Designing the User System 2.6.4 Internal Circuits of the E2 Lite (when the RL78 Family is Connected) Figure 2-12 shows the internal circuits of the E2 Lite with the RL78 family connected. User-side 100 kΩ × 5...
  • Page 29: Notes On Designing The User System

    Isolator for the E1 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 for the E1 emulator (R0E000010ACB20) which is separately available from Renesas.
  • Page 30: Small Connector Conversion Adapter For The E1

    Renesas for user system boards which are too small to mount the 14-pin connector that is the standard connector for the E1, E2 and E2 Lite. By using the adapter, you can reduce the area taken up by the connector mounted on your system.
  • Page 31 Securely connect pins 1, 6, 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/E2 Lite. Securely connect both pin 5 and pin 7.
  • Page 32: Notes On Usage

    (3) Connect the host machine and turn on the emulator. Connect the emulator and the host machine with a USB interface cable. The E1/E2/E2 Lite is turned on by connecting the USB interface cable. When using the E20, turn on its power switch.
  • Page 33 E1/E20/E2/E2 Lite Additional Document Notes on Usage When the external trigger input/output function is to be used with the E2, disconnect the pins that were in use. CAUTION Notes on the User System Power Supply: While the power of the user system is on, do not turn off the host machine, unplug the USB interface cable, or turn off the power switch of the E20.
  • Page 34: When Power Is Supplied To The User System From The Emulator (E1/E2/E2 Lite Only)

    E1/E20/E2/E2 Lite Additional Document Notes on Usage 3.1.2 When Power is Supplied to the User System from the Emulator (E1/E2/E2 Lite Only) <When using the emulator> (1) Connect the user system. Connect the emulator and the user system with a user-system interface cable.
  • Page 35: Power Supply Function Of The E1/E2/E2 Lite

    Power Supply Function of the E1/E2/E2 Lite When using the power supply function of the E1/E2/E2 Lite, check the voltage supplied to the user system. Particularly when the 5.0-V supply option is selected, the voltage depends on the USB VBUS power-supply voltage.
  • Page 36: Mcu Resources To Be Occupied

    These areas (shaded sections) are used for debugging. These areas should not be changed to save the user program or data. If a change is made, control by the E1/E20/E2/E2 Lite is no longer possible. However, when "No" is selected in the [Permit flash programming] property of the debugger, the internal ROM spaces shown in Figure 3-1 are not used (only the internal RAM spaces are used).
  • Page 37: Securing A Stack Area For Debugging

    E1/E20/E2/E2 Lite Additional Document Notes on Usage 3.3.2 Securing a Stack Area for Debugging The debugger requires 10 bytes as a stack area for debugging. Since this area is allocated immediately after the stack area, the address of this area varies depending on the stack increase and decrease. That is, 10 extra bytes are consumed for the stack area used.
  • Page 38: Setting A Security Id

    E1/E20/E2/E2 Lite Additional Document Notes on Usage 3.3.4 Setting a Security ID This setting is required to prevent the memory from being read by an unauthorized person. Embed a security ID at addresses 0xC4 to 0xCD in the internal flash memory. The debugger starts only when the security ID that is set during debugger startup and the security ID set at addresses 0xC4 to 0xCD match.
  • Page 39: Reset

    (download, rewriting of flash memory from a memory window, etc.) that accompany rewriting of flash memory. Since a part of the RAM area (0FFEC6h to 0FFECFh) is used by the E1/E20/E2/E2 Lite at rewriting of flash memory, the RAM data will be rewritten.
  • Page 40: Mcus That Are Used In Debugging

    3.7.1 Usage in Mass-Production MCUs that are connected to the E1/E20/E2/E2 Lite and used in debugging are placed under stress by repeated programming of flash memory during emulation. Do not use MCUs that were used in debugging in mass-production for end users.
  • Page 41: Debug Functions

    E1/E20/E2/E2 Lite Additional Document Notes on Usage Debug Functions 3.9.1 Step Execution (1) Cautions on using step-in (step execution) The value of some SFRs (special function registers) might remain unchanged while stepping into code. If the values of the SFRs do not change while stepping into code, operate the microcontroller by continuously executing the instructions instead of executing them in steps.
  • Page 42: Software Break Functions

    E1/E20/E2/E2 Lite Additional Document Notes on Usage 3.9.5 Software Break Functions The RL78-S1 core device does not have the software break function. The hardware break function can be used alternatively but a break will occur several instructions after the breakpoint because the hardware break function generates a break after execution of the instruction at the breakpoint.
  • Page 43: Revision History

    Revision History Rev. Date Description Page Summary 3.00 Jul 1, 2017 Information on the E2 emulator was added. Notes on using the RESET# multiplexed pin were added to section 3.6. A note on standalone operation of the device was added to section 3.7.2. 3.01 Jul 1, 2020 Information on the RL78/G1M and RL78/G1N were added.
  • Page 44 E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User's Manual (Notes on Connection of RL78) Publication Date: Jul 1, 2020 Rev.3.01 Published by: Renesas Electronics Corporation...
  • Page 45 E1/E20/E2 Emulator, E2 Emulator Lite Additional Document for User’s Manual (Notes on Connection of RL78) R20UT2937EJ0301...

This manual is also suitable for:

E20E2E2 lite

Table of Contents