Advertisement

Quick Links

E30A Emulator R0E00030AKCT00
Supported Devices:
R32C/100 Series
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).
www.renesas.com
User's Manual
Rev.5.01 Mar 2016

Advertisement

Table of Contents
loading

Summary of Contents for Renesas R0E00030AKCT00

  • 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 products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, 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: Preface

    This user's manual mainly describes specifications of the E30A Emulator and how to setup it. For details on the related product such as an emulator debugger, refer to each product's user’s manual. The related manuals for using this product are listed below. You can download the latest manuals from the Renesas Tools homepage (http://www.renesas.com/tools).
  • Page 4: Important

    Purpose of use of the emulator: This emulator is a device to support the development of systems that use the M16C Family R32C/100 Series of Renesas 32-bit single-chip MCUs. It provides support for system development in both software and hardware. This emulator is not guaranteed for use on production lines.
  • Page 5 Renesas or to a third party. (3) This user’s manual and this emulator are copyrighted, with all rights reserved by Renesas. This user’s manual may not be copied, duplicated or reproduced, in whole or part, without prior written consent from Renesas.
  • Page 6: Precautions For Safety

    E30A Emulator User’s Manual Precautions for Safety Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read and understand this chapter before using this product. Contact us if you have any questions about the precautions described here.
  • Page 7 E30A Emulator User’s Manual Precautions for Safety WARNING Warnings for AC Power Supply: If the included AC power cable does not fit the receptacle, do not alter the AC power cable and do not plug it forcibly. Failure to comply may cause electric shock and/or fire. The included AC power cable complies with American UL Standard.
  • Page 8 Renesas also offers to take back the equipment and has implemented a Tools Product Recycling Program for customers in Europe. This allows you to return equipment to Renesas for disposal through our approved Producer Compliance Scheme. To register for the program, click here “http://www.renesas.com/weee".
  • Page 9: Table Of Contents

    E30A Emulator User’s Manual Contents Contents Page Preface ..................................3 Important ..................................4 Precautions for Safety ..............................6 Contents ..................................9 User Registration ................................ 10 Terminology ................................11 1. Outline ..................................12 1.1 Package Components ........................... 12 1.2 System Configuration ............................ 13 1.3 Operating Environment ..........................
  • Page 10: User Registration

    E30A Emulator User’s Manual User Registration User Registration When you install debugger software, a text file for user registration is created on your PC. Fill it in and email it to your local distributor. If you have replaced an emulator main unit or emulation probe, rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products.
  • Page 11: Terminology

    Integrated development environment: High-performance Embedded Workshop This tool provides powerful support for the development of embedded applications for Renesas microcomputers. It has an emulator debugger function allowing the emulator to be controlled from the host machine via an interface. Furthermore, it permits a range of operations from editing a project to building and debugging it to be performed within the same application.
  • Page 12: Outline

    - E30A Emulator user’s manual Note: * Please keep the R0E00030AKCT00's packing box and cushioning materials at hand for later reuse in sending the product for repairs or for other purposes. Always use the original packing box and cushioning material when transporting the R0E00030AKCT00.
  • Page 13: System Configuration

    E30A Emulator User’s Manual 1. Outline 1.2 System Configuration The E30A emulator is used connecting the target MCU that mounted on the user system. Figure 1.1 shows a configuration of the E30A emulator. AC Adapter 50Ω Coaxial Cable USB 2.0 High Speed E30A Emulator User System Host Machine...
  • Page 14: Specifications

    E30A Emulator User’s Manual 1. Outline 1.5 Specifications 1.5.1 Product specifications Table 1.2 lists the product specifications of the E30A emulator. Table 1.2 Product specifications of the E30A emulator Item Description Applicable MCU M16C Family R32C/100 Series Available MCU mode Single-chip mode Memory expansion mode Maximum operating frequency...
  • Page 15 E30A Emulator User’s Manual 1. Outline 1.5.2 Specifications of the AC Adapter Table 1.3 lists the specifications of the included AC adapter. Table 1.3 Specifications of the included AC adapter Item Description AC input voltage range AC 100 - 240 V, 50/60Hz single phase Output power 36 W DC output voltage, current...
  • Page 16: Regulatory Compliance Notices

    Renesas Electronics Corporation Address : Toyosu Foresia, 3-2-24, Toyosu, Koto-ku, Tokyo 135-0061, Japan ・Manufacturer Name : Renesas System Design Co., Ltd. Address : 5-20-1, Josuihon-cho, Kodaira-shi, Tokyo 187-8588, Japan ・Person responsible for placing on the market Name : Renesas Electronics Europe GmbH...
  • Page 17: Names And Functions Of Each Part Of The Emulator

    E30A Emulator User’s Manual 1. Outline 1.7 Names and Functions of Each Part of the Emulator Figure 1.2 shows the names and functions of each part of the emulator. The connector followed by “*” (the differential connector) is prepared for future expansion. It cannot be used because of not working now. DC power input connector Option...
  • Page 18: Operating Environment

    E30A Emulator User’s Manual 1. Outline 1.7.3 DC Power Input Connector This connector connects the included AC adapter DC output cable to supply DC 12.0 V. 1.7.4 Power Switch This is a power switch of the E30A emulator. Before turning on the power again after shutting off the power, wait about 10 seconds.
  • Page 19: Setup

    E30A Emulator User’s Manual 2. Setup 2. Setup 2.1 Flowchart of Starting Debugging The procedure for starting the debugging is shown in Figure 2.1. For details, refer to each section hereafter. Refer to “1.1 Package Components. Check the package components. First time only ↓...
  • Page 20: Installing The Emulator Debugger

    E30A Emulator User’s Manual 2. Setup 2.2 Installing the Emulator Debugger Install the R32C/100 E30A emulator debugger from the included CD-ROM as follows. This installation must be executed by a user with administrator rights. Be aware that users without administrator rights cannot complete the installation. (1) When inserting the included CD-ROM, the Readme Web page will be displayed.
  • Page 21: Changing Hardware Settings

    E30A Emulator User’s Manual 2. Setup 2.3 Changing Hardware Settings 2.3.1 Selecting Clock Supply You need to choose the X clock supplied to the target MCU on the user system. Table 2.1 shows the clock supply to the MCU. For normal use, select “Generated” in the Emulator tab of the Init dialog box of the emulator debugger and specify a frequency you like to use for this clock supplied to an MCU.
  • Page 22 E30A Emulator User’s Manual 2. Setup 2.3.3 Using the Internal Oscillator Circuit Bare Board To use this product at a frequency you like, build a desired oscillator circuit on the OSC-2 oscillator circuit bare board (not included). Figure 2.2 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations. Figure 2.3 shows the circuitry of the oscillator circuit bare board OSC-2.
  • Page 23: Connecting The Ac Adapter To The E30A Emulator

    E30A Emulator User’s Manual 2. Setup 2.4 Connecting the AC Adapter to the E30A Emulator Connect the included AC adapter to the E30A emulator. (1) Check to see if the E30A emulator power switch is OFF. (2) Connect the DC output cable of the AC adapter to the DC power input connector of the E30A emulator. (3) Connect the AC power cable to the AC power input connector of the AC adapter.
  • Page 24: Connecting The E30A Emulator And The User System

    E30A Emulator User’s Manual 2. Setup 2.6 Connecting the E30A Emulator and the User System 2.6.1 Using the Coaxial Connector (1) Processing NSD pin Pull up NSD pin of the target MCU to Vcc1 with a 4.7kΩ resistor. (It cannot be connected directly to Vcc1 and Vcc2.) Furthermore, be sure that the wiring from NSD pin to the connector is shortest possible.
  • Page 25 E30A Emulator User’s Manual 2. Setup 2.6.2 Using the Coaxial Converter Board R0E00030ACKZ00 (1) Processing NSD pin Pull up NSD pin of the target MCU to Vcc1 with a 4.7kΩ resistor. (It cannot be connected directly to Vcc1 and Vcc2.) Furthermore, be sure that the wiring from NSD pin to the connector is shortest possible.
  • Page 26 E30A Emulator User’s Manual 2. Setup 2.6.3 Using the Option Board R0E00030ACKZ10 (1) Processing NSD pin Pull up NSD pin of the target MCU to Vcc1 with a 4.7kΩ resistor. (It cannot be connected directly to Vcc1 and Vcc2.) Furthermore, be sure that the wiring from NSD pin to the connector (pin 4) is shortest possible. (2) Mounting part in place Mount the 2.54mm pitch 8-pin socket included with the product (PIC-FS08-G+R made by Honda Tsushin Kogyo) on designated position of the user system.
  • Page 27 E30A Emulator User’s Manual 2. Setup Since a hardware reset can be generated from the E30A emulator, the target MCU does not need to be reset. Figure 2.6 is a connection diagram showing how to connect the E30A emulator and user system using the option board. User system Reset IC (O.D.Output)
  • Page 28: Turning On The Power

    E30A Emulator User’s Manual 2. Setup 2.7 Turning ON the Power 2.7.1 Checking the Connections of the Emulator System Verify the connection of the emulator with the AC adapter, host machine and user system. 2.7.2 Turning ON/OFF the Power Turn ON/OFF the power of the emulator and user system as simultaneously as possible. If you cannot turn on the powers simultaneously, turn on the emulator first, then the user system.
  • Page 29: Installing The Usb Device Driver

    E30A Emulator User’s Manual 2. Setup 2.8 Installing the USB Device Driver The installation wizard for USB device drivers starts after the device had been detected by the host machine. ® Figure 2.7 shows the procedure for installing the USB device drivers for Window XP.
  • Page 30: Checking The Status Leds Display

    E30A Emulator User’s Manual 2. Setup 2.9 Checking the Status LEDs Display Check that the SYS POWER LED and SAFE LED are lighting. If the SAFE LED is off and the ERROR LED is on, it means that the E30A emulator hardware is not operating normally. When the SAFE LED is off and the ERROR LED blinks, it means the internal firmware of the E30A emulator is not running normally.
  • Page 31: Starting Up The Emulator Debugger

    E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3. Starting Up the Emulator Debugger 3.1 Switching the Session When you finish creating a program and start debugging, switch the session of the High-performance Embedded Workshop. Select “SessionR32C_100_E30A_Emulator” from the dropdown list in [Standard] toolbar. R20UT0422EJ0501 Rev.5.01 Page 31 of 65 Mar 15, 2016...
  • Page 32: Initial Setting Of The Emulator Debugger

    Note on MCU file: When you cannot select the MCU to be used, add the MCU file to the folder below. For details on getting the MCU file, contact your local distributor. Install folder of the High-performance Embedded Workshop\Tools\Renesas\DebugComp\Platform \PDTarget\PD100E30A\McuFiles (2) Serial No.
  • Page 33 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger (3) Debug the program rewriting internal flash memory. Select this check box when you want to debug a program in CPU rewrite mode. In this mode, software breaks in the internal ROM area of the MCU cannot be used.
  • Page 34 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.2.2 Debugging Information Tab This tab permits you to select a compiler, select an object format, and choose to specify On Demand for debug information. (1) Compiler Select the compiler you are using. (2) Object Format Select the format of the object file that is output by the compiler you are using.
  • Page 35 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.2.3 Emulator Tab This tab permits you to specify the clock supplied to the target MCU and data acquisition interval of the RAM monitor. (1) Clock Specify the X clock and the frequency that supplied to the target MCU. - Xin: Enter the frequency of the X clock, and select Generated (Internal generator circuit) or Internal (Oscillator circuit board).
  • Page 36 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger (2) Data acquisition interval in MCU running state (1 - 100) ms Specify the data acquisition interval (byte or word data). At this interval the functions such as the RAM monitor acquire the memory data while the user program is running.
  • Page 37 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.2.5 Mode tab This tab permits you to select an operating mode and specify the download to flash ROM area and the writer mode. Table 3.1 lists the debug functions depending on the operating mode. Table 3.1 Debug functions depending on the operating mode Break Time...
  • Page 38: Resetting The User System

    E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger (3) Writer Mode This function is valid when “Writer” is selected. This mode is used when using the E30A emulator as the flash ROM writer. Select a load module file to be downloaded. - Click “Add…”...
  • Page 39: Entering Id Code

    E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.4 Entering ID Code If the target MCU has ID code set in it, the ID Code verification dialog box shown below is displayed. Enter the 7-byte ID code written to the internal flash ROM into the dialog box successively. Table 3.2 shows the ID code storage area. - Enter ID1 -- ID7 successively in that order and then click “OK”.
  • Page 40: Setting The Emulator Debugger Operating Environment

    E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.5 Setting the Emulator Debugger Operating Environment When a communication path between the E30A Emulator and target MCU is established, the Emem dialog box shown below is displayed. Set each tab described below and click “OK”. 3.5.1 Internal Flash Memory Overwrite Tab This tab permits you to specify whether or not to overwrite each block of the internal flash ROM in the MCU.
  • Page 41 - Up to four USD files can be added. To create USD files, use the External Flash Definition Editor. For details on how to create USD files, refer to the user’s manual for the External Flash Definition Editor, which is available at http://www.renesas.com/efe. R20UT0422EJ0501 Rev.5.01...
  • Page 42 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger (2) External flash memory detail setting Click the “Detail…” button to open the External flash memory detail setting dialog box. This dialog box allows you to specify whether or not individual sectors (blocks) of external flash memory should be overwritten.
  • Page 43 E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger 3.5.3 Ext Port Tab This tab permits you to set the extension port function to connect an option connector. (1) Setting Extension Port Specify whether to disable the reset signal for the user system. Unless the option board is connected, this setting is not available to use.
  • Page 44: Debugging Functions

    E30A Emulator User’s Manual 4. Debugging Functions 4. Debugging Functions 4.1 Break Function 4.1.1 Software Break If the breakpoint you set is a software breakpoint, the program stops before executing the instruction at the set breakpoint - Up to 256 break points can be set. - You can specify breakpoints in the internal RAM of the MCU, the internal flash ROM of the MCU, and the RAM on the user system.
  • Page 45: Trace Function

    E30A Emulator User’s Manual 4. Debugging Functions 4.2 Trace Function 4.2.1 Trace Capacity The following can be selected depending on the trace mode chosen in the event setting window. - Trace priority 8M events can be traced. The trace information is output from the MCU and recorded to the emulator trace memory. The user program execution may be delayed depending on the event occurrence interval because the MCU processes the trace information output prior to others.
  • Page 46: Time Measument Function

    E30A Emulator User’s Manual 4. Debugging Functions 4.2.3 Extraction Trace An extraction trace with the start event E0 and the end event E4 specified is possible. The events E1 -- E3 or E5 -- E7 that occurred during an interval between E0 to E4 are recorded in the trace RAM. Note on Execution Address Trace Event: When specifying the execution address as the trace event, the results may be different from what you expect because the event is encountered at the prefetch address.
  • Page 47: Ram Monitor Function

    E30A Emulator User’s Manual 4. Debugging Functions 4.4 RAM Monitor Function You can view memory data during user program execution by a pseudo-RAM monitor function which is realized by the software using event E5. Data is acquired in byte/word unit by the interval specified in “Data acquisition interval in MCU running state”...
  • Page 48: Troubleshooting

    The following describes how to solve a trouble when any problem occurs before the emulator debugger starts after the emulator and the user system have been powered on. For the latest information on the emulator and emulator debugger, visit Renesas Electronics’ development environment website (http://www.renesas.com/tools). 5.1.1 The SAFE LED Remains Off The USB cable may not be connected properly.
  • Page 49: How To Request Support

    E30A Emulator User’s Manual 5. Troubleshooting 5.2 How to Request Support After checking the items in "5 Troubleshooting", contact us from the following URL. http://www.renesas.com/inquiry For prompt response, please specify the following information: Operating environment - MCU Type name: R5F64_ _ _...
  • Page 50: Maintenance And Warranty

    Failure or damage attributable to modifications, repairs, adjustments, or other acts made to the product by other than Renesas Electronics Corporation. (3) Consumables (e.g., sockets and adapters) are not covered by the aforementioned repair. In the above cases, contact your local distributor. If your product is being leased, consult the leasing company or the owner.
  • Page 51: Repair Provisions

    6.5 How to Make Request for Repair If your product is found faulty, fill in a Repair Request Sheet downloadable from the following URL. And email the sheet and send the product to your local distributor. http://www.renesas.com/repair CAUTION Note on Transporting the Product:...
  • Page 52: Appendix A Target Mcu Specifications

    E30A Emulator User’s Manual Appendix A Target MCU Specifications Appendix A Target MCU Specifications Table A.1 lists the specifications of target MCUs which can be debugged with this product. Table A.1 Specifications of the applicable target MCU Item Description Applicable MCU M16C Family R32C/100 Series Usable MCU mode Single-chip mode...
  • Page 53: Appendix B Differences Between The Actual Mcu And Emulator

    E30A Emulator User’s Manual Appendix B Differences between the Actual MCU and Emulator Appendix B Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions.
  • Page 54 E30A Emulator User’s Manual Appendix B Differences between the Actual MCU and Emulator Note on the Lock Bits for the MCU Internal Flash ROM: The lock bits for the blocks whose contents have been altered by downloading a user program or setting software breakpoints are in an unlocked state.
  • Page 55: Appendix C Notes On Using This Product

    E30A Emulator User’s Manual Appendix C Notes on Using This Product Appendix C Notes on Using This Product Notes on using this product are listed below. When debugging the MCU using this product, be careful about the following precautions. Notes on the Resources of the MCU Used by the Emulator: When you are using a data comparison break (event E5 only), the E30A Emulator uses several bytes from the beginning of the MCU’s internal RAM (8 bytes at the addresses 0400h -- 0407h) for data comparison by the debug monitor program.
  • Page 56 E30A Emulator User’s Manual Appendix C Notes on Using This Product Notes on Debug Monitor Program Intervention: The following functions result in the realtime capability becoming impaired because the debug monitor program intervenes. Also, in order to complete processing of the debug monitor program as fast as possible, do not operate the MCU’s internal DMA during the processing.
  • Page 57 E30A Emulator User’s Manual Appendix C Notes on Using This Product Notes on Debugging in CPU Rewrite Mode: To debug a program in CPU rewrite mode, check the box “Debug the program using the CPU Rewrite Mode” in the MCU tab of the Init dialog box. When the debugging in CPU rewrite mode is enabled, software breakpoint to the internal ROM area cannot be used.
  • Page 58: Appendix D Connection Diagram

    E30A Emulator User’s Manual Appendix D Connection Diagram Appendix D Connection Diagram Figure D.1 shows a connection diagram of the E30A emulator. This connection diagram shows the interface section. E30A emulator UVcc1 9 7 5 3 1 10 8 6 4 2 UVcc1 1kΩ...
  • Page 59: Appendix E Signal Assignments Of The Connectors

    E30A Emulator User’s Manual Appendix E Signal Assignments of the Connectors Appendix E Signal Assignments of the Connectors (1) USB I/F connector Table E.1 lists the signal assignments of the USB I/F connector. Table E.1 Signal assignments of the USB I/F connector Signal Description VBUS...
  • Page 60: Appendix F External Dimensions

    E30A Emulator User’s Manual Appendix F External Dimensions Appendix F External Dimensions (1) E30A Emulator Figure F.1 shows external dimensions of the E30A emulator. 136.3 Unit: mm Figure F.1 External dimensions of the E30A emulator R20UT0422EJ0501 Rev.5.01 Page 60 of 65 Mar 15, 2016...
  • Page 61 E30A Emulator User’s Manual Appendix F External Dimensions (2) Coaxial converter board Figure F.2 shows external dimensions of the coaxial converter board. 23.5 17.0 11.5 User System Unit: mm Figure F.2 External dimensions of the coaxial converter board (3) Option board Figure F.3 shows external dimensions of the option board.
  • Page 62: Revision History

    Revision History Rev. Date Description Page Summary 5.01 Mar 15, 2016 Regulatory Compliance Notices changed...
  • Page 63 E30A Emulator R0E00030AKCT00 User's Manual Apr 01, 2008 Rev.1.00 Publication Date: Mar 15, 2016 Rev.5.01 Published by: Renesas Electronics Corporation...
  • Page 64 SALES OFFICES SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. Renesas Electronics America Inc. 2801 Scott Boulevard Santa Clara, CA 95050-2549, U.S.A.
  • Page 65 E30A Emulator R0E00030AKCT00 User's Manual R20UT0422EJ0501...

This manual is also suitable for:

E30a

Table of Contents