Renesas M34502T-MCU User Manual

M34502T-MCU
MCU Board for PC4504 Emulator System
User's Manual
Rev.2.00 July 1, 2004 REJ10J0273-0200Z
• MS-DOS is a registered trademarks of Microsoft Corporation in the U.S. and other countries.
• Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap.
• These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Renesas Technology Corporation, Renesas Solutions Corporation or a third party.
• Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials.
• All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Renesas Technology Corporation, Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means, including the Renesas home page (http://www.renesas.com).
• When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage, liability or other loss resulting from the information contained herein.
• Renesas Technology semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Renesas Technology Corporation, Renesas Solutions Corporation or an authorized Renesas Technology product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use.
• The prior written approval of Renesas Technology Corporation and Renesas Solutions Corporation is necessary to reprint or reproduce in whole or in part these materials.
• If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited.
• Please contact Renesas Technology Corporation or Renesas Solutions Corporation for further details on these materials or the products contained therein.
Keep safety first in your circuit designs!
Notes regarding these materials
• This product is a development supporting unit for use in your program development and evaluation stages. In mass-producing your program you have finished developing, be sure to make a judgment on your own risk that it can be put to practical use by performing integration test, evaluation, or some experiment else.
• In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product.
• Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge. However, this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances.
• This product has been developed by assuming its use for program development and evaluation in laboratories. Therefore, it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan.
For inquiries about the contents of this document or product, fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor.
\SUPPORT\Product-name\SUPPORT.TXT Renesas Tools Homepage http://www.renesas.com/en/tools
Precautions to be taken when using this product
( 2 / 38 )

Contents

Preface ....................................................................................................................................4
1. Precautions for Safety.........................................................................................................5
1.1 Safety Symbols and Meanings ..............................................................................5
2. Handling Precautions..........................................................................................................9
3. Contents of the Package ...................................................................................................11
3.1 Package Components of the M34502T-MCU.....................................................11
3.2 Other Necessary Products ...................................................................................11
4. M34502T-MCU................................................................................................................13
4.1 Outline.................................................................................................................13
4.2 Specifications ......................................................................................................14
4.3 Switches ..............................................................................................................15
4.4 Check Pins...........................................................................................................16
4.5 Connectors...........................................................................................................16
4.6 Connecting to the Target System ........................................................................19
4.7 LED .....................................................................................................................23
5. Precautions to Be Taken When Debugging......................................................................25
5.1 Reset ....................................................................................................................25
5.2 System Clock ......................................................................................................25
5.3 Real-time Capability of Timer ............................................................................25
5.4 Watchdog Timer..................................................................................................26
5.5 Port I/O Timing ...................................................................................................26
5.6 Port I/O Characteristics .......................................................................................27
5.7 Pullup Transistor .................................................................................................27
5.8 RAM Backup Mode ............................................................................................28
5.9 Program Execution (G, GB)................................................................................29
5.10 External Trigger Signal .....................................................................................31
5.11 Other Precautions ..............................................................................................31
6. Connection Circuit Diagram of the M34502T-MCU .......................................................33
7. External Dimensions of the Pitch Converter Board .........................................................35
7.1 M34501T-PTC ....................................................................................................35
Appendix A. How to Request for Repair .............................................................................36
( 3 / 38 )

Preface

This user's manual describes the specifications of the M34502T-MCU emulator board for Renesas 4501, 4502, 4506, 4507 and 4580 Groups of 4-bit single-chip MCUs. The M34502T-MCU is an MCU board for the PC4504 system used by installing on the PC4504 emulator main unit. For emulator main unit PC4504 and emulator debugger M3T-PD45, refer to each user's manual.
To use the product properly
Precautions for Safety
• In both this User's Manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties.
• The icons' graphic images and meanings are given in "Chapter 1. Precautions for Safety". Be sure to read this chapter before using the product.
( 4 / 38 )

1. Precautions for Safety

In both the user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties.
This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read this chapter before using this product.

1.1 Safety Symbols and Meanings

WARNING
CAUTION
IMPORTANT
In addition to the three above, the following are also used as appropriate.
If the requirements shown in the "WARNING" sentences are ignored, the equipment may cause serious personal injury or death.
If the requirements shown in the "CAUTION" sentences are ignored, the equipment may malfunction.
It means important information on using this product.
means WARNING or CAUTION.
Example: CAUTION AGAINST AN ELECTRIC SHOCK
means PROHIBITION.
Example: DISASSEMBLY PROHIBITED
means A FORCIBLE ACTION.
Example:
The following pages describe the symbols "WARNING", "CAUTION", and "IMPORTANT".
UNPLUG THE POWER CABLE FROM THE RECEPTACLE.
( 5 / 38 )
WARNING
Warning for Installation:
• Do not set this product in water or areas of high humidity. Spilling water or some other liquid into the main unit can cause an unrepairable damage.
Warning for Use Environment:
• This equipment is to be used in an environment with a maximum ambient temperature of 35 °C. Care should be taken that this temperature is not exceeded.
CAUTION
Cautions to Be Taken for This Product:
• Do not disassemble or modify this product. Disassembling or modifying this product can cause damage.
• Use caution when handling the main unit. Be careful not to apply a mechanical shock.
• Do not pull the emulator by the probe (60-wire half-pitch cable or 26-wire normal-pitch cable).
•Do not use inch-size screws for this equipment. The screws used in this equipment are all ISO (meter-size) type screws. When replacing screws, use same type screws as equipped before.
( 6 / 38 )
IMPORTANT
Notes on Differences between an Actual MCU and the Emulator:
• Emulator operation differs from emulation of a mask MCU, as listed below. For details refer to "5. Precautions to Be Taken When Debugging".
(1) Reset condition (2) Initial values of internal resource data at power-on (3) Internal ROM and RAM capacities, etc. (4) Electrical characteristics (5) Operation in the RAM backup mode (6) Operation of the watchdog timer function (7) Port I/O Timing
• Therefore, always be sure to evaluate your system with an evaluation MCU (OTP version). Also, be sure to perform board-mounted evaluation with an ES (Engineering Sample) version MCU to make final confirmation of device operation before starting mask production.
Note on the Target System:
• Make sure that the target's supply voltage specification is +3.0 V or +5.0 V. Therefore the target's supply voltage should be in the range of +3.0 V ±10% or +5.0 V ±10%.
Notes on Connecting the Target System:
• When connecting the emulator probe, be careful to the wrong connection.
•When connecting the emulator probe, be careful to a warp of the cable. The warp may cause breaking the wire.
( 7 / 38 )
MEMO
( 8 / 38 )

2. Handling Precautions

When using the M34502T-MCU board, pay attention to the following: (1) About the emulator
To use the M34502T-MCU board, install it on the PC4504 emulator main unit.
(2) About the MCU board installation
Before installing (and removing) the MCU board, always be sure to power off the PC4504 emulator main unit and unplug its power cord from the outlet. For details on how to install and remove the MCU board, see "Chapter 2. Setup" in the PC4504 System User's Manual.
(3) Emulator debugger (M3T-PD45)
When using the M34502T-MCU board to debug your program, you need emulator debugger M3T-PD45 (sold separately). Be sure to use the data file for 4501, 4502 or 4580 Group included with emulator debugger M3T-PD45.
(4) Registers that can be operated from M3T-PD45
Tables 2.1 and 2.2 list the registers that can be operated from M3T-PD45.
Table 2.1 Registers that can be operated for 4501, 4502, 4506 and 4507 Group MCUs
Register Reference Modification Reg ister Reference Modification
PC Yes Yes W1 Yes Yes CY Yes Yes W2 Yes Yes
A Yes Yes W6 Yes Yes B Yes Yes Q1 Yes Yes X Yes Yes K0 Yes Yes Y Yes Yes K1 Yes Yes Z Yes Yes K2 Yes Yes D Yes Yes PU0 - Yes E Yes Yes PU1 - Yes
SP Yes - PU2 - Yes
V1 Yes Yes MR Yes Yes V2 Yes Yes R1 - Yes
I1 Yes Yes R2 - Yes
( 9 / 38 )
Table 2.2 Registers that can be operated for 4580 Group MCUs
Register Reference Modification Re gister Reference Modification
PC Yes Yes W2 Yes Yes CY Yes Yes W6 Yes Yes
A Yes Yes Q3 Yes Yes B Yes Yes Q4 Yes Yes X Yes Yes K0 Yes Yes Y Yes Yes K1 Yes Yes Z Yes Yes K2 Yes Yes D Yes Yes PU0 - Yes E Yes Yes PU1 - Yes
SP Yes - PU2 - Yes
V1 Yes Yes MR Yes Yes V2 Yes Yes R1 - Yes
I1 Yes Yes R2 - Yes
W1 Yes Yes
( 10 / 38 )

3. Contents of the Package

3.1 Package Components of the M34502T-MCU

Table 3.1 shows the contents of the M34502T-MCU package. When unpacking your M34502T­MCU package, check to see that all of these components are included.
Table 3.1 Contents of the M34502T-MCU
Item
Product name
Quantity 1 2 3 4 5 6 7 8
M34502T-MCU 60-wire half-pitch cable (40 cm) 26-wire normal-pitch cable (10 cm) 2-wire cable for external trigger signal (50 cm) PCA4029 pitch converter board OSC-2 oscillator circuit board (J1 connector mounted) M34501T-PTC pitch converter board M34502T-MCU user's manual (this manual)
*1 The M34502T-MCU has an oscillator circuit board OSC-2 (for 4.19 MHz) that is incorporated
when shipped from the factory. In addition, it comes with an oscillator circuit board OSC-2, with only a connector J1 mounted.
*2 Keep the packaging carton and cushion material of the M34502T-MCU to transport it for repair
or for other purposes in the future.
*3 If you find any item missing or faulty, or any suggestion, contact your local distributor.

3.2 Other Necessary Products

1 1 1 1 1 1 1 1
To bring forward programs development on the 4501, 4502, 4506, 4507 and 4580 Group of 4-bit MCUs, the products given below are necessary in addition to those contained in the package above. Get them separately to be ready when necessary.
(1) Emulator main unit: PC4504 (2) Emulator debugger: M3T-PD45 (3) Programming adapter: MS4238-20F
(for serial programming 4501, 4506 and 4580 Group MCUs) MS4502-24F (for serial programming 4502 and 4507 Group MCUs)
(4) Serial programmer: MSP-II or EFP-I
The programming adapters and the serial programmers listed above are products of Suisei Electronics System Co., Ltd. For details on products, contact Suisei Electronics System Co., Ltd.
http://www.suisei.co.jp/index_e.htm
( 11 / 38 )
MEMO
( 12 / 38 )
Loading...
+ 26 hidden pages