M30850T2-EPB Renesas Electronics America, M30850T2-EPB Datasheet

no-image

M30850T2-EPB

Manufacturer Part Number
M30850T2-EPB
Description
DEV EMUL PROBE FOR M32C/80,84,85
Manufacturer
Renesas Electronics America
Datasheets

Specifications of M30850T2-EPB

Accessory Type
Probe Accessory Kit
For Use With/related Products
PC7501, M32C/80, M32C/84, M32C/85, M32C/86
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corporation without notice. Please review the latest information published
by Renesas Electronics Corporation through various means, including the Renesas Electronics
Corporation website (http://www.renesas.com).
www.renesas.com
M30850T2-EPB
Supported Devices:
M16C Family / M32C/80 Series
M32C/80, 84, 85, 86 and 8A Groups
Rev.3.00 Sep 2010
User's Manual

Related parts for M30850T2-EPB

M30850T2-EPB Summary of contents

Page 1

... M30850T2-EPB Supported Devices: M16C Family / M32C/80 Series M32C/80, 84, 85, 86 and 8A Groups All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject to change by Renesas Electronics Corporation without notice. Please review the latest information published by Renesas Electronics Corporation through various means, including the Renesas Electronics Corporation website (http://www ...

Page 2

All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm ...

Page 3

... Renesas Electronics Corporation 1753, Shimonumabe, Nakahara-ku, Kawasaki, Kanagawa, 211-8668, Japan Renesas Solutions Corp. Nippon Bldg., 2-6-2, Ote-machi, Chiyoda-ku, Tokyo 100-0004, Japan Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K. Renesas M32C/80,84,85,86,8A Group Emulation Probe M30850T2-EPB ...

Page 4

... M30850T2-EPB User’s Manual Preface The M30850T2-EPB is an emulation probe for M32C/80, 84, 85, 86 and 8A Group MCUs. The M30850T2-EPB is used by connecting to the PC7501 emulator main unit. This user's manual mainly describes specifications of the M30850T2-EPB emulation probe and how to setup it. For details on the emulator main unit and emulator debugger, which are used with the M30850T2-EPB, refer to each product's user's manual. ...

Page 5

... M30850T2-EPB User’s Manual Important Before using this product, be sure to read this user’s manual carefully. Keep this user’s manual, and refer to this when you have questions about this product. Emulator: The emulator in this document refers to the following products that are manufactured by Renesas Electronics Corporation: ...

Page 6

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

Page 7

... M30850T2-EPB User’s Manual Precautions for Safety This chapter describes the precautions which should be taken in order to use this product safely and properly. Be sure to read and understand this chapter before using this product. Contact us if you have any questions about the precautions described here. ...

Page 8

... 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 9

... M30850T2-EPB User’s Manual Cautions to Be Taken for Turning On the Power: • Turn ON the power of the emulator and user system as simultaneously as possible. Turn OFF the power of the emulator and user system as simultaneously as possible. • Do not leave either the emulator or user system powered on, because of leakage current the internal circuits may be damaged. • ...

Page 10

... M30850T2-EPB User’s Manual Contents Preface..........................................................................................................................................................................4 Important.......................................................................................................................................................................5 Precautions for Safety ..................................................................................................................................................7 Contents......................................................................................................................................................................10 User Registration ........................................................................................................................................................12 Terminology ................................................................................................................................................................13 1. Outline.....................................................................................................................................................................14 1.1 Package Components ...................................................................................................................................14 1.2 Other Tool Products Required for Development ...........................................................................................14 1.3 System Configuration ....................................................................................................................................15 1.3.1 System Configuration ..........................................................................................................................15 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs ..................................................................16 1 ...

Page 11

... M30850T2-EPB User’s Manual 4. Hardware Specifications .........................................................................................................................................76 4.1 Target MCU Specifications............................................................................................................................76 4.2 Differences between the Actual MCU and Emulator.....................................................................................77 4.3 Connection Diagrams ....................................................................................................................................80 4.4 External Dimensions......................................................................................................................................82 4.4.1 External Dimensions of the Emulation Probe .....................................................................................82 4.4.2 External Dimensions of the M30800T-PTC ........................................................................................83 4.4.3 External Dimensions of the M3T-F160-100NRB.................................................................................83 4.4.4 External Dimensions of the M3T-F160-100NSD.................................................................................84 4 ...

Page 12

... M30850T2-EPB User’s Manual User Registration When you install debugger software, a text file for user registration is created on your PC. Fill it in and email it to your local distributor. If you have replaced an emulator main unit or emulation probe, rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products ...

Page 13

... This means the emulation probe (this product) for the M32C/80, 84, 85, 86 and 8A Groups MCU. • MCU board M30850T2-EPBM The MCU board M30850T2-EPBM with an evaluation MCU. • Emulator debugger (M32C PC7501 emulator debugger or M3T-PD308F) This means a software tool to control the PC7501 emulator and this product and enable debugging. ...

Page 14

... M30850T2-EPB User’s Manual (this manual) M30850T2-EPB User’s Manual (Japanese) * Please keep the M30850T2-EPB's packing box and cushion material in your place for reuse at a later time when sending your product for repair or other purposes. Always use these packing box and cushion material when transporting this product ...

Page 15

... M30850T2-EPB User’s Manual 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 shows a configuration of the M30850T2-EPB system. 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 " ...

Page 16

... 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. Table 1.3 lists the definition of each system status LED ...

Page 17

... 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 ON Power is supplied to the target MCU ...

Page 18

... Specifiable bank * Notes on Using This Product - When the JP1 of the M30850T2-EPBM is set to VCC1>VCC2, the voltage of VCC2 on the user system should be 3 more using a CPU clock of 30 MHz or more when the voltage of VCC1 is higher then that of VCC2, set the SFR area of the intelligent I/O function to 2-wait (set the PM13 bit to " ...

Page 19

... 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 30) *1 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 20

... M30850T2-EPB User’s Manual 2. Setup This chapter describes the preparation for using this product, the procedure for starting up the emulator and how to change settings. 2.1 Flowchart of Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.1. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to “ ...

Page 21

... M30850T2-EPB User’s Manual 2.2 Installing the Emulator Debugger 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 (M32C PC7501 Emulator Debugger or M3T-PD308F) following the procedure described below. ...

Page 22

... M30850T2-EPB User’s Manual 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

... 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 24

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

... The voltage of the user system should be within the following. And do not change the voltage after activating the system. (1) When JP1 of the M30850T2-EPBM is set as VCC1 = 2: 3.0 V ≤ VCC1 = VCC2 ≤ 5.5 V (2) When JP1 of the M30850T2-EPBM is set as VCC1 > 2: 4.8 V ≤ VCC1 ≤ 5.2 V 3.3 V ≤ VCC2 < VCC1 R20UT0208EJ0300 Rev ...

Page 26

... 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 RUN WARNING SYSTEM TARGET ...

Page 27

... M30850T2-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 when: (1) you use this product for the first time (2) the firmware has been upgraded (3) the emulator debugger has been upgraded (4) you use this product with a PC7501 which was used with other emulation probe before If downloading firmware is not completed in the cases below, redownload the firmware ...

Page 28

... M30850T2-EPB User’s Manual 2.8 Self-check 2.8.1 Self-check Procedure To run the emulator self-check explained here below. While the self-check is in progress, LEDs will change as shown in Figure 2.6. (1) If the user system is connected, disconnect it. (2) Set the switches as the factory-settings to execute the self-check (see Table 2.1). ...

Page 29

... M30850T2-EPB User’s Manual 2.8 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. Note on the Self-check: • If the self-check does not result normally (excluding user system errors), the emulation probe may be damaged. ...

Page 30

... No1. pin *1: These items are available in one package Figure 2.7 Connection of the M30850T2-EPB and user system Note on Connecting the User System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. ...

Page 31

... Notes on Connecting the User System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M30850T2-EPB and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. • For purchasing the IC61-1004-051 or for technical information, contact Yamaichi Electronics Co., Ltd. ...

Page 32

... Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M3T-F160-100NRB are guaranteed for only 50 insertion/removal iterations. • The small connectors of the M30850T2-EPB and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. ...

Page 33

... Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M3T-100LCC-DMS and M3T-DIRECT100S are guaranteed for only 20 insertion/removal iterations. • The small connectors of the M30850T2-EPB and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. R20UT0208EJ0300 Rev.3.00 ...

Page 34

... Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M3T-100LCC-DMS and M3T-DUMMY100S are guaranteed for only 20 insertion/removal iterations. • The small connectors of the M30850T2-EPB and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. R20UT0208EJ0300 Rev.3.00 ...

Page 35

... Figure 2.12 Connecting to a 100-pin 0.5mm pitch foot pattern Notes on Connecting the User System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M30850T2-EPB and M3T-F160-100NSD are guaranteed for only 50 insertion/removal iterations. R20UT0208EJ0300 Rev.3.00 ...

Page 36

... Figure 2.13 Connecting to a 144-pin 0.5mm pitch foot pattern Notes on Connecting the User System: • Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. • The small connectors of the M30850T2-EPB and M3T-FLX-144NSD are guaranteed for only 50 insertion/removal iterations. R20UT0208EJ0300 Rev.3.00 ...

Page 37

... 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. SW1 AVCC EXT AVSS Figure 2.14 Positions of the switches R20UT0208EJ0300 Rev.3.00 ...

Page 38

... 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) JP1* VDDIO AVCC (Factory-setting) SW1 AVSS P87 (Factory-setting) ...

Page 39

... 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. Table 2.3 Switch settings of the M30850T2-EPBM (SW5) Analog input port ...

Page 40

... 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 more. • If using a CPU clock frequency of 30 MHz or more when the voltage of VCC1 is higher than that of VCC2, set the SFR area of the intelligent I/O function to 2-wait (set the PM13 bit to “ ...

Page 41

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

Page 42

... M30850T2-EPB User’s Manual 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 2. Setup Page 42 of 100 ...

Page 43

... 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: • ...

Page 44

... 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 45

... 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 46

... 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. SW1 SW2 SW3 ...

Page 47

... M30850T2-EPB User’s Manual 3. Usage (Emulator Debugger) This chapter describes how to start up the emulator debugger and how to use the major windows, taking the M3T-PD308F as an example. The following can apply to the M32C PC7501 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) > ...

Page 48

... M30850T2-EPB User’s Manual 3. Specifying the communication interface (LAN communication) Cancel 4. Specifying the communication interface (USB communication) Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 49

... 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 50

... M30850T2-EPB User’s Manual 7. Using or not using the CPU rewrite mode Cancel 8. Executing the self-check Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 51

... M30850T2-EPB User’s Manual (2) Debugging Information tab 1. Specifying the compiler used and the object format Cancel (3) Reset tab 1. Resetting the target after downloading Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Specifying the compiler used and the object format Specify the compiler you are using and the format of the object file output by the compiler ...

Page 52

... M30850T2-EPB User’s Manual (4) Emulator tab 1. Specifying the target clock Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Specifying the target clock Specify the clock sources supplied to the MCU (main clock and sub clock). Select the appropriate clock sources according to the clock used by your target MCU. ...

Page 53

... M30850T2-EPB User’s Manual (5) Resume tab 1. Automatically executing a script command Cancel 2. Restoring the last window state Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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. Clicking the “ ...

Page 54

... 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". The MCU status shows the pin level of the user system. ...

Page 55

... 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 56

... 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: • 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 57

... 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 not necessary to deliberately specify emulation memory as expansion area in order to allocate the internal ROM area. • ...

Page 58

... M30850T2-EPB User’s Manual (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM Cancel R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Setting to clear the MCU’s internal flash ROM Specify whether or not you want the MCU’s internal flash ROM to be cleared when downloading the user program or data. (When cleared, the content of the flash ROM is initialized to 0xFF.) The MCU’ ...

Page 59

... 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... R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Initial screen of the program window ...

Page 60

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) RESET Resets the program. ...

Page 61

... M30850T2-EPB User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup Breakpoint display area R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 62

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 63

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) ...

Page 64

... M30850T2-EPB User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 65

... M30850T2-EPB User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 66

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

Page 67

... M30850T2-EPB User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 68

... M30850T2-EPB User’s Manual 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item OptionalWindows Trace Window R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Function Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements. It has the following four display ...

Page 69

... M30850T2-EPB User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 70

... M30850T2-EPB User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) Stop 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 71

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window ...

Page 72

... M30850T2-EPB User’s Manual 3. Specifying a trace range 4. Setting the trace write condition R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 73

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 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 74

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) Base Clicking this toolbar button opens the RAM monitor area setting window ...

Page 75

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 3. Usage (How to Use the Emulator Debugger) ...

Page 76

... Table 4.1 Specifications of target MCUs for the M30850T2-EPB Item Applicable MCU Applicable MCU mode Maxi. ROM/RAM capacity Operating voltage/frequency* * When the JP1 of the M30850T2-EPBM is set to VCC1>VCC2, the voltage of VCC2 on the user system should be 3 more. R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Description M32C/80, 84, 85, 86 and 8A Groups Single-chip mode, memory expansion mode, microprocessor mode 1 ...

Page 77

... M30850T2-EPB User’s Manual 4.2 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions. Notes on Power Supply to the User System: • Pin Vcc of the emulator is connected to the user system to observe the voltage of the user system. Therefore design your system so that the user system is powered separately. • ...

Page 78

... M30850T2-EPB User’s Manual Note on Differences between the Actual MCU and Emulator: • Operations of the emulator system differ from those of actual MCUs as listed below. (1) Reset condition (2) Initial values of internal resource data of an MCU at power-on (3) Interrupt stack pointer (ISP) after a reset is released (4) Capacities of the internal memories (ROM and RAM) The MCU whose RAM size (400h--63FFh) is mounted on this product ...

Page 79

... 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 area including a reset vector area, set a reset vector using a dump window etc. ...

Page 80

... 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 81

... M30850T2-EPB User’s Manual AP15 0 * AP15 1 * AP15 2 * AP15 Figure 4.2 Connection diagram (2/2) Table 4.2 Electrical characteristics of the 74HC4066 Symbol Item R ON resistor ON ΔR ON resistor difference ON I Switch input leak current IN R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 IC5 1 2 AP15 AP15 AP15 6 XC ...

Page 82

... 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 R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 85 ...

Page 83

... 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). ...

Page 84

... 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). ...

Page 85

... 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 necessary to download the dedicated firmware (control software built into the PC7501). Please note that this necessary to start up the PC7501 in maintenance mode. For firmware download procedures, see " ...

Page 86

... 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. Therefore, you do not need to execute this command again. • ...

Page 87

... 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 area starting from F00000h are allocated for use by the debug monitor. • The 64 KB allocated for the debug monitor cannot be used. ...

Page 88

... Notes on Service-Life of the MCU's Internal Flash ROM: • With the M30850T2-EPB, programs are downloaded to the MCU's flash ROM when debugging in single-chip mode or memory expansion mode. Because the number of write/erase cycles of this ROM is limited, the ROM must be replaced when at the end of its service-life. • ...

Page 89

... 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 (" ...

Page 90

... M30850T2-EPB User’s Manual Notes on A/D Conversion: • When setting the register below to use the analog input port selection function, you need to set the direction register of port P15 for a pin that performs A/D conversion to "input". And you need to set the function selection register of port P15 for a pin that performs A/D conversion to "I/O port" ...

Page 91

... M30850T2-EPB User’s Manual 5. Troubleshooting This chapter describes how to troubleshoot when this product does not work properly. 5.1 Flowchart to Remedy the Troubles 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 92

... 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 93

... 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 94

... 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. R20UT0208EJ0300 Rev.3.00 Sep 16, 2010 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly. (2) Check that the connector is installed properly to the user system. ...

Page 95

... M30850T2-EPB User’s Manual 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: ...

Page 96

... 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 12) of this user's manual ...

Page 97

... M30850T2-EPB User’s Manual 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. Transportation fees at sending your product for repair Please send your product to us for repair at your expense. ...

Page 98

... M30850T2-EPB User's Manual Publication Date: Sep 16, 2010 Published by: Renesas Electronics Corporation Microcomputer Tool Development Department 2 Edited by: Renesas Solutions Corp. Rev.3.00 ...

Page 99

... SALES OFFICES Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U ...

Page 100

... M30850T2-EPB User’s Manual R20UT0208EJ0300 (Previous Number: REJ10J1005-0200) ...

Related keywords