Renesas Emulation Pod M3062PT3-RPD-E User Manual
Renesas Emulation Pod M3062PT3-RPD-E User Manual

Renesas Emulation Pod M3062PT3-RPD-E User Manual

Emulation pod for m16c/62p and m16c/30p groups
Table of Contents

Advertisement

Quick Links

REJ10J0040-0600(T)
M3062PT3-RPD-E
User's Manual
Emulation Pod for M16C/62P and M16C/30P Groups
Rev.6.00
Jul. 01, 2006

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Emulation Pod M3062PT3-RPD-E and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Renesas Emulation Pod M3062PT3-RPD-E

  • Page 1 REJ10J0040-0600(T) M3062PT3-RPD-E User’s Manual Emulation Pod for M16C/62P and M16C/30P Groups Rev.6.00 Jul. 01, 2006...
  • 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: Related Manuals

    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

    M3062PT3-RPD-E 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

    M3062PT3-RPD-E 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

    M3062PT3-RPD-E 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 M3062PT3-RPD-E 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

    M3062PT3-RPD-E User’s Manual Contents Preface... 3 Releated Manuals ... 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... 14 1.3 System Configuration ...
  • Page 10 M3062PT3-RPD-E User’s Manual 3. Usage (How to Use the Emulator Debugger) ... 50 3.1. Making an MCU File ... 50 3.2 Setting the Work Area... 51 3.3 Starting Up the Emulator Debugger ... 52 3.3.1 Init Dialog Box... 52 3.3.2 Checking Connections of the Emulator System ... 58 3.4 Downloading Program ...
  • 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 REJ10J0040-0600 Rev.6.00 July 01, 2006 C:\Program Files\Renesas\Hew\Support regist_tool@renesas.com User Registration Page 11 of 104...
  • Page 12: Terminology

    This means a generic name for emulators for M16C, 7700, 740 Families. Take note of the fact that the M3062PT3-RPD-E (this product) does not support the PC4701L and PC4700L emulators. For details on specific models of PC4701, visit the Renesas Tools Homepage at http://www.renesas.com/en/tools.
  • Page 13: Outline

    M3062PT3-RPD-E 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 M3062PT3-RPD-E package consists of the following items. When unpacking it, check to see if your M3062PT3-RPD-E contains all of these items.
  • Page 14: Other Tool Products Required For Development

    M3062PT3-RPD-E User’s Manual 1.2 Other Tool Products Required for Development To bring forward programs development on the M16C/60 Series M16C/62P Group and M16C/30 Series M16C/30P Group, the products listed below are necessary in addition to those contained package above. Get them separately. Table 1.2 Other tool products required for development Product Emulator main unit...
  • Page 15: System Configuration

    (6 ) Host machine Host machine Figure 1.1 System configuration (1) Emulation pod M3062PT3-RPD-E (this product) Emulation pod for the M16C/60 Series M16C/62P Group and M16C/30 Series M16C/30P Group. This emulation pod contains an evaluation MCU. (2) Flexible cable FLX120-RPD (included) This is a 120-conductor flexible cable for connecting the PC4701 emulator and the emulation pod.
  • Page 16: Names And Functions Of The Pc4701 Front Panel Leds

    M3062PT3-RPD-E User’s Manual 1.3.2 Names and Functions of the PC4701 Front Panel LEDs Figure 1.2 shows the names of the LEDs on the front panel of the emulator. System status LEDs Figure 1.2 Names of the LEDs on the front panel of the PC4701 (1) System Status LEDs The system status LEDs indicate the emulator PC4701's power supply, firmware operating status, etc.
  • Page 17 M3062PT3-RPD-E 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 is supplied to the user system.
  • Page 18: Specifications

    M3062PT3-RPD-E User’s Manual 1.4 Specifications Tables 1.5 and 1.6 list the specifications of the M3062PT3-RPD-E. Table 1.5 M3062PT3-RPD-E specifications (1/2) Item Applicable MCU Usable MCU mode Maximum operating frequency Applicable power supply Emulation Memory Clock supply Basic debugging functions Real-time trace function Real-time RAM monitor function Hardware break function Execution time measurement function...
  • Page 19: Operating Environment

    M3062PT3-RPD-E User’s Manual Table 1.6 M3062PT3-RPD-E specifications (2/2) Item Connecting the user system see “2.8 Connecting the User System” (page 30) 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 20: Setup

    PC4701 to the host machine with each interface connector. Set the interface selection switch on the rear panel of the PC4701 to the using interface. Connect the emulation pod M3062PT3-RPD-E to the PC4701 using the FLX120-RPD. Connect a power supply for the emulator.
  • Page 21: Installing The Emulator Debugger (M16C Pc4701 Emulator Debugger)

    2.2.1 Installing the Emulator Debugger (1) Downloading the M16C PC4701 Emulator Debugger (as occasion demands) Download the latest M16C PC4701 Emulator Debugger from the URL below (free of charge). http://download.renesas.com/eng/mpumcu/upgrades/in_circuit_emulators/m16c/index.html (2) Launching the installer Start the “setup.exe” program. (3) Entering the user information In the “user information”...
  • Page 22: Connecting The Host Machine

    M3062PT3-RPD-E User’s Manual 2.3 Connecting the Host Machine When connecting the emulator PC4701 to a host machine, interface varies depending on the PC4701 used. Table 2.1 shows the outline to connect each interface cable. For details on interface, refer to each PC4701 user’s manual used. Table 2.1 Operating environment of the host machine PC4701 Interface...
  • Page 23: Connecting The Pc4701

    M3062PT3-RPD-E User’s Manual 2.4 Connecting the PC4701 To connect the emulation pod to the PC4701, use the FLX120-RPD 120-pin flexible cable included with this product package. Connect the PC4701 side connector of the FLX120-RPD to the cable connector of the PC4701, then secure with screws the FLX120-RPD.
  • Page 24: Connecting The Flx120-Rpd To The Emulation Pod

    M3062PT3-RPD-E User’s Manual 2.4.2 Connecting the FLX120-RPD to the Emulation Pod Figure 2.3 shows how to connect the FLX120-RPD and the emulation pod. Emulation pod Figure 2.3 Connecting the FLX120-RPD to the emulation pod Note on Connecting the FLX120-RPD and emulation pod: Always shut OFF power before connecting the emulation pod and the FLX120-RPD.
  • Page 25: Turning On The Power

    M3062PT3-RPD-E User’s Manual 2.5 Turning ON the Power 2.5.1 Checking the Connections of the Emulator System Before turning the power ON, check the connection of the interface cable with host machine, PC4701, emulation pod, and user system. 2.5.2 Turning ON/OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible.
  • Page 26: Led Display When The Emulator Starts Up Normally

    M3062PT3-RPD-E User’s Manual 2.5.3 LED Display When the Emulator Starts Up Normally Figure 2.4 shows front panel LED lighting status when the emulator started up properly. Check it when starting up the emulator system. PERFORMANCE LED display when the emulator starts up normally Figure 2.4 LED display when the power turned on Note on the Target Status POWER LED: If the MCU has two or more Vcc terminals, the LED does not light unless power is supplied to all the...
  • Page 27: Downloading Firmware

    M3062PT3-RPD-E User’s Manual 2.6 Downloading Firmware 2.6.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 28: Self-Check

    M3062PT3-RPD-E User’s Manual 2.7 Self-check 2.7.1 Self-check Procedure To run the self-check of the emulator, do so as explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 2.6. (1) If the user system is connected, disconnect it. (2) Set the switches in the emulation pod to the factory settings as shown in Figure 2.7.
  • Page 29: If An Error Is Detected In The Self-Check

    M3062PT3-RPD-E User’s Manual (factory-settings) (factory-settings) Figure 2.7 Switch settings for the self-check (factory-settings) 2.7.2 If an Error is Detected in the Self-check If the self-check does not result normally, check the following. (1) Whether the emulation pod and PC4701 are connected properly (2) Whether the proper firmware has been downloaded (3) Whether the switch settings of this product are the factory-settings Notes on Self-check:...
  • Page 30: Connecting The User System

    M3062PT3-RPD-E User’s Manual 2.8 Connecting the User System Connect the emulation pod to the user system as shown in Figures 2.8. 80-pin 0.65mm pitch 0.65mm pitch M 3062PT -80FPB LCC socket M3T-F160-100NRB 80-pin QFP 100-pin LCC 100-pin QFP (not included) (included) (not included) Figure 2.8 Connecting the user system...
  • Page 31: Connecting To A 80-Pin 0.65Mm Pitch Foot Pattern

    M3062PT3-RPD-E User’s Manual 2.8.1 Connecting to a 80-pin 0.65mm Pitch Foot Pattern Figure 2.9 shows how to connect 80-pin 0.65mm pitch foot pattern on the user system to the M3062PT-80FPB (not included), and here following is its procedure. For details on the M3062PT-80FPB (not included), refer to its user's manual. (1) Attach the NQPACK080SB included with the M3062PT-80FPB to the user system.
  • Page 32: Connecting To A 100-Pin Lcc Socket

    M3062PT3-RPD-E User’s Manual 2.8.2 Connecting to a 100-pin LCC socket Figure 2.10 shows how to connect a 100-pin LCC socket (IC61-1004-051 of Yamaichi Electronics Co., Ltd.) on the user system to the M30800T-PTC (included). (1) Attach the CN2 side of the M30800T-PTC to the CN2 side of the package converter board connected to the emulation pod probe.
  • Page 33: Connecting To A 100-Pin 0.65Mm Pitch Foot Pattern (Part 1)

    M3062PT3-RPD-E User’s Manual 2.8.3 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 1) Figure 2.11 shows how to connect a 100-pin 0.65mm pitch foot pattern on the user system to the M3T-F160-100NRB (not included), and here following is its procedure. For details on the M3T-F160-100NRB (not included), refer to its user's manual. (1) Attach the NQPACK100RB included with the M3T-F160-100NRB to the user system.
  • Page 34: Connecting To A 100-Pin 0.65Mm Pitch Foot Pattern (Part 2)

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

    M3062PT3-RPD-E User’s Manual 2.8.5 Connecting to a 100-pin 0.65mm Pitch Foot Pattern (Part 3) Figure 2.13 shows how to connect a 100-pin 0.65mm pitch foot pattern on the user system to the M3T-DUMMY100S (not included), and here following is its procedure. For details on the M3T-100LCC-DMS (not included) and M3T-DUMMY100S (not included), refer to each user's manual.
  • Page 36: Connecting To A 100-Pin 0.5Mm Pitch Foot Pattern (Part 1)

    M3062PT3-RPD-E User’s Manual 2.8.6 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 1) Figure 2.14 shows how to connect a 100-pin 0.5mm pitch foot pattern on the user system to the M3T-F160-100NSD (not included), and here following is its procedure. For details on the M3T-F160-100NSD (not included), refer to its user's manual. (1) Attach the NQPACK100SD-ND included with the M3T-F160-100NSD to the user system.
  • Page 37: Connecting To A 100-Pin 0.5Mm Pitch Foot Pattern (Part 2)

    M3062PT3-RPD-E User’s Manual 2.8.7 Connecting to a 100-pin 0.5mm Pitch Foot Pattern (Part 2) Figure 2.15 shows how to connect a 100-pin 0.5mm pitch foot pattern on the user system to the M3T-100LCC-QSD (not included), and here following is its procedure. For details on the M3T-100LCC-QSD (not included), refer to its user's manual. (1) Attach the TQPACK100SD to the user system.
  • Page 38: Connecting To A 128-Pin 0.5Mm Pitch Foot Pattern

    M3062PT3-RPD-E User’s Manual 2.8.8 Connecting to a 128-pin 0.5mm Pitch Foot Pattern Figure 2.16 shows how to connect a 128-pin 0.5mm pitch foot pattern on the user system to the M3T-F160-128NRD (not included), and here following is its procedure. For details on the M3T-F160-128NRD (not included), refer to its user's manual. (1) Attach the NQPACK128RD included with the M3T-F160-128NRD to the user system.
  • Page 39: Changing Settings

    M3062PT3-RPD-E User’s Manual 2.9 Changing Settings This chapter describes how to set the inside of the emulator. 2.9.1 Removing/Attaching the Upper Cover (1) Removing the upper cover To open the upper cover, remove the four screws of both sides of the M3062PT3-RPD-E and lift off the upper cover (see Figure 2.17).
  • Page 40: Each Setting

    M3062PT3-RPD-E User’s Manual 2.9.2 Each Setting Figure 2.18 shows the positions of each part of the M3062PT3-RPD-E. (1) Position of oscillator circuit board (2) Position of switches (3) Position of socket for mounting network resistor for pullup (4) Position of bypass capacitor for A/D converter (4) Bypass capacitor for A/D converter Common board (M30620T3-RPDC)
  • Page 41: Selecting Clock Supply

    M3062PT3-RPD-E User’s Manual 2.9.3 Selecting Clock Supply (1) Clock Supply to the MCU 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.2 lists the factory-settings of each clock supply when you install the emulator debugger. Table 2.2 Clock Supply to the MCU Clock Display of emulator debugger...
  • Page 42 M3062PT3-RPD-E User’s Manual (3) Replacing Oscillator Circuit Boards Figure 2.19 shows how to replace the oscillator circuit boards. For the position of the oscillator circuit board, see Figure 2.18. Figure 2.19 Replacing oscillator circuit boards Note on Replacing the Oscillator Circuit Board: Always shut OFF power when replacing oscillator circuit board.
  • Page 43 M3062PT3-RPD-E User’s Manual (4) Using the Internal Oscillator Circuit (Bare Board) of the Emulation Pod To use the emulation pod at a desired frequency, build the desired oscillator circuit on the included OSC-2 oscillator circuit board (bare board). Figure 2.20 shows an external view of the OSC-2 oscillator circuit board (bare board) and where connector pins are located.
  • Page 44 M3062PT3-RPD-E User’s Manual 2. Setup (5) Using the Oscillator Circuit on the User System To operate this product with an external clock, construct the oscillator circuit as shown in Figure 2.22 in the user system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin X .
  • Page 45: Switch Settings

    M3062PT3-RPD-E User’s Manual 2.9.4 Switch Settings Here follows explanations of the switches of the emulation pod. Set the switches according to the user system. Tables 2.3 and 2.4 list how to set toggle switches SW1 to SW5 of the M30620T3-PRT board (MCU-dependent board). Table 2.5 lists how to set jumper switches JP1 and JP2.
  • Page 46 M3062PT3-RPD-E User’s Manual Table 2.4 Switch settings of the M3062PT3-RPD-E (2) Signal Switch Xout P86/Xcout P87/Xcin Note on Switch Settings: Always shut OFF power before changing switch setting. Note on BYTE and CNVss Switch Settings: Switch settings of the BYTE and CNVss are for debugging without the user system connected. REJ10J0040-0600 Rev.6.00 July 01, 2006 Setting Does not connect pin Xout of the MCU to the user system.
  • Page 47: Jumper Switches Jp1 And Jp2 On The M30620T3-Prt (Mcu-Dependent Board 1)

    M3062PT3-RPD-E User’s Manual 2.9.5 Jumper Switches JP1 and JP2 on the M30620T3-PRT (MCU-dependent board 1) Table 2.5 Switch settings of the M3062PT3-RPD-E (3) Signal Switch A18_SEL VDDIO Note on Switch Settings: Always shut OFF power before changing switch setting. REJ10J0040-0600 Rev.6.00 July 01, 2006 Setting Always use this setting.
  • Page 48: Installing And Removing Network Resistors For Pullup

    M3062PT3-RPD-E User’s Manual 2.9.6 Installing and Removing Network Resistors for Pullup In this product, you cannot control pullup for ports P0 to P5 by pullup control registers (pullup control register read/write are possible). A socket for installing the network resistor for pullup is mounted in this product. Mount the 51kΩ network resistor supplied with this product to the port for which pullup control is required.
  • Page 49: Bypass Capacitors For A/D Converter

    M3062PT3-RPD-E User’s Manual 2.9.7 Bypass Capacitors for A/D Converter The M3062PT3-RPD-E has the M3062PT3-PRTM (MCU-dependent board 2) board which has a foot pattern for installing bypass capacitors for A/D converter near the MCU and premounted 0.1μF capacitors. Mount suitable bypass capacitors as occasion demands.
  • Page 50: Usage (How To Use The Emulator Debugger)

    "mcufiles" folder in the directory where the emulator debugger is installed. The emulator debugger has been installed in the following directory by default. - When using the M16C PC4701 emulator debugger on the High-performance Embedded Workshop C:\Program Files\Renesas\Hew\Tools\Renesas\DebugComp\Platform\PDTarget\PD30\McuFiles - When using the M3T-PD30 C:\mtool\PD30\McuFiles The MCU file contains information such as, SFR area, internal RAM area, internal ROM area, firmware file name.
  • Page 51: Setting The Work Area

    M3062PT3-RPD-E User’s Manual 3.2 Setting the Work Area With this product, the emulator uses 54 bytes as a work area in emulation memory. Therefore, according to the memory mapping of the MCU you use, specify the work area addresses. In single-chip mode, set the work area address at 10000h. In memory expansion or microprocessor mode, the areas listed below cannot be used as a work area, specify a work area other than the areas listed below.
  • Page 52: Starting Up The Emulator Debugger

    M3062PT3-RPD-E User’s Manual 3.3 Starting Up the Emulator Debugger When debugging the completed programs, switch the session. The session can be changed by the drop down list of the tool bar shown below. You will have as many sessions created as the number of targets you selected when creating a project, so select the session that corresponds to the target to be connected from the drop-down list.
  • Page 53 M3062PT3-RPD-E User’s Manual 2) Specifying the communication interface REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Specifying the communication interface (Parallel) - In case where the parallel communication is set up, click the radio button “Parallel”...
  • Page 54 M3062PT3-RPD-E User’s Manual 3) Executing the self-check REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Specifying the communication interface (LPT) - For selecting the LPT communication, click the radio button “LPT” of the MCU tab. - For the Type area, specify the LPT interface communication mode to be used.
  • Page 55 M3062PT3-RPD-E User’s Manual 4) Specifying the clock frequency (2) Debugging Information tab REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Specifying the clock frequency Specify the target MCU operation clock and clock dividing ratio. - Specify the operation clock and clock dividing ratio. - In case where no value was set up in the area in which the operation clock is Specified, the unit operates with the reference clock (16MHz) inside the emulator (PC4701) as time measurement resource.
  • Page 56 M3062PT3-RPD-E User’s Manual (3) Work area tab 1) Specifying the firmware (4) Memory space expansion tab (5) Clock tab REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Specifying the firmware file For the radio button of the firmware group box, be sure to click “Default”. Specifying the work area Specifies the top address which is used as a work area at the start address area of the work area group box.
  • Page 57 M3062PT3-RPD-E User’s Manual (6) Script tab When the tab settings (1) to (6) above are completed, click OK button. REJ10J0040-0600 Rev.6.00 July 01, 2006 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 58: Checking Connections Of The Emulator System

    M3062PT3-RPD-E User’s Manual 3.3.2 Checking Connections of the Emulator System Check to see that the emulator debugger has been connected correctly to the emulator. REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after you have finished setting up the Init dialog box and the MCU Setting dialog box, you will see a message “Connected”...
  • Page 59: Downloading Program

    M3062PT3-RPD-E User’s Manual 3.4 Downloading Program Download the user program to be debugged. 1) Downloading from the work space window 2) Showing the source program REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Downloading the program Download the object program you want to debug.
  • Page 60: Program Execution

    M3062PT3-RPD-E User’s Manual 3.5 Program execution (1) Program execution REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) CPU reset Resets the target MCU. Runs the program beginning with the current PC position. Reset Go Runs the program after resetting the target MCU. Step In Single-steps the program executing each statement (including those in functions).
  • Page 61 M3062PT3-RPD-E User’s Manual (2) Software break 1) Setting the software break point 2) Execution completed with software break REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Execution setup procedure with software break: By double-clicking the break point setting line on the software break point setting column in the editor (source) window, the break point can be set up and released.
  • Page 62 M3062PT3-RPD-E User’s Manual (3) Executing up to the cursor position (Come command) 1) Specifying the Come command 2) After the Come command has finished REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Setup procedure for executing COME command (1) Click the line in the editor (source) window at which you want the program to execute.
  • Page 63: Hardware Break

    M3062PT3-RPD-E User’s Manual 3.6 Hardware Break Hardware break is set by event condition such as FETCH or DATA ACCESS, etc. The program stops after executing the instruction at the set breakpoint (after several cycles). (1) Break event setup dialog box 1) Opening the hardware break point setup dialog box 2) H/W Break Points Setting Window 3) Break event setting dialog box...
  • Page 64: Setting The Address

    M3062PT3-RPD-E User’s Manual (2) When FETCH is selected 1) Window for setting addresses REJ10J0040-0600 Rev.6.00 July 01, 2006 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: Setting Data

    M3062PT3-RPD-E User’s Manual (3) When DATA ACCESS is selected 1) Window for setting the address 2) Window for setting data REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Setting the address Sets the address by “Address” tab. You can set eight conditions, e.g., a specified address, a specified address range, etc.
  • Page 66 M3062PT3-RPD-E User’s Manual 3) Example Data Settings Setting events for wordwise accesses to the even-addresses STE.W A0,20E8h(A0=5423h) High-order and low-order data effective Setting events for wordwise accesses to the odd-addresses STE.W A0,20E5h(A0=AB79h) Odd-address high-order data effective Even-address low-order data effective Setting events for bytewise accesses to the even-addresses STE.B R0L,[A1A0](R0L=E5h,A1=0000h,A0=20E2h) Low-order data effective...
  • Page 67: Trace Window

    M3062PT3-RPD-E User’s Manual 3.7 Trace Window The trace window is used to show the results of real-time trace measurements. (1) Trace window 1) Opening the trace window 2) Trace window REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Trace window Clicking this button opens the trace window.
  • Page 68 M3062PT3-RPD-E User’s Manual 3) Trace Window (Bus mode display) 4) Trace Window (Disassemble mode display) 5) Trace Window (Source mode display) 6) Trace Window (Data access mode display) REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Explanation of the trace window (bus display) Shows the status of the address bus.
  • Page 69 M3062PT3-RPD-E User’s Manual (2) Suspending and resuming trace measurement 1) Suspending trace measurement 2) Resuming trace measurement REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Suspend Click this toolbar button to suspend the trace measurement in progress. Re-Start Click this toolbar button to resume the trace measurement in progress.
  • Page 70: Write Mode

    M3062PT3-RPD-E User’s Manual (3) Trace points setup window 1) Trace points setup window 2) Setting the trace write condition 3) Realtime trace Write Condition dialog box REJ10J0040-0600 Rev.6.00 July 01, 2006 3. Usage (How to Use the Emulator Debugger) Trace Points Setting Window in initial state Clicking this toolbar button opens the trace point setting window.
  • Page 71: Ram Monitor Window

    M3062PT3-RPD-E User’s Manual 3.8 RAM Monitor Window This function makes it possible to make reference to the changes in memory contents without impairing the real-time performance for target program execution. The emulator PC4701 system is provided with the 1K-byte RAM monitoring area, which can be arranged in the 1K-byte space from any continuous address.
  • Page 72: Hardware Specifications

    M3062PT3-RPD-E 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 M3062PT3-RPD-E Item Applicable MCU Evaluation MCU...
  • Page 73: Access Timing

    M3062PT3-RPD-E User’s Manual 4.2 Access Timing Because this product emulates some ports, access timings are different from those of the actual MCUs. Chapters 4.2.1 (Vcc1=Vcc2=5V) and 4.2.2 (Vcc1=Vcc2=3V) describe the access timing using this product. 4.2.1 Operation Timing of Memory Expansion Mode and Microprocessor Mode (Vcc1=Vcc2=5V) (1) Separate Bus Timing Table 4.2 and Figure 4.1 show the bus timing in memory expansion mode and microprocessor mode (3-wait, accessing external area).
  • Page 74: Read Timing

    M3062PT3-RPD-E User’s Manual Read timing BCLK td(BCLK-CS) tcyc td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-RD) Hi-Z Write timing BCLK td(BCLK-CS) tcyc td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) td(BCLK-WR) WRL, WRH Hi-Z Figure 4.1 Memory expansion mode and microprocessor mode (3 wait, accessing external area) REJ10J0040-0600 Rev.6.00 July 01, 2006 tac2(RD-DB) td(BCLK-DB) td(DB-WR)
  • Page 75 M3062PT3-RPD-E User’s Manual (2) Multiplex Bus Timing Table 4.3 and Figure 4.2 show the bus timing in memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus). Table 4.3 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) Symbol td(BCLK-AD) Address output delay time...
  • Page 76 M3062PT3-RPD-E User’s Manual Read timing tcyc BCLK td(BCLK-CS) td(AD-ALE) th(ALE-AD) /DBi td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) Write timing tcyc BCLK td(BCLK-CS) td(AD-ALE) th(ALE-AD) /DBi td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) WRL, WRH Figure 4.2 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) REJ10J0040-0600 Rev.6.00 July 01, 2006 tac3(RD-DB) Hi-Z...
  • Page 77 M3062PT3-RPD-E User’s Manual (3) Timing Requirements Table 4.4 and Figure 4.3 list the timing requirements in memory expansion mode and microprocessor mode. Table 4.4 Timing requirements Symbol tsu(DB-RD) Data input setup time tsu(RDY-BCLK) RDY# input setup time tsu(HOLD-BCLK) HOLD# input setup time th(RD-DB) Data input hold time th(BCLK-RDY)
  • Page 78: Operation Timing Of Memory Expansion Mode And Microprocessor Mode (Vcc1=Vcc2=3V)

    M3062PT3-RPD-E User’s Manual 4.2.2 Operation Timing of Memory Expansion Mode and Microprocessor Mode (Vcc1=Vcc2=3V) (1) Separate Bus Timing Table 4.5 and Figure 4.4 show the bus timing in memory expansion mode and microprocessor mode (3 wait, accessing external area). Table 4.5 Memory expansion mode and microprocessor mode (3 wait, accessing external area) Symbol td(BCLK-AD) Address output delay time...
  • Page 79 M3062PT3-RPD-E User’s Manual Read timing BCLK td(BCLK-CS) tcyc td(BCLK-AD) td(BCLK-ALE) Hi-Z Write timing BCLK td(BCLK-CS) tcyc td(BCLK-AD) td(BCLK-ALE) WRL, WRH Hi-Z Figure 4.4 Memory expansion mode and microprocessor mode (3 wait, accessing external area) REJ10J0040-0600 Rev.6.00 July 01, 2006 th(BCLK-ALE) td(BCLK-RD) tac2(RD-DB) th(BCLK-ALE)
  • Page 80 M3062PT3-RPD-E User’s Manual (2) Multiplex Bus Timing Table 4.6 and Figure 4.5 show the bus timing in memory expansion mode and microprocessor mode (2 wait, accessing external area and using multiplex bus). Table 4.6 Memory expansion mode and microprocessor mode (2 wait, accessing external area and using multiplex bus) Symbol td(BCLK-AD) Address output delay time...
  • Page 81 M3062PT3-RPD-E User’s Manual Read timing tcyc BCLK td(BCLK-CS) td(AD-ALE) th(ALE-AD) /DBi td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) Write timing tcyc BCLK td(BCLK-CS) td(AD-ALE) th(ALE-AD) /DBi td(BCLK-AD) td(BCLK-ALE) th(BCLK-ALE) WRL, WRH Figure 4.5 Memory expansion mode and microprocessor mode (2 wait, accessing external area and using multiplex bus) REJ10J0040-0600 Rev.6.00 July 01, 2006 tac3(RD-DB) Hi-Z...
  • Page 82 M3062PT3-RPD-E User’s Manual (3) Timing Requirements Table 4.7 and Figures 4.6 show timing requirements in memory expansion mode and microprocessor mode. Table 4.7 Timing requirements Symbol tsu(DB-RD) Data input setup time tsu(RDY-BCLK) RDY# input setup time tsu(HOLD-BCLK) HOLD# input setup time th(RD-DB) Data input hold time th(BCLK-RDY)
  • Page 83: Differences Between The Actual Mcu And Emulator

    M3062PT3-RPD-E User’s Manual 4.3 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 84: Notes On Maskable Interrupts

    M3062PT3-RPD-E User’s Manual Note on RESET# Input: A low input from the user system to pin RESET# is accepted only while a user program is being executed (only while the RUN status LED on the PC4701's front panel is lit). Note on NMI# Input: A low input from the user system to pin NMI# is accepted only while a user program is being executed (only while the RUN status LED on the PC4701's front panel is lit).
  • Page 85 M3062PT3-RPD-E User’s Manual Notes on Setting "1" to Protect Bit 2 (PRC2) in Division by 2 Mode: Under the following conditions, even if you enable the PRC2 bit, writing to the register protected by the PRC2 bit (PD9, S3C, and S4C registers) cannot be done properly. (1) Between when stop mode is released and when a hardware reset is executed (2) Between when low power dissipation mode is enabled and when a hardware reset is executed Therefore, if the condition (1) or (2) applies, when you enable the PRC2 bit and write to the register protected...
  • Page 86: Connection Diagram

    M3062PT3-RPD-E User’s Manual 4.4 Connection Diagram Figure 4.7 shows a connection diagram of the M3062PT3-RPD-E. This connection diagram mainly shows the interface section. The circuits not connected to the user system such as the emulator's control system are omitted. Tables 4.10 to 4.12 show IC electric characteristics of this product for reference purposes. P67--P60, P117--P110 P77--P70, P127--P120 P84--P80, P137--P130...
  • Page 87 M3062PT3-RPD-E User’s Manual Table 4.10 Electrical characteristics of the 74HC4066 Symbol Item ON resistor ΔR ON resistor difference Leak current (Off) Leak current (On, output: open) Table 4.11 Electrical characteristics of the 7WH125 Symbol Item High level input voltage Low level input voltage High level output voltage Low level output voltage Leak current (Tristate)
  • Page 88: External Dimensions

    M3062PT3-RPD-E User’s Manual 4. Hardware Specifications 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Pod Figure 4.8 shows external dimensions of the M3062PT3-RPD-E. 4 0 . 0 11.0 1 0 . 5 33.0 11.0 189.0 437.0 193 .0 140.0 52.0 Unit: mm Figure 4.8 External dimensions of the emulation pod...
  • Page 89: External Dimensions Of The M30800T-Ptc

    M3062PT3-RPD-E User’s Manual 4.5.2 External Dimensions of the M30800T-PTC Figure 4.9 shows external dimensions of the converter board M30800T-PTC for a 100-pin LCC (included with the M3062PT3-RPD-E). 40.0 External dimension when connecting 100- pin LCC socket] Pattern wiring *2 Figure 4.9 External dimensions of the M30800T-PTC REJ10J0040-0600 Rev.6.00 July 01, 2006 55.0 M 30800T- PTC...
  • Page 90: External Dimensions Of The Converter Board M3062Pt-80Fpb

    Figure 4.10 shows external dimensions and a sample foot pattern of the converter board for an 80-pin 0.65mm pitch QFP M3062PT-80FPB (not included). 55.0 RENESAS M3062PT-80FPB REV.A MADE IN JAPAN Figure 4.10 External dimensions and a sample foot pattern of the M3062PT-80FPB 4.5.4 External Dimensions of the Converter Board M3T-F160-100NRB...
  • Page 91: External Dimensions Of The Converter Board M3T-F160-100Nsd

    M3062PT3-RPD-E User’s Manual 4.5.5 External Dimensions of the Converter Board M3T-F160-100NSD Figure 4.12 shows external dimensions and a sample foot pattern of the converter board for a 100-pin 0.5mm pitch LQFP M3T-F160-100NSD (not included). 55.0 Figure 4.12 External dimensions and a sample foot pattern of the M3T-F160-100NSD 4.5.6 External Dimensions of the Converter Board M3T-F160-128NRD Figure 4.13 shows external dimensions and a sample foot pattern of the converter board for a 128-pin 0.5mm pitch LQFP M3T-F160-128NRD (not included).
  • Page 92: Notes On Using This Product

    M3062PT3-RPD-E User’s Manual 4.6 Notes on Using This Product Notes on using this product are listed below. When debugging the MCU using the emulator, be careful about the following precautions. Note on the Version of the Emulator Debugger: Be sure to use this product with one of the following emulator debuggers. 1.
  • Page 93: Notes On Map References And Settings

    M3062PT3-RPD-E User’s Manual Notes on Setting the Work Area When Starting Up the Emulator Debugger: With this product, the emulator uses 54 bytes as a work area in emulation memory. Therefore, according to the memory mapping of the MCU you use, specify the work area addresses. In single-chip mode, set the work area address at 10000h.
  • Page 94 M3062PT3-RPD-E User’s Manual Note on Stack Area: With this product, a maximum 7 bytes of the user stack is consumed. Therefore, ensure the +7 bytes maximum capacity used by the user program as the user stack area. If the user stack does not have enough area, do not use areas which cannot be used as stack (SFR area, RAM area which stores data, or ROM area) as a work area.
  • Page 95 M3062PT3-RPD-E User’s Manual Note on Breaks: The area displaying break points in the program window of the emulator debugger shows the following breaks. (1) Software break This is a debugging function which generates a BRK interruption by changing an instruction at a specified address to a BRK instruction (00h) to break a program immediately before the system executes an instruction at a specified address.
  • Page 96: Troubleshooting

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

    M3062PT3-RPD-E User’s Manual 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LED Display of the PC4701 is Abnormal Table 5.1 LED's abnormal display and its checkpoints Error LEDs do not light up. All LEDs remain lit. The "POWER"...
  • Page 98 M3062PT3-RPD-E User’s Manual (2) Editor (Source) Window is Not Displayed at Debugger Startup (User System Connected) Table 5.2 Checkpoints of errors when starting up the emulator debugger (user system connected) Error ERROR 16005: Can't connect with the target. ERROR 16211: The version of the emulator and the firmware on the target are not same.
  • Page 99 M3062PT3-RPD-E User’s Manual (3) Editor (Source) Window is Not Displayed at Debugger Startup (User System Not Connected) Table 5.3 Checkpoints of errors when starting up the emulator debugger (user system not connected) Error ERROR 16005: Can't connect with the target. ERROR 16211: The version of the emulator and the firmware on the target are not same.
  • Page 100: 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 101: Maintenance And Guarantee

    M3062PT3-RPD-E 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 102: How To Make Request For Repair

    M3062PT3-RPD-E User’s Manual 6.5 How to Make Request for Repair If your product is found faulty, fill in the Repair Request Sheet included with this product, then send it along with this product for repair to your local distributor. Make sure that information in the Repair Request Sheet is written in as much detail as possible to facilitate repair.
  • Page 103 M3062PT3-RPD-E User’s Manual Publication Date: Jul. 01, 2006 Sales Strategic Planning Div. Published by: Renesas Technology Corp Microcomputer Tool Development Department Edited by: Renesas Solutions Corp. © 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan. Rev.6.00...
  • Page 104 M3062PT3-RPD-E User's Manual...

Table of Contents