Summary of Contents for Renesas Emulation Probe for M32C/87 Group M30870T-EPB
Page 1
REJ10J0482-0300(T) M30870T-EPB User's Manual Emulation Probe for M32C/87 Group Rev.3.00 Feb. 16, 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.
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).
(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
M30870T-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)
M30870T-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
M30870T-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
M30870T-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.
M30870T-EPB User’s Manual Contents Preface...3 Important...4 Precautions for Safety ...6 User Registration ...11 Terminology ...12 1. Outline...13 1.1 Package Components ...13 1.2 Other Tool Products Required for Development ...13 1.3 System Configuration ...14 1.3.1 System Configuration ...14 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs ...15 1.4 Specifications ...17 1.5 Operating Environment...18 2.
Page 10
M30870T-EPB User’s Manual 4. Hardware Specifications ...79 4.1 Target MCU Specifications...79 4.2 Differences between the Actual MCU and Emulator...80 Note on Differences between the Actual MCU and Emulator ...80 Note on RESET* Input ...80 Note on RDY* Input...80 Note on HOLD* Input ...80 Note on NMI* Input...80 Notes on Reset Vector Area ...81 Notes on Stack Area ...81...
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 REJ10J0482-0300 Rev.3.00 February 16, 2006 C:\Program Files\Renesas\Hew\Support regist_tool@renesas.com User Registration Page 11 of 104...
M30870T-EPB User’s Manual Terminology Terminology Some specific words used in this user's manual are defined as follows: Emulator system This means an emulator system built around the PC7501 emulator. The PC7501 emulator system is configured with an emulator main unit, emulation probe, host machine and emulator debugger. Emulator main unit (Hereafter PC7501) This means an emulator main unit for M16C Family MCUs.
M30870T-EPB User’s Manual 1. Outline This chapter describes the package components, the system configuration and the preparation for using this product for the first time. 1.1 Package Components The M30870T-EPB package consists of the following items. When unpacking it, check to see if your M30870T-EPB contains all of these items.
M30870T-EPB User’s Manual 1.3 System Configuration 1.3.1 System Configuration Figure 1.1 shows a configuration of the M30870T-EPB system. Figure 1.1 System configuration (1) Emulation probe M30870T-EPB (this product) This emulation probe contains an evaluation MCU. (2) Converter board M30800T-PTC (included) This is a converter board for connecting to the user system (for 100-pin 0.65-mm-pitch LCC socket).
M30870T-EPB User’s Manual 1.3.2 Names and Functions of the PC7501 Upper Panel LEDs Figure 1.2 shows the names of the LEDs on the upper panel of the emulator. Figure 1.2 Names of the LEDs on the upper panel of the PC7501 (1) System Status LEDs The system status LEDs indicate the emulator PC7501's power supply, firmware operating status, etc.
Page 16
M30870T-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...
M30870T-EPB User’s Manual 1.4 Specifications Tables 1.5 and 1.6 list the specifications of the M30870T-EPB. Table 1.5 M30870T-EPB specifications (1/2) Applicable MCUs Evaluation MCU Usable mode Maximum operating frequency* Applicable power supply Basic debugging functions Real-time trace function Real-time RAM monitor function Hardware break function Execution time measurement function C0 coverage...
M30870T-EPB User’s Manual Table 1.6 M30870T-EPB specifications (2/2) Host machine interface Power supply to emulator Connection to user system (see "2.9 Connecting the User System" on page 29) 1.5 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1.7 and 1.8. Table 1.7 Operating environmental conditions Item Operating temperature...
M30870T-EPB User’s Manual 2. Setup This chapter describes the preparation for using this product, the procedure for starting up the emulator and how to change settings. 2.1 Flowchart of Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2.1. For details, refer to each section hereafter. And, when the emulator does not start up normally, refer to “5.
Install the emulator debugger (M32C PC7501 Emulator Debugger or M3T-PD308F) following the procedure described below. (1) Downloading the emulator debugger (as occasion demands) Download the emulator debugger from the URL below (free of charge). http://download.renesas.com/eng/mpumcu/upgrades/in_circuit_emulators/pc7501/index.html (2) Launching the installer Start the “setup.exe” program.
M30870T-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.
M30870T-EPB User’s Manual 2.4 Connecting the PC7501 Figure 2.3 shows how to connect the PC7501 and the emulation probe. Figure 2.3 Connecting the PC7501 and emulation probe Cautions for Connecting the PC7501: When connecting the emulation probe, be sure to hold the both sides of the emulation probe horizontally and insert it directly.
M30870T-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.
M30870T-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.
M30870T-EPB User’s Manual 2.6.4 LED Display When the Emulator Starts Up Normally Figure 2.4 shows upper panel LED lighting status when the emulator started up properly. Check it when starting up the emulator system. POWER POWER SAFE CLOCK ERROR RESET WARNING SYSTEM TARGET...
M30870T-EPB User’s Manual 2.7 Downloading Firmware 2.7.1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below. Normally, the following are automatically detected when the emulator debugger is started up, and the firmware is downloaded. (1) When you use this product for the first time (2) When the firmware has been upgraded (3) When the emulator debugger has been upgraded...
M30870T-EPB User’s Manual 2.8 Self-check 2.8.1 Self-check Procedure To run the emulator self-check, do so as explained here below. While the self-check is in progress, LEDs will change as shown in Figure 2.6. (1) If the user system is connected, disconnect it. (2) Set the switches as the factory-settings to execute the self-check (see Table 2.1).
M30870T-EPB User’s Manual 2. Setup 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.
M30870T-EPB User’s Manual 2. Setup 2.9 Connecting the User System There are eight ways available to connect the emulation probe to user systems as shown in Figure 2.7. Emulation probe 100-pin 144-pin 0.5-mm-pitch 0.65-mm-pitch 0.5-mm-pitch M30800T-PTC (included) M30800T-PTC (included) M3T-100LCC-DMS (not included) M3T-100LCC-DMS (not included)
M30870T-EPB User’s Manual 2.9.1 Connecting to a 100-pin LCC Socket When connecting the emulation probe to a 100-pin LCC socket (Yamaichi Electronics Co., Ltd.: IC61-1004-051 etc.) on the user system, following the procedure below. (1) Attach the CN2 side of the M30870T-EPB to the CN2 side of the M30800T-PTC. (2) Attach the M30800T-PTC to the 100-pin LCC socket.
M30870T-EPB User’s Manual 2.9.2 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 1) Figure 2.9 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-DUMMY100S (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-DUMMY100S, refer to each user's manual.
M30870T-EPB User’s Manual 2.9.3 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 2) Figure 2.10 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-DIRECT100S (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T- DIRECT100S, refer to each user's manual.
M30870T-EPB User’s Manual 2.9.4 Connecting to a 100-pin 0.65-mm-pitch Foot Pattern (Part 3) Figure 2.11 shows how to connect the emulation probe to a 100-pin 0.65-mm-pitch foot pattern on the user system with the M3T-FLX-100NRB (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-FLX- 100NRB, refer to each user's manual.
M30870T-EPB User’s Manual 2.9.5 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 1) Figure 2.12 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-100LCC-QSD (not included), and here following is its procedure. For details on the M3T-100LCC-QSD, refer to its user's manual.
M30870T-EPB User’s Manual 2.9.6 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 2) Figure 2.13 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-FLX-100NSD (not included), and here following is its procedure. For details on the M3T-100LCC-DMS and M3T-FLX- 100NSD, refer to each user's manual.
M30870T-EPB User’s Manual 2.9.7 Connecting to a 100-pin 0.5-mm-pitch Foot Pattern (Part 3) Figure 2.14 shows how to connect the emulation probe to a 100-pin 0.5-mm-pitch foot pattern on the user system with the M3T-F160-100NSD (not included), and here following is its procedure. For details on the M3T-F160-100NSD, refer to its user's manual.
M30870T-EPB User’s Manual 2.9.8 Connecting to a 144-pin 0.5-mm-pitch Foot Pattern Figure 2.15 shows how to connect the emulation probe to a 144-pin 0.5-mm-pitch foot pattern on the user system with the M3T-FLX-144NSD (not included), and here following is its procedure. For details on the M3T-FLX-144NSD, refer to its user's manual.
M30870T-EPB User’s Manual 2.10 Setting Switches 2.10.1 Setting Switches of Emulation Probe Set the switches of the emulation probe according to the condition. Figure 2.16 shows the positions of the switches of the M30870T-EPBM REV.B, and Figure 2.17 shows the positions of the switches of the M30870T-EPBM REV.C. AVCC AVSS Figure 2.16 Positions of the switches of the M30870T-EPBM REV.B...
Page 39
M30870T-EPB User’s Manual (1) Setting JP1, SW1 to SW4 on the M30870T-EPBM Table 2.2 shows the settings of JP1, SW1 to SW4 on the M30870T-EPBM REV.B, and Table 2.3 shows the settings of JP1, SW1 to SW4 on the M30870T-EPBM REV.C. Table 2.2 Switch settings of the M30870T-EPBM REV.B (JP1, SW1 to SW4) Switch Switch name...
Page 40
M30870T-EPB User’s Manual Table 2.3 Switch settings of the M30870T-EPBM REV.C (JP1, SW1 to SW4) Switch Switch name (Factory-setting) VDDIO AVCC AVSS EXT AVCC (Factory-setting) AVSS AVCC AVSS EXT (Factory-setting) (Factory-setting) (Factory-setting) XOUT REJ10J0482-0300 Rev.3.00 February 16, 2006 Setting 3.0 V ≤ VCC1 = VCC2 ≤ 5.5 V 4.8 V ≤...
Page 41
M30870T-EPB User’s Manual (2) Setting SW5 on the M30870T-EPBM Table 2.4 lists the examples of setting the switch SW5 on the M30870T-EPBM. It is necessary to change the setting if using the analog input port selection function of the A/D converter when selecting the MCU file "m30870_ad.mcu" Init dialog box of the emulator debugger.
Page 42
M30870T-EPB User’s Manual Notes on Switch JP1: If using this product when the voltage of VCC1 is higher than that of VCC2, set the JP1 to VCC1>2. If using this product when the voltage of VCC1 is higher than that of VCC2, the CPU clock must be 24 MHz or less.
M30870T-EPB User’s Manual 2.10.2 Selecting Clock Supply There are two ways to supply a clock to the MCU, using the oscillator circuit of the emulator or using the oscillator circuit on the user system. Table 2.5 lists the factory-settings of each clock supply. Table 2.5 Clock supply to the MCU and default settings Clock Display of emulator debugger...
Page 44
M30870T-EPB User’s Manual 2. Setup 2) Replacing an Oscillator Circuit Board Remove the four screws of both sides of this product and lift off the upper cover (see Figure 2.18). Figure 2.18 Removing the upper cover REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 44 of 104...
Page 45
M30870T-EPB User’s Manual Unscrew the screw of the oscillator circuit board of the PC7501 and replace it (see Figure 2.19). Figure 2.19 Replacing oscillator circuit boards Reinstall the upper cover once removed and secure the four screws of the PC7501. Note on Removing the Upper Cover: Always shut OFF power when removing the upper cover or changing the oscillator circuit board.
Page 46
M30870T-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.20 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations.
Page 47
M30870T-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.
M30870T-EPB User’s Manual 2.10.3 A/D Conversion Bypass Capacitors There is a foot pattern on the M30870T-EPBM board for mounting bypass capacitors for the A/D conversion circuit near the MCU. Mount applicable bypass capacitors as occasion demands. Figure 2.24 shows the mounting location of the A/D conversion bypass capacitors on the M30870T-EPBM REV.B and structure of this product, and Figure 2.25 shows the mounting location of the A/D conversion bypass capacitors on the M30870T-EPBM REV.C and structure of this product AVCC...
Page 49
M30870T-EPB User’s Manual AVCC AVSS AVss C1 C2 C1, C3: Vref-Avss bypass capacitor C2, C4: AVcc-Avss bypass capacitor Figure 2.25 Foot pattern for the A/D conversion bypass capacitor on the M30870T-EPBM REV.C Note on the A/D Converter: Because a converter board and other devices are used between the evaluation MCU and the user system, the A/D converter operates differently from an actual MCU.
3.1 Starting Up the Emulator Debugger (Init Dialog Box) To launch the emulator debugger, click the Start menu of Windows and then select Program (P) >> [RENESAS-TOOLS] >> [PD308F V.xx.xx Release x] >> [PD308F]. When the emulator debugger started up, the Init dialog box appears.
Page 51
M30870T-EPB User’s Manual 3. Specifying the communication interface (LAN communication) 4. Specifying the communication interface (USB communication) REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Specifying the communication interface (LAN communication) For selecting the LAN communication, click the radio button “LAN”...
Page 52
M30870T-EPB User’s Manual 5. Using or not using the address match break function 6. Using or not using the watchdog function 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 53
M30870T-EPB User’s Manual 7. Using or not using the CPU rewrite mode 8. Executing the self-check REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Using or not using CPU rewrite mode Specify whether or not to debug in CPU rewrite mode. To debug the user system that uses CPU rewrite mode, select the check box.
Page 54
- 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 55
M30870T-EPB User’s Manual (4) Emulator tab 1. Specifying the target clock REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Specifying the target clock Specify the clock sources supplied to the MCU (main clock and sub clock). Select the appropriate clock sources according to the clock used by your target MCU.
Page 56
M30870T-EPB User’s Manual (5) Resume tab 1. Automatically executing a script command 2. Restoring the last window state REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Automatically executing a script command To automatically execute a script command when starting up the debugger, click the “Refer...”...
M30870T-EPB User’s Manual 3.2 Starting Up the Emulator Debugger (EMEM Dialog Box) (1) Status tab 1. Specifying the processor mode Notes on Selecting a Processor Mode: When setting single-chip mode or memory expansion mode, the level of pin CNVSS of the MCU status should be "L".
Page 58
M30870T-EPB User’s Manual 2. Referring to the MCU Status Notes on Selecting a Processor Mode: The MCU status is shown in “MCU Status” of the EMEM dialog box. Check that 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 59
M30870T-EPB User’s Manual (2) Emulation Memory tab 1. Setting the Bank Address of the Debug Monitor Notes on Setting a Debug Monitor Bank Address: It is not possible to view or set the content of the specified area. Even on the memory window or in the reverse assemble area of the program/source windows, the content of this area is not displayed correctly though it can be displayed.
Page 60
M30870T-EPB User’s Manual 2. Emulation Memory Allocation as Expansion Area Notes on Using Emulation Memory for Expansion: When single-chip mode or memory expansion mode is set as a processor mode, internal ROM area is automatically allocated to the internal flash ROM. Therefore, it is not necessary to deliberately specify emulation memory as expansion area in order to allocate the internal ROM area.
Page 61
M30870T-EPB User’s Manual (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Setting to clear the MCU’s internal flash Specify whether or not you want the MCU’s internal flash ROM to be cleared when downloading the user program or data.
M30870T-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... REJ10J0482-0300 Rev.3.00 February 16, 2006 Initial screen of the program window The program window is a window that always shows the content of the source file corresponding to the current...
Page 63
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) RESET Resets the program.
Page 64
M30870T-EPB User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup Breakpoint display area REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (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 65
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (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.
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3.
Page 67
M30870T-EPB User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch.
Page 68
M30870T-EPB User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc.
Page 69
M30870T-EPB User’s Manual 3. Example Data Settings Event setting for even-address word access MOV.W R0,512h(R0=0203h) High-order and low-order data effective Event setting for odd-address word access MOV.W R0,519h(R0=0203h) Odd-address high-order data effective Even-address low-order data effective Event setting for even-address byte access MOV.B R0L,516h(R0L=03h) Low-order data effective Event setting for odd-address byte access...
Page 70
M30870T-EPB User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Setting the combinatorial event condition There are following four conditions that you can choose for the combinatorial events.
M30870T-EPB User’s Manual 3.5 Trace Window (1) Trace window 1. Trace window Menu Menu item OptionalWindows Trace Window REJ10J0482-0300 Rev.3.00 February 16, 2006 Function Opens the trace window. Trace window The trace window is used to show the results of real-time trace measurements.
Page 72
M30870T-EPB User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (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 73
M30870T-EPB User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (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 74
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window.
Page 75
M30870T-EPB User’s Manual 3. Specifying a trace range 4. Setting the trace write condition REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (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.
M30870T-EPB User’s Manual 3.6 RAM Monitor Window (1) RAM monitor window 1. RAM monitor window Menu Menu item BasicWindows RAM Monitor Window REJ10J0482-0300 Rev.3.00 February 16, 2006 Function Opening the RAM monitor window RAM monitor window This window shows changes of memory contents while the user program is executed.
Page 77
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3. Usage (Emulator Debugger) Base Clicking this toolbar button opens the RAM monitor area setting window.
Page 78
M30870T-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 REJ10J0482-0300 Rev.3.00 February 16, 2006 3.
M30870T-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 M30870T-EPB Item Applicable MCU Applicable MCU mode...
M30870T-EPB User’s Manual 4.2 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions. Note on Differences between the Actual MCU and Emulator: Operations of the emulator system differ from those of actual MCUs as listed below.
M30870T-EPB User’s Manual Notes on Reset Vector Area: For a reset vector area, memory of the emulator is always selected regardless of the setting of the EMEM dialog box. Therefore when setting a microprocessor mode, to use a ROM of the user system etc. as an area including a reset vector area, set a reset vector using a dump window etc.
M30870T-EPB User’s Manual Note on DMAC II Transfer Completion Interrupts: You can use DMAC II transfer completion interrupts during program execution only. Do not generate DMAC II transfer completion interrupts when you use any function but program execution. Note on Final Evaluation: Be sure to evaluate your system with an evaluation MCU.
M30870T-EPB User’s Manual 4.3 Connection Diagrams Figures 4.1, 4.2 and 4.3 show the connection diagrams of the M30870T-EPB. Figures 4.1 and 4.2 show the connection diagrams using the M30870T-EPBM REV.B and M30870T-EPBM REV.C, respectively. These connection diagrams mainly show the interface section. The signals not shown in Figures 4.1, 4.2 and 4.3 connect the evaluation MCU and the user system directly.
M30870T-EPB User’s Manual 4.4 External Dimensions 4.4.1 External Dimensions of the Emulation Probe Figure 4.4 shows external dimensions of the M30870T-EPB connected with the M30800T-PTC and LCC socket. 60.0 PCA7501EPBA REV.A 15.0 Figure 4.4 External dimensions of the emulation probe REJ10J0482-0300 Rev.3.00 February 16, 2006 85.0 MADE IN JAPAN 16.3...
M30870T-EPB User’s Manual 4. Hardware Specifications 4.4.2 External Dimensions of the M30800T-PTC Figure 4.5 shows external dimensions of the converter board M30800T-PTC for a 100-pin QFP (100P6S). Unit : mm Figure 4.5 External dimensions of the M30800T-PTC REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 87 of 104...
M30870T-EPB User’s Manual 4.4.3 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 (100P6Q). Figure 4.6 External dimensions of the M3T-F160-100NSD 4.4.4 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 (144P6Q). Figure 4.7 External dimensions of the M3T-F160-100NSD REJ10J0482-0300 Rev.3.00 February 16, 2006 4.
M30870T-EPB User’s Manual 4.5 Notes on Using This Product Notes on using this product are listed below. When debugging the MCU using this product, be careful about the following precautions. Notes on Downloading Firmware: Before using this product for the first time, it is necessary to download the dedicated firmware (control software built into the PC7501).
M30870T-EPB User’s Manual Notes on Clock Supply to an MCU: Clock can be supplied to the evaluation MCU in one of the following three ways. This is determined by emulator debugger clock selection. (1) When Internal is selected: The clock generated by the oscillation circuit in the PC7501 is supplied to the evaluation MCU. The clock is continually supplied to the evaluation MCU regardless of "user system clock status"...
M30870T-EPB User’s Manual Notes on EMEM Dialog Box: Observe the following when setting up EMEM dialog box of the emulator debugger. (1) Debug Monitor Bank Address The default value of Debug Monitor Bank Address is "F0". To set single-chip mode or memory expansion mode, internal flash memory is automatically allocated in F000h--FFFFh and F00000h--FFFFFFh.
M30870T-EPB User’s Manual Notes on Debugging in CPU Rewrite Mode: To debug a program in CPU rewrite mode, select the check box "Debug the program using the CPU Rewrite Mode" in the MCU tab of the Init dialog box. When you do not debug a program in CPU rewrite mode, clear the check box.
M30870T-EPB User’s Manual Note on Protect Resistor: A protect is not canceled when protect register bit 2 (PRC2), which enables writing in the port P9 direction register and the function select register A3, is changed with the below procedure. (1) Step execution of an instruction setting ("1") PRC2 (2) Setting a break point from an instruction setting ("1") PRC2 to where the port P9 direction register or the function select register A3 is set (3) Setting ("1") PRC2 from the dump window or script window during user program execution...
M30870T-EPB User’s Manual Notes on A/D Conversion: When selecting the following MCU files in the Init dialog box of the emulator debugger to execute the A/D conversion debug, note the following. M32C PC7501 Emulator Debugger: M3T-PD308F: 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".
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.
M30870T-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 97
M30870T-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 98
M30870T-EPB User’s Manual (3) Errors Occur at Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0482-0300 Rev.3.00 February 16, 2006 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is soldered properly.
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...
M30870T-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.
M30870T-EPB User’s Manual (3) Expiration of the repair period When a period of one year elapses after the model was dropped from production, repairing products of the model may become impossible. (4) Transportation fees at sending your product for repair Please send your product to us for repair at your expense.
Page 102
M30870T-EPB User’s Manual 6. Maintenance and Guarantee REJ10J0482-0300 Rev.3.00 February 16, 2006 Page 102 of 104...