Renesas Emulation Probe M30850T2-EPB User Manual
Renesas Emulation Probe M30850T2-EPB User Manual

Renesas Emulation Probe M30850T2-EPB User Manual

Emulation probe for m32c/80, 84, 85, 86 and 8a groups
Table of Contents

Advertisement

Quick Links

REJ10J1005-0200(T)
M30850T2-EPB
User's Manual
Emulation Probe for M32C/80, 84, 85, 86 and 8A Groups
Rev.2.00
Apr. 01, 2007

Advertisement

Table of Contents
loading

Summary of Contents for Renesas Emulation Probe M30850T2-EPB

  • Page 1 REJ10J1005-0200(T) M30850T2-EPB User's Manual Emulation Probe for M32C/80, 84, 85, 86 and 8A Groups Rev.2.00 Apr. 01, 2007...
  • 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/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 M30850T2-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

    M30850T2-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 M30850T2-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 If the emulator malfunctions because of interference like external noise, do the following to remedy the trouble. (1) Press the RESET switch on the emulator upper panel. (2) If normal operation is not restored after step (1), shut OFF power to the emulator once and then reactivate it.
  • Page 9: Table Of Contents

    M30850T2-EPB User’s Manual Contents Preface...3 Important...4 Precautions for Safety ...6 Contents...9 User Registration ...11 Terminology ...12 1. Outline...13 1.1 Package Components ...13 1.2 Other Tool Products Required for Development ...13 1.3 System Configuration ...14 1.3.1 System Configuration ...14 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs ...15 1.4 Specifications ...17 1.5 Operating Environment...18 2.
  • Page 10 M30850T2-EPB User’s Manual 4. Hardware Specifications ...75 4.1 Target MCU Specifications...75 4.2 Differences between the Actual MCU and Emulator...76 4.3 Connection Diagrams ...79 4.4 External Dimensions...81 4.4.1 External Dimensions of the Emulation Probe ...81 4.4.2 External Dimensions of the M30800T-PTC ...82 4.4.3 External Dimensions of the M3T-F160-100NRB...82 4.4.4 External Dimensions of the M3T-F160-100NSD...83 4.4.5 External Dimensions of the M3T-FLX-144NSD ...83...
  • 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. Text format for user registration For user registration REJ10J1005-0200 Rev.2.00 April 1, 2007 C:\Program Files\Renesas\Hew\Support regist_tool@renesas.com User Registration Page 11 of 98...
  • Page 12: Terminology

    M30850T2-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

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

    LPT parallel, USB or LAN interface Host machine Figure 1.1 System configuration (1) Emulation probe M30850T2-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.65mm pitch LCC socket). For details, refer to "2.9 Connecting the User System"...
  • Page 15: Names And Functions Of The Pc7501 Upper Panel Leds

    M30850T2-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 M30850T2-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

    M30850T2-EPB User’s Manual 1.4 Specifications Tables 1.5 and 1.6 list the specifications of the M30850T2-EPB. Table 1.5 M30850T2-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

    M30850T2-EPB User’s Manual Table 1.6 M30850T2-EPB specifications (2/2) Host machine interface Emulator power supply Connection to user system (see "2.9 Connecting the User System" on page 29) * Available to connect the host machine that supports USB 2.0. With the USB interface, not all hardware (such as host machine, USB devices, USB hub) combination will work and guaranteed.
  • Page 19: Setup

    Connect the PC7501 to the host machine with the LPT parallel interface cable, USB interface cable or LAN interface cable. Set the interface selection switch on the panel of the PC7501 to the using interface. Connect a power supply for the emulator.
  • Page 20: Installing The Emulator Debugger

    Install the emulator debugger (M32C PC7501 Emulator Debugger or M3T-PD308F) following the procedure described below. (1) Downloading the emulator debugger (as occasion demands) Download the emulator debugger from the URL below (free of charge). http://download.renesas.com/eng/mpumcu/upgrades/in_circuit_emulators/pc7501/index.html (2) Launching the installer Start the “setup.exe” program.
  • Page 21: 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. Figure 2.2 shows the outline to connect each interface cable.
  • Page 22: Connecting The Pc7501

    M30850T2-EPB User’s Manual 2.4 Connecting the PC7501 Figure 2.3 shows how to connect the PC7501 and the emulation probe. Note: Connect the PCA7501EPBA board side to the M3T-FLX160-EPB. 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

    The DC plug on the included AC adapter has the below polarity. The included AC adapter has no power supply switch. The AC adapter is always active while connecting the AC power cable. Check if the power is supplied by the LED of AC adapter.
  • Page 24: Turning On The Power

    M30850T2-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

    M30850T2-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 POWER SAFE CLOCK ERROR RESET WARNING SYSTEM TARGET...
  • Page 26: Downloading Firmware

    Download the firmware in maintenance mode as explained here following. The user system must not be connected when downloading the firmware. (1) Set the interface select switch on the rear panel of the PC7501 to the LPT side and connect the LPT parallel interface cable to the PC7501 and the host machine.
  • Page 27: Self-Check

    (2) Set the switches as the factory-settings to execute the self-check (see Table 2.1). (3) Within 2 seconds of activating power to the emulator, press the system reset switch on the emulator front panel to switch the emulator to maintenance mode.
  • Page 28: If An Error Is Detected In The Self-Check

    M30850T2-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

    M30850T2-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.65mm pitch M3T-FLX100-T (not included) M3T-F160-100NRB LCC socket 100-pin QFP 100-pin LCC (not included) (not included) Figure 2.7 Connection of the M30850T2-EPB and user system Note on Connecting the User System:...
  • Page 30: Connecting To A 100-Pin Lcc Socket

    M30850T2-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 M30850T2-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.65Mm Pitch Foot Pattern (Part 1)

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

    M30850T2-EPB User’s Manual 2.9.3 Connecting to a 100-pin 0.65mm pitch Foot Pattern (Part 2) Figure 2.10 shows how to connect the emulation probe to a 100-pin 0.65mm 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.65Mm Pitch Foot Pattern (Part 3)

    M30850T2-EPB User’s Manual 2.9.4 Connecting to a 100-pin 0.65mm pitch Foot Pattern (Part 3) Figure 2.11 shows how to connect the emulation probe to a 100-pin 0.65mm 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 34: Connecting To A 100-Pin 0.5Mm Pitch Foot Pattern

    M30850T2-EPB User’s Manual 2.9.5 Connecting to a 100-pin 0.5mm pitch Foot Pattern Figure 2.12 shows how to connect the emulation probe to a 100-pin 0.5mm 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 35: Connecting To A 144-Pin 0.5Mm Pitch Foot Pattern

    M30850T2-EPB User’s Manual 2.9.6 Connecting to a 144-pin 0.5mm pitch Foot Pattern Figure 2.13 shows how to connect the emulation probe to a 144-pin 0.5mm 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 36: Setting Switches

    M30850T2-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.14 shows the positions of the switches of the M30850T2-EPBM. AVCC AVSS Figure 2.14 Positions of the switches REJ10J1005-0200 Rev.2.00 April 1, 2007 XCIN VCONT...
  • Page 37 M30850T2-EPB User’s Manual (1) Setting JP1, SW1 to SW4 on the M30850T2-EPBM Table 2.2 shows the settings of JP1, SW1 to SW4 on the M30850T2-EPBM. Table 2.2 Switch settings of the M30850T2-EPBM (JP1, SW1 to SW4) Switch Switch name (Factory-setting)
  • Page 38 M30850T2-EPB User’s Manual (2) Setting SW5 on the M30850T2-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 39 M30850T2-EPB User’s Manual Notes on Switch JP1: If using this product when the voltage of VCC1 is higher than that of VCC2, set the JP1 of the M30850T2- EPBM to VCC1>2. When the JP1 of the M30850T2-EPBM is set to VCC1>2, the voltage of VCC2 on the user system should be 3.3 V or more.
  • Page 40: Selecting Clock Supply

    M30850T2-EPB User’s Manual 2.10.2 Selecting Clock Supply You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Init dialog box 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 41 M30850T2-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.15). Figure 2.15 Removing the upper cover REJ10J1005-0200 Rev.2.00 April 1, 2007 Page 41 of 98...
  • Page 42 M30850T2-EPB User’s Manual Unscrew the screw of the oscillator circuit board of the PC7501 and replace it (see Figure 2.16). Figure 2.16 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 43 M30850T2-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.17 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations.
  • Page 44 M30850T2-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 45: A/D Conversion Bypass Capacitors

    M30850T2-EPB User’s Manual 2.10.3 A/D Conversion Bypass Capacitors There is a foot pattern on the M30850T2-EPBM board for mounting bypass capacitors for the A/D conversion circuit. Mount applicable bypass capacitors as occasion demands. Figure 2.21 shows where they are installed. AVCC AVSS XCIN...
  • Page 46: 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 47 M30850T2-EPB User’s Manual 3. Specifying the communication interface (LAN communication) Cancel 4. Specifying the communication interface (USB communication) Cancel REJ10J1005-0200 Rev.2.00 April 1, 2007 Specifying the communication interface (LAN communication) For selecting the LAN communication, click the radio button “LAN” of the MCU tab. Specify the IP address of the emulator at the IP address area.
  • Page 48 M30850T2-EPB User’s Manual 5. Using or not using the address match break function Cancel 6. Using or not using the watchdog function Cancel Notes on selection of whether or not to use the watchdog timer: If the check box “Debug the program using the Watchdog Timer” is selected, while the user program remains idle the emulator is performing refresh processing (by writing to the watchdog timer start register) within the emulator control program.
  • Page 49 M30850T2-EPB User’s Manual 7. Using or not using the CPU rewrite mode Cancel 8. Executing the self-check Cancel REJ10J1005-0200 Rev.2.00 April 1, 2007 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 50 - 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 51 M30850T2-EPB User’s Manual (4) Emulator tab 1. Specifying the target clock Cancel REJ10J1005-0200 Rev.2.00 April 1, 2007 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. - Internal (default) - External - Generated...
  • Page 52 M30850T2-EPB User’s Manual (5) Resume tab 1. Automatically executing a script command Cancel 2. Restoring the last window state Cancel REJ10J1005-0200 Rev.2.00 April 1, 2007 Automatically executing a script command To automatically execute a script command when starting up the debugger, click the “Refer...” button and specify the script file to be executed.
  • Page 53: Starting Up The Emulator Debugger (Emem Dialog Box)

    M30850T2-EPB User’s Manual 3.2 Starting Up the Emulator Debugger (EMEM Dialog Box) (1) Status tab 1. Specifying the processor mode Cancel Notes on Selecting a Processor Mode: When setting single-chip mode or memory expansion mode, the level of pin CNVSS of the MCU status should be "L".
  • Page 54 M30850T2-EPB User’s Manual 2. Referring to the MCU Status Cancel Notes on Selecting a Processor Mode: The MCU status is shown in “MCU Status” of the EMEM dialog box. Check that it is matching the specified processor mode. Check that the RDY# and HOLD# are “H” level. If they are “L” level, as the MCU enters a wait status and the emulator debugger cannot receive the signal from the MCU, an error is displayed.
  • Page 55 M30850T2-EPB User’s Manual (2) Emulation Memory tab 1. Setting the Bank Address of the Debug Monitor Cancel 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 56 M30850T2-EPB User’s Manual 2. Emulation Memory Allocation as Expansion Area Cancel Notes on Using Emulation Memory for Expansion: When single-chip mode or memory expansion mode is set as a processor mode, internal ROM area is automatically allocated to the internal flash ROM. Therefore, it is not necessary to deliberately specify emulation memory as expansion area in order to allocate the internal ROM area.
  • Page 57 M30850T2-EPB User’s Manual (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM Cancel REJ10J1005-0200 Rev.2.00 April 1, 2007 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 58: Program Window

    M30850T2-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... REJ10J1005-0200 Rev.2.00 April 1, 2007 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 59 M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 3. Usage (How to Use the Emulator Debugger) RESET Resets the program.
  • Page 60 M30850T2-EPB User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup Breakpoint display area REJ10J1005-0200 Rev.2.00 April 1, 2007 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 61 M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 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 62: Hardware Breakpoint Setting Window

    M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 3.
  • Page 63 M30850T2-EPB User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J1005-0200 Rev.2.00 April 1, 2007 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 64 M30850T2-EPB User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J1005-0200 Rev.2.00 April 1, 2007 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 65 M30850T2-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 66 M30850T2-EPB User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition REJ10J1005-0200 Rev.2.00 April 1, 2007 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 67: Trace Window

    M30850T2-EPB User’s Manual 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item OptionalWindows Trace Window REJ10J1005-0200 Rev.2.00 April 1, 2007 Function Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements.
  • Page 68 M30850T2-EPB User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display REJ10J1005-0200 Rev.2.00 April 1, 2007 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 69 M30850T2-EPB User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J1005-0200 Rev.2.00 April 1, 2007 3. Usage (How to Use the Emulator Debugger) Stop Click this toolbar button to suspend the trace measurement in progress.
  • Page 70 M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 3. Usage (How to Use the Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window.
  • Page 71 M30850T2-EPB User’s Manual 3. Specifying a trace range 4. Setting the trace write condition REJ10J1005-0200 Rev.2.00 April 1, 2007 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 72: Ram Monitor Window

    M30850T2-EPB User’s Manual 3.6 RAM Monitor Window (1) RAM monitor window 1. RAM monitor window Menu Menu item BasicWindows RAM Monitor Window REJ10J1005-0200 Rev.2.00 April 1, 2007 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 73 M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 3. Usage (How to Use the Emulator Debugger) Base Clicking this toolbar button opens the RAM monitor area setting window.
  • Page 74 M30850T2-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 REJ10J1005-0200 Rev.2.00 April 1, 2007 3.
  • Page 75: Hardware Specifications

    M30850T2-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 M30850T2-EPB Item Applicable MCU Applicable MCU mode...
  • Page 76: Differences Between The Actual Mcu And Emulator

    If using this product when the voltage of VCC1 is higher than that of VCC2, set the JP1 of the M30850T2- EPBM to VCC1>2. For the switch JP1 of the M3085T2-EPBM, refer to "2.10 Setting Switches" (page 38). If using this product when the voltage of VCC1 is higher than that of VCC2, the CPU clock must be 24 MHz or less.
  • Page 77 MCU. (7) Port P15 As one of I/O ports (P15) is connected to the user system through the analog switch circuit, electric characteristics slightly differ from those of an actual MCU.
  • Page 78 M30850T2-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. Therefore when setting a microprocessor mode, to use a ROM of the user system etc. as an area including a reset vector area, set a reset vector using a dump window etc.
  • Page 79: Connection Diagrams

    M30850T2-EPB User’s Manual 4.3 Connection Diagrams Figures 4.1 and 4.2 show the connection diagrams of the M30850T2-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 80 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 REJ10J1005-0200 Rev.2.00 April 1, 2007 AP15 AP15 AP15 AP15 74HC4066 74HC4066 74HC4066 Condition Standard values Min.
  • Page 81: External Dimensions

    M30850T2-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 M30850T2-EPB connected with the M30800T-PTC and LCC socket. 60.0 PCA7501EPBA REV.A 15.0 Figure 4.3 External dimensions of the emulation probe REJ10J1005-0200 Rev.2.00 April 1, 2007 85.0 MADE IN JAPAN 16.3...
  • Page 82: External Dimensions Of The M30800T-Ptc

    M30850T2-EPB User’s Manual 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 LCC. Figure 4.4 External dimensions of the M30800T-PTC 4.4.3 External Dimensions of the M3T-F160-100NRB Figure 4.5 shows external dimensions of the converter board M3T-F160-100NRB for a 100-pin QFP (PRQP0100JB-A). 40.0 Figure 4.5 External dimensions of the M3T-F160-100NRB REJ10J1005-0200 Rev.2.00 April 1, 2007...
  • Page 83: External Dimensions Of The M3T-F160-100Nsd

    M30850T2-EPB User’s Manual 4.4.4 External Dimensions of the M3T-F160-100NSD Figure 4.6 shows external dimensions of the converter board M3T-F160-100NSD for a 100-pin LQFP (PLQP0100KB-A). Figure 4.6 External dimensions of the M3T-F160-100NSD 4.4.5 External Dimensions of the M3T-FLX-144NSD Figure 4.7 shows external dimensions of the converter board M3T-FLX-144NSD for a 144-pin LQFP (PLQP0144KA-A). Figure 4.7 External dimensions of the M3T-FLX-144NSD REJ10J1005-0200 Rev.2.00 April 1, 2007 4.
  • Page 84: Notes On Using This Product

    M30850T2-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 85 M30850T2-EPB User’s Manual Notes on Using the CPU Clock at Less than 16 MHz: To use the CPU clock at less than 16 MHz, execute the command shown below in the Script Window after starting the emulator debugger M3T-PD308F. [Command] _settimeout ,300 Once this command is executed, it remains effective the next time you start the emulator debugger M3T- PD308F.
  • Page 86 M30850T2-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 When "F0" is specified, 64 KB of area starting from F00000h are allocated for use by the debug monitor. The 64 KB allocated for the debug monitor cannot be used.
  • Page 87 M30850T2-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 88 M30850T2-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 89 P15 cannot be used as an I/O port even if A/D conversion is halting. For the switch SW5, refer to "2.10.1 Setting Switches of Emulation Probe" (page 38). When setting the register below to use multi-port sweep mode, you need to set the direction register of port P15 for a pin that performs A/D conversion to "input".
  • Page 90: 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 91: When The Emulator Debugger Does Not Start Up Properly

    M30850T2-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 92 M30850T2-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 93 M30850T2-EPB User’s Manual (3) Errors Occur at Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J1005-0200 Rev.2.00 April 1, 2007 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly.
  • Page 94: How To Request For Support

    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: (1) Operating environment...
  • Page 95: Maintenance And Guarantee

    M30850T2-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 96: How To Make Request For Repair

    M30850T2-EPB User’s Manual (3) Expiration of the repair period When a period of one year elapses after the model was dropped from production, repairing products of the model may become impossible. (4) Transportation fees at sending your product for repair Please send your product to us for repair at your expense.
  • Page 97 M30850T2-EPB User's Manual Publication Date: Apr. 01, 2007 Sales Strategic Planning Div. Published by: Renesas Technology Corp. Microcomputer Tool Development Department Edited by: Renesas Solutions Corp. © 2007. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan. Rev.2.00...
  • Page 98 M30850T2-EPB User's Manual...

Table of Contents