Renesas M34571T2-CPE User Manual

REJ10J0972-0100(T)
p
M34571T2-CPE
User's Manual
Compact Emulator for 4571 Grou
Rev.1.00 Feb. 10, 2006
y
t
r
/
r
y
r
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 ap­propriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non­flammable 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 an 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, pro­grams 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 contac Renesas Technology Corp. or an authorized Renesas Technology Corp. product distributo 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 o 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, the 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/ o 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 single-
chip 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 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.
(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.
This symbol represents a warning about safety. It is used to arouse caution about a potential
DANGER
WARNING
CAUTION
CAUTION
IMPORTANT
In addition to the five above, the following are also used as appropriate.
means WARNING or CAUTION.
Example:
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.
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
- 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.
1
REJ10J0972-0100 Rev.1.00 February 10, 2006 Page 13 of 72
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.
Host machine (not included)
Power supply for emulator
(not included)
Compact emulator
M34571T2-CPE
Power supply cable USB interface cable
Pitch converter board
Power supply
for user system
(not included)
User system
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.
Check pins
System reset switch
J2: USB interface connector
USB
POWER
Not used for this system (always open)
JP2
SW1
5.0V
5.0V
JP1, JP2
EXT
3.3V
JP1
TP1: VDD2 TP2: GND TP3: WRST
INT
TP1VDD2
GND
WRS T
TP2
POF status LED
F
3V
1
PO
LED
MCU power supply voltage selection switch
5VSW1
J4: External trace cable connector
J4
1
26
J1: Power connector
System status LEDs LED1: Emulator power (POWER) LED2: Emulator status (SAFE)
MADE
MADE IN JAPAN
POWER
LED5LED4
RUN
RUN
SAFE
STATUS
COMPACT EMULATOR
LED6
M34571T2-CPEB REV.A
J3: Connector for user system
COMPACT EMULATOR
SYSTEM
STATUS
SAFE
POWER
LED2
SAFE
LED1
POWER
M34571T 2-CP E
TARGET
STATUS
POWER
CLOCK
RESET
LED3
RESET
CLOCK
POWER
Target status LEDs LED3: User system power (POWER) LED4: Clock oscillation (CLOCK) LED5: MCU RESET status (RESET) LED6: Program execution (RUN)
J3
13
14
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
ON Power is supplied to the emulator. POWER LED1 Orange
OFF Power is not supplied to the emulator.
ON Emulator system has started normally. SAFE LED2 Green
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
ON Power is supplied to the target MCU. POWER LED3 Orange
OFF Power is not supplied to the target MCU.
ON Clock is supplied to the target MCU. CLOCK LED4 Green
OFF Clock is not supplied to the target MCU.
ON Target MCU is being reset. RESET LED5 Red
OFF Target MCU is not being reset.
ON User program is being executed. RUN LED6 Green
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
(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 the user’s program is halted Pressing the system reset switch when the user’s program is executed
ON MCU is in a state of POF
OFF MCU is not in a state of POF, but normal.
Initializes the emulator and waits for a command from the emulator debugger
Stops the user’s program, initializes the emulator, and 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 Set the MCU power supply voltage selection switch (SW1) to 3V.
5.0 V Set the MCU power supply voltage selection switch (SW1) to 5V.
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
Divided-by 8-mode Divided-by 4-mode
6.0 MHz Divided-by 2-mode Through mode 4.4 MHz Divided-by 8-mode Divided-by 4-mode Divided-by 2-mode
6.0 MHz
Through mode
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 point
- 2 address points (range/pass count can be set)
- 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 (see “2.8 Connecting the User
For 26-pin 2.54-mm-pitch DIP
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).
Debug a program with various functions of
Figure 2.1 Flowchart of starting up the emulator
Check the package components. Refer to “1.1 Package Components (page 13).
User registration Refer to “User Registration” (page 11).
Install the emulator debugger M3T-PD45M. Install it from the included CD-ROM.
Set the MCU power voltage
selection switch (SW1).
Connect the USB interface cable.
Connect the power supply for the emulator.
Connect the user system. Connect the user system as occasion demands.
Turning on the power supply.
Check the LED display of the emulator.
Start up the emulator debugger. Start up the emulator debugger M3T-PD45M.
Set the operating environment
of the emulator debugger.
the M3T-PD45M.
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.
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.
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.
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.2 Installing 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
M34571T2-CPE User’s Manual 2. Setup

2.3 Connecting the Power Supply for the Emulator

Connect the power supply for the emulator to the power connector (J1). The specification of the power supply for the emulator
is listed in Table 2.1.
Table 2.1 Specification of power supply of the emulator
Power supply voltage
Figures 2.2 and 2.3 show the specifications of the power connector (J1) and an applicable plug, respectively.
DC 5.0 V±5/2 A
Electrode (-) Electrode (+)
1.7mm(Inside diameter)
φ
4.75mm
φ
Figure 2.2 Power connector specifications Figure 2.3 Applicable plug specifications
CAUTION
Notes on Connecting a Power Supply of the Emulator:
The power cable included in this product package is colored red (+) and black (-). Be careful about the polarity of the power supply. Connecting to the wrong electrode could destroy internal
circuits.
Do not apply a voltage exceeding the specified voltage of the product (5.0 V ±5%), because it may cause burn
injuries and the failure of internal circuits.
REJ10J0972-0100 Rev.1.00 February 10, 2006 Page 22 of 72
Loading...
+ 50 hidden pages