User’s ManualUser’s ManualUser’s Manual
E30A Emulator R0E00030AKCT00
User's Manual
Supported Devices:
R32C/100 Series
Rev.5.00 Dec 2010
www.renesas.com
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).
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is
subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please
confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to
additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights
of third parties by or arising from the use of Renesas Electronics products or technical information described in this document.
No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights
of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. Descriptions of circuits, software and other related in formation in this document are provided only to illustrate the operatio n of
semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software,
and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by
you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control
laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas
Electronics products or the technology described in this document for any purpose relating to military applications or use by
the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and
technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited
under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics
does not warrant that su ch information is error free. Renesas Electronics assumes no liability whatsoever for any damages
incurred by you resulting from erro rs in or omissions from the information included herein.
7. Renesas Electroni cs products are classified according to the follo wing three quality grades: “Standard”, “High Quality”, and
“Specific”. The recommended app lications for each Renesas Electronics product depends on the product’s quality grade, as
indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular
application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior
written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for
which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way
liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an
application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written
consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise
expressly speci fied in a Renesas Electronics data sheets or data books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual
equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti-
crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”: Aircraft; aerospace eq uipment; submersible repeaters; nuclear reactor control systems; medical equipment or
systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare
intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics,
especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation
characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or
damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have
specific characteristics such as the occurren ce of failure at a certain rate and malfunctions under certain use conditions. Further,
Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safet y 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. Because
the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system
manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental
compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable
laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS
Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with
applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas
Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this
document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority-
owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
E30A Emulator User’s Manual Preface
R20UT0422EJ0500 Rev.5.00 Page 3 of 66
Dec 01, 2010
Preface
The E30A Emulator (R0E00030AKCT00) is an emulator for MCU of the R32C/100 Series.
All the components of this product are shown in "1.1 Package Components" (page 13). If you have any questions about this
product, contact your local distributor.
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).
Related manuals Item Manual
Integrated development environment High-performance Embedded Workshop online help
Emulator debugger R32C/100 E30A Emulator Debugger online help
C compiler NC100 C Compiler User's Manual
Assembler AS100 Assem ble r Use r's Manual
E30A Emulator User’s Manual Important
R20UT0422EJ0500 Rev.5.00 Page 4 of 66
Dec 01, 2010
Important
Before using this emulator, be sure to read this user's manual carefully.
Keep this user’s manual, and refer to it when you have questions about this product.
Emulator:
"Emulator" in this document collectively refers to the E30A Emulator provided by Renesas Electronics Corporation.
"Emulator" herein encompasses neither the cu stomer's user system nor the host machine.
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 producti on lines.
Be sure to use this emulator correctly according to said purpose of use. Please avoid using this emulator other than for its
intended purpose of use.
For those who use the emulator:
This emulator can only be used by those who have careful ly read the user’s manual and kn o w how t o u se it.
Use of this emulator requires basic knowledge of electric circuits, logical circuits, and MCUs.
When using the emulator:
(1) This emulator is a development-support unit for use in your program development and evaluation stages. When a program
you have finished developing is to be incorporated in a mass-produced product, the judgment as to whether it can be put
to practical use is entirely your own responsibility, and should be based on evaluation of the device on which it is installed
and other experiments.
(2) In no event shall Renesas Electronics Corporation be liable for any consequence arising from the use of this emulator.
(3) Renesas Electronics Corporation strives to provide workarounds for and correct trouble with products malfunctions, with
some free and some incurring charges. However, this does not necessarily mean that Renesas Electronics Corporation
guarantees the provisio n of a workaround or correction under any circumstances.
(4) This emulator covered by this document has been developed on the assumption that it will be used for program
development and evaluation in laboratories. Therefore, it does not fall within the scope of applicability of the Electrical
Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan.
(5) Renesas Electronics Corporation cannot predict all possible situations and possible cases of misuse that carry a potential
for danger. Therefore, the warnings in this user's manual and the warning labels attached to this emulator do not
necessarily cover all such possible situations and cases. The customer is responsible for correctly and safely using this
emulator.
(6) Renesas Electronics Corporation will not assume responsibility of direct or indirect damage caused by an accidental
failure or malfunction in this produ c t.
When disposing of this product:
Penalties may be applicab le for incorrect disposal of this waste, in accordance with your national legislation.
E30A Emulator User’s Manual Important
R20UT0422EJ0500 Rev.5.00 Page 5 of 66
Dec 01, 2010
Usage restrictions:
This emulator has been developed as a means of supporting system development by users. Therefore, do not use it as an
embedded device in other equipment. Also, do not use it to develop systems or equipment for use in the following fields.
(1) Transportation and vehicular
(2) Medical (equipment that has an invo lvement in human life)
(3) Aerospace
(4) Nuclear power control
(5) Undersea repeaters
If you are considering the use of this emulator for one of the above purposes, please be sure to consult your local distributor.
About product changes:
We are constantly making efforts to improve the design and performance of this emulator. Therefore, the specification or
design of this emulator, or this user's manual, may be changed without prior notice.
About rights:
(1) We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of
any information, produ cts or circuits presented in this user’s manu al.
(2) The information or data in this user’s manual does not implicitly or otherwise grant a license to patent rights or any other
rights belonging to 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 con s ent from Renesas.
About diagrams:
Some diagrams in this user’s manual may differ from the objects they represent.
E30A Emulator User’s Manual Precautions for Safety
R20UT0422EJ0500 Rev.5.00 Page 6 of 66
Dec 01, 2010
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 ch apter before using this product.
Contact us if you have any questions about the precautions described here.
WARNING
WARNING indicates a potentially dangerous situation that will cause death or heavy
wound unless it is avoided.
CAUTION
CAUTION indicates a potentially dangerous situation that will cause a slight injury or
a medium-degree injury or property damage unless it is avoided.
To avoid a possible danger, the following diagrammatic symbols are used to call your attention.
means WARNING or C A U T IO N.
Example: CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example: DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example: UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
E30A Emulator User’s Manual Precautions for Safety
R20UT0422EJ0500 Rev.5.00 Page 7 of 66
Dec 01, 2010
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. Use an AC power cable which
complies with the safety standard of the country where this emulator is used.
The rated voltage for this cable is 125 volts. When you connect to a power supply of more than 125V,
use an appropriate cable for the voltage.
Do not touch the plug of the AC power cable when your hands are wet. This may cause electric sho c k.
This emulator is connected signal ground with frame ground. If your developing product is transform-
less (not having isolation transformer of AC power), this may cause electric shock. Also, this may give
an un-repaira ble damage to this emulator and your d eveloping product.
While developing, connect AC power of the product to commercial power through isolation transformer
in order to avoid these dangers.
If other equipment is connected to the same branch circuit, care should be taken not to overload the
circuit.
When installing this equipment, insu re that a reliable ground connection is maintained.
If you smell a strange odor, hear an unusual sound, or see smoke coming from this product, then
disconnect power immedi ately by unplugging the AC power cable from the outlet.
Do not use this as it is because of the danger of electric shock and/or fire. In this case, contact your
local distributor.
Before setting up this emulator and connecting it to other devices, turn off power or remove a power
cable to prevent injury or product damage.
Warning for Modification:
Do not modify this emulator. Personal injury due to electric shock may occur if this emulator is modified.
Modifying the emulator will void your warranty.
Warnings for Installation:
Do not set this product in water or areas of high humidity. Make sure that the product does not get wet.
Spilling water or some other liquid into the produ ct may cause un-repairable damage.
Make sure nothing falls into the cooling fan on the top panel, especially liquids, metal objects, or
anything combustible.
Warning for Use temperature:
This equipment is to be used in an environment with a maximum ambient temperature of 35°C. Care
should be taken that this temperature is not exceeded.
E30A Emulator User’s Manual Precautions for Safety
R20UT0422EJ0500 Rev.5.00 Page 8 of 66
Dec 01, 2010
CAUTION
Cautions to Be Taken for the AC Adapter:
Use only the AC adapter included in this pro duct. Do not use the AC adapter for other equipment.
The DC plug of the included AC adapter has the below polarity.
Cautions to Be Taken for Turning On 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 emul ator first and then the user system.
When turning on the power again after shutting off the powe r, wait about 10 seconds.
Cautions to Be Taken for Handling This Product:
Use caution when handlin g the product. Be careful not to apply a mechanical shock.
Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly.
Static electricity may damage the internal circuits.
When attaching and removing the cable, hold the plug of the cable and do not touch the cable. When
installing the emulator, do not flex the cable excessively or pull the emulator or the board by the cable
connected to it. The cable may cause a bre ak.
Do not tape the flexible cable or apply adhesives to secure the cable. The shielding material on the
surface of the cable may come off.
Caution to Be Taken for System Malfunctions:
If the emulator malfunctions because of interference like external noise, do the following to remedy the
trouble.
(1) Exit the emulator debugger, and shut OFF the emulator and the user system.
(2) When turning the power ON again, wait more than 10 seconds. Then start up the emulator
debugger.
Caution to Be Taken for Disposal:
Penalties may be applicable for incorrect disposal of this waste, in accordance with your national
legislation.
European Union regulatory notices:
Renesas development tool s and products are directly covered by the Europ ean Union's Wast e
Electrical and Electronic Equipment, (WEEE), Directive 2002/96/E C. As a result, this equipment,
including all accessories, must not be disposed of as household waste but through your locally
recognized recycling or disposal schemes. As part of our commitment to environmental responsibility
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 Co mpliance Scheme. To register for the program, click h ere
http://www.renesas.com/weee".
E30A Emulator User’s Manual Contents
R20UT0422EJ0500 Rev.5.00 Page 9 of 66
Dec 01, 2010
Contents
Page
Preface..........................................................................................................................................................................3
Important.......................................................................................................................................................................4
Precautions for Safety ..................................................................................................................................................6
Contents........................................................................................................................................................................9
User Registration........................................................................................................................................................11
Terminology................................................................................................................................................................12
1. Outline.....................................................................................................................................................................13
1.1 Package Components...................................................................................................................................13
1.2 System Configuration....................................................................................................................................14
1.3 Operating Environment..................................................................................................................................14
1.4 PC Interface...................................................................................................................................................14
1.5 Specifications ................................................................................................................................................15
1.6 Regulatory Compliance Notices....................................................................................................................17
1.7 Names and Functions of Each Part of the Emulator.....................................................................................18
1.8 Operating Environment..................................................................................................................................19
2. Setup.......................................................................................................................................................................20
2.1 Flowchart of Starting Debugging...................................................................................................................20
2.2 Installing the Emulator Debugger..................................................................................................................21
2.3 Changing Hardware Settings.........................................................................................................................22
2.4 Connecting the AC Adapter to the E30A Emulator.......................................................................................24
2.5 Connecting the E30A Emulator and the Host Machine.................................................................................24
2.6 Connecting the E30A Emulator and the User System ..................................................................................25
2.7 Turning ON the Power...................................................................................................................................29
2.8 Installing the USB Device Driver...................................................................................................................30
2.9 Checking the Status LEDs Display................................................................................................................31
2.10 Downloading Firmware................................................................................................................................31
3. Starting Up the Emulator Debugger .......................................................................................................................32
3.1 Switching the Session ...................................................................................................................................32
3.2 Initial Setting of the Emulator Debugger........................................................................................................33
3.3 Resetting the User System............................................................................................................................39
3.4 Entering ID Code...........................................................................................................................................40
3.5 Setting the Emulator Debugger Operating Environment...............................................................................41
4. Debugging Functions..............................................................................................................................................45
4.1 Break Function ..............................................................................................................................................45
4.2 Trace Function...............................................................................................................................................46
4.3 Time Measument Function............................................................................................................................47
4.4 RAM Monitor Function...................................................................................................................................48
5. Troubleshooting......................................................................................................................................................49
5.1 How to Solve a Trouble.................................................................................................................................49
5.2 How to Request Support ...............................................................................................................................50
6. Maintenance and Warranty.....................................................................................................................................51
6.1 User Registration...........................................................................................................................................51
6.2 Maintenance..................................................................................................................................................51
6.3 Warranty........................................................................................................................................................51
6.4 Repair Provisions ..........................................................................................................................................52
6.5 How to Make Request for Repair..................................................................................................................52
E30A Emulator User’s Manual Contents
R20UT0422EJ050 0 Rev.5.00 Page 10 of 66
Dec 01, 2010
Appendix A Target MCU Specifications...................................................................................................................53
Appendix B Differences between the Actual MCU and Emulator............................................................................54
Appendix C Notes on Using This Product................................................................................................................56
Appendix D Connection Diagram.............................................................................................................................59
Appendix E Signal Assignments of the Connectors.................................................................................................60
Appendix F External Dimensions.............................................................................................................................61
E30A Emulator User’s Manual User Registration
R20UT0422EJ050 0 Rev.5.00 Page 11 of 66
Dec 01, 2010
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.
Your registered information is used for only after-sale services, and not for any other purposes. Without user registration, you
will not be able to receive maintenance services such as a notification of field changes or trouble information. So be sure to
carry out the user registration.
For more information about user registration, please contact your local distributor.
E30A Emulator User’s Manual Terminology
R20UT0422EJ050 0 Rev.5.00 Page 12 of 66
Dec 01, 2010
Terminology
Some specific words used in this user’s manual are defined below:
Integrated development environment: High-performance Embedded Work shop
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.
In addition, it supports version management.
Emulator debugger
This means a software tool that is started up from the High-performance Embedded Workshop, and controls the emulator and
enables debugging.
Firmware
This means a control program stored in the emulator. This analyzes the contents of communications with the emulator
debugger and controls the emulator hardware. To upgrade the firmware, download the program from the emulator debugger.
Host machine
This means a personal computer used to control the emulator.
Target MCU
This means the MCU to be debugged.
User system
This means a user's application system in which the MCU to be debugged is used.
User program
This means the program to be debugged.
#
This symbol indicates that a signal is active-low (e.g. RESET#).
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 13 of 66
Dec 01, 2010
1. Outline
This chapter describes the package components, the system configuration, and the specifications of the emulator functio ns and
operating environment.
1.1 Package Components
The R0E00030AKCT00 package consists of the following items. After you have unpacked the box, check if your
R0E00030AKCT00 contains all of these items. Table 1.1 lists the package components.
Table 1.1 Package components
Item Quantity
E30A emulator main unit (R0E00030AKCT00) 1
AC adapter (AC input 100 - 240 V, 50/60Hz, DC output 12V 3A) 1
AC power cable (1.5m, UL/PSE qualified) 1
USB I/F cable (A plug -- mini-B plug, 1.8 m long, compliant with high-speed standard) 1
Target I/F cable (50 coaxial cable (gray), 1.8 m long) 1
Coaxial connector (HRM-300-126B(40) (Hirose Electric)) 1
Coaxial converter board (R0E00030ACKZ00, coaxial connector and 3-pin connector (premounted)) 1
Connector for coaxi al c on ve rt e r board (PIC-FS03 -G+R ( H on da Tsu s hin Kogyo), 2.5 4m m pitch 3-pin socket ) 1
Option I/F cable (10-pin flat cable, 20cm long) 1
Option board ( R 0E0 0030ACKZ10 , 10 -pin connector an d 3 -pin socket (prem ount ed)) 1
Option board connector
- FFC-8LAMEP1B (Honda Tsushin Kogyo), 2.54mm pitch 8-pin right angle
- PIC-MSA08-2G (Honda Tsushin Kogyo), 2.54mm pitch 8-pin straight
- PIC-FS08-G+R (Honda Tsushin Kogyo), 2.54mm pitch 8-pin socket
1
1
1
CD-ROM
- Integrated development environment High-performance Embedded Workshop
- R32C/100 E30A Emulator Debugger
- E30A Emulator user’s manual
1
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.
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 14 of 66
Dec 01, 2010
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.
Figure 1.1 E30A emulator system configuration
(1) E30A Emulator (this product)
(2) AC adapter (included)
(3) USB 2.0 high-spee d cabl e (in cl uded)
(4) 50Ω coaxial cable (included)
(5) User system:
This is your application system usin g the MCU to be debugg ed. The emulator cannot sup ply power to the user system. G et
a power supply separately.
(6) Host machine:
This is a personal computer to control the emulator by USB interface.
1.3 Operating Environment
- IBM PC/AT compatibles (Windows® 7 64-bit editions *1, Windows® 7 32-bit editions *1,
Windows Vista® 32-bit editions *1 *2, Windows® XP 32-bit editions *1 *2, Windows® 2000 *1)
*1: Windows and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United
States and/or other countries.
*2: The 64-bit edi t i ons of Windows Vista® and the 64-bit editions of Windows® XP are no t supported.
1.4 PC Interface
- USB interface *1
USB 2.0 high-speed (also connectable to the USB 1.1-comp atible host machine)
*1: Operation with all combinations of host machine, USB device and USB hub is not guaranteed for the USB interface.
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 15 of 66
Dec 01, 2010
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 E30 A em ul at or
Item Description
Applicable MCU M16C Family R32C/100 Series
Available MCU mode Single-chip mode
Memory expansion mode
Maximum operating frequency 100MHz (CPU clock)
Emulation memory Not available (internal flash ROM used as emulation memory)
Software break Maximum 256 points (implemented by in struction replacement)
Execution address break
Hardware break Maximum 8 points (execution address/data access)
- Shared with trace event/time measurement event
- Only address and R/W attribute specifiable for data access break
- One data comparison breakpoin t specifiable in software
Combinatorial break point OR/status transition (in forward direction )
Trace mode Trace priority/MCU execution pri ority specifiable
Trace capacity 8M events (Trace priority) /512 events (MCU execution priority)
Trace contents Branch source and branch destination/conditional branch/da ta access
Trace event Maximum 8 points/4 area (prefetch address/data access)
- Shared with break event/time measurement event
- Start/end/extraction ev ent specifiable
Time measurement Execution time (between Go-Stop, 32-bit CPU clock counter in MCU)
Section time, 3 points (between data access, 40-bit counter in E30A)
RAM monitor Specifiable in byte or word units
- pseudo-RAM monitor realized by software (one event used)
Coverage Not available
Simultaneously usable functions Break
by operation mode Execution
Address Data
Access Address
Range Data
Comparison Trace Time
Measurement RAM
Monitor
Trace: Trace priority Yes Yes - - Yes - -
Trace: MCU execution priority Yes Yes - Yes Yes - -
Time Measurement Yes Yes - - - Yes -
RAM Monitor Yes Yes Yes - - - Yes
Writer - - - - - - -
Host machine I/F USB 2.0 (High Speed)
Target I/F 2-pin (50 coaxial cable)
3-pin (via coaxial converter board)
8-pin (via option board)
Target I/F signal NSD, GND (When using coaxial cable/coaxial converter board)
NSD, GND, Vcc1, Vcc2, RESET# (When using option board)
Targetless debugging Not available
Emulator power supply Supplied from the included AC adapter
Target MCU power supply Supplied from a user system
Outside dimension Width: 136.3 mm, depth: 104.0 mm, height: 36.8 mm (except the protruding part)
Weight Approx. 300g
Operating environment Temperature: 5°C to 35°C (no condensation)
Storage environment Temperature: -10°C to 60°C (no condensation)
Overseas standard European EN Standard (EN55022 Class A, EN55024)
American FCC Standard (FCC part 15 Class A)
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 16 of 66
Dec 01, 2010
1.5.2 Specifications of the AC Adapter
Table 1.3 lists the specifications of the included AC adapter.
Table 1.3 Specificat i ons 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 v ol t age, c u rrent 12.0 V, 3.0 A
DC output polarity EIAJ TYPE IV, inner side plus/outer side minus
Outside dimension Width: 99.5 mm, depth: 49.5 mm, height: 25.5 mm (except the protruding part)
Weight Approx. 200g
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 17 of 66
Dec 01, 2010
1.6 Regulatory Compliance Notices
1.6.1 European Union regulatory notices
This product complies with the following EU Directives. (These directives are only valid in the European Union.)
CE Certifications :
Electromagnetic Compatibility (EMC) Directive 2004/108/EC
EN 55022 Class A
WARNING : This is a Class A product. In a domestic environment this product may cause radio interference in which case
the user may be required to take adequate measures.
EN 55024
Information for traceability
Authorised representative
Name : Renesas Electronics Corporation
Address : 1753, Shimonumabe, Nakahara-ku, Kawasaki, Kanagawa, 211-8668, Japan
Manufacturer
Name : Renesas Solutions Corp.
Address : Nippon Bldg., 2-6-2, Ote-machi, Chiyoda-ku, Tokyo 100-0004, Japan
Person responsible for placing on the m ark et
Name : Renesas Electronics Europe Limited
Address : Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K.
Trademark and Type name
Trademark : Renesas
Product name : E30A Emulator
Type name : R0E00030AKCT00
Environmental Complian c e and Certifications :
Restriction of the Use of Certain Hazardous Substances in Electrical and Electronic Equipment (RoHS)
Directive 2002/95/EC
Waste Electrical and Electronic Equipment (WEEE) Directive 2002/96/EC
1.6.2 United States Regulatory notices on Electromagnetic com patibility
FCC Certifications (United States Only) :
This equipment has been tested and found to comply with the limits for a Class A digital device, pu rsuant to Part 15 of the
FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment
is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if
not installed and used in accordance with the instruction manual, may cause harmful interference to radio
communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the
user will be required to correct the interference at his own expense.
This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditio ns: (1) this device
may not cause harmful interference, and (2) this device must accept any interference received, including interference that
may cause undesired operation.
CAUTION : Changes or modifications not expressly approved by the party responsible for compliance could void the
user's authority to operate the equipment.
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 18 of 66
Dec 01, 2010
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.
Figure 1.2 Names and functions of each part of the emulator
1.7.1 System Status LEDs
The system status LEDs indicate the emulator main unit’s operating status. Tables 1.4 and 1.5 list the definition of the system
status LEDs.
Table 1.4 Definitions of the system status LEDs (SYS POWER)
Name/Status Meaning
ON Power is supplied to the emulator. SYS POWER
(Orange) OFF Power is not supplied to the emulator.
Table 1.5 Definitions of the system status LEDs (SAFE and ERROR)
Name/Status
SAFE (Green) ERROR (Red) Meaning
ON OFF Emulator system has started normally.
ON Blinking Firmware is being downloaded.
Blinking OFF Emulator is in maintenance mode.
OFF ON Emulator system is not operating normally.
OFF Blinking Firmware download is not operating normally.
1.7.2 Target Status LED
The target status LED indicates the target MCU’s operating status. Table 1.6 lists the definition of the target status LED.
Table 1.6 Definitions of the target status LED
Name/Status Meaning
ON User program is being executed. RUN
(Green) OFF User program is not being executed.
E30A Emulator User’s Manual 1. Outline
R20UT0422EJ050 0 Rev.5.00 Page 19 of 66
Dec 01, 2010
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.
1.7.5 USB I/F Connector
This is a USB interface connector for connecting the host machine to this emulator. For details on connecting the emulator and
host machine, refer to “2.5 Connecting the E30A Emulator and the Host Machine” on page 24.
1.7.6 Maintenance Switch
If this switch is pressed within 2 seconds after turning on the power, the SAFE LED blinks and the emulator switches to
maintenance mode for downloading firmware. In maintenance mode you can download firmware forcibly. For details, refer to
“2.10 Downloading Firmware” on page 31.
1.7.7 50 Coaxial Connector
This included 50 coaxial cable (gray) connects this emulator to the user system. For details on connecting the emulator and
user system, refer to “2.6 Connecting the E30A Emulator and the User System” on page 25.
1.7.8 Option Connector
This connector is provided for connecting to the user system via an option board using the 10-p in flat cable included with the
product. For details on connecting to the user system, refer to “2.6 Connecting the E30A Emulator and the User System” on
page 25.
1.8 Operating Environment
Be sure to use this emulator with the operating environment of the emulator and host machine listed in Table 1.7.
Table 1.7 Oper ati ng e nvironmental condi t i o n s
Item Description
Operating temperature 5 to 35°C (no condensation)
Storage temperature -10 to 60°C (no condensation)
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 20 of 66
Dec 01, 2010
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.
Check the package components. First time only Refer to “1.1 Package Components (page 13).
Install the emulator debugger. First time only Install the emulator debugger to the host machine.
Change the settings of the hardware. First time only Change the settings of the E30A emulator when
necessary.
Connect the AC adap ter to the E30A
emulator. First time only Connect th e AC adapter to the E30A emulator.
Connect the host machine to th e E30A
emulator. First time only Connect the host machine to the E30A emulator with the
USB interface cable.
Connect the E30A emulator to the user
system. First time only Connect the E30A emulator to the user system with the
50 coaxial cable (gray).
Turn on the emulator. Turn on the E30A emulator and user system.
Install the USB device driver. First time only The USB device driver will be installed automatically.
Check the LED display of the emulator. Check that the SYS POWER LED and SAFE LED of the
system status LEDs are lighting.
Download the firmware. First time only The firmware will be automatically installed as need ed.
Start up the emulator debugger and set the
Init dialog. Start up the emulator debugger and set the Init dialog.
Reset the user system. After a message dialog is displayed, reset the user
system.
Enter the ID code. If the target MCU has had its ID code set, enter the ID
code.
Set the operating environment of the
emulator deb ugger. Set the Emem dialog.
Start debugging. For details, refer to the emulator debugger’s online help.
Figure 2.1 Flowchart of starting the debu g
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 21 of 66
Dec 01, 2010
2.2 Installing the Emulator Debugger
Install the R32C/100 E30A emulator d ebugger from the included CD-ROM as follows. This in stallation must be execu ted by a
user with administrator rights. Be aware that users without administrator rights cannot complete the in stallation.
(1) When inserting the included CD-ROM, the Readme Web page will be displayed. Click “Install” to open the fo lder where
the Installation prog ram is stored. Execute “R32cE30ADebuggerVxxxRxx.exe”.
(2) The install manager starts. Click “Standard Install (Recommended)”.
(3) In the page to select an installation product, click “Install” to start installing.
(4) When the installation finishes, a dialog box will be disp layed indicating that the setup has been completed.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 22 of 66
Dec 01, 2010
2.3 Changing Hardware Settings
2.3.1 Selecting Clock Supply
You need to choose the XIN 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.
You can change a frequency between 2.0 and 32.0 MHz by 0.1 MHz.
Table 2.1 Clock supply to the MCU
Clock Emulator debugger display Description
Generated Internal generator circuit (2.0 to 32 .0 MHz) XIN-XOUT Internal Oscillator circuit board (OSC-3 or OSC-2)
2.3.2 Using the Oscillator Circuit Board
Even when you have selected “Internal” on the Emulator tab of the emulator debugg er’s Init dialog box to specify an oscillato r
circuit board, yo u need to enter a clock frequency.
With this emulator, no oscillator circuit board has been mounted when shipped from the factory. If you use a special frequency,
attach the oscillator circuit board following the procedure described below.
(1) Unscrew the five screws secur ing the E30A emulator, and remove the upper cover.
(2) The connector J1 for connecting an oscillator circuit board is in the corner of the board (around the DC power input
connector).
(3) Unscrew the screw which is used for securing an oscillator circuit board.
(4) Attach the oscillator circuit board you like to use, and secure the os cillator circuit board with the screw.
(5) Attach the upper cover an d secure it with the five screws.
CAUTION
Note on Replacing the Oscillator Circuit Board:
When removing the upper cover or replacing the oscillator circuit boards, be sure to shut OFF the
power supply. Otherwise t he internal ci rcuit may cause a break.
Note on Using the Oscillator Circuit Board:
This product was inspected for the qualification of CE marking under factory shipment conditions (with
no oscillator circuit boards mounted in place). When using an oscillator circuit board for this product,
please be aware that depending on the oscillation frequency of the oscillator circuit board used,
radiation EMI standards (EN55022 Class A and FCC part 15 Class A) may be exceeded.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 23 of 66
Dec 01, 2010
2.3.3 Using the Internal Oscill ator 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 ex tern al view of the OSC-2 oscillator circuit bare bo ard and the conn ector pin locations . Figure
2.3 shows the circuitry of the oscillator circuit bare board OSC-2. Use the number of oscillator circuits recommended by the
oscillator manufacturer.
J1-4: GND
J1-3: Oscillation output
J1-2: GND
J1-1: VCC
Figure 2.2 External view of the oscillator circuit board OSC-2 and its connector pin locations
IC1
R1
C2 C1
X1, X2
CLK
Vcc
GND
R2
J1-3
1011 89
21
43
65
1213
IC1: Inverter (Unb uffer)
X1 : 5 .0 8 mm pitc h 2 -p in osc illa t o r
X2 : 2 .5 4 mm pitc h 2 -p in osc illa t o r
X3 : 2 .5 4 mm pitc h 3 -p in osc illa t o r
C3
IC1
J1-1
J1-2
J1-4
GND
IC1
**
X3*
*
IC1
14
7
Figure 2.3 Circuits of the oscillator circuit bare board OSC-2
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 24 of 66
Dec 01, 2010
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) Conn ect 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.
(4) Conn ect the AC power cable to the outlet.
WARNING
Warning for the AC Power Cable:
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. Use an AC power cable which
complies with the safety standard of the country.
The rated voltage for this cable is 125 volts. When you connect to a power supply of more than 125V,
use an appropriate cable for the voltage.
Do not touch the plug of the AC power cable when your hands are wet. This may cause electric sho c k.
2.5 Connecting the E30A Emulator and the Host Machine
Connect the E30A emulator to the host machine with the included USB I/F cable.
(1) Connect the A-plug of the USB I/F cable to the USB I/F connector of the host machine.
(2) Connect the mini-B plug of the USB I/F cable to the USB I/F connector of the E30A emulator.
Note on USB I/F Cable:
The USB I/F cable included with the product is compliant with USB 2.0 High Speed standard. Be sure to
use the included USB I/F cable for the E30A emulator.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 25 of 66
Dec 01, 2010
2.6 Connecting the E30A Emulator and the User System
2.6.1 Using the Coaxial Connecto r
(1) Processing NS D pi n
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.
(2) Mounting part in place
Mount the coaxial connector included with the product (HRM-300-126B(40) made by Hirose Electric) on designated
position of the user system.
(3) Connection procedure
Plug the 50 coaxial cable (gray) included with the product into the E 30A emulator and the coaxia l connector on the user
system.
Although the cable can be connected over a distance, the power supply condition of the user system cannot be monitored.
Furthermore, since only a software reset is possible from the E30A emulator, a hardware reset is required when the emulator
debugger is started or when a communication error occurs. Figure 2.4 is a connection diagram showing how to connect the
E30A emulator and user system using the coaxial connector.
Figure 2.4 Connection diagram when using the coaxial connector
CAUTION
Caution for Insertion/Removal of the Coaxial Cable:
When inserting or removing the coaxial cable, be aware not to rotate it. The center core of the coaxial
cable may be broken.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 26 of 66
Dec 01, 2010
2.6.2 Using the Coaxial Converter Board R0E0 0030ACKZ00
(1) Processing NS D pi n
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.
(2) Mounting part in place
Mount the 2.54mm pitch 3-pin socket included with the product (PIC-FS03-G+R made by Honda Tsushin Kogyo) on
designated position of the user system.
(3) Connection procedure
Plug the 50 coaxial cable included with the product (gray) into the E30A emulator and CN1 on coaxial converter board.
Fit CN2 on coaxial converter board into the 3-pin socket on user system. It can be turned 180 degrees as it is fitted into
place.
Although the cable can be easily removed/inserted and can be connected over a distance, the power supply condition of the
user system cannot be monitored. Furthermore, since only a software reset is possible from the E30A emulator, a hardware
reset is required when the emulator debugger is started or when a communication error occurs. Figure 2.5 is a connection
diagram showing how to connect the E30A emulator and user system using th e coaxial converter board.
Figure 2.5 Connection diagram when using the coaxial converter board
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 27 of 66
Dec 01, 2010
2.6.3 Using the Option Board R0E0003 0ACKZ10
(1) Processing NS D pi n
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. Furthermore, mount the 2.54mm pitch 8-pin straight pin included with the product
(PIC-MSA08-2G made by Honda Tsushin Kogyo) on CN4 (solder side) of the option board.
(3) Wiring of Vcc1 and Vcc2
Vcc1 (pin 1) is used to monitor the power supply condition of the user system and as power supply for the RST# and
RSTMSK output buffers.
Vcc2 (pin 2) monitors the power supply condition of the user system.
(4) Wiring of RST# and RSTM SK
Since the target MCU is reset in hardware from the E30A emulator, con nect RST# signal (pin 6) to the RESET# terminal
of the target MCU.
If the reset circuit of the user system uses an open-drain output, pull it up to Vcc1 with a 4.7k–22k resistor. The same
applies for the power-on reset case making use of a CR circuit.
If the reset signal is generated as CMOS output from other logic devices, the user system may have a RSTMSK signal
connected to disable the output. Since RSTMSK input is indeterminate when the E30A emulator is not connected, it
requires a pulldow n resi st or .
(5) Connection procedure
Plug the 10-pin flat cable includ ed with the product into CN3 on the option board.
Plug the 50 coaxial cable (gray) included with the product into CN1 on the coaxial converter board.
Fit CN2 on the coaxial converter board into CN2 on the option board. It can be turned 180 degrees as it is fitted into place.
Fit CN4 on the option board into the 8-pin socket on the user system.
Alternatively, the coaxial converter board can be attached to pins 3-5 of the 8-pin socket on the user system without using
the option board .
(6) Compatibility with the E30 emulator (old product)
If you have hitherto been using the 8-pin flat cable of the E30 emulator, you can attach the 2.54mm pitch 8-pin right angle
connector included with the product (FFC-8LAMEP1B made by Honda Tsushin Kogyo) to CN4 (component side) of the
option board, for connection to the user system. However, since the non-coaxial NSD wiring becomes longer, it is
recommended that the connector on the user system be replaced with the 8-pin socket, and that the 8-pin straight pin be
used for connectio n.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 28 of 66
Dec 01, 2010
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.
E30A Emulator
User system
Reset IC
(O.D.Output)
8 GND
7 RSTMSK
6 RST#
5 GND
4 NSD
3 GND
2 Vcc2
1 Vcc1
RESET#
4.7k
4.7k -
22k
Target MCU
Vcc1 Vcc2
NSD GND
RESET#
Option Board
Coaxial Converter Board
E30A Emulator
User system
Reset IC
(CMOS Output)
8 GND
7 RSTMSK
6 RST#
5 GND
4 NSD
3 GND
2 Vcc2
1 Vcc1
RESET#
4.7k
4.7k -
22k
Target MCU
Vcc1 Vcc2
NSD GND
RESET#
Option Board
Coaxial Converter Board
Figure 2.6 Connection diagram when using the option board
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 29 of 66
Dec 01, 2010
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 Powe r
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.
Before turning on the power again after shutting o ff the po w er, wait about 10 secon ds.
Notes on Power Supply to the User System:
The emulator does not supply power to the user system. Provide p owe r to the user system separately.
Do not change the voltage of the user system after turning on the powe r.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 30 of 66
Dec 01, 2010
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 dev ice drivers for W indow® XP. For other OS, the driver will be
installed automatically.
Select “No, not this time” and click “Next”.
Click “Next”.
The USB driver will be installed automatically.
Click “Finish” to exit.
Figure 2.7 Installation of USB device driver for Windows® XP
Note on USB Port Change:
If you change the port to connect USB, the device driver is installed over again.
Not on e Found New Hardware Wizard:
For Windows® XP, the amount of time needed for the wizard to appear depends on the CPU usage rate
of the host machine. For example, approximately 9 seconds of time is needed when the CPU usage
rate is 0%, whereas approximately 30 second s is needed when the CPU usage rate is 100%.
E30A Emulator User’s Manual 2. Setup
R20UT0422EJ050 0 Rev.5.00 Page 31 of 66
Dec 01, 2010
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 blink s, it means the internal firmware of the E30A emulator is not running
normally. When the status LED indicates abnormal, perform the forced download as follows.
2.10 Downloading Firmware
It is necessary to upgrade the firmware in the cases listed below. Normally, the following are auto matically detected when the
emulator debugger is started up, and the firmware is downloaded.
- When you use this product for the first time
- When the firmware has been upgraded
- When the emulator debugger has been upgraded
If downloading firmware is not completed when the power is unexpectedly shut down during a download from the emulator
debugger, the status LEDs show abnormal and the emulator debugger may not start up normally. Download firmware in the
special mode called maintenance mode as explained here following.
(1) Within 2 seconds of activating power to the emulator , press the maintenance switch on it to start mainten ance mode. The
System Status SAFE LED begins to blink.
(2) Start up the emulator debugg er in maintenance mode. When settings in the Init dialog box are co mplete, the dialog which
urges to download the firmware will appear. Download firmware following messages. Required time for downloading the
firmware is about 15 seconds.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 32 of 66
Dec 01, 2010
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_E3 0A_Emulator” from the dropdown list in [Standard] toolbar.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 33 of 66
Dec 01, 2010
3.2 Initial Setting of the Emulator Debugger
R32C/100 E30A emulator debugger starts up and the Init dialog box appears. When you finished setting of each tab, click
“OK”.
3.2.1 MCU Tab
This tab permits you to select an MCU file and the connected emulator, and specify whether to debug a program in CPU
rewrite mode, whether to use ECC for E2 data flash and a work area for the debug monitor program.
(1) MCU
An MCU file (MCU type name_E30A.mcu) contains the information specific to the target MCU. Select the MCU file
applicable to the target MCU.
- Click the “Refer…” button to open the Select MCU File dialog box.
- Select the desired MCU file.
(2) Serial No.
Select the serial number of the emulator to be used from the connected emulator list.
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 E mbed ded Wo rksh op\Tool s\ Renesas\DebugComp\Platform
\PDTarget\PD100E30A\McuFiles
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 34 of 66
Dec 01, 2010
(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.
Note on Debugging in CPU Rewrite Mode:
Do not stop the user program during debugging in CPU rewrite mode. Otherwise, the emulator will be
out of control. Furthermore, before executing a user program, be sure to disable automatic updating of
the windows to ensure that no memory accesses will occur during execution of the user program. To
inspect data after CPU rewrite operation, stop the program after exiting CPU rewrite mode and inspect
the data in the memory window or a nother appropriate windo w.
(4) Use ECC for E2 Data Flash
Select this check box when you want to use ECC for E2 Data Flash.
(5) Work Area For Monitor Pr og ram
Specify the start address of the internal RAM area of the MCU to be used by the debug monitor program.
Approximately 1.2 KB of the internal RAM will be used as needed, for example, to download a user program. Since the
memory contents ar e sav ed before debugg ing star ts, you do not need to be specifically con cern ed, ex cept th at the follow ing
cannot be specified.
- Areas overlapping the interrupt stack
Areas which overlap with the interrupt stack to be used in the user program cannot be specified. Also, the address 0400h
cannot be specified since it is used as a temporary stack by the emulator after reset is released.
In the case of the 63 KB internal RAM (0400h-FFFFh), 0500h/0600h … FA00h/FB00h can be specified.
In the case of the 32 KB internal RAM (0400 h-83FFh), 0500h/0600h … 7E00h/7F00h can be specified.
- Areas to or from which DMA-transferred
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 35 of 66
Dec 01, 2010
3.2.2 Debugging Information Tab
This tab permits you to select a compiler, select an object format, and choose to speci fy O n Demand for debug inf ormation.
(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.
(3) On Demand
Select this check box when you want to hold debug information in a temporary file in order to reduce the amount of
memory used by the host machine.
(4) Display the instruction format specifier in disassembly
Specify whether or not to show the instructio n format specifier in disassemble display.
(5) Always treat variables of enumerator type with unknown size as 1 byte
If the debug information contains information on an enumerator type that does not have size information, it is possible to
specify whether to handle it always as being 1 byte in size.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 36 of 66
Dec 01, 2010
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 XIN clock and the frequency that supplied to the target MCU.
- Xin: Enter the frequency of the XIN clock, and select Generated (Internal generator circuit) or In ternal (Oscillator circuit
board).
- PLL: Enter the frequency of the MCU’s internal PLL, which should be the same as the value to be set in the user
program.
- CCR: Enter the value for the MCU’s internal clock control register, which should be the same as the value to be set in
the user program.
Notes on Clock Setting:
The emulator sets the PLL-related settings before starting up in order to secure a communication path.
In a user program, be sure to set the same value of the PLL-related settings specified by the emulator
debugger. Otherwise, the emulator will be out of control. The divide ratios of the CPU clock and
peripheral clo ck can be changed in the user prog ram.
The XIN clock is used to enter the debug mode and to stop the user program forcibly. Therefore, do not
stop the XIN clock in the user program.
The PLL clock divided by the base clock divider is used for communication between the emulator and
the MCU. Therefore, do not change the PLL frequency and the divide ratio of the base clock in the user
program.
When the emulator is connected, the PLL clock stop bits are ignored. Therefore, the PLL keeps
oscillating even when the WAIT or STOP instruction is executed. This means that BCLK is also
oscillating, so that control returns from WAIT or STOP by an INT8, 7 or 6 or other interrupt request.
The clock can be switched to a low speed clock (f256, fC, fOCO4). However, as the CPU operation
clock becomes slower, the response speed of the emulator debugger becomes also slower.
Furthermore, the internal flash ROM cannot be rewritten during a low speed clock operation. Therefore,
do not use software breaks.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 37 of 66
Dec 01, 2010
(2) Data acquisition interval in MCU running state (1 - 100) ms
Specify the data acquisition interval (b yte or word data). At this interval the functions such as the RAM monitor acquire
the memory data while the user program is running. 1 - 100 ms can be specified.
Note on Data Acquisition during MCU Execution:
Using a function that acquires the memory data during user program execution, such as RAM monitor
function, results 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 du ring the processing.
(3) Do not communicate with MCU while target is executing.
Specify whether or not to communicate with the MCU when executing a user program. While the user program is running,
the emulator communicates with the MCU, for example, to check the operating status of the MCU, or to receive the trace
information from the MCU.
The PLL clock divided by the base clock divider is used for communication between the emulator and the MCU.
Therefore, when executing the STOP or WAIT instruction, or when temporarily switching to the PLL self-oscillation
mode, select this check box to avoid communication breakdown. The debug function cannot be used because the emulator
does not communicate with the MCU when executing the user program. However, it is possible to press the stop button
after restored to the base clock specified in the Clock column.
3.2.4 Script Tab
This tab permits you to specify a script file.
(1) Init File
If you have any script that is automatically executed at startup, specify that file.
- Click the “Refer…” button to open the Select Script File dialog box.
- Select the desired script file.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 38 of 66
Dec 01, 2010
3.2.5 Mode tab
This tab permits you to select an operating mode and specify the down load 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
Mode Execution
Address Data
Access Address
Range Data
Comparison Trace Time
Measurement RAM
Monitor
Trace: Trace priority Yes Yes - - Yes - -
Trace: MCU execution
priority Yes Yes - Yes Yes - -
Time Measurement Yes Yes - - - Yes -
RAM Monitor Yes Yes Yes - - - Yes
Writer - - - - - - -
(1) Mode
Select an operating mode from “Trace”, “Time measurement”, “RAM monitor” or “Writer”.
- Trace: You can record the execution history of the user program and data access information. “Trace priority” or “MCU
execution priority” can be selected from the Trace Mode in the Event Setting window.
- Time Measurement: You can measure an execution time between Go and Stop, or a section time between data accesses
based on trace information.
- RAM monitor: You can view memory data while the user program is running.
- Writer: You can write the specified object files to the internal flash ROM of the target MCU.
(2) Download to Flash ROM Area
If you want to verify the flash ROM area when downloading a user program, select the check box.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 39 of 66
Dec 01, 2010
(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…” to open a dialog box to select a load module file. Multiple files can be selected.
- To cancel the selection, select the file and click “Remove…”.
If you want to enable the verification and checksum functions, select the check box.
You cannot debug the program in writer mode. Restart or terminate the emulator debugger after writing th e program.
Notes on Writing the ID code:
The ID code is written into the flash memory only when the program was downloaded in writer mode.
When operating in other than the writer mode, no ID code is written into the flash memory even when
the program is downloaded. In that case, an ID code consisting entirely of FFh is assumed.
3.3 Resetting the User System
When using the coaxial connector or the coaxial converter board for connecting the E30A emulator and user system, by
clicking “OK ” in th e In it dialog b ox, the dialo g box shown b elow w ill b e disp layed. When using th e option bo ard, th e dialo g is
not displayed because the target MCU is reset in hardware from the emulator.
- If the user system has already been powered on, reset the user system. If the power for the user system is turned off, turn the
power on.
- Click “OK”.
Notes on Power Supply to the User System:
The emulator does not supply power to the user system. Provide power to the user system separately.
Do not change the voltage of the user system after turning on the powe r.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 40 of 66
Dec 01, 2010
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”. Unless all IDs match, the emulator debugger will not start.
Table 3.2 ID Code Storage Area
Address Description
FFFF_FFE8h First byte of ID code
FFFF_FFE9h Second byte of ID code
FFFF_FFEAh Third byte of ID code
FFFF_FFEBh Fourth byte of ID code
FFFF_FFECh Fifth byte of ID code
FFFF_FFEDh Sixth byte of ID code
FFFF_FFEEh Seventh byte of ID code
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 41 of 66
Dec 01, 2010
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.
(1) Flash ROM Block
If you want to keep the data when you down lo ad a user pro gra m or data tab le, ch eck the bloc ks of co ntents you w ant to ke ep
intact. The address list is expressed in units of internal flash ROM blocks of the MCU. The selected blocks, those flagged by
a check mark, require extra time because their contents need to be read out before being programmed. Therefore, we
recommend leaving blocks unselected.
- When you select the check box for any block, the co n tent of th at b lock is read ou t in to the host machine an d the data to b e
downloaded is written over it inside the PC before the block is erased and programmed.
- When you deselect the check box for any block, the data to be downloaded is written to the blo ck after being erased.
- Click the Select All button, and all blocks will be selected.
- Click the Clear All button, and all blocks will be deselected.
(2) E2 Data Flash is not erased on download
If you want to keep the data in the E2 data flash when you download a user program or data table, select this check box.
- When you select the check box, the data in the E2 data flash is read out into the host machine and the data to be
downloaded is written over it inside the PC before the block is erased and programmed.
- When you deselect the check box, the data to be downloaded is written to the block after being erased.
- When E2 data flash is not embedd ed in the MCU, this setting is invalid.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 42 of 66
Dec 01, 2010
3.5.2 External Flash Memory Tab
Set up this tab when you download a program, etc. into the flash memory (external flash memory) that is connected to the
MCU’s external bus.
(1) Registering the USD file
External flash memory is recognized based on information in the USD file that you register. This file defines the manner and
other details of how the flash memory is connected with the user system.
- Click the “Add…” button, and open a dialog box in which you can select USD files.
- Select a USD file to use.
- Up to four USD file s 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 Extern al Flash Definition Editor, which is available at http://www.renesas.com/efe.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 43 of 66
Dec 01, 2010
(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.
- Settings per sector of the selected external flash memory are automatically displayed in the list.
- When the checkbox in the Overwrite co lumn is checked, the selected sector is overwritten (merged) when the program is
downloaded.
- To change per-sector settings, enter the start and end addresses in the Address edit box and click the Set button. If the
sector thus changed has had its “Overwrite” option checked, it is overwritten without erasure when the program is
downloaded. If the sector has “Disable download” checked, it is neither erased nor downloaded at download time.
- If “Write after all sectors are erased.” is selected, all sectors will be erased when the user program is downloaded.
E30A Emulator User’s Manual 3. Starting Up the Emulator Debugger
R20UT0422EJ050 0 Rev.5.00 Page 44 of 66
Dec 01, 2010
3.5.3 Ext Port Tab
This tab permits you to set the extension port function to connect an option co nnector.
(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. When this check box is selected, a high output to RSTMSK is generated to disable reset of the user system.
For details, refer to “2.6.3 Using the Optio n Board R0E00030ACKZ10” on page 27.
E30A Emulator User’s Manual 4. Debugging Functions
R20UT0422EJ050 0 Rev.5.00 Page 45 of 66
Dec 01, 2010
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.
- If breakpoints in the internal flash ROM of the MCU are specified, the need arises for instruction rewrite/writeback
processing in bl ock u ni ts .
4.1.2 Execution Address Break
This is a kind of event break by the internal debug circuit of the MCU. It specifically is a pre-execution break that causes
execution of the user program to stop at a specified address.
- Up to 8 break points can be set (used for hardwa re breaks, trace points, and time measurement events in common).
- Since there is no need for instruction rewrite/writeback processing, the response speed is fast.
4.1.3 Hardware Break
This is a kind of event break by the internal debug circuit of the MCU. It specifically is a post-execution break that causes
execution of the user program to stop upon detecting data access at a specified address.
- Up to 8 break points can be set (used for execution address breaks, trace points, and time measurement events in common).
- You can set a specified address range (using 2 events).
- You can set three conditions, e.g., read, write, and read/write.
- Only one instance of data comparison break can be specified (event E5 only). Several bytes from the beginning of the
MCU’s internal RAM (8 bytes at the addresses 0400h -- 0407h) are used for data comparison by the debug monitor program.
These bytes cannot be used in the user program when using a data comparison break.
Notes on Execution Address Break and Hardware Break:
Do not set breaks in the area designated below. This restriction is due to specifications of the MCU’s
internal debug circuit.
0100 0000h – FEFF FFFFh
Note on Data Comparison Break:
For data comparison break, the debug monitor program compares the data after the debug interrupt
occurs at the specified address to determine whether or not to cause a break. Using this function results
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 proce ssing.
In the case of XIN 8MHz, PLL 128MHz (16 times), BASE 64MHz and CPU 64MHz, for example, it takes
6μs to return to the user program after the data compari son results in a mismatch.
4.1.4 Break Combination
Event breaks by the internal deb ug circuit o f the MCU can be cascad ed to constitu te a state transition break at up to 8 points in
the forward direction. If all o f the ev ents are us ed fo r a state transitio n br eak, program executio n will br eak wh en the even ts E7,
E6, ..., and E0 all have occurred in that order.
E30A Emulator User’s Manual 4. Debugging Functions
R20UT0422EJ050 0 Rev.5.00 Page 46 of 66
Dec 01, 2010
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.
- MCU execution priority
512 events can be traced. The trace information is recorded to the trace RAM of the MCU’s internal debug circuit.
Therefore, this mode does not affect the execution speed of the user program.
Note on Affect on User Program in Trace Priority Mode:
In the case of XIN 8MHz, PLL 128MHz (16 times), BASE 64MHz and CPU 64MHz, for example, it takes
5μs to output trace information for each event. If the average of event occurrence interval among 512
events is less than 5μs, the CPU operation will be suspended, because the trace information is output
via the trace RAM of the MCU’s internal debug circuit.
4.2.2 Trace Contents
You can select information on branch sources and destinations, information on conditional branches, information on data
accesses, or mixed information of branch sources and destinations, and data accesses.
- Information on branch sources and destinations
Branch source address and branch destination address are recorded as an event.
- Conditional br anch in fo rmation
Branch infor mation (su ccess /failur e of condition al branc hes) are re corded in a co mpr essed format. Up to 48 of cond itiona l
branches are recorded as an event, so that the communication amount of the trace information can be reduced and the
affect on execution speed of the user program can be reduced even in trace priority mode.
To record conditional branch information, cancel all trace event settings in the event setting window. An unused event can
be used as a break event.
- Data access information
Address, data, data size and read/write information are recorded as an event.
Note on Jump in Queue:
R32C/100 series has a function that branches to the instructions fetched into the prefetch queue, to
improve the processing pe rformance, but the branch source and destination info rmation is not output.
Notes on the Data Acces s Trace:
16-bit word data starting from an odd address and 32-bit long word data assigned differently from the 4-
byte alignment cannot be traced properl y .
Data access event by DMA is not the subject of detection.
E30A Emulator User’s Manual 4. Debugging Functions
R20UT0422EJ050 0 Rev.5.00 Page 47 of 66
Dec 01, 2010
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 encou ntered at the prefetch address.
Note on Trace Event:
Do not set events in the area designated below. This restriction is due to specifications of the MCU’s
internal debug circuit.
0100 0000h – FEFF FFFFh
4.3 Time Measument Function
4.3.1 Execution Time Measurement
You can measure a program execution time between Go and Stop. The 32-bit CPU clock counter allows you to measure a
program execution time of up to 67.1 s when operating at 64MHz.
4.3.2 Section Time Measurement
You can measure a program execution time between data accesses by trace information. Data access trace information (address,
data, data size and read/write) is compared/detected as the measurement start event and measurement end event inside the
emulator. The 40-bit asynchronous clock counter inside the emulator enables the section time measurement of more than 24
hours.
As a condition of section time measurement, you can specify that the measurement be taken of a time from when the start
event occurs till when the end event occurs or a cycle time with which individual events occur.
Notes on Time Measurement Function:
The execution time and the section time cannot be measured simultaneously. Select either an
execution time measurement or a section time measu reme nt.
In a section time measurement performed, the data access trace information output from the MCU is
compared in the emulator to detect the start and end events. If a large number of data access times is
specified, trace output will take a lot of time, leading to errors in section time measurement or affecting
execution speed of the user program.
In the case of XIN 8MHz, PLL 128MHz (16 times), BASE 64MHz, for example, it takes 5μs to output the
data access trace information for each event. If a data access of less than 5μs occurs, a trace output
time-dependent error will occur. Furthermore, if such a short data access occurs frequently, execution
speed of the user program will be delayed. We recommend write-only settings with least possible
events.
E30A Emulator User’s Manual 4. Debugging Functions
R20UT0422EJ050 0 Rev.5.00 Page 48 of 66
Dec 01, 2010
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” in the Emulator tab of the Init d ialog box.
Notes on RAM Monitor Function:
The RAM monitor function results 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.
For the RAM monitor function, the emulator generates a debug interrupt and the debug monitor
program sends the data to return control to the user p rog ram.
In the case of XIN 8MHz, PLL 128MHz (16 times), BASE 64MHz and CPU 64MHz, for example, it takes
6μs from the debug interrupt occurred to return to the user program.
The RAM monitor function should be adjusted for sampling intervals (byte/word data acquisition
intervals in ms units) during user program execution. Since the updating time is extended if a wide area
is displayed in bytes, we recommend displayin g only the necessa ry area in word size.
E30A Emulator User’s Manual 5. Troubleshooting
R20UT0422EJ050 0 Rev.5.00 Page 49 of 66
Dec 01, 2010
5. Troubleshooting
5.1 How to Solve a Trouble
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 prop erly. Check the condition of the cable connectio n.
- The E30A may not be powered on. Check the condition of the AC adapter connection an d that of the power switch.
5.1.2 The SAFE LED Keeps Flashing
- The USB cable may not be connected prop erly. Check the condition of the cable connectio n.
- The USB driver may not be installed properly. Reinstall the USB driver.
5.1.3 The Emulator Debugger Cannot Be Activated
- Check whether the E30A and the user system are connected properly.
The MCU’s NSD pin and the E30A connector may be connected by an excessively long wiring.
The MCU’s NSD pin may not be pulled high with a 4.7 k resistor.
- Check the Emulator tab of the Init dialog to see if the clock is set up properly.
Make sure the value entered for the Xin frequency is the same as that of the user system.
Check that Generated is selected.
Make sure the values entered for the PLL frequency and CCR set value are the same as those set in the user program.
- If connected with coaxial cable, you need to reset the user system (or power on the user system) after a dialog is displayed
by clicking the OK button in the Init dialog.
E30A Emulator User’s Manual 5. Troubleshooting
R20UT0422EJ050 0 Rev.5.00 Page 50 of 66
Dec 01, 2010
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:
(1) Operating environment
- MCU Type name: R5F64_ _ _
- Xin frequency: _ __________ [MHz] (Generated / Internal)
- PLL frequency: ___________ [MHz]
- CCR value: 0x___________
- Debugger operating mode:
Trace: Trace priority / Trace: MCU execution priority / Time Measurement / RAM Monitor
(2) Condition
- The emulator debugger starts up/does not start up
- Frequency of errors: always/frequency
(3) Problem
E30A Emulator User’s Manual 6. Maintenance and Warranty
R20UT0422EJ050 0 Rev.5.00 Page 51 of 66
Dec 01, 2010
6. Maintenance and Warranty
This chapter covers basic maintenance, warranty information, provisions for repair and the procedures for requesting a re pair.
6.1 User Registration
When you purchase our product, be sure to register as a user. For user registration, refer to “User Registration” (page 11) of
this user's manual.
6.2 Maintenance
(1) If dust or dirt collects on this product, wipe it off with a dry soft cloth. Do not use thinner or other solvents because these
chemicals can cause the surface coating to separate.
(2) When you do not use this product for a long period, disconnect it fro m the po wer supply, host machine and user system.
6.3 Warranty
(1) This product comes with a one-year warranty after purchase.
Should the product break down o r be damaged while you’re using it under normal condition b ased on its user’s manual, it
will be repaired or replaced free of cost.
(2) However, if the following failure or damage occurs to the product under warranty, the product will be repaired or replaced
at cost.
a) Failure or damage attributable to the misuse or abuse of the product or its use under other abnormal conditions.
b) Failure or damage attributable to improper handling of the product after purchase, such as dropping of the product
when it is transported or moved.
c) Failure or damage to the product caused by other pieces of equipment connected to it.
d) Failure or damage attributable to fire, earthquakes, thunderbolts, floods, or other natural disasters or abnormal
voltages, etc.
e) 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.
E30A Emulator User’s Manual 6. Maintenance and Warranty
R20UT0422EJ050 0 Rev.5.00 Page 52 of 66
Dec 01, 2010
6.4 Repair Provisions
(1) Repairs not covere d by warranty
Problems arising in products for which more than one year has elapsed since purchase are not covered by warranty.
(2) Replacement not covered by warranty
If your product's fault falls into any of the following categories, the fault will be corrected by replacing the en tire product
instead of repairing it, or you will be advised to purchase a new product, depending on the sev erity of the fault.
- Faulty or broken mechanical portions
- Flaws, separat ion, o r rust i n coat ed o r plat ed po rt i o ns
- Flaws or cracks in plastic portions
- Faults or breakage caused by improper use or unauthorized repair or modification
- Heavily damaged electri c circuit s due to overvoltage, ove rcu rre nt or sh ort i n g of power supply
- Cracks in the pri nte d circuit board or b ur nt-down patterns
- A wide range of faults that make replacement less expensive than repair
- Faults that are not locatab le or id entifiable
(3) Expiration of the repair p eriod
When a period of one year has elapsed after production of a given model ceased, repairing products of that model may
become impossible.
(4) Carriage fees for sending your product to be repaired
Carriage fees for sending your product to us for repair are at your own expense.
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:
When sending your product for repai r, use the packing box and cushioning material supplied with
the product when it was delivered to you and specify caution in handling (handling as precisi on
equipment). If packing of your product is not complete, it may be damaged during transportation.
When you pack your product in a bag, make sure to use the conductive plastic bag supplied with
the product (usually a blue bag). If you use a different bag, it may lead to further trouble with your
product due to static electricity.
E30A Emulator User’s Manual Appendix A Target MCU Specifications
R20UT0422EJ050 0 Rev.5.00 Page 53 of 66
Dec 01, 2010
Appendix A Target MCU Specifications
Table A.1 lists the specification s of targ et 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
Memory expansion mode
Maximum operating frequency 100MHz (CPU clock)
Supported ROM/RAM capacity Internal ROM/RAM capacity of the MCU
E30A Emulator User’s Manual Appendix B Differences between the Actual MCU and Emulator
R20UT0422EJ050 0 Rev.5.00 Page 54 of 66
Dec 01, 2010
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.
Notes on Clock Setting:
The emulator sets the PLL-related settings before starting up in order to secure a communication path.
In a user program, be sure to set the same value of the PLL-related settings specified by the emulator
debugger. Otherwise, the emulator will be out of control. The divide ratios of the CPU clock and
peripheral clo ck can be changed in the user prog ram.
The XIN clock is used to enter the debug mode and to stop the user program forcibly. Therefore, do not
stop the XIN clock in the user program.
The PLL clock divided by the base clock divider is used for communication between the emulator and
the MCU. Therefore, do not change the PLL frequency and the divide ratio of the base clock in the user
program.
When the emulator is connected, the PLL clock stop bits are ignored. Therefore, the PLL keeps
oscillating even when the WAIT or STOP instruction is executed. This means that BCLK is also
oscillating, so that control returns from WAIT or STOP by an INT8, 7 or 6 or other interrupt request.
The clock can be switched to a low speed clock (f256, fC, fOCO4). However, as the CPU operation
clock becomes slower, the response speed of the emulator debugger becomes also slower.
Furthermore, the internal flash ROM cannot be rewritten during a low speed clock operation. Therefore,
do not use software breaks.
Notes on Interrupt Stack:
The E30A Emulator uses an interrupt stack of up to 52 bytes. Make sure sufficient space is reserved for
the interrupt stack area, with the maximum stack size used by a user program added. If the reserved
interrupt stack area is exceeded, the user program may go wild or the emulator may be out of control.
The E30A Emulator sets the interrupt stack pointer (ISP) at the beginning address of RAM + 0100h
after being reset, and uses that location as a stack area at deassertion of reset.
Note on Interrupts That Cannot be Used by the User Program:
The BRK2 interrupt, single-step interrupt, and DBC interrupt are used by the emulator program.
Therefore, make sure the user prog ram does not use these interrupts.
Note on Interrupt Reque st:
Even if a user program is not being executed (including when run-time debugging is being performed),
the peripheral I/O such as a timer keeps running. The interrupt request cannot be accepted, because
the emulator disables interrupts. The interrupt request is accepted immediately after the user program
execution is started.
Note on Low Voltage Detection Interrupt:
With this product, as the power voltage cannot be changed after powering on the user system, the low
voltage detection interrupt cannot be used.
Notes on Using the Watchdog Timer:
A user program can be debugged by using the MCU’s internal watchdog timer if so desired. When the
watchdog timer is active, the debug monitor program refreshes it as necessary.
Watchdog timers connected external to the MCU cannot be used. Make sure those watchdog timers are
disabled while the emulator is in u se.
E30A Emulator User’s Manual Appendix B Differences between the Actual MCU and Emulator
R20UT0422EJ050 0 Rev.5.00 Page 55 of 66
Dec 01, 2010
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.
Note on Protect Bit 2 (PRC2):
Protect bit 2 (PRC2) behaves in such a way that when the bit is set to 1 to remove write protect and
then a write to any address is executed, the bit is write protected again. Note that the bit cannot be
cleared by a software operation while single-stepping a program or manipulating the memory window.
Note on RDY# Input:
Be sure to input "L" to pin RDY# of the user system during the user program executing (when the RUN
status LED is lit). Inputting "L" to pin RDY# during the user program stopping may cause a malfunction
of the emulator.
Note on HOLD# Input:
Be sure to input "L" to pin HOLD# of the user system during the user program executing (when the RUN
status LED is lit). Inputting "L" to pin HOLD# during the user program stopping may cause a malfunction
of the emulator.
Note on the MCU Used in Debugging:
During debugging, the MCU’s internal flash ROM is frequently rewritten as a user program is
downloaded or software breakpoints are set or cleared. Do not use any MCU in product once it was
used in debugging.
Note on Final Evaluation:
Be sure to evaluate your system with an evaluation MCU. Before starting mask production, evaluate
your system and make final confi rmatio n with a CS (Commercial Sample) version MCU.
E30A Emulator User’s Manual Appendix C Notes on Using This Product
R20UT0422EJ050 0 Rev.5.00 Page 56 of 66
Dec 01, 2010
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 Resource s 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. These bytes cannot be used in the user program when
using a data compari son break.
The E30A Emulator uses approximately 1.2 Kbyte of the internal RAM as needed, for example, to
download a user program. Since the memory contents are saved in advance, you do not need to be
specifically concerned, except that you cannot specify any area that overlaps the interrupt stack and an
area on which DMA operates.
Notes on Power Supply to the User System:
The emulator does not supply power to the user system. Provide power to the user system separately.
Do not change the voltage of the user system after turning on the powe r.
Note on Downloading Firm ware:
Do not shut off the power while downloading the firmware. If this happens, the product will not start up
properly. If the power is shut off unexpectedly, startup the emulator in maintenance mode and
redownload the firmware.
Note on Quitting the Emulator Debugger:
To restart the emulator debugger, always shut power to the emulator and user system off once and
then on again.
Note on Event Settings:
Events are used for breaks, trace, and time measurement in common. For breakpoint settings in the
source window, events are given priority in order to reduce the number of times the flash ROM is
rewritten. Note that the unused events are use d in order of followings.
(Extraction start event E0, end of range event E4, and data comparison event E5 are assigned lower
priorities.)
E7 -> E6 -> E3 -> E2 -> E1 -> E5 -> E4 -> E0
Notes on the Software Breaks:
Software breaks execute the tool-only BRK2 command instead of instruction code to generate a BRK
interrupt. Be aware that when trace results are referred to in bus display, you will see “BFh” displayed
for instruction fetches performed at the addresse s that have software breakpoints set.
If a user program is altered before being downloaded, the software breakpoints that have been set may
be displaced depending on the content of alteration. After downloading a user program, be sure to
check the contents of soft ware breakpoints set.
Notes on the Data Acces s Trace:
16-bit word data starting from an odd address and 32-bit long word data assigned differently from the 4-
byte alignment cannot be traced properl y .
Data access event by DMA is not the subject of detection.
E30A Emulator User’s Manual Appendix C Notes on Using This Product
R20UT0422EJ050 0 Rev.5.00 Page 57 of 66
Dec 01, 2010
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.
- Run-time debuggi ng (Referring and modifying the memory during user program execution)
- RAM monitor
- Data comparison break (when a break for data access is set in event E5)
The RAM monitor function should be adjusted for sampling intervals (byte/word data acquisition
intervals in ms units) during user program execution. Since the updating time is extended if a wide area
is displayed in bytes, we recommend displayin g only the necessa ry area in word size.
Note on Trace Mode:
When selecting Trace priority, the user program execution may be delayed depending on the event
occurrence interval because the MCU processes the trace informati on output prior to others.
When selecting MCU exe c ution priority, the execution speed of the user program is not affected.
Notes on the Simultaneous Use of Multiple Functions:
Data comparison breaks and RAM monitor cannot be used at the same time. If event E5 is set for a
data access break, the RAM monitor functions cannot be specified. If the RAM monitor function needs
to be used, event E5 cannot be specified for a data access brea k.
Be aware that if a run-time debug, RAM monitor, or data comparison break is used during a branch
trace in which branch addresses are recorded, the recorded information will include branch information
(debug monitor program processing address) whi ch the user program does not gene rate.
Note on Debugging in the Stop Mode or Wait Mode:
While the user program is running, the emulator communicates with the MCU, for example, to check the
operating status of the MCU, or to receive the trace i nformatio n from the MCU.
The PLL clock divided by the base clock divider is used for communication between the emulator and
the MCU. Therefore, when executing the STOP or WAIT instruction, or when temporarily switching to
the PLL self-oscillation mode, select the check box “Do not communicate with MCU while target is
executing” to avoid communication breakdown. The debug function cannot be used because the
emulator does not communicate with the MCU when executing the user program. However, it is
possible to press the stop button after restored to the base clock specified in the Clock column.
When the emulator is connected, the PLL clock stop bits are ignored. Therefore, the PLL keeps
oscillating even when the WAIT or STOP instruction is executed. This means that BCLK is also
oscillating, so that control returns from WAIT or STOP by an INT8, 7 or 6 or other interrupt request.
Note on MCU Reset:
Software reset and hardware reset cannot be used during the user program execution. If the MCU is
reset during the user program execution, the emulator recovers communication with the MCU and the
user program stops in a reset state.
E30A Emulator User’s Manual Appendix C Notes on Using This Product
R20UT0422EJ050 0 Rev.5.00 Page 58 of 66
Dec 01, 2010
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.
Do not stop the user program during debugging in CPU rewrite mode. Otherwise, the emulator will be
out of control. Furthermore, before executing a user program, be sure to disable automatic updating of
the windows to ensure that no memory accesses will occur during execution of the user program. To
inspect data after CPU rewrite operation, stop the program after exiting CPU rewrite mode and inspect
the data in the memory window or a nother appropriate windo w.
Note on Debugging of E2dataFlash:
When you are debugging the E2dataFlash, do not stop the user program during operating the
E2dataFlash. Otherwise, as the operation to the E2dataFlash will be suspended, it may not be
processed properly even though the user program is restarted. Furthermore, before executing the user
program, be sure to disable automatic updating of the windows to ensure that no accesses to the
E2dataFlash will occur during execution of the user program.
E30A Emulator User’s Manual Appendix D Connection Diagram
R20UT0422EJ050 0 Rev.5.00 Page 59 of 66
Dec 01, 2010
Appendix D Connection Diagram
Figure D.1 shows a connection diagram of the E30A emulator. This connection diagram shows the interface section.
OPTION
E30A emulator
1
9UVcc1
UVcc1
2UVcc1
8UVcc2
4RST#
6RSTMSK
10 UCON#
3
5
7
GND
GND
GND
100k
1k
100k
1k
100k
1k
100k
1k
100k
3.3V
100k
50
Regulator 2.5V
To Inner Circuit
50
GRAY
9 7 5 3 1
10 8 6 4 2
External View of Connector
Figure D.1 Connection diagram of the E30A emulator’s interface section
E30A Emulator User’s Manual Appendix E Signal Assignments of the Connectors
R20UT0422EJ050 0 Rev.5.00 Page 60 of 66
Dec 01, 2010
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 connect or
No. Signal Description
1 VBUS 5.0 V power s u ppl y , u nu s ed
2 D-
3 D+
4 NC Unused
5 GND
(2) Oscillator circuit board connector
Table E.2 lists the signal assignments of the oscillator circuit board connector.
Table E.2 Signal assignments of the oscillator circuit board connector
No. Signal Description
J1-1 V50 5.0 V power s u ppl y
J1-2 GND
J1-3 OSCCLK Oscillator circuit input (amplitud e : 5.0 V)
J1-4 GND
(3) Option connector
Table E.3 lists the signal assignments of the option connector.
Table E.3 Signal assignments of the option conn ector
No. Signal Description
1 UVcc1 Vcc1 power supply
2 UVcc1 Vcc1 power supply
3 GND
4 RST# Reset signal
5 GND
6 RSTMSK Reset mask signal
7 GND
8 UVcc2 Vcc2 power supply
9 UVcc1 Vcc1 power supply
10 UCON# Connected to GND
E30A Emulator User’s Manual Appendix F E xtern al Dimensions
R20UT0422EJ050 0 Rev.5.00 Page 61 of 66
Dec 01, 2010
Appendix F External Dimensions
(1) E30A Emulator
Figure F.1 shows external dimensions of the E30A emulator.
144.036.8
Unit: mm
Figure F.1 External di mensions of the E30A emulator
E30A Emulator User’s Manual Appendix F E xtern al Dimensions
R20UT0422EJ050 0 Rev.5.00 Page 62 of 66
Dec 01, 2010
(2) Coaxial converter board
Figure F.2 shows external dimensions of the coaxial converter board.
23.5
17.0
11.5
7.5
User System
3.0
3.2
3.0 Unit: mm
Figure F.2 External dimensions of the coaxial converter board
(3) Option board
Figure F.3 shows external dimension s of the option board.
19.0
33.0
7.5
User System
3.0
7.6
3.0 Unit: mm
Figure F.3 External di mensions of the option board
This page is blank.
E30A Emulator R0E00030AKCT00
User's Manual
Publication Date: Apr 01, 2008
Dec 01, 2010 Rev.1.00
Rev.5.00
Published by: Renesas Electronics Corporation
Microcomputer Tool Development Dep artment 2
Edited by: Renesas Solutions Corp.
http://www.renesas.com
Refer to "http://www.renesas.com/" for the latest and detailed information.
Renesas Electronics America Inc.
2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A.
Tel: +1-408-588-6000, Fax: +1-408-588-6130
Renesas Electronics Canada Limited
1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada
Tel: +1-905-898-5441, Fax: +1-905-898-3220
Renesas Electronics Europe Limited
Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K
Tel: +44-1628-585-100, Fax: +44-1628-585-900
Renesas Electronics Europe GmbH
Arcadiastrasse 10, 40472 Düsseldorf, Germany
Tel: +49-211-65030, Fax: +49-211-6503-1327
Renesas Electronics (China) Co., Ltd.
7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China
Tel: +86-10-8235-1155, Fax: +86-10-8235-7679
Renesas Electronics (Shanghai) Co., Ltd.
Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China
Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898
Renesas Electronics Hong Kong Limited
Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong
Tel: +852-2886-9318, Fax: +852 2886-9022/9044
Renesas Electronics Taiwan Co., Ltd.
7F, No. 363 Fu Shing North Road Taipei, Taiwan
Tel: +886-2-8175-9600, Fax: +886 2-8175-9670
Renesas Electronics Singapore Pte. Ltd.
1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632
Tel: +65-6213-0200, Fax: +65-6278-8001
Renesas Electronics Malaysia Sdn.Bhd.
Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia
Tel: +60-3-7955-9390, Fax: +60-3-7955-9510
Renesas Electronics Korea Co., Ltd.
11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea
Tel: +82-2-558-3737, Fax: +82-2-558-5141
SALES OFFICES
© 2010 Renesas Electronics Corporation and Renesas Solutions Corp. All rights reserved.
Colophon 1.0
E30A Emulator R0E00030AKCT00
User's Manual
R20UT0422EJ0500
(Previous Number:
REJ10J1699-0400
)