Renesas M32100T-EZ-E User Manual

M32100T-EZ-E
SDI Emulator System for M32R Family
User's Manual
Rev.2.00 September 1, 2003 REJ10J0002-0200Z
Keep safety first in your circuit designs!
• These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation, Renesas Solutions Corporation or a third party.
• Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
• All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corporation, Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means, including the Renesas home page (http://www.renesas.com).
• When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, liability or other loss resulting from the information contained herein.
• Renesas Technology semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corporation, Renesas Solutions Corporation or an authorized Renesas Technology product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
• The prior written approval of Renesas Technology Corporation and Renesas Solutions Corporation is necessary to reprint or reproduce in whole or in part these materials.
• If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
• Please contact Renesas Technology Corporation or Renesas Solutions Corporation for further details on these materials or the products contained therein.
Notes regarding these materials
• This product is a development supporting unit for use in your program development and evaluation stages. In mass-producing your program you have finished developing, be sure to make a judgment on your own risk that it can be put to practical use by performing integration test, evaluation, or some experiment else.
• In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product.
• Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge. However, this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances.
• This product has been developed by assuming its use for program development and evaluation in laboratories. Therefore, it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan.
• Do not attempt to modify this equipment. If modified, your authority to operate this equipment might be voided by FCC. Note: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant 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. 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.
For inquiries about the contents of this document or product, fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor.
\SUPPORT\Product-name\SUPPORT.TXT Renesas Tools Homepage http://www.renesas.com/en/tools
Precautions to be taken when using this product
( 2 / 42 )

Preface

The M32100T-EZ-E is an emulator system using the internal debug interface SDI (Scalable Debug Interface) of the M32R Family MCUs. Using with the emulator debugger PD32RM included in this product package, it is possible to develop programs for MCUs on which the SDI is mounted.
This user's manual mainly describes specifications of the M32100T-EZ-E emulator system and how to setup it. For details on the emulator debugger, refer to PD32RM release notes and online help.
All the components of this product are shown in "2.2 Package Components" (page 15) of this user's manual. If there is any question or doubt about this product, contact your local distributor.
To use the product properly
Precautions for Safety
• In both this user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties.
• The icons' graphic images and meanings are given in "Chapter 1. Precautions for Safety". Be sure to read this chapter before using the product.
( 3 / 42 )

Contents

Chapter 1. Precautions for Safety ...........................................................................................5
1.1 Safety Symbols and Meanings ..............................................................................6
Chapter 2. Preparation ..........................................................................................................13
2.1 Terminology ........................................................................................................14
2.2 Package Components ..........................................................................................15
2.3 System Configuration of the M32100T-EZ-E ....................................................16
(1) JTAG Connection.....................................................................................16
2.4 Name of Each Part ..............................................................................................17
(1) Names and Functions of Parts on the Upper Panel ..................................17
(2) Names and Functions of Parts on the Side Panel .....................................19
(3) Names and Functions of Parts on the Front Panel ...................................19
(4) Names and Functions of Parts on the Rear Panel ....................................20
Chapter 3. Setup ...................................................................................................................21
3.1 Connecting the Host Machine .............................................................................22
3.3 Connecting the Target System ............................................................................23
(1) Connecting the SDI Interface Connector .................................................23
(2) SDI MCU Control Interface Connector ...................................................23
(3) Emulator Side Circuit Diagram................................................................25
Chapter 4. Usage ..................................................................................................................27
4.1 Turning on the Power Supply .............................................................................28
(1) Checking the Connections of the System.................................................28
(2) Turning On/Off the Power Supply ...........................................................28
4.2 Downloading Firmware ......................................................................................29
(1) When It is Necessary to Download Firmware .........................................29
(2) Downloading Firmware in Maintenance Mode .......................................29
Chapter 5. Specifications......................................................................................................31
5.1 Specifications ......................................................................................................32
Chapter 6. Troubleshooting ..................................................................................................33
6.1 Flowchart to Remedy Troubles ...........................................................................34
6.2 When the Emulator Debugger Does Not Start Up Properly ...............................35
(1) When the LED Display of the M32100T-EZ-E is Abnormal ..................35
(2) Errors Occur When the Emulator Debugger Starts Up ............................36
Chapter 7. Maintenance and Guarantee................................................................................37
7.1 Maintenance ........................................................................................................38
7.2 Guarantee ............................................................................................................38
7.3 Repair Provisions ................................................................................................38
7.4 How to Request for Repair..................................................................................39
( 4 / 42 )
Chapter 1. Precautions for Safety
This chapter describes precautions for using this product safely and properly. For precautions of the emulator and emulator debugger, refer to each user's manual.
1.1 Safety Symbols and Meanings ..................................................................................................... 6
WARNING
CAUTION
IMPORTANT
Warnings for AC Power Supply ..................................................................................7
Warnings to Be Taken for This Product ......................................................................7
Warning for Installation...............................................................................................7
Warning for Use Environment..................................................................................... 7
Cautions for Power Supply ..........................................................................................8
Cautions for Powering Up Sequence ...........................................................................8
Caution for Installation ................................................................................................8
Cautions to Be Taken for Handling This Product........................................................ 8
Caution for Abnormal Operation ................................................................................. 8
Notes on Product Information...................................................................................... 9
Notes on Downloading Firmware................................................................................9
Notes on USB Interface ...............................................................................................9
Note on Dependencies on the MCU Model.................................................................9
Note on Stack Capacity and Stack Pointer ..................................................................9
Notes on Target Program Execution in Real-time.....................................................10
Note on Specifying Breakpoints ................................................................................10
Notes on Reset Control Switch .................................................................................. 10
Note on Using Reset Mask ........................................................................................10
Note on LED Display.................................................................................................10
Note on Access Prohibited Areas ..............................................................................10
Notes on Target System ............................................................................................. 11
( 5 / 42 )
Chapter 1. Precautions for Safety
In both the user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties.
This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read this chapter before using this product.

1.1 Safety Symbols and Meanings

If the requirements shown in the "WARNING"
WARNING
CAUTION
IMPORTANT
In addition to the three above, the following are also used as appropriate.
sentences are ignored, the equipment may cause serious personal injury or death.
If the requirements shown in the "CAUTION" sentences are ignored, the equipment may malfunction.
It means important information on using this product.
means WARNING or CAUTION.
Example: CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example: DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example:
The following pages describe the symbols "WARNING", "CAUTION", and "IMPORTANT".
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
( 6 / 42 )
WARNING
Warnings for AC Power Supply:
• Power is supplied via the USB interface cable. Therefore, do not try to modify or forcibly insert it. It may cause electric shock and/or fire.
• Do not supply power from the host machine to which this product is connected to other device(s).
• If you smell a strange odor, hear an unusual sound, or see smoke coming from this product, then disconnect power immediately 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. Please, contact your local distributor.
Warnings to Be Taken for This Product:
• Do not disassemble or modify this product. Personal injury due to electric shock may occur if this product is disassembled or modified.
• Make sure nothing falls into the cooling fan on the top panel, especially liquids, metal objects, or anything combustible.
Warning for Installation:
• Do not set this product in water or areas of high humidity. Spilling water or some other liquid into the emulator can cause an unrepairable damage.
Warning for Use Environment:
• 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.
( 7 / 42 )
CAUTION
Cautions for Power Supply:
• Power is supplied from the host machine to this product via the USB interface cable.
• Switch on and off this product by the USB interface cable.
Cautions for Powering Up Sequence:
•When turning on power, activate the emulator first and then the target system.
•When turning off power, deactivate the target system first and then the emulator.
•Always wait for about 10 seconds after turning off the power before turning it on again.
Caution for Installation:
•This product is designed to be used being laid down. Do not use this product being set up.
Cautions to Be Taken for Handling This Product:
• Use caution when handling the product. Be careful not to apply a mechanical shock.
• Do not touch the connector pins of the communications interface cable, emulator and target system. Static electricity may damage the internal circuits.
• Do not pull this product by the cable connected to the emulator. The cable may cause a break.
•Do not use inch-size screws for this equipment. The screws used in this equipment are all ISO (meter-size) type screws. When replacing screws, use same type screws as equipped before.
Caution for Abnormal Operation:
• If the emulator malfunctions because of interference like external noise, shut down the emulator once and then reactivate it.
( 8 / 42 )
IMPORTANT
Notes on Product Information:
• For the information about this product, visit the Renesas Tool Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/mcu/m32r_e.htm
• For the user registration for this product, use the registration form created when installing the emulator debugger. To registered users, the latest information about this product is delivered by e-mail.
• This product contains the CD-ROM of the emulator debugger, but it is also possible to download the latest version of the emulator debugger from the Renesas Tool Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/mcu/m32r_e.htm
Notes on Downloading Firmware:
• When using this product for the first time or the emulator debugger has been upgraded, the emulator debugger automatically downloads the firmware (control software for the emulator built into it) to the emulator. When downloading firmware is terminated normally, the firmware will not be downloaded later.
•Do not shut down the emulator while downloading the firmware. If this happens, the product will not start up properly.
•When downloading the firmware has not completed successfully and the emulator debugger does not start up, see "4.2 Downloading Firmware" (page 29) and redownload the firmware.
Notes on USB Interface:
• USB interface can not be used with a host machine running Windows 95 or Windows NT 4.0.
•With the USB interface of the M32100T-EZ-E, not all hardware (such as host machine, USB devices, USB hub) combination will work and guaranteed.
Notes on Dependencies on the MCU Model:
• As the following items dependent on the MCU model are described in the release notes, be sure to read them.
(1) Differences between the emulator and actual MCU (2) MCU signals connected to the SDI MCU control interface connector (Section 3.2) (3) Debug specifications dependent on MCU model (Section 5.1) (4) Other cautions and restrictions dependent on MCU model
•Download the latest release notes and MCU file from the Renesas Tool Homepage. http://www.renesas.com/eng/products/mpumcu/toolhp/mcu/m32r_e.htm
Note on Stack Capacity and Stack Pointer:
• Set an address which has the device to read/write to the SPI (Stack Pointer for Interrupt) and SPU (Stack Pointer for User) during target program execution.
( 9 / 42 )
IMPORTANT
Note on Target Program Execution in Real-time:
• The DMA controller for the emulator incorporated in the MCU is used for the memory references/ settings during target program execution. Therefore, for the memory references/settings during target program execution, the bus-cycle by the DMA controller occurs.
Note on Specifying Breakpoints:
• Due to the MCU's architecture, the following addresses cannot be set as a breakpoint.
(1) Addresses (4n + 2) in the middle of a 1-word instruction (2) Addresses (4n + 2) in an instruction located in word align + 2 addresses, which are executed
in parallel
Notes on Reset Control Switch:
• It is always recommended to set this switch to LOW.
• When the reset control switch on the emulator is set to Hiz START, the following operation allows you to execute the program from the reset vector during time from (2) to (3).
(1) Turn on the emulator. (2) Turn on the target system. (3) Start the emulator debugger PD32RM.
This phenomenon occurs immediately after the emulator starts up only.
Note on Using Reset Mask:
• If the reset signal from the target board is masked (disabled) using the script command (ResetMask) of the emulator debugger, the reset signal that is input to the target MCU during target program execution will be ignored and the target MCU will not be reset.
By resetting only peripheral circuits, problems will occur such as target MCU bus cycles not completing, and the target MCU may runaway.
Note on LED Display:
• Take note of the fact that the target status LEDs cannot show MCU status properly after the emulator is powered on until the emulator debugger gets started.
Note on Access Prohibited Areas:
• The emulator uses the addresses H'FFFF 8000 to H'FFFF 9FFF of the target MCU as the dedicated area for the emulator. When accessing to this area from the target program, the operation of the emulator cannot be guaranteed. Therefore, do not access to this area from the target program.
( 10 / 42 )
Notes on Target System:
• The power to the MCU can be turned off and back on again during target program execution. However, because the emulator makes various settings on the MCU after it is powered back on again, it takes a little longer time than when not using the emulator before the MCU can start running the program after being powered up again.
• In systems where the power is frequently turned off and back on again, the program may not operate normally.
• If the power to the MCU is turned off while the program remains idle, an error results.
• The software breaks that had been set before the power was turned off have no effect when the power is back on again, so that no software break occurs.
IMPORTANT
( 11 / 42 )
MEMO
( 12 / 42 )
Chapter 2. Preparation
This chapter describes the package components, the system configuration and the preparation for using this product for the first time.
2.1 Terminology ................................................................................................................................ 14
2.2 Package Components...................................................................................................................15
2.3 System Configuration of the M32100T-EZ-E............................................................................. 16
(1) JTAG Connection .................................................................................................................16
2.4 Name of Each Part.......................................................................................................................17
(1) Names and Functions of Parts on the Upper Panel...............................................................17
(2) Names and Functions of Parts on the Side Panel..................................................................19
(3) Names and Functions of Parts on the Front Panel ................................................................ 19
(4) Names and Functions of Parts on the Rear Panel .................................................................20
( 13 / 42 )
Loading...
+ 29 hidden pages