M30260T2-CPE-GP Renesas Electronics America, M30260T2-CPE-GP Datasheet
M30260T2-CPE-GP
Specifications of M30260T2-CPE-GP
Related parts for M30260T2-CPE-GP
M30260T2-CPE-GP 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
M30290T2-CPE User’s Manual Compact Emulator for M16C/26A, 28, 29 Groups Rev.2.00 2005.07 ...
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
M30290T2-CPE User’s Manual Preface The M30290T2-CPE is a compact emulator for the M16C/26A, 28, 29 Group MCUs with the real-time trace function. This user's manual mainly describes specifications of the M30290T2-CPE compact emulator and how to setup it. For details ...
Page 6
M30290T2-CPE User’s Manual Important Before using this product, be sure to read the user’s manual (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 ...
Page 7
M30290T2-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 ...
Page 8
M30290T2-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 ...
Page 9
M30290T2-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 ...
Page 10
M30290T2-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 ...
Page 11
M30290T2-CPE User’s Manual Contents Preface..........................................................................................................................................................................3 Important.......................................................................................................................................................................4 Precautions for Safety ..................................................................................................................................................6 Contents........................................................................................................................................................................9 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 ...
Page 12
M30290T2-CPE User’s Manual 4. Hardware Specifications .........................................................................................................................................67 4.1 Target MCU Specifications............................................................................................................................67 4.2 Differences between the Actual MCU and Emulator.....................................................................................68 Note on Differences between the Actual MCU and Emulator ......................................................................68 Note on RESET* Input .................................................................................................................................68 Note on NMI* Input.......................................................................................................................................68 Notes on ...
Page 13
M30290T2-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 FAX it ...
Page 14
M30290T2-CPE User’s Manual Terminology Some specific words used in this user’s manual are defined as follows: Emulator M30290T2-CPE This means the compact emulator (this product) for M16C/26A, 28, 29 Group MCUs. Emulator system This means an emulator system built around ...
Page 15
M30290T2-CPE 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 M30290T2-CPE package consists of the following items. When unpacking it, check ...
Page 16
M30290T2-CPE User’s Manual 1.2 System Configuration 1.2.1 System Configuration Figure 1.1 shows a configuration of the M30290T2-CPE system. Host machine (not included) Figure 1.1 System configuration (1) Compact emulator M30290T2-CPE (this product) This is a compact emulator for the M16C/26A, ...
Page 17
M30290T2-CPE User’s Manual (5) Power supply for the user system This is a power supply for the user system. As this emulator cannot supply the power to the user system, supply the power to the user system separately from the ...
Page 18
M30290T2-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 ...
Page 19
M30290T2-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 ...
Page 20
... Time between program start and stop For 42-pin 0.8-mm-pitch SSOP (42P2R-E) M30263T-42SSB (included with the M30263T2-CPE-FP) For 48-pin 0.5-mm-pitch LQFP (48P6Q-A): M30260T-48FPD (included with the M30260T2-CPE-GP) For 64-pin 0.5-mm-pitch LQFP (64P6Q-A): M30291T-64FPD (included with the M30291T2-CPE-HP) For 80-pin 0.5-mm-pitch LQFP (80P6Q-A): M30290T-80FPD (included with the M30290T2-CPE-HP) DC 5.0 V ± ...
Page 21
M30290T2-CPE User’s Manual 1.4 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1.6 and 1.7. Table 1.6 Operating environmental conditions Item Operating temperature Storage temperature Table 1.7 ...
Page 22
M30290T2-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 ...
Page 23
M30290T2-CPE User’s Manual 2.2 Installing the Included Software 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 ...
Page 24
M30290T2-CPE User’s Manual 2.4 Connecting the Power Supply for the Emulator Connect the power supply for the emulator to the power connector (J1). The specification of the power supply for the emulator is listed in Table 2.1. Table 2.1 Specification ...
Page 25
M30290T2-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 ...
Page 26
M30290T2-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 ...
Page 27
M30290T2-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 ...
Page 28
M30290T2-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 ...
Page 29
M30290T2-CPE User’s Manual When the user system connected : If 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. Figure ...
Page 30
M30290T2-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 ...
Page 31
M30290T2-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 ...
Page 32
M30290T2-CPE User’s Manual 2.8 Connecting the User System Figure 2.11 shows the connection of the M30290T2-CPE and the user system. 42-pin 0.8-mm-pitch 0.5-mm-pitch M30263T-42SSB SSOP Socket frame (x2) *1 M3T-SSOP42B-450 *1 Socket main unit *1 Figure 2.11 Connection of the ...
Page 33
M30290T2-CPE User’s Manual 2.8.1 Connecting to a 42-pin 0.8-mm-pitch Foot Pattern Here following is a procedure of connecting to a 42-pin 0.8-mm-pitch foot pattern on the user system using the M30263T- 42SSB (included with the M30263T2-CPE-FP). For details on the ...
Page 34
... Connecting to a 48-pin 0.5-mm-pitch Foot Pattern Here following is a procedure of connecting to a 48-pin 0.5-mm-pitch foot pattern on the user system using the M30260T- 48FPD (included with the M30260T2-CPE-GP). For details on the M30260T-48FPD, refer to its user's manual. (1) Mount the NQPACK048SD included with the M30260T-48FPD to the user system. ...
Page 35
M30290T2-CPE User’s Manual 2.8.3 Connecting to a 64-pin 0.5-mm-pitch Foot Pattern Here following is a procedure of connecting to a 64-pin 0.5-mm-pitch foot pattern on the user system using the M30291T- 64FPD (included with the M30291T2-CPE-HP). For details on the ...
Page 36
M30290T2-CPE User’s Manual 2.8.4 Connecting to an 80-pin 0.5-mm-pitch Foot Pattern Here following is a procedure of connecting to an 80-pin 0.5-mm-pitch foot pattern on the user system using the M30290T- 80FPD (included with the M30290T2-CPE-HP). For details on the ...
Page 37
M30290T2-CPE User’s Manual 2.9 Changing Settings 2.9.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, ...
Page 38
M30290T2-CPE User’s Manual 2.9.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.6 shows the clocks and their initial settings. Table ...
Page 39
M30290T2-CPE User’s Manual 2. Replacing Oscillator Circuit Boards Figure 2.16 shows how to replace the oscillator circuit boards. POWER USB 5.0V LED1 POWER SYSTEM POWER SAFE STATUS SAFE LED2 5.0V JP2 3.3V EXT JP1 COMPACT EMULATOR INT M30290T2-CPE LED3 POWER ...
Page 40
M30290T2-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.17 shows an external view of ...
Page 41
M30290T2-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.19 in the user system and input the oscillator output at 50% ...
Page 42
M30290T2-CPE User’s Manual 2.9.3 A/D Conversion Bypass Capacitors There is a foot pattern on the M30290T-EPBM board for mounting bypass capacitors for an A/D conversion circuit near the MCU. Mount suitable bypass capacitors as occasion demands. Figure 2.21 shows where ...
Page 43
M30290T2-CPE User’s Manual 3. Usage (How to Use the 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 When debugging the completed programs, switch ...
Page 44
M30290T2-CPE User’s Manual 3.2 Init Dialog Box The Init dialog box is used to set the items that need to be set when the emulator debugger starts up. The contents set in this dialog box remain effective the next time ...
Page 45
M30290T2-CPE User’s Manual 3. Using or not using the CPU rewrite mode Cancel 4. Using or not using the trace point function Cancel REJ10J0494-0200 Rev.2.00 July 16, 2005 Using or not using CPU rewrite mode Specify whether or not to ...
Page 46
M30290T2-CPE User’s Manual 5. Executing the self-check Cancel (2) Debugging Information tab 1. Specifying the compiler used and the object format Cancel REJ10J0494-0200 Rev.2.00 July 16, 2005 Executing the self-check Enable this function when you want the emulator to be ...
Page 47
M30290T2-CPE User’s Manual (3) Emulator tab 1. Specifying the target clock Cancel (4) Script tab 1. Automatically executing a script command Cancel When you have finished the settings above, click OK. REJ10J0494-0200 Rev.2.00 July 16, 2005 Specifying ...
Page 48
M30290T2-CPE User’s Manual 3.3 MCU Setting Dialog Box The MCU Setting dialog box is used to set the user system information displayed after you closed the Init dialog box. (1) MCU tab 1. Specifying the processor mode Cancel ...
Page 49
M30290T2-CPE User’s Manual (2) Flash Clear tab 1. Setting to clear the MCU’s internal flash ROM Cancel When you have finished the settings click OK. REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the ...
Page 50
M30290T2-CPE User’s Manual 3.4 Checking Connections of the Emulator System Check to see that the emulator debugger has been connected correctly to the emulator. REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Checking connections of ...
Page 51
M30290T2-CPE User’s Manual 3.5 Program Execution (1) Downloading the program 1. Downloading from the work space window 2. Showing the source program REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Downloading the program Download the ...
Page 52
M30290T2-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 REJ10J0494-0200 Rev.2.00 ...
Page 53
M30290T2-CPE User’s Manual 6 Stopping the user program 7 Editor (Source) window after you have stopped the user program REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) STOP Stops the program. Or you can select ...
Page 54
M30290T2-CPE User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Screen after breakpoint setup There are three types of breakpoints as described below. - -Address match ...
Page 55
M30290T2-CPE User’s Manual (4) Executing up to the cursor position 1. Setup procedure for running the program up to the cursor position 2. After the execution has finished REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator ...
Page 56
M30290T2-CPE User’s Manual 3.6 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 REJ10J0494-0200 Rev.2.00 ...
Page 57
M30290T2-CPE User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying the event type Select the ...
Page 58
M30290T2-CPE User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Setting the address You can set eight ...
Page 59
M30290T2-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 ...
Page 60
M30290T2-CPE User’s Manual (4) Setting the hardware breakpoint combinatorial condition 1. Window for setting the combinatorial condition REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Setting the combinatorial condition There are following three conditions that ...
Page 61
M30290T2-CPE User’s Manual 3.7 Trace Window (1) Trace window 1. Opening the trace window 2. Trace window REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Trace window Clicking this button opens the trace window. Or ...
Page 62
M30290T2-CPE User’s Manual 2. Trace window (bus display) Bus display Disassemble display Source display REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Explanation of the trace window (bus display) The following explains the displayed contents, ...
Page 63
M30290T2-CPE User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Stop Click this toolbar button to suspend the trace measurement ...
Page 64
M30290T2-CPE 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 REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Trace Point ...
Page 65
M30290T2-CPE User’s Manual 3. Specifying a trace area 4. Setting the trace write condition REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) Specifying a trace area You can specify a trace range for the trace ...
Page 66
M30290T2-CPE User’s Manual 3.8 RAM Monitor Window (1) RAM monitor window 1 Opening the RAM monitor window 2. RAM monitor window REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) RAM monitor Clicking this button opens ...
Page 67
M30290T2-CPE 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 REJ10J0494-0200 Rev.2.00 July 16, 2005 3. Usage (How to Use the Emulator Debugger) RAM monitor ...
Page 68
M30290T2-CPE 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 REJ10J0494-0200 Rev.2.00 July 16, 2005 ...
Page 69
M30290T2-CPE 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 ...
Page 70
M30290T2-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. Note on Differences between the Actual ...
Page 71
M30290T2-CPE User’s Manual Note on Access Prohibited Area: You cannot use internally reserved areas. Write signals to the areas will be ignored, and values read will be undefined. Notes on Stack Area: With this product, a maximum 8 bytes of ...
Page 72
M30290T2-CPE User’s Manual 4.3 Connection Diagram Figures 4.1 shows a part of the connection diagram of the M30290T2-CPE. This connection diagram mainly shows the interface section. The circuits not connected to the user system such as the emulator's control system ...
Page 73
M30290T2-CPE User’s Manual 4.4 External Dimensions 4.4.1 External Dimensions of the Compact Emulator Figure 4.2 shows external dimensions of the M30290T2-CPE connected with the M30290T-PTCB. POWER SAFE LED2 LED3 POWER CLOCK RESET RUN RUN LED6 COMPACT EMULATOR Figure 4.2 External ...
Page 74
... External Dimensions of the Converter Board M30260T-48FPD Figure 4.4 shows external dimensions and a sample foot pattern of the converter board M30260T-48FPD (included with the M30260T2-CPE-GP) for a 48-pin 0.5-mm-pitch LQFP. 34.0 Figure 4.4 External dimensions and a sample foot pattern of the converter board M30260T-48FPD REJ10J0494-0200 Rev ...
Page 75
M30290T2-CPE User’s Manual 4.4.4 External Dimensions of the Converter Board M30291T-64FPD Figure 4.5 shows external dimensions and a sample foot pattern of the converter board M30291T-64FPD (included with the M30291T2-CPE-HP) for a 64-pin 0.5-mm-pitch LQFP. 36.0 Figure 4.5 External dimensions ...
Page 76
M30290T2-CPE 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 the Self-check: If the self-check does not result ...
Page 77
M30290T2-CPE User’s Manual Note on Clock Supply to the MCU: A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger. (1) When "Internal" is selected: A clock generated ...
Page 78
M30290T2-CPE User’s Manual Notes on Address-Match Interrupts: When you use the address-match interrupt function in a user program, uncheck "Enable the Address Match Interrupt Break Function" in the MCU tab of the Init dialog box of the emulator debugger. Thus, ...
Page 79
M30290T2-CPE User’s Manual Notes on Debugging in CPU Rewrite Mode: When you debug M16C/26A, 28, 29 Group MCUs in CPU rewrite mode, do not change the block 0 area (FF000h--FFFFFh) of the flash ROM. Otherwise, the emulator will be uncontrollable. ...
Page 80
M30290T2-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 ...
Page 81
M30290T2-CPE User’s Manual 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the M30290T2-CPE Do Not Display Normally Table 5.1 Errors LEDs show and their checkpoints Error LEDs do not light up. Target Status ...
Page 82
M30290T2-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 ...
Page 83
M30290T2-CPE User’s Manual (3) Errors Occur at Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is uncontrollable. REJ10J0494-0200 Rev.2.00 July 16, 2005 Checkpoint (1) Check that the NQPACK etc. mounted on the user system is ...
Page 84
M30290T2-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 page, then send the information to your local distributor. http://tool-support.renesas.com/eng/toolnews/registration/support.txt For prompt response, ...
Page 85
M30290T2-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 ...
Page 86
M30290T2-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 ...
Page 87
Compact Emulator for M16C/26A, 28, 29 Groups M30290T2-CPE User's Manual Publication Date: Jul. 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 ...
Page 88
Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan M30290T2-CPE User’s Manual REJ10J0494-0200(T) ...