Table of Contents

Advertisement

Quick Links

M30800T-CPE
Compact Emulator for M16C/80 Series
User's Manual
Rev.1.00
November 16, 2003
REJ10J0271-0100Z

Advertisement

Table of Contents
loading

Summary of Contents for Renesas M30800T-CPE

  • Page 1 M30800T-CPE Compact Emulator for M16C/80 Series User's Manual Rev.1.00 November 16, 2003 REJ10J0271-0100Z...
  • Page 2 Notes regarding these materials • 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 This user's manual mainly describes specifications of the M30800T-CPE and how to set up and operate it. For details on the following products, which are used with the M30800T-CPE, refer to each product's online manual.
  • Page 4 • Emulator This means the M30800T-CPE (this product). • Emulator system This means an emulator system built around the M30800T-CPE emulator. The M30800T-CPE emulator system is configured with an emulator, host machine and emulator debugger. • Host machine This means a personal computer used to control the emulator.
  • 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 ............. 15 Chapter 2. Usage ........................17 2.1 Name of Each Part ....................18 (1) System Configuration................18 (2) Name of Each Part of Emulator ............... 19 2.2 Starting Up the Emulator ..................
  • 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 M3T-PD308M Starts Up ... 42 5.2 Troubleshooting When Using Emulator Debugger M3T-PD308M ....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 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

    IMPORTANT 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 internal ROM area of the emulator are defaulted to DE .
  • Page 11: Note On Mcu Functions That Cannot Be Used With This Emulator

    IMPORTANT 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.
  • Page 12: Note On Restrictions In Using The Emulator (1/2)

    IMPORTANT Note on Restrictions in Using the Emulator (1/2): • The following restrictions apply to this emulator. (1) Debug command execution when the BCLK is stopped When the BCLK is stopped, debug commands (break, dump, single-step, forced stop, etc.) cannot be executed. The BCLK can stop in the following cases. •...
  • Page 13: Note On Restrictions In Using The Emulator (2/2)

    IMPORTANT Note on Restrictions in Using the Emulator (2/2): • The following restrictions apply to this emulator. (11) Reset vector area • For the reset vector area, the emulator's internal memory is always selected. • The reset vector area can only be modified while the program remains idle, and cannot be modified while the program is running.
  • Page 14: Note On Controlling Mcu Pins

    IMPORTANT Note on Controlling MCU Pins: • Some MCU pins are controlled by the emulator. (1) RESET* input The RESET* input from the target system is accepted only while a user program is being executed (only while the RUN status LED of the emulator is lit). (2) NMI* input The NMI* input from the target system is accepted only while a user program is being executed (only while the RUN status LED of the emulator is lit).
  • Page 15: Declaration Concerning Emc Directive

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

    Chapter 2. Usage This chapter describes how to operate this product. 2.1 Name of Each Part ........................18 (1) System Configuration ......................18 (2) Name of Each Part of Emulator .................... 19 2.2 Starting Up the Emulator ......................21 2.3 Emulator Initial Setup......................... 22 (1) MCU Power Supply/Voltage Select Jumpers ...............
  • Page 18: Name Of Each Part

    Host machine (option) Serial interface cable (RS-232C) Figure 2.1 System configuration (1) Emulator M30800T-CPE (included) This is a compact emulator for the M16C/80 Series of 16-bit MCUs which is operated only in the single-chip mode with the real-time trace function (hereafter, emulator).
  • Page 19: Name Of Each Part Of Emulator

    JP2: MCU power voltage select jumper (SAFE) (Fixed to 5.0 V) Figure 2.2 Name of each part of emulator (top view of M30800T-CPE) (1) System status LEDs The system status LEDs indicate the emulator main unit's power supply. Table 2.1 lists the definition of system status LED.
  • Page 20 (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 the system reset switch State of Emulator Function Initializes the emulator and waits for commands from the...
  • Page 21: 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 37). Set the jumper according to the connection to the target system.
  • Page 22: Emulator Initial Setup

    2.3 Emulator Initial Setup Set the MCU power supply select jumper, MCU power voltage select jumper and the P8 select switch of the emulator according to conditions of use. (1) P8 select switch (SW1) (2) MCU power supply select jumper (JP1) (3) MCU power voltage select jumper (JP2) Figure 2.4 Emulator initial setup (1) MCU Power Supply/Voltage Select Jumpers...
  • Page 23: Connecting The Emulator System

    2.4 Connecting the Emulator System How to connect the cables to the emulator system is shown in Figure 2.5 below. Connect the serial interface cable to J2 connector. To host machine To power supply for emulator Connect the power cable to J1 connector.
  • Page 24: Connecting Target System (As Occasion Demands)

    2.5 Connecting Target System (as occasion demands) Connect the LCC probe (M30800T-PTC) on the lower board of the emulator to the LCC socket (option) or the pitch converter board (option). M30800T-PTC Position of No. 1 pin (The pin No. and "O" are marked on the silk.) 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 25: 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. CAUTION Notes on Power Supply: •...
  • Page 26: 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 LEDs System status LEDs Figure 2.10 Positions of system status LEDs and target status LEDs (1) System status LEDs Check the POWER (LED1, orange) of the system status LED is lit immediately after the power is activated.
  • Page 27: Starting Up Emulator Debugger M3T-Pd308M

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

    2.9 When Emulator Debugger M3T-PD308M Starts Up Normally Figure 2.14 shows the window display when M3T-PD308M starts up normally. If an error has been detected and M3T-PD308M has not started up, refer to "5.1 Troubleshooting Until the Emulator Starts Up" (page 38). Figure 2.14 Window display of M3T-PD308M when it has started up normally ( 28 / 52 )
  • Page 29: 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 ................. 30 3.2 Using the Emulator with the Target System................30 3.3 Using the P8 Pin as a Port ....................30 3.4 Using the P8 Pin as Sub-Clock Input ................
  • Page 30: 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 select jumper" to INT side and "MCU power voltage select jumper" to 5.0 V side (see page 20).
  • Page 31: 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 Description...
  • Page 32: 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 33: Changing The Internal Oscillator Circuit Of Emulator

    (3) Changing the Internal Oscillator Circuit of Emulator An oscillator circuit for 20 MHz is mounted on this product as an oscillator of a main clock (XIN) oscillator circuit when shipped from factory. When using with the operating frequency other than 20 MHz, it is possible to replace it with a commercially available oscillator circuit board.
  • Page 34 MEMO ( 34 / 52 )
  • Page 35: Chapter 4. Specifications

    Chapter 4. Specifications This chapter describes specifications of this product. 4.1 Specifications ..........................36 4.2 Connection Diagram ........................37 4.3 External Dimensions of the Emulator ..................38 ( 35 / 52 )
  • Page 36: Specifications

    Chapter 4. Specifications 4.1 Specifications Table 4.1 lists the specifications of M30800T-CPE. Table 4.1 Specifications of M30800T-CPE M16C/80 Series Applicable MCUs Usable mode Single-chip mode Evaluation MCU M30802SGP Internal emulation memory For internal RAM area: 10 KB For internal ROM area: 256 KB...
  • Page 37: Connection Diagram

    4.2 Connection Diagram Figure 4.1 shows the connection diagram of M30800T-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.
  • Page 38: External Dimensions Of The Emulator

    4.3 External Dimensions of the Emulator Figure 4.2 shows external dimensions of the emulator. Unit: mm Figure 4.2 External dimensions of the emulator ( 38 / 52 )
  • Page 39 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 M3T-PD308M Starts Up ........ 42 5.2 Troubleshooting When Using Emulator Debugger M3T-PD308M ...........
  • 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. Self-check sequence when the emulator starts up Troubleshooting until the emulator starts up Self-checks start automatically after powering on the emulator...
  • 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 an 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 M3T-Pd308M 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 Checkpoint target system : Blinking POWER CLOCK RESET Emulator does not work properly. - The emulator may be damaged. Report the state of POWER CLOCK RESET target status LEDs to your local distributor.
  • Page 43: Troubleshooting When Using Emulator Debugger M3T-Pd308M

    5.2 Troubleshooting When Using Emulator Debugger M3T-PD308M When M3T-PD308M 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 M3T-PD308M Connection to the Error message Checkpoint target system...
  • 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 state of the memory etc. mounted on the emulator. Self-check is executed when the emulator starts up, and detailed checks are executed by following the procedure below.
  • Page 45: If An Error Is Detected In Self-Checks

    (2) If an Error is Detected in Self-checks Table 5.6 lists how to remedy 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.6.
  • Page 46 MEMO ( 46 / 52 )
  • Page 47 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 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 Distributor After checking the contents of fault, the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp. Renesas Solutions When the faulty product is repaired, it will be returned to the customer at the earliest convenience.
  • Page 50 MEMO ( 50 / 52 )
  • Page 51 M30800T-CPE User's Manual Rev.1.00 November 16, 2003 REJ10J0271-0100Z COPYRIGHT ©2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...

Table of Contents