Renesas SDI Emulator System M32100T-EZ-E User Manual

Loading...

To our customers,

Old Company Name in Catalogs and Other Documents

On April 1st, 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the old company name remains in this document, it is a valid Renesas Electronics document. We appreciate your understanding.

Renesas Electronics website: http://www.renesas.com

April 1st, 2010

Renesas Electronics Corporation

Issued by: Renesas Electronics Corporation (http://www.renesas.com)

Send any inquiries to http://www.renesas.com/inquiry.

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 information in this document are provided only to illustrate the operation 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 such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.

7.Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and “Specific”. The recommended applications 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 specified 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; anticrime systems; safety equipment; and medical equipment not specifically designed for life support.

“Specific”:

Aircraft; aerospace equipment; 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 occurrence 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 safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. 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 majorityowned subsidiaries.

(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.

Manual User’s

M32100T-EZ-E

User’s Manual

SDI Emulator System for M32R Family

Rev.2.00 2003.09

Keep safety first in your circuit designs!

Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.

Notes regarding these materials

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.

Precautions to be taken when using this product

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

( 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

Warnings for AC Power Supply ..................................................................................

7

 

Warnings to Be Taken for This Product ......................................................................

7

 

Warning for Installation ...............................................................................................

7

 

Warning for Use Environment .....................................................................................

7

CAUTION

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

IMPORTANT

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

WARNING

CAUTION

IMPORTANT

If the requirements shown in the "WARNING" 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.

In addition to the three above, the following are also used as appropriate. means WARNING or CAUTION.

Example: CAUTION AGAINST AN ELECTRIC SHOCK

means PROHIBITION.

Example: DISASSEMBLY PROHIBITED

means A FORCIBLE ACTION.

Example: UNPLUG THE POWER CABLE FROM THE RECEPTACLE.

The following pages describe the symbols "WARNING", "CAUTION", and "IMPORTANT".

( 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 )

Renesas SDI Emulator System M32100T-EZ-E User Manual

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 )

IMPORTANT

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.

( 11 / 42 )

MEMO

( 12 / 42 )

+ 30 hidden pages