Renesas Compact Emulator M34571T2-CPE 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

M34571T2-CPE

User’s Manual

Compact Emulator for 4571 Group

Rev.1.00 2006.02

Keep safety first in your circuit designs!

1.Renesas Technology Corp. puts 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

1.These materials are intended as a reference to assist our customers in the selection of the Renesas Technology Corp. 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 Corp. or a third party.

2.Renesas Technology Corp. assumes 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.

3.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 Corp. without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corp. or an authorized Renesas Technology Corp. 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 Corp. assumes 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 Corp. by various means, including the Renesas Technology Corp. Semiconductor home page (http:// www.renesas.com).

4.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 Corp. assumes no responsibility for any damage, liability or other loss resulting from the information contained herein.

5.Renesas Technology Corp. 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 Corp. or an authorized Renesas Technology Corp. 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.

6.The prior written approval of Renesas Technology Corp. is necessary to reprint or reproduce in whole or in part these materials.

7.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.

8.Please contact Renesas Technology Corp. for further details on these materials or the products contained therein.

M34571T2-CPE User’s Manual

Preface

Preface

The M34571T2-CPE is a compact emulator for the 4571 Group MCUs with the real-time trace function.

This user's manual mainly describes specifications of the M34571T2-CPE compact emulator and how to setup it. For details on the following products included with the M34571T2-CPE, refer to each product's online manual.

Emulator debugger:

M3T-PD45M

Assembler:

ASM45

All the components of this product are shown in "1.1 Package Components" (page 13). If there is any question or doubt about this product, contact your local distributor.

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/en/tools).

Related manuals

Item

Manual

Emulator debugger

M3T-PD45M User’s Manual

Assembler

ASM45 User’s Manual

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 3 of 72

 

M34571T2-CPE User’s Manual

Important

Important

Before using this product, be sure to read this user’s manual carefully.

Keep this user’s manual, and refer to this when you have questions about this product.

Emulator:

The emulator in this document refers to the following products that are manufactured by Renesas Technology Corp.:

(1)Compact emulator main unit

(2)Package converter board for connecting the user system

The emulator herein does not include the customer’s user system and host machine.

Purpose of use of the emulator:

This emulator is a device to support the development of a system that uses the 4500 Series 4571 Group of Renesas 4-bit singlechip MCUs. It provides support for system development in both software and hardware.

Be sure to use this emulator correctly according to said purpose of use. Please avoid using this emulator for other than its intended purpose of use.

For those who use this emulator:

This emulator can only be used by those who have carefully read this user’s manual and know how to use it. Use of this emulator requires the basic knowledge of electric circuits, logical circuits, and MCUs.

When using the emulator:

(1)This product is a development supporting unit for use in your program development and evaluation stages. In massproducing 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.

(2)In no event shall Renesas Solutions Corp. be liable for any consequence arising from the use of this product.

(3)Renesas Solutions Corp. 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 Corp. guarantees the renovation or the provision under any circumstances.

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

(5)Renesas Solutions Corp. cannot predict all possible situations or possible cases of misuse where a potential danger exists. Therefore, the warnings written in this user’s manual and the warning labels attached to this emulator do not necessarily cover all of such possible situations or cases. Please be sure to use this emulator correctly and safely on your own responsibility.

(6)This product is not qualified under UL or other safety standards and IEC or other industry standards. This fact must be taken into account when taking this product from Japan to some other country.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 4 of 72

 

M34571T2-CPE User’s Manual

Important

Usage restrictions:

This emulator has been developed as a means of supporting system development by users. Therefore, do not use it as a device used for equipment-embedded applications. Also, do not use it for developing the systems or equipment used for the following purposes either:

(1)Transportation and vehicular

(2)Medical (equipment where human life is concerned)

(3)Aerospace

(4)Nuclear power control

(5)Undersea repeater

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 its user’s manual may be changed without prior notice.

About the 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, products or circuits presented in this user’s manual.

(2)The information or data in this user’s manual does not implicitly or otherwise grant a license for patent rights or any other rights belonging to us or third parties.

(3)This user’s manual and this emulator are copyrighted, with all rights reserved by us. This user’s manual may not be copied, duplicated or reproduced, in whole or part, without prior written consent of us.

About diagrams:

The diagrams in this user’s manual may not all represent exactly the actual object.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 5 of 72

 

M34571T2-CPE User’s Manual

Precautions for Safety

Precautions for Safety

Definitions of Signal Words

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.

DANGER

WARNING

CAUTION

CAUTION

IMPORTANT

This symbol represents a warning about safety. It is used to arouse caution about a potential danger that will possibly inflict an injury on persons. To avoid a possible injury or death, please be sure to observe the safety message that follows this symbol.

DANGER indicates an imminently dangerous situation that will cause death or heavy wound unless it is avoided. However, there are no instances of such danger for the product presented in this user's manual.

WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided.

CAUTION indicates a potentially dangerous situation that will cause a slight injury or a medium-degree injury unless it is avoided.

CAUTION with no safety warning symbols attached indicates a potentially dangerous situation that will cause property damage unless it is avoided.

This is used in operation procedures or explanatory descriptions to convey exceptional conditions or cautions to the user.

In addition to the five 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.

 

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 6 of 72

 

M34571T2-CPE User’s Manual

Precautions for Safety

WARNING

Warnings for AC Power Supply:

If the attached 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.

Use an AC power cable which complies with the safety standard of the country.

Do not touch the plug of the AC power cable when your hands are wet. This may cause electric shock.

This product is connected signal ground with frame ground. If your developing product is transformless (not having isolation transformer of AC power), this may cause electric shock. Also, this may give an unrepairable damage to this product and your developing one.

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, insure 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 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. 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.

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 and modified. Disassembling and modifying the product will void your warranty.

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. Make sure that the product does not get wet. Spilling water or some other liquid into the product may cause 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.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 7 of 72

 

M34571T2-CPE User’s Manual

Precautions for Safety

CAUTION

Notes on Connecting the Power Supply of the Emulator:

Do not use any power cable other than the one that is included with the product.

The power cable included with the product has its positive and negative poles color-coded by red and black, respectively.

Pay attention to the polarities of the power supply. If its positive and negative poles are connected in reverse, the internal circuit may be broken.

Do not apply any voltages exceeding the product’s rated power supply voltage (5.0 V ±5%). Extreme voltages may cause a burn due to abnormal heat or cause the internal circuit to break down.

Cautions to Be Taken for Turning On the Power:

Turn ON/OFF the power of the emulator and user system as simultaneously as possible.

Do not leave either the emulator or user system powered on, because of leakage current the internal circuits may be damaged.

When turning on the power again after shutting off the power, wait about 10 seconds.

Cautions to Be Taken for Handling This Product:

Use caution when handling the main unit. 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.

Do not pull this emulator by the communications interface cable or the flexible cable for connecting the user system. And, excessive flexing or force may break conductors.

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)Press the RESET button on the emulator upper panel.

(2)If normal operation is not restored after step (1), shut OFF the emulator once and then reactivate it.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 8 of 72

 

M34571T2-CPE User’s Manual

Contents

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.2.1 System Configuration

14

............................................................................

1.2.2 Names and Functions of each part of the Emulator

16

1.3 ................................................................................................................................................

Specifications

18

1.4 .................................................................................................................................

Operating Environment

19

2. Setup.......................................................................................................................................................................

20

2.1 ..........................................................................................................

Flowchart of Starting Up the Emulator

20

2.2 ..................................................................................................................

Installing the Emulator Debugger

21

..................................................................................

2.2.1 Installing the Emulator Debugger M3T - PD45M

21

.........................................................................................................

2.2.2 Installing the USB Device Driver

21

2.3 ............................................................................................

Connecting the Power Supply for the Emulator

22

2.4 .......................................................................................................................

Connecting the Host Machine

23

2.5 ...................................................................................................................................

Turning ON the Power

24

....................................................................................

2.5.1 MCU Power Supply Voltage Selection Switch

24

..................................................................................

2.5.2 Checking Connections of the Emulator System

25

................................................................................................................

2.5.3 Turning ON/OFF the Power

25

......................................................................................................

2.5.4 Power Supply to the User System

25

.........................................................................

2.5.5 LED Display When the Emulator Starts Up Normally

26

2.6 ..................................................................................................................................

Downloading Firmware

28

.....................................................................................

2.6.1 When It is Necessary to Download Firmware

28

....................................................................................

2.6.2 Downloading Firmware in Maintenance Mode

28

2.7 ......................................................................................................................................................

Self - check

29

..........................................................................................................................

2.7.1 Self - check Procedure

29

..............................................................................................

2.7.2 If an Error is Detected in the Self - check

30

2.8 .........................................................................................................................

Connecting the User System

31

................................................................................

2.8.1 Connecting to a 2.54 - mm - pitch Dual in - line Pins

32

2.9 .........................................................................................................................................

Changing Settings

34

...............................................................................

2.9.1 Changing the Power Supply Voltage to the MCU

34

.......................................................................................................................

2.9.2 Selecting Clock Supply

35

2.10 .............................................................................................Connecting the External Trace/Trigger Cable

37

............................................

2.10.1 Connecting the External Trace/Trigger Cable to the Emulator System

37

...................................................

2.10.2 Connecting the External Trace/Trigger Cable to the User System

37

...........................................................................

2.10.3 Specifications of the External Trace/Trigger Cable

38

2.11 ...........................................................................................Watchdog Timer Initialization Cycle Check Pin

39

.........................................................................

2.11.1 Check Pin WRST (TP3) on the Emulator Main Unit

39

.......................................................................................

2.11.2 Output Waveform of the Check Pin WRST

40

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 9 of 72

 

M34571T2-CPE User’s Manual

Contents

 

 

Page

3. Usage (How to Use the Emulator Debugger) .........................................................................................................

41

3.1

Starting Up the Emulator Debugger (Init Dialog Box) ...................................................................................

41

3.2

Program Window ...........................................................................................................................................

43

3.3

Hardware Breakpoint Setting Window...........................................................................................................

47

3.4

Trace Window................................................................................................................................................

49

3.5

Time Measurement........................................................................................................................................

53

4. Hardware Specifications .........................................................................................................................................

54

4.1

Target MCU Specifications............................................................................................................................

54

4.2

Differences between the Actual MCU and Emulator.....................................................................................

55

4.3

Connection Diagram......................................................................................................................................

59

4.4

External Dimensions......................................................................................................................................

62

 

4.4.1 External Dimensions of the Compact Emulator ..................................................................................

62

4.5

Notes on Using This Product.........................................................................................................................

63

5. Troubleshooting ......................................................................................................................................................

65

5.1

Flowchart to Remedy the Troubles ...............................................................................................................

65

5.2

When the Emulator Debugger Does Not Start Up Properly..........................................................................

66

5.3

How to Request for Support ..........................................................................................................................

68

6. Maintenance and Guarantee ..................................................................................................................................

69

6.1

User Registration...........................................................................................................................................

69

6.2

Maintenance ..................................................................................................................................................

69

6.3

Guarantee......................................................................................................................................................

69

6.4

Repair Provisions ..........................................................................................................................................

69

6.5

How to Make Request for Repair ..................................................................................................................

70

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 10 of 72

 

M34571T2-CPE User’s Manual

User Registration

User Registration

When you have purchased the emulator presented in this user's manual, please be sure to register it. As the H/W Tool Customer Registration Sheet is included with this manual, fill it in and email the same contents to the following address. 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 email to the following address.

regist_tool@renesas.com

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 11 of 72

 

M34571T2-CPE User’s Manual

Terminology

Terminology

Some specific words used in this user’s manual are defined as follows:

Emulator M34571T2-CPE

This means the compact emulator (this product) for 4571 Group MCUs.

Emulator system

This means an emulator system built around the M34571T2-CPE emulator. The M34571T2-CPE emulator system is configured with an emulator main unit M34571T2-CPE, emulator debugger M3T-PD45M and host machine.

Emulator debugger M3T-PD45M

This means a software tool which you can control the emulator from a host machine through the USB interface.

Firmware

This means a program stored in the flash ROM of the emulator. It analyzes contents of communication with the emulator debugger and controls the emulator M34571T2-CPE. This program is downloadable from the emulator debugger to upgrade it, etc.

Host machine

This means a personal computer used to control the emulator system.

Target MCU

This means the microcomputer you are going to debug.

User system

This means a user’s application system using the microcomputer to be debugged.

User program

This means a user’s application program to be debugged.

Evaluation MCU

This means a microcomputer mounted on the emulator which is operated in the special mode for the emulator.

#

In this user’s manual, this symbol is used to show active LOW. (e.g. RESET#)

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 12 of 72

 

M34571T2-CPE User’s Manual

1. Outline

1. Outline

This chapter describes the package components, the system configuration and the preparation for using this product for the first time.

1.1 Package Components

The M34571T2-CPE package consists of the following items. When unpacking it, check to see if your M34571T2-CPE contains all of these items.

Table 1.1 Package components

 

Item

Quantity

M34571T2-CPE compact emulator

1

M34571GDFP MCU

 

1

26-wire normal-pitch cable for connecting user system

1

External trace cable

 

1

OSC-2 (6MHz) oscillator circuit board

1

OSC-2 oscillator circuit bare board

1

USB interface cable for connecting host machine and emulator

1

Power supply cable for compact emulator

1

H/W Tool Customer Registration Sheet (English)

1

H/W Tool Customer Registration Sheet (Japanese)

1

M34571T2-CPE User’s Manual (this manual)

1

M34571T2-CPE User’s Manual (Japanese)

1

M34571T2-CPE Release Notes (English)

1

M34571T2-CPE Release Notes (Japanese)

1

CD-ROM

- Emulator debugger M3T-PD45M

1

 

- Assembler ASM45

 

*Please keep the M34571T2-CPE’s packing box and cushion material in your place for reuse at a later time when sending your product for repair or other purposes. Always use these packing box and cushion material when transporting this product.

*If there is any question or doubt about the packaged product, contact your local distributor.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 13 of 72

 

Renesas Compact Emulator M34571T2-CPE User Manual

M34571T2-CPE User’s Manual

1. Outline

1.2 System Configuration

1.2.1 System Configuration

Figure 1.1 shows a configuration of the M34571T2-CPE system.

 

Power supply for emulator

 

 

(not included)

Power supply cable

USB interface cable

 

 

 

Power supply

 

 

 

for user system

 

 

 

(not included)

Host machine

Compact emulator

Pitch converter board

User system

(not included)

M34571T2-CPE

 

 

Figure 1.1 System configuration

(1)Compact emulator M34571T2-CPE (this product)

This is a compact emulator for the 4571 Group with the real-time trace functions (hereafter, emulator).

(2)USB interface cable (included)

This is an interface cable for the host machine and the emulator.

(3)Power supply for emulator

This is a power supply for the emulator. Supply 5.0 V ±5% (DC).

Prepare a power supply separately. The power cable is included with this product.

Note: Be aware that there are some AC adapters whose power supply voltage varies rather widely with its load. You are recommended to use an AC adapter with a switching power supply or a stabilized power supply.

(4)User system

This is your application system. This emulator can be used without the user system.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 14 of 72

 

M34571T2-CPE User’s Manual

1. Outline

(5)Power supply for the user system

This is a power supply for the user system. As this emulator cannot supply the power to the user system, supply the power to the user system separately from the emulator.

(6)Host machine

This is a personal computer for controlling the emulator.

(7)Pitch converter board

This is a pitch converter board for connecting to an MCU foot pattern on the user system. For details, refer to “2.8 Connecting the User System” (page 31).

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 15 of 72

 

M34571T2-CPE User’s Manual

1. Outline

1.2.2 Names and Functions of each part of the Emulator

Figure 1.2 shows the names of the LEDs on the upper panel of the emulator.

JP1, JP2

Not used for this system System reset switch (always open)

Check pins

 

TP1: VDD2

POF status LED

TP2: GND

MCU power supply voltage selection switch

TP3: WRST

 

J4: External trace cable connector

J2: USB interface connector

J1: Power connector

 

SW1

2

PJ

PJ1

 

 

 

 

 

VDD2 TP1

GND TP2 WRST

FPO 1LED

3V

5VSW1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3V.30V.5

EXT

TNI

 

 

 

 

 

 

 

 

 

 

 

 

POWER USB

 

 

 

 

 

 

 

 

 

 

 

 

 

J4

 

 

 

5.0V

 

 

-CPE

 

POWER CLOCK RESET RUN

MADEEMULATORCOMPACTIN JAPANMADE

POWER SAFE

STATUS

 

 

RUN

J3

1

26

 

POWER STATUSSAFE

 

M34571T2

 

 

 

13 14

 

SYSTEM

 

 

EMULATORCOMPACT

 

 

TARGET STATUS

 

 

 

 

 

 

 

 

 

 

 

 

LED2

 

 

LED3

4

5DLE

DLE

LED6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LE D1 POWER

SAFE

 

 

 

POWER

CLOCK RESET

RUN

 

 

 

M34571T2-CPEB REV.A

 

System status LEDs

LED1: Emulator power (POWER) LED2: Emulator status (SAFE)

J3: Connector for user system

Target status LEDs

LED3: User system power (POWER)

LED4: Clock oscillation (CLOCK)

LED5: MCU RESET status (RESET)

LED6: Program execution (RUN)

Figure 1.2 Names of the LEDs on the upper panel of the M34571T2-CPE

(1) System Status LEDs

The system status LEDs indicate the emulator main unit’s operating status etc. Table 1.2 lists the definition of the system status LEDs.

Table 1.2 Definitions of the system status LEDs

Name

Number

Color

Status

Meaning

POWER

LED1

Orange

ON

Power is supplied to the emulator.

 

 

 

OFF

Power is not supplied to the emulator.

SAFE

LED2

Green

ON

Emulator system has started normally.

 

 

 

OFF

Emulator system has not started normally.

(2) Target Status LEDs

The target status LEDs indicate the target MCU’s power supply and operating status. Table 1.3 lists the definition of each target status LED.

Table 1.3 Definitions of the target status LEDs

Name

Number

Color

Status

Meaning

 

POWER

LED3

Orange

ON

Power is supplied to the target MCU.

 

 

 

 

OFF

Power is not supplied to the target MCU.

 

CLOCK

LED4

Green

ON

Clock is supplied to the target MCU.

 

 

 

 

OFF

Clock is not supplied to the target MCU.

 

RESET

LED5

Red

ON

Target MCU is being reset.

 

 

 

 

OFF

Target MCU is not being reset.

 

RUN

LED6

Green

ON

User program is being executed.

 

 

 

 

OFF

User program is not being executed.

 

 

 

 

 

 

 

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 16 of 72

 

M34571T2-CPE User’s Manual

1. Outline

(3) POF Status LED

This LED shows whether the MCU is in a state of POF

Table 1.4 Definitions of the target status LEDs

Name

Color

Status

Meaning

POF

Orange

ON

MCU is in a state of POF

OFF

MCU is not in a state of POF, but normal.

 

 

(4) System Reset Switch

By pressing the system reset switch, you can initialize the emulator system. Table 1.5 shows the functions of the system reset switch depending on the state of the emulator.

Table 1.5 Definitions of the target status LEDs

State of Emulator

Function

Pressing the system reset switch when

Initializes the emulator and waits for a command from the

the user’s program is halted

emulator debugger

Pressing the system reset switch when

Stops the user’s program, initializes the emulator, and

the user’s program is executed

waits for a command from the emulator debugger.

IMPORTANT

Notes on a System Reset:

After pressing the system reset switch, restart the emulator debugger M3T-PD45M. Otherwise the display of emulator debugger and the actual value (in the emulator) may not match.

When the emulator debugger does not start up normally even after rebooting, turn off the emulator and then turn on again.

(5) Power Connector (J1)

This is a connector for connecting the power supply to this product. For details, refer to “2.3 Connecting the Power Supply for the Emulator” (page 22).

(6) USB Cable Connector (J2)

This is a USB cable connector for connecting the host machine to this product. For details, “2.4 Connecting the Host Machine” (page 23).

(7) External Trace Cable Connector (J4)

This is an external trace cable connector when using an external trace function. For details, “2.10 Connecting the External Trace/Trigger Cable” (page 37).

(8) MCU Power Supply Voltage Selection Switch (SW1)

This is a setting for an MCU power supply voltage. For details, refer to “2.5.1 MCU Power Supply Voltage Selection Switch” (page 24)

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 17 of 72

 

M34571T2-CPE User’s Manual

1. Outline

1.3 Specifications

Table 1.6 lists specifications of the M34571T2-CPE.

Table 1.6 M34571T2-CPE specifications

 

 

Applicable MCUs

4571 Group

 

 

Evaluation MCU

M34571GDFP (mounted in the socket of the emulator)

 

 

Maximum operating frequency

3.0 V

Divided-by 8-mode

 

 

 

Set the MCU power supply voltage selection switch

Divided-by 4-mode

6.0 MHz

 

 

(SW1) to 3V.

Divided-by 2-mode

 

 

 

 

Through mode

4.4 MHz

 

 

5.0 V

Divided-by 8-mode

 

 

 

Set the MCU power supply voltage selection switch

Divided-by 4-mode

6.0 MHz

 

 

(SW1) to 5V.

Divided-by 2-mode

 

 

 

 

 

 

Through mode

 

Applicable power supply

3.0 V ±5 % or 5.0 V ±5 %

 

 

-The power supply can be selected by a switch on the M34571T2-CPEB

-Available only from the emulator, not from the user system

Basic debugging functions

-

Download

 

 

 

 

- Software break (max. 8 points, break after execution)

 

- Program execution/stop (allows free-run execution supporting software breaks)

 

-

Memory reference/setting

 

-

Register reference/setting

 

-

Disassemble display

 

Real-time trace function

Recording cycle

32768 cycles

 

 

 

 

 

 

Trace point

 

-

2 address points (range/pass count can be set)

 

 

 

 

-

1 external trigger point

 

Trace mode

 

-

Before Break mode (Records 32768 cycles before program stops)

 

 

 

 

-

Before Trace mode (Records 32768 cycles before event on)

 

 

 

 

-

About Trace mode (Records 32768 cycles before/after event on)

 

 

 

 

-

After Trace mode (Records 32768 cycles after event on)

Hardware break function

Hardware

break

-

2 address points (range/pass count can be set)

 

point

 

-

1 external trigger point

 

Break mode

 

-

Address break or trigger break

 

 

 

 

-

Stack over/under flow

 

 

 

 

-

Trace event

 

 

 

 

-

Break at end of trace

 

 

 

 

- Timer

Time measurement

Time measurement point: 2 address point designation (range can be set)

 

Resolution: 100 ns

 

 

 

Measurement interval: 8 types

 

Count source: Emulator timer or MCU cycle

 

 

 

 

 

Coverage

C0 coverage

 

 

 

Connection to user system

For 26-pin 2.54-mm-pitch DIP

(see “2.8 Connecting the User

 

26-wire normal-pitch cable (included)

System” on page 31)

 

 

 

 

 

Power supply for emulator

DC 5.0 V ±5 %/2 A externally supplied (Prepare a power supply separately.)

Host machine interface

USB (USB 1.1 full-speed, mini-B standard connector)

*Available to connect the host machine that supports USB 2.0. With the USB interface, not all hardware (such as host machine, USB devices, USB hub) combination will work and guaranteed.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 18 of 72

 

M34571T2-CPE User’s Manual

1. Outline

1.4 Operating Environment

Be sure to use thins emulator with the operating environmental of the emulator and host machine listed in Tables 1.7 and 1.8.

Table 1.7 Operating environmental conditions

Item

Description

Operating temperature

5 to 35°C (no dew)

Storage temperature

-10 to 60°C (no dew)

Table 1.8 Operating environment of the host machine

Item

Description

Host machine

IBM PC/AT compatibles with USB1.1

OS

Windows Me

 

Windows 98

 

Windows XP

 

Windows 2000

CPU

Pentium III 233 MHz or more recommended

Memory

128 MB or more recommended

Pointing device such as mouse

Mouse or any other pointing device usable with the above OS that can be

 

connected to the main body of the host machine.

CD drive

Needed to install the emulator debugger or refer to the user’s manual

*Windows and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 19 of 72

 

M34571T2-CPE User’s Manual

2. Setup

2. Setup

This chapter describes the preparation for using this product, the procedure for starting up the emulator and how to change settings.

2.1 Flowchart of Starting Up the Emulator

The procedure for starting up the emulator is shown in Figure 2.1. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to “5. Troubleshooting” (page 65).

Check the package components.

User registration

Install the emulator debugger M3T-PD45M.

Set the MCU power voltage selection switch (SW1).

Connect the USB interface cable.

Connect the power supply for the emulator.

Connect the user system.

Turning on the power supply.

Check the LED display of the emulator.

Start up the emulator debugger.

Set the operating environment of the emulator debugger.

Debug a program with various functions of the M3T-PD45M.

Refer to “1.1 Package Components (page 13).

Refer to “User Registration” (page 11).

Install it from the included CD-ROM.

Select a power voltage supplied to the target MCU.

Connect the USB interface cable to the USB interface connector (J2) of the emulator and the USB port of the host machine.

Connect a power supply to the power connector (J1). Power supply should be 5.0 V ±5%, 2 A.

Connect the user system as occasion demands.

Turn on the power to the emulator and the user system as simultaneously as possible.

Check that the system status LED, and POWER and CLOCK of target status LED are lighting. When the user system is not connected, the POWER LED does not light up.

Start up the emulator debugger M3T-PD45M.

When the INIT dialog box of the emulator debugger M3T-PD45M is displayed, click OK button. The INIT dialog box is displayed again, then select the target MCU and click OK button.

For how to use the M3T-PD45M, refer to the M3T-PD45M online manual.

Figure 2.1 Flowchart of starting up the emulator

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 20 of 72

 

M34571T2-CPE User’s Manual

2. Setup

2.2 Installing the Emulator Debugger

If the OS used in your host machine is Windows XP or 2000, this installation must be executed by a user with administrator rights. Be aware that users without administrator rights cannot complete the installation.

2.2.1 Installing the Emulator Debugger M3T-PD45M

From the CD-ROM included with your product, install the emulator debugger M3T-PD45M following the procedure described below.

(1)Launching the installer

From Windows Explorer, etc., start the “setup.exe” program present in the \PD45M\W95E folder of the product disc.

(2)Entering the user information

In the “user information” dialog box, enter the user information (contractor, section, contact address, and host machine). The supplied information will be turned into a format by which user registration will be provided by e-mail.

(3)Selecting components

In the “component selection” dialog box, select the components you want to install. In this dialog box you can change the directory in which to install.

(4)Completing the installation

A dialog box will be displayed indicating that setup has been completed. It means that the installation you made is completed.

2.2.2Installing the USB Device Driver

Install the USB device driver following the procedure described below.

(1)Connect the host machine and the compact emulator M34571T2-CPE with the USB cable.

(2)Turn on the power to the compact emulator M34571T2-CPE.

(3)A USB device will be detected, and the wizard to install the corresponding device driver will start up.

Follow the instructions of the wizard, and a dialog box for specifying the setup information file (inf file) will appear. In this dialog box, specify the musbdrv.inf file present in or below the directory in which you installed the M3T-PD45M (e.g., c:\mtool\pdxx\drivers).

While you are installing, a message may be output indicating that the device driver proper musbdrv.sys cannot be found. Because musbdrv.sys is stored in the same directory as is the musbdrv.inf file, look into the directory and specify it.

REJ10J0972-0100 Rev.1.00 February 10, 2006

 

Page 21 of 72

 

+ 51 hidden pages