Renesas Emulation Probe for M32C/88 Group M30880T-EPB User Manual
Renesas Emulation Probe for M32C/88 Group M30880T-EPB User Manual

Renesas Emulation Probe for M32C/88 Group M30880T-EPB User Manual

Emulation probe for m32c/88 group
Table of Contents

Advertisement

Quick Links

REJ10J0497-0100Z
M30880T-EPB
User's Manual
Emulation Probe for M32C/88 Group
Rev.1.00
Jan. 16, 2005

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Emulation Probe for M32C/88 Group M30880T-EPB and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas Emulation Probe for M32C/88 Group M30880T-EPB

  • Page 1 REJ10J0497-0100Z M30880T-EPB User's Manual Emulation Probe for M32C/88 Group Rev.1.00 Jan. 16, 2005...
  • Page 2 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, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination.
  • Page 3: Preface

    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).
  • Page 4: Important

    (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.
  • Page 5: Usage Restrictions

    M30880T-EPB User’s Manual 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)
  • Page 6: Precautions For Safety

    M30880T-EPB User’s Manual 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.
  • Page 7: Warning For Installation

    M30880T-EPB User’s Manual 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.
  • Page 8 M30880T-EPB User’s Manual Cautions to Be Taken for Turning On the Power: Turn ON the power of the emulator and user system as simultaneously as possible. Turn 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.
  • Page 9: Table Of Contents

    M30880T-EPB User’s Manual Contents Preface...3 Important...4 Precautions for Safety ...6 User Registration ...11 Terminology ...12 1. Outline ...13 Package Components...13 Other Tool Products Required for Development...13 System Configuration...14 1.3.1 System Configuration...14 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs...15 Specifications ...17 Operating Environment ...18 2.
  • Page 10 M30880T-EPB User’s Manual 4. Hardware Specifications...77 Target MCU Specifications ...77 Differences between the Actual MCU and Emulator ...78 Note on Differences between the Actual MCU and Emulator...78 Note on RESET* Input ...78 Note on RDY* Input ...78 Note on HOLD* Input ...78 Note on NMI* Input...78 Notes on Reset Vector Area ...79 Notes on Stack Area ...79...
  • Page 11: User Registration

    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 REJ10J0497-0100Z Rev.1.00 January 16, 2005 Page 11 of 100...
  • Page 12: Terminology

    M30880T-EPB User’s Manual Terminology Terminology Some specific words used in this user's manual are defined as follows: Emulator system This means an emulator system built around the PC7501 emulator. The PC7501 emulator system is configured with an emulator main unit, emulation probe, host machine and emulator debugger. Emulator main unit (Hereafter PC7501) This means an emulator main unit for M16C Family MCUs.
  • Page 13: Outline

    M30880T-EPB User’s Manual 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 M30880T-EPB package consists of the following items. When unpacking it, check to see if your M30880T-EPB contains all of these items.
  • Page 14: System Configuration

    M30880T-EPB User’s Manual 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 shows a configuration of the M30880T-EPB system. Figure 1.1 System configuration (1) Emulation probe M30880T-EPB (this product) This emulation probe contains an evaluation MCU. (2) Converter board M30800T-PTC (included) This is a converter board for connecting to the user system (for 100-pin 0.65-mm-pitch LCC socket).
  • Page 15: Names And Functions Of The Pc7501 Upper Panel Leds

    M30880T-EPB User’s Manual 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs 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 PC7501 (1) System Status LEDs The system status LEDs indicate the emulator PC7501's power supply, firmware operating status, etc.
  • Page 16 M30880T-EPB User’s Manual (2) Target Status LEDs The target status LEDs indicate the target MCU's operating status and target board's power supply. Table 1.4 lists the definition of each target status LED. Table 1.4 Definitions of the target status LEDs Name Status POWER...
  • Page 17: Specifications

    M30880T-EPB User’s Manual 1.4 Specifications Tables 1.5 and 1.6 list the specifications of the M30880T-EPB. Table 1.5 M30880T-EPB specifications (1/2) Applicable MCUs Evaluation MCU Usable mode Maximum operating frequency Applicable power supply Basic debugging functions Real-time trace function Real-time RAM monitor function Hardware break function Execution time measurement function C0 coverage...
  • Page 18: Operating Environment

    M30880T-EPB User’s Manual Table 1.6 M30880T-EPB specifications (2/2) Host machine interface Power supply to emulator Connection to user system (see "2.9 Connecting the User System" on page 29) 1.5 Operating Environment Be sure to use this 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 Operating temperature...
  • Page 19: Setup

    M30880T-EPB 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 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.
  • Page 20: Installing The Emulator Debugger

    Install the emulator debugger M3T-PD308F following the procedure described below. (1) Downloading the M3T-PD308F V.3.20 Release 1 Download the M3T-PD308F V.3.20 Release 1 from the URL below. http://www renesas.com/eng/mpumcu/upgrades/in_circuit_emulators/pc7501/index.html (2) Launching the installer Start the “setup.exe” program. (3) Entering the user information In the “user information”...
  • Page 21: Connecting The Host Machine

    M30880T-EPB User’s Manual 2. Setup 2.3 Connecting the Host Machine When connecting the emulator PC7501 to a host machine, you can choose your desired interface from LPT parallel interface, USB interface and LAN interface. Use the interface selection switch on the emulator PC7501's rear panel to specify your desired interface.
  • Page 22: Connecting The Pc7501

    M30880T-EPB User’s Manual 2.4 Connecting the PC7501 Figure 2.3 shows how to connect the PC7501 and the emulation probe. Figure 2.3 Connecting the PC7501 and emulation probe Cautions for Connecting the PC7501: When connecting the emulation probe, be sure to hold the both sides of the emulation probe horizontally and insert it directly.
  • Page 23: Connecting The Power Supply For The Emulator

    M30880T-EPB User’s Manual 2.5 Connecting the Power Supply for the Emulator The power is supplied from AC adapter to the emulator PC7501. Here following explains how to connect the AC adapter. (1) Turn OFF the power to the PC7501. (2) Connect the DC cable of AC adapter to the PC7501. (3) Connect the AC power cable to the AC adapter.
  • Page 24: Turning On The Power

    M30880T-EPB User’s Manual 2.6 Turning ON the Power 2.6.1 Checking the Connections of the Emulator System Before turning the power ON, check the connection of the interface cable with host machine, PC7501, emulation probe, and user system. 2.6.2 Turning ON/OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible.
  • Page 25: Led Display When The Emulator Starts Up Normally

    M30880T-EPB User’s Manual 2.6.4 LED Display When the Emulator Starts Up Normally Figure 2.4 shows upper panel LED lighting status when the emulator started up properly. Check it when starting up the emulator system. POWER SAFE ERROR SYSTEM TARGET STATUS Figure 2.4 LED display when the power turned on PC7501 Note on CLOCK LED: If CLOCK LED does not turn on, check the following:...
  • Page 26: Downloading Firmware

    M30880T-EPB User’s Manual 2.7 Downloading Firmware 2.7.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when the emulator debugger is started up, and the firmware is downloaded. (1) When you use this product for the first time (2) When the firmware has been upgraded (3) When the emulator debugger has been upgraded...
  • Page 27: Self-Check

    M30880T-EPB User’s Manual 2.8 Self-check 2.8.1 Self-check Procedure To run the emulator self-check, do so as explained here below. While the self-check is in progress, LEDs will change as shown in Figure 2.6. (1) If the user system is connected, disconnect it. (2) Set the switches as the factory-settings to execute the self-check (see Table 2.1).
  • Page 28: If An Error Is Detected In The Self-Check

    M30880T-EPB User’s Manual 2.8.2 If an Error is Detected in the Self-check If the self-check does not result normally (ERROR 1 to ERROR 4 in Figure 2.6), check the following. (1) Recheck the connection of the emulation probe and PC7501. (2) Redownload the proper firmware.
  • Page 29: Connecting The User System

    M30880T-EPB User’s Manual 2.9 Connecting the User System There are eight ways available to connect the emulation probe to user systems as shown in Figure 2.7. 0.65-mm-pitch M30800T-PTC M3T-FLX100-T (included) (not included) LCC socket M3T-DIRECT100S 100-pin LCC 100-pin QFP (included) (not included) *1: These items are available in one package.
  • Page 30: Connecting To A 100-Pin Lcc Socket

    M30880T-EPB User’s Manual 2.9.1 Connecting to a 100-pin LCC Socket When connecting the emulation probe to a 100-pin LCC socket (Yamaichi Electronics Co., Ltd.: IC61-1004-051 etc.) on the user system, following the procedure below. (1) Attach the CN2 side of the M30880T-EPB to the CN2 side of the M30800T-PTC. (2) Attach the M30800T-PTC to the 100-pin LCC socket.
  • Page 31: Connecting To A 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 1)

    M30880T-EPB User’s Manual 2.9.2 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1) Figure 2.9 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-DUMMY100S (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-DUMMY100S, refer to each user's manual.
  • Page 32: Connecting To A 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 2)

    M30880T-EPB User’s Manual 2.9.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2) Figure 2.10 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-DIRECT100S (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T- DIRECT100S, refer to each user's manual.
  • Page 33: Connecting To A 100-Pin 0.65-Mm-Pitch Foot Pattern (Part 3)

    M30880T-EPB User’s Manual 2.9.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3) Figure 2.11 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-FLX-100NRB (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-FLX- 100NRB, refer to each user's manual.
  • Page 34: Connecting To A 100-Pin 0.5-Mm-Pitch Foot Pattern (Part 1)

    M30880T-EPB User’s Manual 2.9.5 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 1) Figure 2.12 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-100LCC-QSD (not included), and here following is its procedure. For details on the M3T-100LCC-QSD, refer to its user's manual.
  • Page 35: Connecting To A 100-Pin 0.5-Mm-Pitch Foot Pattern (Part 2)

    M30880T-EPB User’s Manual 2.9.6 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 2) Figure 2.13 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-FLX-100NSD (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-FLX- 100NSD, refer to each user's manual.
  • Page 36: Connecting To A 100-Pin 0.5-Mm-Pitch Foot Pattern (Part 1)

    M30880T-EPB User’s Manual 2.9.7 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 3) Figure 2.14 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-F160-100NSD (not included), and here following is its procedure. For details on the M3T-F160-100NSD, refer to its user's manual.
  • Page 37: Connecting To A 144-Pin 0.5-Mm-Pitch Foot Pattern

    M30880T-EPB User’s Manual 2.9.8 Connecting to a 144-pin 0.5-mm-pitch Foot Pattern Figure 2.15 shows how to connect the emulation probe to a 144-pin 0.5-mm-pitch foot pattern on the user system with the M3T-FLX-144NSD (not included), and here following is its procedure. For details on the M3T-FLX-144NSD, refer to its user's manual.
  • Page 38: Setting Switches

    M30880T-EPB User’s Manual 2.10 Setting Switches 2.10.1 Setting Switches of Emulation Probe Set the switches of the emulation probe according to the condition. Figure 2.16 shows the positions of the switches of the M30880T-EPBM. AVCC AVSS Figure 2.16 Positions of the switches REJ10J0497-0100Z Rev.1.00 January 16, 2005 XCIN VCONT...
  • Page 39 M30880T-EPB User’s Manual (1) Setting SW1 to SW4 on the M30880T-EPBM Table 2.2 shows the settings of SW1 to SW4 on the M30880T-EPBM. Table 2.2 Switch settings of the M30880T-EPBM (SW1 to SW4) Switch Switch name AVCC (Factory-setting) AVSS (Factory-setting) (Factory-setting) (Factory-setting) XOUT...
  • Page 40 M30880T-EPB User’s Manual (2) Setting SW5 on the M30880T-EPBM Table 2.3 lists the examples of setting the switch SW5. It is necessary to change the setting if using the analog input port selection function of the A/D converter. Setting the SW5 enables to set each analog input pin for selecting an analog input port. When selecting AN00 to AN07 or AN20 to AN27 for the analog input port select bits (bit 2 and bit 1 of 0394h), set the pins used for A/D conversion to ON, the pins not used to OFF.
  • Page 41 M30880T-EPB User’s Manual Notes on Switch SW5: When setting the register below to use the analog input port selection function, you need to set the direction register of port P15 for a pin that performs A/D conversion to "input". And you need to set the function selection register of port P15 for a pin that performs A/D conversion to "I/O port".
  • Page 42: Selecting Clock Supply

    M30880T-EPB User’s Manual 2.10.2 Selecting Clock Supply With this product, a clock supply can be set in Init dialog box of Emulator tab of the emulator debugger. Table 2.4 lists the factory-settings of each clock supply. Table 2.4 Clock supply to the MCU and default settings Clock Display of emulator debugger Internal...
  • Page 43 M30880T-EPB User’s Manual 2. Setup 2) Replacing an Oscillator Circuit Board Remove the four screws of both sides of this product and lift off the upper cover (see Figure 2.17). Figure 2.17 Removing the upper cover REJ10J0497-0100Z Rev.1.00 January 16, 2005 Page 43 of 100...
  • Page 44 M30880T-EPB User’s Manual Unscrew the screw of the oscillator circuit board of the PC7501 and replace it (see Figure 2.18). Figure 2.18 Replacing oscillator circuit boards Reinstall the upper cover once removed and secure the four screws of the PC7501. When Removing the Upper Cover: Always shut OFF power when removing the upper cover or changing the oscillator circuit board.
  • Page 45 M30880T-EPB User’s Manual 3) Using the Oscillator Circuit Bare Board To use this product at a frequency you like, build a desired oscillator circuit on the included OSC-2 oscillator circuit bare board. Figure 2.19 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations.
  • Page 46 M30880T-EPB User’s Manual (2) Using the Oscillator Circuit on the User System To operate this product with an oscillator circuit of the user system, input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin X in the emulator debugger to use this clock.
  • Page 47: A/D Conversion Bypass Capacitors

    M30880T-EPB User’s Manual 2.10.3 A/D Conversion Bypass Capacitors There is a foot pattern on the M30880T-EPBM board for mounting bypass capacitors for the A/D conversion circuit. Mount applicable bypass capacitors as occasion demands. Figure 2.23 shows where they are installed. AVCC XCIN AVSS...
  • Page 48: Usage (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 Program (P) >> [RENESAS-TOOLS] >> [PD308F V.xx.xx Release x] >> [PD308F]. When the emulator debugger started up, the Init dialog box appears.
  • Page 49 M30880T-EPB User’s Manual 3. Specifying the communication interface (LAN communication) 4. Specifying the communication interface (USB communication) REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying the communication interface (LAN communication) For selecting the LAN communication, click the radio button “LAN”...
  • Page 50 M30880T-EPB User’s Manual 5. Using or not using the address match break function 6. Using or not using the watchdog function REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Using or not using the address match break function Specify whether or not to use the address match break function.
  • Page 51 M30880T-EPB User’s Manual 7. Using or not using the CPU rewrite mode 8. Executing the self-check REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Using or not using CPU rewrite mode Specify whether or not to debug in CPU rewrite mode. To debug the user system that uses CPU rewrite mode, select the check box.
  • Page 52: Debugging Information Tab

    - Compiler Select the compiler you are using. (By default, the C compiler from Renesas is selected.) - Object Format Select the format of the object file that is output by the compiler you are using.
  • Page 53 M30880T-EPB User’s Manual (4) Emulator tab 1. Specifying the target clock REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying the target clock Specify the clock sources supplied to the MCU (main clock and sub clock). Select the appropriate clock sources according to the clock used by your target MCU.
  • Page 54 M30880T-EPB User’s Manual (5) Resume tab 1. Automatically executing a script command 2. Restoring the last window state REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Automatically executing a script command To automatically execute a script command when starting up the debugger, click the “Refer...”...
  • Page 55: Starting Up The Emulator Debugger (Emem Dialog Box)

    M30880T-EPB User’s Manual 3.2 Starting Up the Emulator Debugger (EMEM Dialog Box) (1) Status tab 1. Specifying the processor mode Notes on Selecting a Processor Mode: An available processor mode is single-chip mode only. Therefore, do not select any other processor mode. When setting single-chip mode, the level of pin CNVSS of the MCU status should be "L".
  • Page 56 M30880T-EPB User’s Manual 2. Referring to the MCU Status Notes on Selecting a Processor Mode: The MCU status is shown in “MCU Status” of the EMEM dialog box. Check that the level of pin CNVSS of the MCU status is “L”. REJ10J0497-0100Z Rev.1.00 January 16, 2005 3.
  • Page 57 M30880T-EPB User’s Manual (2) Emulation Memory tab 1. Setting the Bank Address of the Debug Monitor Notes on Setting a Debug Monitor Bank Address: It is not possible to view or set the content of the specified area. Even on the memory window or in the reverse assemble area of the program/source windows, the content of this area is not displayed correctly though it can be displayed.
  • Page 58: Emulation Memory Allocation As Expansion Area

    M30880T-EPB User’s Manual 2. Emulation Memory Allocation as Expansion Area REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Emulation Memory Allocation as Expansion Area Because the available processor mode is the single-chip mode only, select “No Use” in “Map”. Page 58 of 100...
  • Page 59 M30880T-EPB User’s Manual (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Setting to clear the MCU’s internal flash Specify whether or not you want the MCU’s internal flash ROM to be cleared when downloading the user program or data.
  • Page 60: Program Window

    M30880T-EPB User’s Manual 3.3 Program Window (1) Downloading the program 1. Initial screen of the program window 2. Downloading the program Menu Menu item File Download Load Module... Memory Image... Symbol... Rom Data... Reload... Upload... Save Disasm... REJ10J0497-0100Z Rev.1.00 January 16, 2005 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...
  • Page 61 M30880T-EPB User’s Manual (2) Program execution 1. Resetting the user program 2. Executing the user program 3. Stopping the user program 4. Program window screen after the user program has stopped REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) RESET Resets the program.
  • Page 62 M30880T-EPB User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup Breakpoint display area REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Breakpoint setup screen There are three types of breakpoints as described below. - Address match breakpoint (A) This breakpoint can be set only when you chose to use the address match break function on the MCU tab of the Init dialog box.
  • Page 63 M30880T-EPB User’s Manual (4) Executing up to the cursor position (Come command) 1. Specifying the Come command 2. After the Come command has finished REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Setup procedure for executing COME command (1) Click the line in the program display area at which you want the program to execute.
  • Page 64: Hardware Breakpoint Setting Window

    M30880T-EPB User’s Manual 3.4 Hardware Breakpoint Setting Window (1) Breakpoint setup dialog box 1. Opening the hardware breakpoint setup dialog box 2. Hardware Break Point Setting Window in initial state 3. Opening the break event setting dialog box REJ10J0497-0100Z Rev.1.00 January 16, 2005 3.
  • Page 65 M30880T-EPB User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch.
  • Page 66: Setting The Address

    M30880T-EPB User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc.
  • Page 67 M30880T-EPB User’s Manual 3. Example Data Settings Event setting for even-address word access MOV.W R0,512h(R0=0203h) High-order and low-order data effective Event setting for odd-address word access MOV.W R0,519h(R0=0203h) Odd-address high-order data effective Even-address low-order data effective Event setting for even-address byte access MOV.B R0L,516h(R0L=03h) Low-order data effective Event setting for odd-address byte access...
  • Page 68 M30880T-EPB User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Setting the combinatorial event condition There are following four conditions that you can choose for the combinatorial events.
  • Page 69: Trace Window

    M30880T-EPB User’s Manual 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item OptionalWindows Trace Window REJ10J0497-0100Z Rev.1.00 January 16, 2005 Function Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements.
  • Page 70: Bus Display

    M30880T-EPB User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Explanation of the trace window (bus display) The following explains the displayed contents, from left to right.
  • Page 71 M30880T-EPB User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Stop Click this toolbar button to suspend the trace measurement in progress.
  • Page 72 M30880T-EPB User’s Manual (3) Trace point setup dialog box 1. Opening the trace point setup dialog box 2. Trace Point Setting Window in initial state REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window.
  • Page 73: Write Mode

    M30880T-EPB User’s Manual 3. Specifying a trace range 4. Setting the trace write condition REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying a trace range You can specify a trace range for the trace event. - Break 256K cycles of instruction execution before the user program stopped is recorded.
  • Page 74: Ram Monitor Window

    M30880T-EPB User’s Manual 3.6 RAM Monitor Window (1) RAM monitor window 1. RAM monitor window Menu Menu item BasicWindows RAM Monitor Window REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Function Opening the RAM monitor window RAM monitor window This window shows changes of memory contents while the user program is executed.
  • Page 75 M30880T-EPB User’s Manual (2) RAM monitor area setting window 1. Opening RAM monitor area setting window 2. RAM monitor area setting window in initial state REJ10J0497-0100Z Rev.1.00 January 16, 2005 3. Usage (How to Use the Emulator Debugger) Base Clicking this toolbar button opens the RAM monitor area setting window.
  • Page 76 M30880T-EPB User’s Manual 3. RAM monitor area setting dialog box 4. RAM monitor area setting dialog box when RAM monitor area is changed from 400h to 1 block 5. RAM monitor area setting dialog box REJ10J0497-0100Z Rev.1.00 January 16, 2005 3.
  • Page 77: Hardware Specifications

    M30880T-EPB User’s Manual 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 the M30880T-EPB Item Applicable MCU Applicable MCU mode...
  • Page 78: Differences Between The Actual Mcu And Emulator

    M30880T-EPB User’s Manual 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. Note on Differences between the Actual MCU and Emulator: Operations of the emulator system differ from those of actual MCUs as listed below.
  • Page 79: Notes On Reset Vector Area

    M30880T-EPB User’s Manual Notes on Reset Vector Area: For a reset vector area, memory of the emulator is always selected regardless of the setting of the EMEM dialog box. A reset vector area can be changed only when a program is stopped. Notes on Stack Area: With this product, a maximum 20 bytes of the user stack is consumed as a work area.
  • Page 80: Note On Dmac Ii Transfer Completion Interrupts

    M30880T-EPB User’s Manual Note on DMAC II Transfer Completion Interrupts: You can use DMAC II transfer completion interrupts during program execution only. Do not generate DMAC II transfer completion interrupts when you use any function but program execution. Note on Final Evaluation: Be sure to evaluate your system with an evaluation MCU.
  • Page 81: Connection Diagrams

    M30880T-EPB User’s Manual 4.3 Connection Diagrams Figures 4.1 and 4.2 show the connection diagrams of the M30880T-EPB. These connection diagrams mainly show the interface section. The signals not shown in Figures 4.1 and 4.2 connect the evaluation MCU and the user system directly. The circuits not connected to the user system such as the emulator's control system are omitted.
  • Page 82 M30880T-EPB User’s Manual AP15 AP15 AP15 AP15 Figure 4.2 Connection diagram (2/2) Table 4.2 Electrical characteristics of the 74HC4066 Symbol Item ON resistor ∆R ON resistor difference Switch input leak current REJ10J0497-0100Z Rev.1.00 January 16, 2005 AP15 AP15 AP15 AP15 74HC4066 74HC4066 74HC4066...
  • Page 83: External Dimensions

    M30880T-EPB User’s Manual 4.4 External Dimensions 4.4.1 External Dimensions of the Emulation Probe Figure 4.3 shows external dimensions of the M30880T-EPB connected with the M30800T-PTC and LCC socket. 60.0 15.0 Figure 4.3 External dimensions of the emulation probe REJ10J0497-0100Z Rev.1.00 January 16, 2005 85.0 PCA7501EPBA REV.A MADE IN JAPAN...
  • Page 84: External Dimensions Of The M30800T-Ptc

    M30880T-EPB User’s Manual 4. Hardware Specifications 4.4.2 External Dimensions of the M30800T-PTC Figure 4.4 shows external dimensions of the converter board M30800T-PTC for a 100-pin QFP (100P6S). Unit : mm Figure 4.4 External dimensions of the M30800T-PTC REJ10J0497-0100Z Rev.1.00 January 16, 2005 Page 84 of 100...
  • Page 85: External Dimensions Of The M3T-F160-100Nsd

    M30880T-EPB User’s Manual 4.4.3 External Dimensions of the M3T-F160-100NSD Figure 4.5 shows external dimensions of the converter board M3T-F160-100NSD for a 100-pin LQFP (100P6Q). Figure 4.5 External dimensions of the M3T-F160-100NSD 4.4.4 External Dimensions of the M3T-FLX-144NSD Figure 4.6 shows external dimensions of the converter board M3T-FLX-144NSD for a 144-pin LQFP (144P6Q). Figure 4.6 External dimensions of the M3T-FLX-144NSD REJ10J0497-0100Z Rev.1.00 January 16, 2005 4.
  • Page 86: Notes On Using This Product

    M30880T-EPB User’s Manual 4.5 Notes on Using This Product Notes on using this product are listed below. Be sure to read these notes before using this product. Notes on Downloading Firmware: Before using this product for the first time, it is necessary to download the dedicated firmware (control software built into the PC7501).
  • Page 87: Notes On Clock Supply To An Mcu

    M30880T-EPB User’s Manual Notes on Clock Supply to an MCU: Clock can be supplied to the evaluation MCU in one of the following three ways. This is determined by emulator debugger clock selection. (1) When Internal is selected: The clock generated by the oscillation circuit in the PC7501 is supplied to the evaluation MCU. The clock is continually supplied to the evaluation MCU regardless of "user system clock status"...
  • Page 88: Notes On Emem Dialog Box

    M30880T-EPB User’s Manual Notes on EMEM Dialog Box: Observe the following when setting up EMEM dialog box of the emulator debugger. (1) Debug Monitor Bank Address The default value of Debug Monitor Bank Address is "F0". To set single-chip mode, internal flash memory is automatically allocated in F000h--FFFFh and F80000h--FFFFFFh.
  • Page 89: Notes On Debugging In Cpu Rewrite Mode

    M30880T-EPB User’s Manual Notes on Debugging in CPU Rewrite Mode: To debug a program in CPU rewrite mode, select the check box "Debug the program using the CPU Rewrite Mode" in the MCU tab of the Init dialog box. When you do not debug a program in CPU rewrite mode, clear the check box.
  • Page 90: Note On Voltage Detect Circuit

    M30880T-EPB User’s Manual Note on Protect Resistor: A protect is not canceled when protect register bit 2 (PRC2), which enables writing in the port P9 direction register and the function select register A3, is changed with the below procedure. (1) Step execution of an instruction setting ("1") PRC2 (2) Setting a break point from an instruction setting ("1") PRC2 to where the port P9 direction register or the function select register A3 is set (3) Setting ("1") PRC2 from the dump window or script window during user program execution...
  • Page 91: Notes On A/D Conversion

    M30880T-EPB User’s Manual Notes on A/D Conversion: When setting the register below to use the analog input port selection function, you need to set the direction register of port P15 for a pin that performs A/D conversion to "input". And you need to set the function selection register of port P15 for a pin that performs A/D conversion to "I/O port".
  • Page 92: 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 93: When The Emulator Debugger Does Not Startup Properly

    M30880T-EPB User’s Manual 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the PC7501 Do Not Display Normally Table 5.1 Errors LEDs show and their checkpoints Error LEDs do not light up. All LEDs remain lit. The POWER LED of "STATUS OF TARGET"...
  • Page 94 M30880T-EPB User’s Manual (2) EMEM Dialog Box Does Not Appear at Debugger Startup Table 5.2 Checkpoints of errors at debugger startup Error Communication error occurred. Data was not sent to the target. User system cannot be properly built. M3T-PD308F version is not the same version as the firmware in the target.
  • Page 95 M30880T-EPB User’s Manual (3) Errors Occur at Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0497-0100Z Rev.1.00 January 16, 2005 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly.
  • Page 96: How To Request For Support

    M30880T-EPB User’s Manual 5.3 How to Request for Support After checking the items in "5 Troubleshooting", 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 For prompt response, please specify the following information: (1) Operating environment - Operating voltage: - Operating frequency:...
  • Page 97: Maintenance And Guarantee

    M30880T-EPB 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 11) of this user's manual.
  • Page 98: How To Make Request For Repair

    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 99 M30880T-EPB User's Manual Publication Date: Jan. 16, 2005 Sales Strategic Planning Div. Published by: Renesas Technology Corp. Microcomputer Tool Development Department Edited by: Renesas Solutions Corp. © 2005. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan. Rev.1.00...
  • Page 100 M30880T-EPB User's Manual...

Table of Contents