Table of Contents

Advertisement

Quick Links

M34286T2-CPE
Supported Devices:
720 Series
4286 Group
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
www.renesas.com
User's Manual
Rev.2.00 Sep 2010

Advertisement

Table of Contents
loading

Summary of Contents for Renesas M34286T2-CPE

  • Page 1 All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www.renesas.com).
  • Page 2 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”...
  • Page 3 As part of our commitment to environmental responsibility Renesas also offers to take back the equipment and has implemented a Tools Product Recycling Program for customers in Europe. This allows you to return equipment to Renesas for disposal through our approved Producer Compliance Scheme.
  • Page 4: Preface

    The M34286T2-CPE is a compact emulator with the real-time trace functions for the 4286 Group. This user’s manual mainly describes specifications of the M34286T2-CPE and how to set up it. For details on the following products included with the M34286T2-CPE, refer to each product's online manual.
  • Page 5: Important

    Purpose of use of the emulator: This emulator is a device to support the development of a system that uses the 720 Series 4286 Group of Renesas 4-bit single-chip MCUs. It provides support for system development in both software and hardware.
  • Page 6 M34286T2-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...
  • Page 7: Precautions For Safety

    M34286T2-CPE User’s Manual Precautions for Safety Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read and understand this chapter before using this product. Contact us if you have any questions about the precautions described here.
  • Page 8 M34286T2-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.
  • Page 9 As part of our commitment to environmental responsibility Renesas also offers to take back the equipment and has implemented a Tools Product Recycling Program for customers in Europe.
  • Page 10: Table Of Contents

    M34286T2-CPE User’s Manual Contents Contents Preface ..................................4 Important ..................................5 Precautions for Safety................................. 7 Contents ..................................10 User Registration ................................12 Terminology ..................................13 1. Outline ..................................14 1.1 Package Components ............................. 14 1.2 System Configuration .............................. 15 1.2.1 System Configuration ........................... 15 1.2.2 Names and Functions of the Emulator ......................
  • Page 11 M34286T2-CPE User’s Manual Contents 3. Usage (How to Use the Emulator Debugger) ........................ 39 3.1 Starting Up the Emulator Debugger (Init Dialog Box) ....................39 3.2 Program Window..............................41 3.3 Hardware Breakpoint Setting Window........................45 3.4 Trace Window ................................. 47 3.5 Time Measurement ..............................
  • Page 12: User Registration

    M34286T2-CPE User’s Manual User Registration User Registration When you install debugger software, a text file for user registration is created on your PC. Fill it in and email it to your local distributor. If you have replaced an emulator main unit or emulation probe, rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products.
  • Page 13: Terminology

    This means the compact emulator M34286T2-CPE (this product) for the 4286 Group. • Emulator system This means an emulator system built around the M34286T2-CPE emulator. The M34286T2-CPE emulator system is configured with the emulator M34286T2-CPE, emulator debugger M3T-PD72M and host machine.
  • Page 14: Outline

    - Assembler ASM72 * Please keep the M34286T2-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.
  • Page 15: System Configuration

    M34286T2-CPE User’s Manual 1.2 System Configuration 1.2.1 System Configuration Figure 1.1 shows a configuration of the M34286T2-CPE system. P ow e r s up ply fo r em u lato r P ow e r s up ply c able...
  • Page 16: Names And Functions Of The Emulator

    1. Outline M34286T2-CPE User’s Manual 1.2.2 Names and Functions of the Emulator Figure 1.2 shows the names of the LEDs on the upper panel of the emulator. Figure 1.2 Names of the LEDs on the upper panel of the emulator (upper side) (1) System Status LEDs The system status LEDs indicate the emulator main unit’s operating status etc.
  • Page 17 1. Outline M34286T2-CPE User’s Manual (3) POF Status LED This LED shows whether the MCU is in a state of power down. Table 1.4 Definitions of the target status LEDs Name Color Status Meaning MCU is in a state of power down.
  • Page 18: Specifications

    1. Outline M34286T2-CPE User’s Manual 1.3 Specifications Table 1.6 lists specifications of the M34286T2-CPE. Table 1.6 Specifications of the M34286T2-CPE Item Description Applicable MCUs 4286 Group Evaluation MCU M34286G2GP (mounted in the socket of the emulator) Maximum operating frequency 3.0 V Divided-by 8-mode 4.0 MHz...
  • Page 19: Operating Environment

    1. Outline M34286T2-CPE User’s Manual 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)
  • Page 20: Setup

    2. Setup M34286T2-CPE User’s Manual 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 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.
  • Page 21: Installing The Emulator Debugger

    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 M34286T2-CPE with the USB cable. (2) Turn on the power to the compact emulator M34286T2-CPE.
  • Page 22: Changing Settings

    2. Setup M34286T2-CPE User’s Manual 2.3 Changing Settings 2.3.1 Initial setting of the emulator Set the switches on the emulator according to the condition. Figure 2.2 Switch positions of the emulator CAUTION Note on Switch Settings: • Always shut OFF the emulator before changing switch settings and connecting the cable, etc. Otherwise the internal circuit may cause a break.
  • Page 23 2. Setup M34286T2-CPE User’s Manual (1) Pull-down Control Selecting Switches With this product, pull-down control of G0-G3, D0-D7 and E0 by the pull-down control resistors (PU0, PU1 and PU2) is not available. Use the pull-down control switches SW1-SW11 to select the function (pull-down control or not).
  • Page 24: Selecting Clock Supply

    (1) Kinds of Oscillator Boards The M34286T2-CPE comes with an oscillator circuit board OSC-2 (4MHz). And an oscillator circuit bare board OSC-2 is included with this product. A clock supplied to an MCU can be changed by replacing oscillator circuit boards.
  • Page 25 2. Setup M34286T2-CPE User’s Manual (3) Using the Internal Oscillator Circuit Bare Board To use this product at a frequency of your setting, build the desired oscillator circuit on the OSC-2 oscillator circuit board. Figure 2.4 shows an external view of the OSC-2 oscillator circuit board (bare board) and where connector pins are located.
  • Page 26: Connecting The External Trace/Trigger Cable

    2. Setup M34286T2-CPE User’s Manual 2.4 Connecting the External Trace/Trigger Cable Using the external trace/trigger cable enables record/reference a hardware break by the external trigger, and changes of an external signal level in the trace window. (1) Connecting the External Trace/Trigger Cable to the Emulator System Figure 2.6 shows how to connect the external trace/trigger cable to the connector J4 of the emulator.
  • Page 27 2. Setup M34286T2-CPE User’s Manual (3) Specifications of the External Trace/Trigger Cable Voltage input characteristics of external trace input and external trigger input are shown in Table 2.2. The external trace input is latched in the timing shown in Figure 2.8 and the external trigger input is latched in the timing shown in Figure 2.9.
  • Page 28: Watchdog Timer Initialization Cycle Check Pin

    2. Setup M34286T2-CPE User’s Manual 2.5 Watchdog Timer Initialization Cycle Check Pin With this product, the watchdog function cannot be debugged. However, the watchdog timer initialization cycle can be verified by observing the waveform at the check pin (WRST) of the emulator.
  • Page 29 2. Setup M34286T2-CPE User’s Manual (2) Output Waveform of Check Pin WRST A waveform similar to the one shown in Figure 2.11 is output when executing the WRST instruction that initializes the watchdog timer. By observing a period in which the check pin (WRST) goes high, you can know when the watchdog timer is initialized.
  • Page 30: Connecting The Power Supply For Emulator

    2. Setup M34286T2-CPE User’s Manual 2.6 Connecting the Power Supply for 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.3. Figures 2.12 and 2.13 show the specifications of the power connector (J1) and an applicable plug, respectively.
  • Page 31: Connecting The Host Machine

    2. Setup M34286T2-CPE User’s Manual 2.7 Connecting the Host Machine Connect the emulator and the host machine with the USB interface cable. Connect the USB interface cable (included) to the USB interface connector (J2) and the USB port of the host machine (see Figure 2.14).
  • Page 32: Led Display When The Emulator Starts Up Normally

    2. Setup M34286T2-CPE User’s Manual 2.8.4 LED Display When the Emulator Starts Up Normally After the emulator starts up, check the status of the LEDs to see whether the emulator operation is enabled or not. Figure 2.15 shows the positions of the emulator status LEDs.
  • Page 33 2. Setup M34286T2-CPE User’s Manual When the user system NOT connected: POWER LED3 The POWER LED does not light. CLOCK LED4 : ON RESET LED5 : OFF LED6 Figure 2.16 LED display when the emulator starts up normally (user system not connected)
  • Page 34: Downloading Firmware

    2. Setup M34286T2-CPE User’s Manual 2.9 Downloading Firmware 2.9.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. (1) When the firmware has been upgraded (2) When M3T-PD72M has been upgraded If the download is not completed in the cases below, redownload the firmware.
  • Page 35: Self-Check

    2. Setup M34286T2-CPE User’s Manual 2.10 Self-check 2.10.1 Self-check Procedure To run the self-check of the emulator, do so as explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 2.18. (1) If the user system is connected, disconnect it.
  • Page 36: If An Error Is Detected In The Self-Check

    2. Setup M34286T2-CPE User’s Manual 2.10.2 If an Error is Detected in the Self-check Table 2.4 lists how to remedy the troubles if the target status LED display is abnormal in the self-check. When an error is detected, shut off the emulator and the user system and follow the steps in the Table 2.4. Then, reactivate the power of the emulator and the user system.
  • Page 37: Connecting The User System

    2. Setup M34286T2-CPE User’s Manual 2.11 Connecting the User System Figure 2.19 shows the connection of the M34286T2-CPE and the user system. Compact emulator M34286T2-CPE 20-conductor standard-pitch cable *1 FFC-20BSM1 *2 Connect to 2.54mm pitch 20-pole dual-in-line pins *1 This item is included with this product.
  • Page 38: Connecting To 2.54Mm Pitch 20-Pole Dual-In-Line Pins

    2. Setup M34286T2-CPE User’s Manual 2.11.1 Connecting to 2.54mm pitch 20-pole Dual-in-line Pins Connect this product to 20-pole dual-in-line pins using the included 20-conductor standard-pitch cable. Table 2.5 lists the connector assignments of the 20-conductor standard-pitch cable, and Figure 2.20 shows the pin layout of the 20-conductor standard-pitch cable.
  • Page 39: Usage (How To Use The Emulator Debugger)

    3.1 Starting Up the Emulator Debugger (Init Dialog Box) To launch the emulator debugger, click the Start menu of Windows and then select Programs >> RENESAS-TOOLS >> PD72M V.xx.xx Release x >> PD72M. When the emulator debugger started up, the Init dialog box appears.
  • Page 40 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Setting the Init dialog box (2/2) By pressing [OK] after setting the Init dialog box (1/2), the following Init dialog box will be displayed. Selecting the target MCU Select the target MCU that you are going to debug.
  • Page 41: Program Window

    M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.2 Program Window (1) Downloading a program 1) Initial screen of the program window Initial screen of the program window The program window is a window that always shows the content of the source file corresponding to the current position of the program counter.
  • Page 42 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Executing the program 1) Resetting the user program RESET Resets the program. 2) Executing the user program Executes the program from the current PC position. STEP Single-steps the program, stepping through instructions.
  • Page 43 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (3) Setting breakpoints 1) Screen after breakpoint setup Breakpoint setup screen There are two types of breakpoints as described below. Either type of breakpoint needs to be used depending on break mode.
  • Page 44 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (4) Executing up to the cursor position (Come command) 1) Specifying the Come command Setup procedure for executing the COME command The Come command allows you to execute the program up to the cursor position.
  • Page 45: Hardware Breakpoint Setting Window

    M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.3 Hardware Breakpoint Setting Window (1) Breakpoint setup dialog box 1) Opening the hardware breakpoint setup dialog box Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box.
  • Page 46 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Setting the combinatorial event condition 1) Window for setting the combinatorial event condition Setting combinatorial conditions Select a combinatorial condition for A1, A2, and T. One of the following three combinatorial conditions can be selected.
  • Page 47: Trace Window

    M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.4 Trace Window (1) Trace window 1) Trace window Menu Menu item Function Window Trace Window Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements.
  • Page 48 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) 2) Trace window (bus display) Bus display (BUS) Explanation of the trace window (bus display) The following explains the displayed contents, from left to right. - Address Shows the status of the address bus.
  • Page 49 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (2) Trace point setup dialog box Opening the trace point setup dialog box Menu Menu item Function Debug Trace Point Setting the trace point dialog box 1) Setting the trace point dialog box...
  • Page 50 M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) (3) Setting the combinatorial event condition 1) Window for setting the combinatorial event condition Setting combinatorial conditions Select a combinatorial condition for A1, A2, and T. One of the following three combinatorial conditions can be selected.
  • Page 51: Time Measurement

    M34286T2-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) 3.5 Time Measurement (1) Setting time measurement points Menu Menu item Function Debug Measurement Point Sets up the time measurement points dialog box. Setting time measurement points A time measurement range can be specified by selecting one of the following eight time intervals: 1.
  • Page 52: Hardware Specifications

    4. Hardware Specifications This chapter describes specifications of this product. 4.1 Target MCU Specifications Table 4.1 lists the specifications of target MCUs which can be debugged with this product. Table 4.1 Specifications of target MCUs for M34286T2-CPE Item Description Applicable MCU...
  • Page 53: Differences Between The Actual Mcu And Emulator

    M34286T2-CPE User’s Manual 4. Hardware Specifications 4.2 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions. IMPORTANT Note on Differences between the Actual MCU and Emulator: •...
  • Page 54 M34286T2-CPE User’s Manual 4. Hardware Specifications IMPORTANT Note on Watchdog Timer: • With this product, the watchdog timer is running. The watchdog timer initialization cycle can be verified by observing the waveform at the check pin (WRST) of the emulator. For details, refer to “2.5 Watchdog Timer Initialization Cycle Check Pin”...
  • Page 55 M34286T2-CPE User’s Manual 4. Hardware Specifications IMPORTANT Note on Port Electrical Characteristics: • Because the following ports are configured with port emulation circuits, electrical characteristics differ from those of the actual MCU. - D0-D7 - E0 - G0-G3 For more details, refer to “4.3 Connection Diagram” (page 56).
  • Page 56: Connection Diagram

    4.3 Connection Diagram Figure 4.2 shows a part of the connection diagram of the M34286T2-CPE. This connection diagram mainly shows the interface section. The circuits not connected to the user system such as the emulator’s control system are omitted. The signals not shown in Figure 4.2 connect the evaluation MCU and the user system directly.
  • Page 57 M34286T2-CPE User’s Manual 4. Hardware Specifications Table 4.3 Electrical characteristics of the 74HC4050 Standard values Signal Item Condition Unit Min. Max. Vcc=2.0V 1.50 “H” level threshold voltage Vcc=4.5V 3.15 Vcc=6.0V 4.20 Vcc=2.0V 0.50 “L” level threshold voltage Vcc=4.5V 1.35 Vcc=6.0V 1.80...
  • Page 58: External Dimensions

    M34286T2-CPE User’s Manual 4. Hardware Specifications 4.4 External Dimensions 4.4.1 External Dimensions of the Compact Emulator Figure 4.3 shows external dimensions of the emulator. 120.0 M34286T2-CPEB Figure 4.3 Compact emulator external dimensions (Unit: [mm]) R20UT0214EJ0200 Rev.2.00 Page 58 of 70...
  • Page 59: Notes On Using This Product

    M34286T2-CPE User’s Manual 4. Hardware Specifications 4.5 Notes on Using This Product Notes on using this product are listed below. When debugging the MCU using this product, be careful about the following precautions. IMPORTANT Notes on the Self-check: • If the self-check does not result normally (excluding target status errors), the emulator may be damaged.
  • Page 60 M34286T2-CPE User’s Manual 4. Hardware Specifications IMPORTANT Note on the Power Down State: • Although this emulator allows you to execute a program using POF, execution of such programs is subject to the following limitations: (1) The POF instruction cannot be stepped and over-stepped. Therefore, do not attempt to step and step-over the POF instruction.
  • Page 61: Troubleshooting

    Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up. Check this while the user system is disconnected. For the latest FAQs visit the Renesas Tools Homepage.
  • Page 62: When The Emulator Debugger Does Not Start Up Properly

    M34286T2-CPE User’s Manual 5. Troubleshooting 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the M34286T2-CPE Do Not Display Normally Table 5.1 Errors LEDs show and their checkpoints 1 Connection to Error Checkpoint the user system System Status POWER LED does Check that the power cable is connected.
  • Page 63 M34286T2-CPE User’s Manual 5. Troubleshooting (2) When the Init Dialog Box is Not Displayed Table 5.3 Errors when starting up the emulator debugger and their checkpoints 1 Error Checkpoint Communication error occurred. - Check the target status LED display. If the LED is blinking, the Data was not sent to the target.
  • Page 64: How To Request For Support

    M34286T2-CPE User’s Manual 5. Troubleshooting 5.3 How to Request for Support After checking the items in "5 Troubleshooting", fill in the text file which is downloaded from the following URL, then send the information to your local distributor. http://tool-support.renesas.com/eng/toolnews/registration/support.txt For prompt response, please specify the following information:...
  • Page 65: Maintenance And Guarantee

    6. Maintenance and Guarantee M34286T2-CPE User’s Manual 6. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 6.1 User Registration When you purchase our product, be sure register as a user. For user registration, refer to “User Registration” (page 12) of this user's manual.
  • Page 66: Repair Provisions

    6. Maintenance and Guarantee M34286T2-CPE User’s Manual 6.4 Repair Provisions Repairs not covered by warranty The products elapsed more than one year after purchase are not covered by warranty. Replacement not covered by warranty If your product's fault falls in any of the following categories, the fault will be corrected by replacing the entire product instead of repair, or you will be advised to purchase new one, depending on the severity of the fault.
  • Page 68 M34286T2-CPE User's Manual Publication Date: Sep 16, 2010 Rev.2.00 Published by: Renesas Electronics Corporation Microcomputer Tool Development Department 2 Edited by: Renesas Solutions Corp.
  • Page 69 Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141 © 2010 Renesas Electronics Corporation and Renesas Solutions Corp. All rights reserved. Colophon 1.0...
  • Page 70 M34286T2-CPE User’s Manual R20UT0214EJ0200 (Previous Number: REJ10J1784-0100)

Table of Contents