M30850T2-CPE Renesas Electronics America, M30850T2-CPE Datasheet

no-image

M30850T2-CPE

Manufacturer Part Number
M30850T2-CPE
Description
DEV M32C/80/84/85/86 COMPACT EMU
Manufacturer
Renesas Electronics America
Type
In Circuit Debuggerr
Datasheet

Specifications of M30850T2-CPE

Contents
Compact Emulator, IDE, Assembler and Linker
For Use With/related Products
M32C/84,85,86
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
To our customers,
Corporation, and Renesas Electronics Corporation took over all the business of both
companies. Therefore, although the old company name remains in this document, it is a valid
Renesas Electronics document. We appreciate your understanding.
Issued by: Renesas Electronics Corporation (http://www.renesas.com)
Send any inquiries to http://www.renesas.com/inquiry.
On April 1
st
, 2010, NEC Electronics Corporation merged with Renesas Technology
Renesas Electronics website:
Old Company Name in Catalogs and Other Documents
http://www.renesas.com
April 1
Renesas Electronics Corporation
st
, 2010

Related parts for M30850T2-CPE

M30850T2-CPE Summary of contents

Page 1

To our customers, Old Company Name in Catalogs and Other Documents st On April 1 , 2010, NEC Electronics Corporation merged with Renesas Technology Corporation, and Renesas Electronics Corporation took over all the business of both companies. Therefore, although the ...

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

... M30850T2-CPE User’s Manual Compact Emulator for M32C/80, 84, 85 and 86 Groups Rev.3.00 2005.12 ...

Page 4

Keep safety first in your circuit designs! 1. Renesas Technology Corp. puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead ...

Page 5

... M30850T2-CPE User’s Manual Preface The M30850T2-CPE is a compact emulator for the M32C/80, 84, 85 and 86 Groups MCUs with the real-time trace function. This user's manual mainly describes specifications of the M30850T2-CPE compact emulator and how to setup it. For details on the following products included with the M30850T2-CPE, refer to each product's online manual. ...

Page 6

... M30850T2-CPE 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 Technology Corp.: ...

Page 7

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

... M30850T2-CPE 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. Be sure to read this chapter before using this product ...

Page 9

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

... M30850T2-CPE User’s Manual Notes on Connecting the Power Supply of the Emulator: Do not use any power cable other than the one that is included with the product. The power cable included with the product has its positive and negative poles color-coded by red and black, respectively ...

Page 11

... M30850T2-CPE 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 System Configuration ....................................................................................................................................14 1.2.1 System Configuration ..........................................................................................................................14 1.2.2 Names and Functions of each part of the Emulator............................................................................15 1.3 Specifications ................................................................................................................................................18 1.4 Operating Environment..................................................................................................................................19 2. Setup.......................................................................................................................................................................20 2.1 Flowchart of Starting Up the Emulator ..........................................................................................................20 2 ...

Page 12

... M30850T2-CPE User’s Manual 4. Hardware Specifications .........................................................................................................................................76 4.1 Target MCU Specifications............................................................................................................................76 4.2 Differences between the Actual MCU and Emulator.....................................................................................77 Notes on the User System (Power Supply, Order of Powering On) ............................................................77 Notes on Using This Product When the Voltage of VCC1 is Higher than That of VCC2.............................77 Note on Differences between the Actual MCU and Emulator ......................................................................78 Note on RESET# Input ...

Page 13

... M30850T2-CPE User’s Manual User Registration When you have purchased the emulator presented in this user's manual, please be sure to register it. As the H/W Tool Customer Registration Sheet is included with this manual, fill it in and email to the following address. Your registered information is used for only after-sale services, and not for any other purposes. Without user registration, you will not be able to receive maintenance services such as a notification of field changes or trouble information ...

Page 14

... This means a software tool which you can control the emulator from a host machine through the USB interface. Firmware This means a program stored in the flash ROM of the emulator. It analyzes contents of communication with the emulator debugger and controls the emulator M30850T2-CPE. This program is downloadable from the emulator debugger to upgrade firmware or to support other MCUs. Host machine This means a personal computer used to control the M30850T2-CPE emulator system ...

Page 15

... C compiler M3T-NC308WA (evaluation version) * Please keep the M30850T2-CPE’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 16

... M30850T2-CPE User’s Manual 1.2 System Configuration 1.2.1 System Configuration Figure 1.1 shows a configuration of the M30850T2-CPE system. Power supply for emulator Host machine (not included) (not included) Figure 1.1 System configuration (1) Compact emulator M30850T2-CPE (this product) This is a compact emulator for the M32C/80, 84, 85 and 86 Groups with the real-time trace functions (hereafter, emulator). ...

Page 17

... LED5: MCU RESET pin (RESET) RUN LED4: Program execution (RUN) Figure 1.2 Names of the LEDs on the upper panel of the M30850T2-CPE (1) System Status LEDs The system status LEDs indicate the emulator main unit’s operating status etc. Table 1.2 lists the definition of the system status LEDs ...

Page 18

... M30850T2-CPE User’s Manual (2) Target Status LEDs The target status LEDs indicate the target MCU’s power supply and operating status. Table 1.3 lists the definition of each target status LED. Table 1.3 Definitions of the target status LEDs Name Number Color Status ...

Page 19

... M30850T2-CPE User’s Manual (6) MCU Power Supply Source Selection Jumper (JP1) This is a jumper switch to set the power supply source to the MCU. For details on this switch, see “2.6.1 MCU Power Supply Source Selection Jumper/MCU Power Supply Voltage Selection Jumper” (page 24). ...

Page 20

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

Page 21

... M30850T2-CPE User’s Manual Table 1.6 M30850T2-CPE specifications (2/2) Connection to user system (see “2.8 Connecting the User System” on page 30) Power supply for emulator Host machine interface Overseas standards * 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 22

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

... M30850T2-CPE 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. The "auto_run.exe" starts up by inserting the included CD into the CD-ROM drive, and the HTML page for installation will open. Install the C compiler, emulator debugger and USB driver as occasion demands. In process of installation, “ ...

Page 24

... M30850T2-CPE User’s Manual 2.3 Attaching the Ferrite Core Attach the ferrite core included with this product close to the DC plug of the power cable. Without the ferrite core it may cause interference. The power cable should be wound around the ferrite core as shown in the figure, and close the ferrite core until it clicks. ...

Page 25

... M30850T2-CPE User’s Manual 2.5 Connecting the Host Machine Connect the emulator and the host machine with the USB interface cable. Connect the USB interface cable (included) to the USB interface connector (J2) and the USB port of the host machine (see Figure 2.5). ...

Page 26

... M30850T2-CPE User’s Manual 2.6 Turning ON the Power 2.6.1 MCU Power Supply Source Selection Jumper/MCU Power Supply Voltage Selection Jumper Set the MCU power supply source selection jumper and the MCU power supply voltage selection jumper of the emulator according to conditions of use. ...

Page 27

... M30850T2-CPE User’s Manual 2.6.2 Checking Connections of the Emulator System Before turning the power ON, check the connection of the interface cable to the host machine, emulator, and user system. 2.6.3 Turning ON/OFF the Power Turn ON/OFF the power of the emulator and user system as simultaneously as possible. ...

Page 28

... M30850T2-CPE User’s Manual 2.6.5 LED Display When the Emulator Starts Up Normally After the emulator starts up, check the status of the LEDs to see whether the emulator operation is enabled or not. Figure 2.7 shows the positions of the emulator status LEDs. System status LEDs Target status LEDs Figure 2 ...

Page 29

... M30850T2-CPE User’s Manual When the user system connected: When the POWER LED does not light, shut off the system and check the setting of the jumper switches and if the power is properly supplied to the user system :OFF Figure 2.9 Target status LEDs display when the emulator starts up normally (when user system connected) Note on the Target Status CLOCK LED: If the LED is not turned on, check the following ...

Page 30

... M30850T2-CPE User’s Manual 2.7 Self-check 2.7.1 Self-check Procedure To run the self-check of the emulator explained here below. While the self-check is in progress, the LEDs will change as shown in Figure 2.10. (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.3). ...

Page 31

... M30850T2-CPE User’s Manual 2.7 Error is Detected in the Self-check Table 2.4 lists how to remedy the troubles if the target status LED display is abnormal in the self-check. When an error is detected, shut off the emulator and the user system and follow the steps in the Table 2.4. ...

Page 32

... M30850T2-CPE User’s Manual 2.8 Connecting the User System Figure 2.11 shows the connection of the M30850T2-CPE and the user system. 0.65-mm-pitch M30800T-PTC M3T-FLX100-T (included) (not included) LCC socket M3T-DIRECT100S 100-pin LCC 100-pin QFP (included) (not included) Figure 2.11 Connection of the M30850T2-CPE and user system Note on Connecting the User System: Take care not to attach the converter board in a wrong direction ...

Page 33

... Here following is a procedure of connecting to a 100-pin LCC socket (Yamaichi Electronics Co., Ltd.: IC61-1004-051, etc.) on the user system. (1) Attach the CN2 side of the M30850T2-CPE to the CN2 side of the M30800T-PTC. (2) Attach the M30800T-PTC to the 100-pin LCC socket. Figure 2.12 Connecting to a 100-pin LCC socket Notes on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 34

... Take care not to attach a converter board in a wrong direction. It may cause a fatal damage to the emulator and user system. The small connectors of the M3T-100LCC-DMS and the M3T-DUMMY100S are guaranteed for only 20 insertion/removal iterations. The small connectors of the M30850T2-CPE and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. REJ10J0865-0300 Rev.3.00 December 16, 2005 M30850T2-CPE ...

Page 35

... Take care not to attach a converter board in a wrong direction. It may cause a fatal damage to the emulator and user system. 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-CPE and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. REJ10J0865-0300 Rev.3.00 December 16, 2005 M30850T2-CPE ...

Page 36

... The small connectors of the M3T-100LCC-DMS and M3T-FLX-100NRB are guaranteed for only 20 insertion/removal iterations. The small connectors of the M30850T2-CPE and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. *NQPACK, YQPACK, YQSOCKET, YQ-GUIDE, HQPACK, TQPACK and TQSOCKET are trademarks of Tokyo Eletech Corporation. ...

Page 37

... M3T-100LCC-QSD (not included), and here following is its procedure. For details on the M3T-100LCC-QSD, refer to its user's manual. (1) Attach the M3T-100LCC-QSD to the user system. (2) Attach the M30800T-PTC to the M30850T2-CPE. (3) Attach the M30800T-PTC to the M3T-100LCC-QSD. Figure 2.16 Connecting to a 100-pin 0.5-mm-pitch foot pattern (part 1) Notes on Connecting the User System: Take care not to attach the converter board in a wrong direction ...

Page 38

... Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator and user system. The small connectors of the M3T-100LCC-DMS and M3T-FLX-100NSD are guaranteed for only 20 insertion/removal iterations. The small connectors of the M30850T2-CPE and M30800T-PTC are guaranteed for only 50 insertion/removal iterations. REJ10J0865-0300 Rev.3.00 December 16, 2005 M30850T2-CPE ...

Page 39

... 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 and user system. The small connectors of the M30850T2-CPE and M3T-F160-100NSD are guaranteed for only 50 insertion/removal iterations. REJ10J0865-0300 Rev.3.00 December 16, 2005 ...

Page 40

... 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 and user system. The small connectors of the M30850T2-CPE and M3T-FLX-144NSD are guaranteed for only 50 insertion/removal iterations. REJ10J0865-0300 Rev.3.00 December 16, 2005 ...

Page 41

... M30850T2-CPE User’s Manual 2.9 Changing Settings 2.9.1 Setting Switches of Emulator Set the switches of the emulator according to the condition. Figure 2.20 Positions of the switches REJ10J0865-0300 Rev.3.00 December 16, 2005 POWER USB 5.0V LED1 POWER SYSTEM POWER SAFE STATUS SAFE 5.0V LED2 JP2 3 ...

Page 42

... M30850T2-CPE User’s Manual (1) MCU Power Supply Source Selection Jumper/MCU Power Supply Voltage Selection Jumper These are the jumper switches to select power supply to the MCU and its power voltage. As shown in Table 2.5 below, set the switch according to the connection to the user system. ...

Page 43

... M30850T2-CPE User’s Manual (2) Setting JP1, SW1 to SW4 on the M30850T2-EPBM JP1, SW1 to SW4 of the M30850T2-EPBM are on the emulator side panel. Table 2.6 shows the settings of JP1, SW1 to SW4 on the M30850T2-EPBM. Table 2.6 Switch settings of the M30850T2-EPBM (JP1, SW1 to SW4) Switch Switch name ...

Page 44

... M30850T2-CPE User’s Manual (3) Setting SW5 on the M30850T2-EPBM Table 2.7 lists the examples of setting the switch SW5 necessary to change the setting if using the analog input port selection function of the A/D converter. Setting the SW5 enables to set each analog input pin for selecting an analog input port. When selecting AN00 to AN07 or AN20 to AN27 for the analog input port select bits (bit 2 and bit 1 of 0394h), set the pins used for A/D conversion to ON, the pins not used to OFF ...

Page 45

... M30850T2-CPE User’s Manual Notes on Switch JP1 of the M30850T2-EPBM: If using this product when the voltage of VCC1 is higher than that of VCC2, set the JP1 to VCC1>2. If using a CPU clock of more than 30MHz when using 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 46

... Using an Internal Oscillator Circuit Board 1. Kinds of Oscillator Boards The M30850T2-CPE comes with an oscillator circuit board OSC-3 (32 MHz). And an oscillator circuit bare board OSC-2 is included with this product. If you use an internal oscillator circuit board of the emulator as a main clock, choose "Internal" in the emulator debugger after replacing oscillator circuit boards to change a clock supplied to an MCU. ...

Page 47

... M30850T2-CPE User’s Manual 2. Replacing Oscillator Circuit Boards Figure 2.21 shows how to replace the oscillator circuit boards. POWER USB 5.0V POWER LED1 SYSTEM POWER SAFE STATUS SAFE 5.0V LED2 JP2 3.3V EXT JP1 COMPACT EMULATOR INT M30850T2-CPE LED3 POWER POWER CLOCK ...

Page 48

... M30850T2-CPE User’s Manual 3. Using the Internal 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.22 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations. Figure 2.23 shows the circuitry of the oscillator circuit bare board OSC-2 ...

Page 49

... M30850T2-CPE User’s Manual (2) Using an Oscillator Circuit on the User System To operate this product with an external clock, construct an oscillator circuit as shown in Figure 2.24 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. Choose " ...

Page 50

... M30850T2-CPE User’s Manual 2.9.3 A/D Conversion Bypass Capacitors There is a foot pattern on the M30850T2-EPBM board for mounting bypass capacitors for an A/D conversion circuit near the MCU. Mount suitable bypass capacitors as occasion demands. Figure 2.26 shows where they are installed and the configuration of this product ...

Page 51

... M30850T2-CPE User’s Manual 3. Usage (Emulator Debugger) This chapter describes how to start up the emulator debugger and how to use the major windows. 3.1 Starting Up the Emulator Debugger (Init Dialog Box) (1) MCU tab 1. Specifying the MCU file OK Cansel 2. Using or not using the address match break function ...

Page 52

... M30850T2-CPE User’s Manual 3. Using or not using the watchdog function OK Cansel 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

... M30850T2-CPE User’s Manual 4. Using or not using the CPU rewrite mode OK Cansel 5. Using or not using the trace point function OK Cansel 6. Executing the self-check OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 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

... M30850T2-CPE User’s Manual (2) Debugging Information tab 1. Specifying the compiler used and the object format OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 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 55

... M30850T2-CPE User’s Manual (3) Emulator tab 1. Specifying the target clock OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 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

... M30850T2-CPE User’s Manual (4) Resume tab 1. Automatically executing a script command OK Cansel 2. Restoring the last window state OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 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 57

... M30850T2-CPE User’s Manual 3.2 Starting Up the Emulator Debugger (EMEM Dialog Box) (1) STATUS tab 1. Specifying the processor mode OK Cansel 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 58

... M30850T2-CPE User’s Manual 1. Referring to the MCU Status OK Cansel 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

... M30850T2-CPE User’s Manual (2) Emulation Memory tab 1. Setting the Bank Address of the Debug Monitor OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 Setting the Bank Address of the Debug Monitor The debug monitor uses contiguous work area of the emulator. Specify the bank address of the debug monitor ...

Page 60

... M30850T2-CPE User’s Manual (3) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM OK Cansel REJ10J0865-0300 Rev.3.00 December 16, 2005 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 61

... M30850T2-CPE User’s Manual 3.3 Program Window (1) Downloading the program 1. Downloading from the work space window M32C_85_TEST M32C_85_TEST 2. Showing the source program REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Downloading the program Download the object program you want to debug. Select Download from “xxx.x30” of “Download module”. ...

Page 62

... M30850T2-CPE User’s Manual (2) Program execution 1 Resetting the user program 2 Executing the user program (Go) 3 Executing the user program (Go Free) 4 Executing the user program (Reset Go) 5 Step execution of the user program 6 Stopping the user program REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) CPU reset Resets the target MCU ...

Page 63

... M30850T2-CPE User’s Manual 7 Editor (Source) window after you have stopped the user program (3) Setting breakpoints 1. Screen after breakpoint setup REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Editor (Source) window The position at which the user program has stopped is marked by a yellow arrow. ...

Page 64

... M30850T2-CPE User’s Manual (4) Executing up to the cursor position 1. Setup procedure for running the program up to the cursor position Enlarged view 2. After the execution has finished REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Setup procedure for running the program up to the cursor position (1) Click the line in the editor (source) window that you want to be executed ...

Page 65

... M30850T2-CPE 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 REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) ...

Page 66

... M30850T2-CPE User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Specifying the event type Click to select the event type you want to set. - FETCH Detects an instruction prefetch. ...

Page 67

... M30850T2-CPE User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc. Setting data You can set two conditions, e ...

Page 68

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

... M30850T2-CPE User’s Manual (4) Setting the combinatorial event condition 1. Window for setting the combinatorial event condition REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Setting the combinatorial event condition There are following three conditions that you can choose for the combinatorial events. ...

Page 70

... M30850T2-CPE User’s Manual 3.5 Trace Window (1) Trace window 1. Opening the trace window REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Trace window Clicking this button opens the trace window. Or you can select “Trace” from “Trace” of “Display” menu for the same effect. ...

Page 71

... M30850T2-CPE User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display REJ10J0865-0300 Rev.3.00 December 16, 2005 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 72

... M30850T2-CPE User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J0865-0300 Rev.3.00 December 16, 2005 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 73

... M30850T2-CPE User’s Manual (3) Trace point setup window 1. Opening the trace point setup dialog box 2. Trace Point Setting Window in initial state REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window. Trace Point Setting Window in initial state Be sure to enable the trace point function in the Init dialog box before you set up in this window ...

Page 74

... M30850T2-CPE User’s Manual 3. Specifying a trace range 4. Setting the trace write condition REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Specifying a trace range You can specify a trace range for the trace event. - Break 64K cycles of instruction execution before the user program stopped is recorded. ...

Page 75

... M30850T2-CPE User’s Manual 3.6 RAM Monitor Window (1) RAM monitor window 1 Opening the RAM monitor window (2) RAM monitor area setting window 1. Opening RAM monitor area setting window REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) RAM monitor Clicking this button opens the RAM monitor window. ...

Page 76

... M30850T2-CPE User’s Manual 2. RAM monitor area setting window in initial state 3. RAM monitor area setting dialog box REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) RAM Monitor Area Setting Window in initial state By default, the monitor area is set to 000400h through 0007FFh. To change it, click the line you want to set. ...

Page 77

... M30850T2-CPE User’s Manual 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 REJ10J0865-0300 Rev.3.00 December 16, 2005 3. Usage (Emulator Debugger) Specifying the start address You can set the start address of the RAM area to be monitored. To add a RAM monitor area, click the " ...

Page 78

... Hardware Specifications This chapter describes specifications of this product. 4.1 Target MCU Specifications Table 4.1 lists the specifications of target MCUs which can be debugged with this product. Table 4.1 Specifications of target MCUs for the M30850T2-CPE Item Applicable MCU Applicable MCU mode Maxi. ROM/RAM capacity ...

Page 79

... M30850T2-CPE 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 the User System (Power Supply, Order of Powering On): When the user system is connected, be sure to set the JP1 of the emulator to " ...

Page 80

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

... M30850T2-CPE 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. A reset vector area can be changed only when a program is stopped. Notes on Stack Area: With this product, a maximum 8 bytes of the user stack is consumed as a work area. Therefore, ensure the +8 byte maximum capacity used by the user program as the use stack area ...

Page 82

... M30850T2-CPE User’s Manual 4.3 Connection Diagram Figures 4.1 and 4.2 show a part of the connection diagram of the M30850T2-CPE. This connection diagram mainly shows 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 83

... M30850T2-CPE User’s Manual IC5 AP15 AP15 AP15 AP15 74HC4066 * * IC7 74HC4066 * * IC9 74HC4066 * 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 REJ10J0865-0300 Rev.3.00 December 16, 2005 ...

Page 84

... M30850T2-CPE User’s Manual 4.4 External Dimensions 4.4.1 External Dimensions of the Compact Emulator Figure 4.3 shows external dimensions of the M30850T2-CPE connected with the M30800T-PTC and LCC socket. POWER SYSTEM SAFE STATUS LED2 COMPACT EMULATOR M30850T2-CPE LED3 POWER CLOCK TARGET RESET STATUS ...

Page 85

... M30850T2-CPE 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 QFP (100P6S). 81 40.0 100 Figure 4.4 External dimensions of the M30800T-PTC REJ10J0865-0300 Rev.3.00 December 16, 2005 55.0 M30800T-PTC MADE I N JAPAN 4. Hardware Specifications 13 ...

Page 86

... M30850T2-CPE User’s Manual 4.4.3 External Dimensions of the M3T-F160-100NSD Figure 4.5 shows external dimensions of the converter board M3T-F160-100NSD for a 100-pin LQFP (100P6Q). 40.0 Figure 4.5 External dimensions of the M3T-F160-100NSD 4.4.4 External Dimensions of the M3T-FLX-144NSD Figure 4.6 shows external dimensions of the converter board M3T-FLX-144NSD for a 144-pin LQFP (144P6Q). ...

Page 87

... 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 M30850T2-CPE is supplied continually supplied regardless of the status of the user system clock and that of the user program execution. (2) When "External" is selected: A clock generated by the oscillator in the user system is supplied ...

Page 88

... M30850T2-CPE 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 "E0" is specified area starting from E00000h are allocated for use by the debug monitor. The 64 KB allocated for the debug monitor cannot be used. ...

Page 89

... To purchase the product for replacement or request for repair, contact your local distributor. Note on Voltage Detect Circuit: With the M30850T2-CPE, as the power voltage cannot be change after powering on the user system, the voltage detect circuit (voltage down detect interrupt and hardware reset 2) cannot be used with this product. ...

Page 90

... M30850T2-CPE User’s Manual Note on Protect Register: The protect is not canceled when bit 2 of protect register PRCR (PRC2), which enables writing into the port P9 direction register and the SI/Oi control register, is changed with the below procedure. (1) Step execution of an instruction setting PRC2 to "1" ...

Page 91

... M30850T2-CPE User’s Manual Notes on CE Declaration of Conformity: This product complies with CE marking (EN55022: 1998 Class A, EN55024: 1998). Please use it with care described below. * Electrostatic Discharge Precautions must be taken when handling the product. * Must not be used within 30 meters of a domestic radio or television receiver. ...

Page 92

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

... M30850T2-CPE User’s Manual 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the M30850T2-CPE Do Not Display Normally Table 5.1 Errors LEDs show and their checkpoints Error LEDs do not light up. Target Status POWER LED does not light up. ...

Page 94

... M30850T2-CPE User’s Manual (2) MCU Setting 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. Not compact emulator. Target MCU is in the reset state. Target MCU cannot be reset. ...

Page 95

... M30850T2-CPE User’s Manual (3) Errors Occur at Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0865-0300 Rev.3.00 December 16, 2005 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 96

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

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

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

... Compact Emulator for M32C/80, 84, 85 and 86 Groups M30850T2-CPE User's Manual Publication Date: Dec. 16, 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. ...

Page 100

... Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan M30850T2-CPE User’s Manual REJ10J0865-0300(T) ...

Related keywords