Renesas Compact Emulator M30620T-CPE User Manual
Renesas Compact Emulator M30620T-CPE User Manual

Renesas Compact Emulator M30620T-CPE User Manual

Compact emulator for m16c/62 group m16c/62a
Table of Contents

Advertisement

Quick Links

M30620T-CPE
Compact Emulator for M16C/62 Group M16C/62A
User's Manual
Rev.1.00
November 16, 2003
REJ10J0270-0100Z

Advertisement

Table of Contents
loading

Summary of Contents for Renesas Compact Emulator M30620T-CPE

  • Page 1 M30620T-CPE Compact Emulator for M16C/62 Group M16C/62A User's Manual Rev.1.00 November 16, 2003 REJ10J0270-0100Z...
  • Page 2 • 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.
  • Page 3: Precautions For Safety

    Preface The M30620T-CPE is a compact emulator for the M16C/62 Group M16C/62A of 16-bit microcom- puters, which is operated only in the single-chip mode with the real-time trace function. This user's manual mainly describes specifications of the M30620T-CPE and how to set up and operate it.
  • Page 4 Terminology Some specific words used in this user's manual are defined as follows: • Emulator This means the M30620T-CPE (this product). • Emulator system This means an emulator system built around the M30620T-CPE emulator. The M30620T-CPE emulator system is configured with an emulator, host machine and emulator debugger. •...
  • Page 5: Table Of Contents

    Contents Chapter 1. Precautions for Safety ...7 1.1 Safety Symbols and Meanings ...8 1.2 Declaration Concerning EMC Directive ... 14 Chapter 2. Usage ... 15 2.1 Name of Each Part ... 16 2.2 Starting Up the Emulator ... 19 2.3 Emulator Initial Setup ... 20 2.4 Connecting the Emulator System ...
  • Page 6 Chapter 5. Troubleshooting ... 39 5.1 Troubleshooting Until the Emulator Starts Up ... 40 (1) Troubleshooting When the Emulator Starts Up ... 41 (2) Troubleshooting When Emulator Debugger PD30M Starts Up ... 42 5.2 Troubleshooting When Using Emulator Debugger PD30M ... 43 5.3 When the Operation of the Emulator is Abnormal ...
  • Page 7: Chapter 1. Precautions For Safety

    Chapter 1. Precautions for Safety This chapter describes precautions for using this product safely and properly. For precautions for the emulator debugger, refer to user's manual included with your product. 1.1 Safety Symbols and Meanings ... 8 Warning for Installation ... 9 WARNING Warning for Use Environment ...
  • Page 8: Safety Symbols And Meanings

    Chapter 1. Precautions for Safety In both the user's manual and on the product itself, several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons, or damage to your properties. This chapter describes the precautions which should be taken in order to use this product safely and properly.
  • Page 9: Warning For Installation

    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.
  • Page 10: Notes On Differences Between The Actual Mcu And Emulator

    Notes on Differences between the Actual MCU and Emulator: • Operations of the emulator differs from those of mask MCUs as listed below. (1) Reset condition Set the time for starting up (0.2 to 0.8 Vcc) 1 µs or less. (2) Data values of RAM and ROM areas at power-on When power is turned on, the RAM and ROM areas of the emulator are defaulted to 04H.
  • Page 11: Note On Mcu Functions That Cannot Be Used With This Emulator

    Note on MCU Functions That Cannot Be Used with This Emulator: • The following MCU features cannot be used with this emulator. (1) Debugging cannot be done with this emulator in the memory expansion mode or micropro- cessor mode. This emulator is specifically designed for use in the single-chip mode. For this reason, debugging is not possible in the memory expansion mode or microprocessor mode.
  • Page 12: Notes On Using This Product For Debugging Other Than M16C/62A

    Notes on Using this Product for Debugging Other than M16C/62A: • This emulator is equipped with M30622SAFP (M16C/62A Group) as an evaluation MCU and emulates M16C/62A Group MCUs. In some functions of there are differences between the MCUs of M16C/62A Group and the MCUs of other than M16C/62A Group. Therefore when you use this emulator for debugging an MCU of other than M16C/62A Group, be careful about the differences of functions of each MCU.
  • Page 13: Note On Restrictions In Using The Emulator (2/2)

    Note on Restrictions in Using the Emulator (2/2): • The following restrictions apply to this emulator. (9) Debug command execution during user program execution The real-time aspect of the user program is not guaranteed when debug commands such as dump are executed during user program execution. (10) DMA transfer With this product, the program is stopped by putting the MCU on hold.
  • Page 14: Declaration Concerning Emc Directive

    1.2 Declaration Concerning EMC Directive ( 14 / 52 )
  • Page 15: Chapter 2. Usage

    This chapter describes how to operate this product. 2.1 Name of Each Part ... 16 (1) System Configuration ... 16 (2) Name of Each Part of Emulator ... 17 2.2 Starting Up the Emulator ... 19 2.3 Emulator Initial Setup... 20 (1) MCU Power Supply Selection Jumper ...
  • Page 16: Name Of Each Part

    Chapter 2. Usage 2.1 Name of Each Part (1) System Configuration Figure 2.1 shows the system configuration for this emulator. Host machine (option) Figure 2.1 System configuration (1) Emulator M30620T-CPE (included) This is a compact emulator for the M16C/62 Group M16C/62A of 16-bit microcomputers which is operated only in the single-chip mode with the real-time trace function (hereafter, emulator).
  • Page 17: Name Of Each Part Of Emulator

    (2) Name of Each Part of Emulator Figure 2.2 shows the name of each part of the emulator. selection switch (Factory-setting: PORT) J2: Serial interface cable connector J1: Power connector System status LED LED1: State of power of emulator Figure 2.2 Name of each part of emulator (upper side of M30620T-CPE) (1) System status LED The system status LED indicates the emulator main unit's power supply.
  • Page 18 (3) System reset switch By pressing the system reset switch, you can initialize the emulator system. Table 2.3 shows the functions of the system reset switch depending on the state of emulator. Table 2.3 Functions of system reset switch State of Emulator When the user's program is halted When the user's program is executed Note on System Reset Switch:...
  • Page 19: Starting Up The Emulator

    2.2 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.3. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to "Chapter 5. Troubleshooting" (page 40). Set the MCU power supply selection jumper.
  • Page 20: Emulator Initial Setup

    2.3 Emulator Initial Setup Set the MCU power supply selection jumper and the P8 according to conditions of use. selection switch (Factory-setting: PORT) MCU power supply selection jumper (Factory-setting: INT) Figure 2.4 Emulator initial setup (1) MCU Power Supply Selection Jumper This is the jumper switch to select power supply to the MCU.
  • Page 21: Connecting The Emulator System

    2.4 Connecting the Emulator System How to connect the emulator system is shown in Figure 2.5 below. to host machine to power supply for emulator Figure 2.5 Connecting the emulator system (1) Connecting the Serial Interface Cable Connect the serial interface cable (included) to the serial interface connector (J2) and the serial port of the host machine (see Figure 2.5).
  • Page 22: Connecting The Target System (As Occasion Demands)

    2.5 Connecting the Target System (as occasion demands) Connect the LCC probe on the lower board of the emulator to the LCC socket (option) or the pitch converter board (option). Figure 2.8 LCC probe on the lower board of the emulator Some MCU packages need the pitch converter board (option) shown in Figure 2.9.
  • Page 23: Turning On The Power

    2.6 Turning On the Power (1) Checking the Connection of the Emulator System Before turning the power ON, check the connection of the host machine and the emulator main unit. (2) Turning On the Power Power ON the target system and the emulator main unit as simultaneously as possible. Notes on Power Supply: CAUTION •...
  • Page 24: Led Display When The Emulator Starts Up Normally

    (3) 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. Target status LED System status LED Figure 2.10 Positions of system status LED and target status LEDs (1) System status LED Check the LED1 of the system status LED is lit immediately after the power is activated.
  • Page 25: Starting Up Emulator Debugger Pd30M

    For starting up emulator debugger, follow the steps below. Click the start button of Windows. And select Program (P) -> [RENESAS-TOOL] -> [PD30M V.1.10 Release 1*] -> [PD30M]. * Varies depending on the version of the emulator debugger. 2.8 Setting the Operating Environment of Emulator Debugger PD30M After starting up PD30M, as the Init dialog box will open, set as shown in Figure 2.13.
  • Page 26: When Emulator Debugger Pd30M Starts Up Normally

    2.9 When Emulator Debugger PD30M Starts Up Normally Figure 2.14 shows the window display when PD30M starts up normally. If an error has been detected and PD30M has not started up, refer to "5.1 Troubleshooting Until the Emulator Starts Up" (page 40). Figure 2.14 Window display of PD30M when it has started up normally ( 26 / 52 )
  • Page 27: Chapter 3. Changing The Settings

    Chapter 3. Changing the Settings This chapter describes how to change the setting of this product. 3.1 Using the Emulator without the Target System ... 28 3.2 Using the Emulator with the Target System... 28 3.3 Using the P8 Pin as a Port ... 28 3.4 Using the P8 Pin as Sub-Clock Input ...
  • Page 28: Using The Emulator Without The Target System

    Chapter 3. Changing the Settings 3.1 Using the Emulator without the Target System How to use the emulator without the target system is shown below. (1) Set the "MCU power supply selection jumper" to INT side (see page 20). When using the emulator without the target system, set the "MCU power supply selection jumper" to INT side.
  • Page 29: Selecting Clock Supply

    3.5 Selecting Clock Supply There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulator or using the oscillator circuit on the target system. Table 3.1 lists the factory-settings of each clock supply. Table 3.1 Clock supply to the MCU Clock (main clock)
  • Page 30: Using The Oscillator Circuit On The Target System

    (2) Using the Oscillator Circuit on the Target System To operate the compact emulator with the oscillator circuit on the target system, construct the oscillator circuit as shown in Figure 3.1 in the target system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into the X pin.
  • Page 31: Changing The Internal Oscillator Circuit Of Emulator

    (3) Changing the Internal Oscillator Circuit of Emulator A ceramic oscillator circuit for 10 MHz is mounted on this product as a oscillator of a main clock oscillator circuit when shipped from factory. It is possible to change it to the oscillator circuit board for 16 MHz (included).
  • Page 32 (3) Remove the oscillator Figure 3.4 shows the position of the oscillator for the main clock. Remove the oscillator using a soldering iron. Be careful not to break the other part. Oscillator for main clock Figure 3.4 Position of oscillator for main clock (bottom view after removing target connection board) (4) Connecting the Oscillator Solder the included 16MHz oscillator in the place of the older oscillator (see Figure 3.4).
  • Page 33: Chapter 4. Specifications

    Chapter 4. Specifications This chapter describes specifications of this product. 4.1 Specifications ... 34 4.2 Memory Map ... 35 4.3 Electrical Characteristics ... 36 4.4 Connection Diagram ... 37 4.5 External Dimensions of the Emulator ... 38 ( 33 / 52 )
  • Page 34: Specifications

    Chapter 4. Specifications 4.1 Specifications Table 4.1 lists the specifications of M30620T-CPE. Table 4.1 Specifications of M30620T-CPE Applicable MCUs* Usable mode Evaluation MCU Internal emulation memory Clock supply Maximum operating frequency Minimum operating frequency Power voltage for MCU and power supply Basic debugging functions Real-time tracing function Execution time measurement function...
  • Page 35: Memory Map

    4.2 Memory Map Figure 4.1 shows memory maps when using the emulator. For the memory map of the actual MCU, refer to the user's manual of your MCU. Make note of the fact that the memory map of the actual MCU differ from that of emulator. Do not access to the area noted "Do Not Access"...
  • Page 36: Electrical Characteristics

    4.3 Electrical Characteristics Tables 4.2 lists IC electrical characteristics of the user interface. Table 4.2 Electrical characteristics of M60081L-0142FP (P0 Symbol Input voltage Output voltage Output current Input leak current OFF state output leak current I/O pin capacity Parameter Condition = 4.5 V = 5.5 V = 5.0 V...
  • Page 37: Connection Diagram

    4.4 Connection Diagram Figure 4.2 shows the connection diagram of M30620T-CPE. This connection diagram mainly shows the interface section, and the circuits which are not connected to the target system such as the emulator's control system are omitted. ** : These signals are connected to an MCU via the internal circuit of the emulator. * : These signals are connected to the internal circuit of the emulator.
  • Page 38: External Dimensions Of The Emulator

    4.5 External Dimensions of the Emulator Figure 4.3 shows external dimensions of the emulator. Unit: [mm] Figure 4.3 External dimensions of emulator ( 38 / 52 )
  • Page 39: Chapter 5. Troubleshooting

    Chapter 5. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 5.1 Troubleshooting Until the Emulator Starts Up ... 40 (1) Troubleshooting When the Emulator Starts Up ... 41 (2) Troubleshooting When Emulator Debugger PD30M Starts Up ... 42 5.2 Troubleshooting When Using Emulator Debugger PD30M ...
  • Page 40: Troubleshooting Until The Emulator Starts Up

    Chapter 5. Troubleshooting 5.1 Troubleshooting Until the Emulator Starts Up Figure 5.1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up. Troubleshooting until the emulator starts up Turning on the power of emulator Self-checks executes during about 7 seconds after powering on the...
  • Page 41: Troubleshooting When The Emulator Starts Up

    (1) Troubleshooting When the Emulator Starts Up Tables 5.1 and 5.2 list how to remedy the troubles when the target LED of the emulator display is abnormal after powering on the emulator. When the error is detected, shut off the power of the emulator and the target system and follow the steps in tables 5.1 and 5.2.
  • Page 42: Troubleshooting When Emulator Debugger Pd30M Starts Up

    Table 5.2 Error display and how to remedy it when starting up the emulator (2/2) LED display Connection to the : OFF target system : Blinking POWER CLOCK RESET POWER CLOCK RESET POWER CLOCK RESET POWER CLOCK RESET POWER CLOCK RESET POWER CLOCK RESET...
  • Page 43: Troubleshooting When Using Emulator Debugger Pd30M

    5.2 Troubleshooting When Using Emulator Debugger PD30M When PD30M has started up normally, however, errors occurred while using it, remedy the troubles referring Table 5.4. Table 5.4 Error message and how to remedy it when using PD30M Error message Target MCU is not given clock. Please reset target systems.
  • Page 44: When The Operation Of The Emulator Is Abnormal

    5.3 When the Operation of the Emulator is Abnormal Self-check is a function to check the memory etc. mounted in the emulator. Self-check is executed when the emulator starts up, and detailed check is executed by following the procedure below. For this self-check, be sure to disconnect the target system.
  • Page 45: If An Error Is Detected In Self-Checks

    (2) If an Error is Detected in Self-checks Table 5.5 lists how to remedy the troubles if the target status LED display is abnormal in self-checks. When an error is detected, shut off the power of the emulator and the target system and follow the steps in the Table 5.5.
  • Page 46 MEMO ( 46 / 52 )
  • Page 47: Chapter 6. Maintenance And Guarantee

    Chapter 6. Maintenance and Guarantee This chapter describes how to maintenance, repair provisions and how to request for repair. 6.1 Maintenance ... 48 6.2 Guarantee ... 48 6.3 Repair Provisions... 48 6.4 How to Request for Repair ... 49 ( 47 / 52 )
  • Page 48: Maintenance

    Chapter 6. Maintenance and Guarantee 6.1 Maintenance If dust or dirt collects on any equipment of your emulation system, wipe it off with a dry soft cloth. Do not use thinner or other solvents because these chemicals can cause the equipment's surface coating to separate.
  • Page 49: How To Request For Repair

    After checking the contents of fault, the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp. When the faulty product is repaired, it will be returned to the customer at the earliest convenience.
  • Page 50 MEMO ( 50 / 52 )
  • Page 51 M30620T-CPE User's Manual Rev.1.00 November 16, 2003 REJ10J0270-0100Z COPYRIGHT ©2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...

Table of Contents