Renesas Emulation Probe M306V8T-EPB User Manual
Renesas Emulation Probe M306V8T-EPB User Manual

Renesas Emulation Probe M306V8T-EPB User Manual

Emulation probe for m16c/60 series m16c/6v group m306v8
Table of Contents

Advertisement

Quick Links

REJ10J0777-0100(T)
M306V8T-EPB
User's Manual
Emulation Probe for M16C/60 Series M16C/6V Group M306V8
Rev.1.00
Aug. 1, 2005

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Emulation Probe M306V8T-EPB and is the answer not in the manual?

Questions and answers

Summary of Contents for Renesas Emulation Probe M306V8T-EPB

  • Page 1 REJ10J0777-0100(T) M306V8T-EPB User’s Manual Emulation Probe for M16C/60 Series M16C/6V Group M306V8 Rev.1.00 Aug. 1, 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. 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

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

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

    M306V8T-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 M306V8T-EPB User’s Manual Cautions to Be Taken for Turning On the Power: Turn ON/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

    1.5 Operating Environment...19 2. Setup...20 2.1 Flowchart of Starting Up the Emulator ...20 2.2 Installing the Emulator Debugger (Renesas Debugger Package for M16C) ...21 2.2.1 Installing the Emulator Debugger...21 2.3 Connecting the Host Machine ...22 2.4 Connecting the PC7501 ...23 2.5 Connecting the Power Supply for the Emulator ...24...
  • Page 10 M306V8T-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) ...43 3.1 Starting Up the Emulator Debugger ...43 3.1.1 INIT Dialog Box ...43 3.1.2 MCU Setting Dialog Box ...48 3.1.3 Checking Connections of the Emulator System...51 3.2 Editor (Source) Window...52 3.3 Hardware Breakpoint Setting Window...55 3.4 Trace Window...60 3.5 RAM Monitor Window...63...
  • 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 REJ10J0777-0100 Rev.1.00 2005.08.01 Page 11 of 90...
  • Page 12: Terminology

    Integrated development environment High-performance Embedded Workshop This tool provides powerful support for the development of embedded applications for Renesas microcomputers. It has an emulator debugger function allowing for the emulator and emulation probe to be controlled from the host machine via an interface.
  • Page 13: Outline

    M306V8T-EPB User’s Manual 1. Outline This chapter describes the package components, the system configuration, the specifications of the emulator functions and the operating environment. 1.1 Package Components The M306V8T-EPB package consists of the following items. When unpacking it, check to see if your M306V8T-EPB contains all of these items.
  • Page 14: Other Tool Products Required For Development

    Table 1.2 Other tool products required for development Product Emulator main unit Emulator debugger * For purchasing these products, contact your local distributor. REJ10J0777-0100 Rev.1.00 2005.08.01 Product name PC7501 Renesas Debugger Package for M16C Family M3T-PD30 1. Outline Page 14 of 90...
  • Page 15: System Configuration

    LPT parallel, USB or LAN interface Figure 1.1 System configuration (1) Emulation probe M306V8T-EPB This is an emulation probe for the M16C/60 Series M16C/6V Group M306V8 MCUs and contains an evaluation MCU. (2) Converter board M306V8T-PTC This is a converter board for connecting to 116-pin 0.65-mm-pitch LQFP foot pattern on the user system. For details, refer to "2.9 Connecting the User System"...
  • Page 16: Names And Functions Of The Pc7501 Upper Panel Leds

    M306V8T-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. System status LEDs 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 17 M306V8T-EPB User’s Manual (2) Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system. Table 1.4 lists the definition of each target status LED. Table 1.4 Definition of the target status LEDs Name Status POWER...
  • Page 18: Specifications

    M306V8T-EPB User’s Manual 1.4 Specifications Tables 1.5 lists the specifications of the M306V8T-EPB. Table 1.5 Specifications of the M306V8T-EPB Applicable MCU Applicable MCU mode Maxi. ROM/RAM capacity Applicable power supply Maximum operating frequency Emulation memory Basic debugging functions Real-time trace function Real-time RAM monitor function Hardware break function Execution time measurement function Time between program start and stop...
  • Page 19: Operating Environment

    M306V8T-EPB User’s Manual 1.5 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1.6 and 1.7. Table 1.6 Operating environmental conditions Item Operating temperature Storage temperature Table 1.7 Operating environment of the host machine Item Host machine Memory...
  • Page 20: Setup

    Refer to “1.1 Package Components” (page 13). Refer to “User Registration” (page 11). Install or the Renesas Debugger Package for M16C. Connect the PC7501 to the host machine with the LPT parallel interface cable, USB interface cable or LAN interface cable.
  • Page 21: Installing The Emulator Debugger (Renesas Debugger Package For M16C)

    If the OS used in your host machine is Windows XP or 2000, this installation must be executed by a user with administrator rights. Be aware that users without administrator rights cannot complete the installation. Install the emulator debugger Renesas Debugger Package for M16C following the procedure described below. 2.2.1 Installing the Emulator Debugger (1) Downloading the Renesas Debugger Package for M16C Download the Renesas Debugger Package for M16C from the URL below.
  • Page 22: Connecting The Host Machine

    M306V8T-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 23: Connecting The Pc7501

    M306V8T-EPB User’s Manual 2.4 Connecting the PC7501 Figure 2.3 shows how to connect the PC7501 and the emulation probe. M306V8T-EPB M306V8T-PTC M306V8T-EPB M306V8T-PTC M306V8T-EPB M306V8T-PTC M3T-FLX160-EPB M306V8T-EPB M306V8T-PTC M306V8T-EPB M306V8T-PTC 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 24: Connecting The Power Supply For The Emulator

    M306V8T-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 25: Turning On The Power

    M306V8T-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 26: Led Display When The Emulator Starts Up Normally

    M306V8T-EPB User’s Manual 2.6.3 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 STATUS Figure 2.4 LED display when the power turned on PC7501 Note on Memory Expansion or Microprocessor Mode: To use the memory expansion or microprocessor mode, be sure to set pins RDY* and HOLD* so that they are not active at startup.
  • Page 27: Downloading Firmware

    M306V8T-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. When you use this product for the first time When the firmware has been upgraded When the emulator debugger or firmware has been upgraded...
  • Page 28: Self-Check

    M306V8T-EPB User’s Manual 2.8 Self-check 2.8.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 as the factory-settings to execute the self-check (see Table 2.1 on page 34 and Table 2.2 on page 35).
  • Page 29: If An Error Is Detected In The Self-Check

    M306V8T-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 30: Connecting The User System

    M306V8T-EPB User’s Manual 2.9 Connecting the User System Figure 2.7 shows how to connect this product according to your user system. M306V8T-EPB Figure 2.7 Connecting the user system according to user systems Note on Connecting the User System: Take care not to attach a converter board in a wrong direction. It may cause a fatal damage to the emulator and user system.
  • Page 31: Connecting The User System

    M306V8T-EPB User’s Manual 2.9.1 Connecting the User System When connecting the emulation probe to a 116-pin 0.65-mm-pitch foot pattern on the user system, follow the procedures below. (1) Mount the NQPACK116SB (included) to the user system. (2) Connect the YQPACK116SB (included) to the NQPACK116SB and secure it with the YQ-Guide’s. (3) Connect M306V8T-PTC to the YQPACK116SB.
  • Page 32: Switch Settings

    M306V8T-EPB User’s Manual 2.10 Switch Settings 2.10.1 Setting Switches of Emulation Probe Set the switches of the emulation probe according to the condition. Figure 2.9 shows the positions of the switches of the M306V8T-EPB. Figure 2.9 Positions of the switches REJ10J0777-0100 Rev.1.00 2005.08.01 Opening the upper cover (1) Slide aside the upper cover.
  • Page 33 M306V8T-EPB User’s Manual (1) Circuits for JP2, JP3, SW1 to SW5 on the M306V8T-EPB board, OSD resistor, capacitors, etc. Figure 2.10 shows these circuits. OUT2 OUT1 SCL6 SDA6 SCL5 SDA5 SCL4 SDA4 HSYNC2/DA1 DIGB2 DIGG2 DIGR2 DIGB1 DIGG1 DIGR1 OSCOUT B/DIGB0 G/DIGG0 R/DIGR0...
  • Page 34 M306V8T-EPB User’s Manual (1) Setting JP2, JP3, SW1 to SW5 on the M306V8T-EPB Tables 2.1 and 2.2 show the settings of JP2, JP3, SW1 to SW5 on the M306V8T-EPB. Table 2.1 Switch settings of the M306V8T-EPB (JP2, JP3, SW1 to SW5) (1/2) Switch Switch name VCC3...
  • Page 35 M306V8T-EPB User’s Manual Table 2.3 Switch settings of the M306V8T-EPB (JP2, JP3, SW1 to SW5) (2/2) Switch Switch name P103/CAP CVIN1 CVIN2 Notes on Switch Settings: Be sure to turn of the power before setting the switches or connecting the cables. Otherwise, the internal circuits may be damaged.
  • Page 36: Writing Data To The Osdrom

    M306V8T-EPB User’s Manual 2.10.2 Writing Data to the OSDROM This product is not able to write data into the OSDROM (internal resources of the evaluation MCU). Remove the evaluation MCU of IC3 from the IC socket and write data to the OSDROM using the dedicated programmer. Figure 2.11 shows removing and attaching the evaluation MCU (1 to 6)。...
  • Page 37: Pullup Of Emulation Ports

    M306V8T-EPB User’s Manual 2.10.3 Pullup of Emulation Ports Because this product emulates some I/O ports (P0 to P5, P10), you can not pullup ports P0 to P5 by the pullup control registers. Install the included resistor arrays (51 kΩ) as necessary. Figure 2.12 shows the positions of the pullup resistors. And, Table 2.3 lists the emulation port numbers and the pullup resistor part numbers.
  • Page 38: Selecting Clock Supply

    M306V8T-EPB User’s Manual 2.11 Selecting Clock Supply 2.11.1 Clocks 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 shows the clocks and their initial settings. Table 2.4 Clock supply to the MCU Display of Clock...
  • Page 39 M306V8T-EPB User’s Manual 2. Setup (2) Replacing an Oscillator Circuit Board 1. Remove the four screws of both sides of this product and lift off the upper cover (see Figure 2.13). Figure 2.13 Removing the upper cover REJ10J0777-0100 Rev.1.00 2005.08.01 Page 39 of 90...
  • Page 40 M306V8T-EPB User’s Manual 1. Replace the oscillator circuit board (see Figure 2.14). Figure 2.14 Replacing the oscillator circuit board 2. Reinstall the upper cover and secure the four screws. Note on Replacing the Oscillator Circuit Board: Always shut OFF power when removing the upper cover or replacing oscillator circuit board. Otherwise, internal circuits may be damaged.
  • Page 41 M306V8T-EPB User’s Manual (3) Using the Internal Oscillator Circuit Bare Board To use the emulation probe at a frequency you like, build a desired oscillator circuit on the included OSC-2 oscillator circuit bare board. Figure 2.15 shows an external view of the OSC-2 oscillator circuit bare board and where the connector pins are located.
  • Page 42: Using The Oscillator Circuit On The User System

    M306V8T-EPB User’s Manual 2.11.3 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.17 in the user system and input the oscillator output at 50% duty (within the operating range of the evaluation MCU) into pin X be open.
  • Page 43: Usage (How To Use The Emulator Debugger)

    M306V8T-EPB User’s Manual 3. Usage (How to Use the Emulator Debugger) This chapter describes how to start up the emulator debugger from the High-performance Embedded Workshop. 3.1 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.
  • Page 44 M306V8T-EPB User’s Manual 2. Specifying the communication interface REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Specifying the communication interface (LPT communication) - 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 45 M306V8T-EPB User’s Manual 3. Executing the self-check 4. Using or not using the address match break function 5. Using or not using CPU rewrite mode REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Executing the self-check Enable this function when you want the emulator to be self- checked at startup.
  • Page 46 - 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 47 M306V8T-EPB User’s Manual (4) Automatically executing a script command REJ10J0777-0100 Rev.1.00 2005.08.01 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...” button and specify the script file to be executed.
  • Page 48: Mcu Setting Dialog Box

    M306V8T-EPB User’s Manual 3.1.2 MCU Setting Dialog Box MCU setting dialog box sets the information of the user system. It will be displayed after closing the Init dialog box. (1) MCU tab 1. MCU Setting M16C/6V8 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 49 M306V8T-EPB User’s Manual 2. Option M16C/6V8 3. MCU Status M16C/6V8 Notes on Selecting a Processor Mode: The MCU status is shown in “MCU Status” of the EMEM dialog box. Check that it matches to the processor mode to be set. Check that the RDY* and HOLD* are “H”...
  • Page 50 M306V8T-EPB User’s Manual (2) MAP tab (3) Flash Clear REJ10J0777-0100 Rev.1.00 2005.08.01 INTERNAL 3. Usage (How to Use the Emulator Debugger) Specifying emulation allocation Sets the memory area assigned to the emulation memory by 4KB. Up to four areas can be set. An area set to [INTERNAL] will be allocated to the emulation memory.
  • Page 51: Checking Connections Of The Emulator System

    M306V8T-EPB User’s Manual 3.1.3 Checking Connections of the Emulator System REJ10J0777-0100 Rev.1.00 2005.08.01 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’ve finished setting up the Init dialog box and the MCU Setting dialog box, you will see a message “Connected”...
  • Page 52: Editor (Source) Window

    M306V8T-EPB User’s Manual 3.2 Editor (Source) Window (1) Program window (2) Program execution REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Editor (Source) window The editor (source) window is a window that always shows the content of the source file corresponding to the current position of the program counter.
  • Page 53 M306V8T-EPB User’s Manual (3) Setting break points 1. Screen after software breakpoint setup REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Breakpoint setup screen There are three types of breakpoints as described below. - Address match breakpoint 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 54 M306V8T-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 REJ10J0777-0100 Rev.1.00 2005.08.01 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 55: Hardware Breakpoint Setting Window

    M306V8T-EPB User’s Manual 3.3 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 REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box.
  • Page 56 M306V8T-EPB User’s Manual 3. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J0777-0100 Rev.1.00 2005.08.01 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 57: Setting Data

    M306V8T-EPB User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J0777-0100 Rev.1.00 2005.08.01 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 58 M306V8T-EPB 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 wordwise accesses to the even-addresses STE.B R0L,[A1A0](R0L=E5h,A1=0000h,A0=20E2h) Low-order data effective...
  • Page 59 M306V8T-EPB User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition REJ10J0777-0100 Rev.1.00 2005.08.01 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 60: Trace Window

    M306V8T-EPB User’s Manual 3.4 Trace Window The trace window is used to show the results of real-time trace measurements. (1) Trace window 1. Trace window display REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Trace window The trace window is used to show the results of real-time trace measurements.
  • Page 61 M306V8T-EPB User’s Manual 2. Trace window (Bus display) 3. Trace window (Disassemble display) 4. Trace window (Source display) REJ10J0777-0100 Rev.1.00 2005.08.01 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. - Address Shows the status of the address bus.
  • Page 62 M306V8T-EPB User’s Manual (2) Trace point setup window 1 Trace point setup window 2. Setting the trace write condition 3. Realtime trace Write Condition dialog box REJ10J0777-0100 Rev.1.00 2005.08.01 3. Usage (How to Use the Emulator Debugger) Trace Point Setting Window in initial state Clicking this toolbar button opens the trace point setting window.
  • Page 63: Ram Monitor Window

    M306V8T-EPB User’s Manual 3.5 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 PC7501 system is provided with the 4KB RAM monitor area. This RAM monitor area can be divided into the 16-block area in units of arbitrary continuous address or 256 bytes for mapping or layout.
  • Page 64: Hardware Specifications

    M306V8T-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 M306V8T-EPB Item Applicable MCU Evaluation MCU...
  • Page 65: Access Timing

    M306V8T-EPB User’s Manual 4.2 Access Timing Because this product emulates some ports, access timings are different from those of the actual MCUs. Chapter 4.2.1 describes the access timing using this product. 4.2.1 Operation Timing of Memory Expansion Mode and Microprocessor Mode (Vcc1=Vcc2=Vcc3=3.3V) (1) Separate Bus Timing Table 4.2 and Figure 4.1 show the bus timing in memory expansion mode and microprocessor mode.
  • Page 66 M306V8T-EPB 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) WR , WRL ,WRH Hi-Z Figure 4.1 Memory expansion mode and microprocessor mode (3-wait, accessing external area) REJ10J0777-0100 Rev.1.00 2005.08.01 tac2(RD-DB) td(BCLK-DB) td(DB-WR)
  • Page 67 M306V8T-EPB 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 68 M306V8T-EPB 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 , W RH Figure 4.2 Memory expansion mode and microprocessor mode (2-wait, accessing external area, using multiplex bus) REJ10J0777-0100 Rev.1.00 2005.08.01 tac3(RD-DB) Hi-Z...
  • Page 69 M306V8T-EPB User’s Manual (3) Timing Requirements Tables 4.4 and Figure 4.3 list the timing requirements. 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) RDY* input hold time th(BCLK-HOLD)
  • Page 70: Differences Between The Actual Mcu And Emulator

    M306V8T-EPB 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 71 M306V8T-EPB User’s Manual Notes on Reset Vector Area: Memory in the emulator main unit is always selected as a reset vector area (FFFFCh--FFFFFh) in order to operate the evaluation MCU in the emulator-dedicated mode. Set the contents of the reset vector area in one of the following ways.
  • Page 72 M306V8T-EPB User’s Manual Notes on Pullup Control: Because this product emulates some I/O ports (P0 to P5, P10), you can not pullup ports P0 to P5 by the pullup control registers, Install the included resistor arrays (51 kΩ) as necessary. The initial value of pullup control register 1 PUR1 of this product is different from that of an actual MCU.
  • Page 73: Connection Diagrams

    M306V8T-EPB User’s Manual 4.4 Connection Diagrams Figure 4.4 shows a connection diagram of the M306V8T-EPB. This connection diagram mainly show the circuit to be connected to the user system. The circuits not connected to the user system such as the emulator’s control system are omitted. Tables 4.5 and 4.6 show IC electric characteristics of this product for reference purpose.
  • Page 74 M306V8T-EPB User’s Manual Table 4.5 Electrical characteristics of the 74HC4066 Symbol Item ON resistor ΔR ON resistor difference Leak current (Off) Leak current (On, output: open) Table 4.6 Electrical characteristics of port emulation FPGA Symbol Item "H" level input voltage "L"...
  • Page 75: External Dimensions

    M306V8T-EPB User’s Manual 4. Hardware Specifications 4.5 External Dimensions 4.5.1 External Dimensions of the Emulation Probe Figure 4.5 shows external dimensions of the M306V8T-EPB. RENESAS Unit: mm Figure 4.5 External dimensions of the emulation probe REJ10J0777-0100 Rev.1.00 2005.08.01 Page 75 of 90...
  • Page 76: External Dimensions Of The M306V8T-Ptc

    M306V8T-EPB User’s Manual 4.5.2 External Dimensions of the M306V8T-PTC Figure 4.6 shows external dimensions of the converter board M306V8T-PTC for a 116-pin LCC (included with the M306V8T- EPB). 53.0 M306V8T-PTC REV.A 53.0 MADE IN JAPAN Figure 4.6 External dimensions of the M306V8T-PTC REJ10J0777-0100 Rev.1.00 2005.08.01 16.5 Unit: mm...
  • Page 77: Notes On Using This Product

    Note on the Version of the Emulator Debugger: Be sure to use this product with one of the following emulator debuggers. 1. Renesas Debugger Package for M16C R8C PC7501 V.1.00.00 Release 01 or later 2. M3T-PD30F V.2.20 Release 1 or later Note on Selecting the MCU File: Select the MCU file “M16C6V8.mcu”...
  • Page 78 M306V8T-EPB User’s Manual Note on Clock Supply to the MCU: A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger. (1) When "Internal" is selected: A clock generated by the oscillator circuit board in the PC7501 is supplied. It is continually supplied regardless of the status of the user system clock and that of the user program execution.
  • Page 79: Notes On Address-Match Breaks

    M306V8T-EPB User’s Manual Note on Breaks: The area displaying break points in the program window of the emulator debugger shows the following breaks. (1) Address-match break This is a debugging function which breaks a program, using the address-match interrupt function of the MCU, immediately before the system executes an instruction at a specified address.
  • Page 80 M306V8T-EPB User’s Manual Notes on Internal Flash ROM of the MCU: In single-chip mode and memory expansion modes, this product downloads a user program to the flash ROM of an MCU. By checking "Debug Option" in the MCU tab of the MCU setting dialog box of the emulator debugger, you can disable the operation of the internal flash ROM of the MCU to use the emulation memory.
  • Page 81: Notes On Address-Match Interrupts

    M306V8T-EPB User’s Manual Notes on Debugging in CPU Rewrite Mode: When you debug an M16C/60 Series MCUs in CPU rewrite mode, do not change the block 0 area (FF000h-- FFFFFh) of the flash memory. Otherwise, the emulator will be uncontrollable. If you check "Debug the program using CPU Rewrite Mode"...
  • Page 82: 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 83: When The Emulator Debugger Does Not Start Up Properly

    M306V8T-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. Target Status POWER LED does not light up.
  • Page 84 M306V8T-EPB User’s Manual (2) MCU Setting Dialog Box Does Not Appear at Emulator 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. Emulator’s version is not the same version as the firmware in the target.
  • Page 85 M306V8T-EPB User’s Manual (3) Errors Occur at Emulator Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0777-0100 Rev.1.00 2005.08.01 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly.
  • Page 86: How To Request For Support

    M306V8T-EPB User’s Manual 5.3 How to Request for Support After checking the items in "5 Troubleshooting", send the following information to your local distributor. Customer Information - Company: - Address: - Department: - Name: - Phone: - Fax: - Email address: Product information - Software name: - Version:...
  • Page 87: Maintenance And Guarantee

    M306V8T-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 88: 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 89 M306V8T-EPB Publication Date: Aug. 1, 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 90 M306V8T-EPB User’s Manual...

Table of Contents