M3062PT3-CPE-2 Renesas Electronics America, M3062PT3-CPE-2 Datasheet

no-image

M3062PT3-CPE-2

Manufacturer Part Number
M3062PT3-CPE-2
Description
EMULATOR COMPACT M16C/26A,28,29
Manufacturer
Renesas Electronics America
Type
In Circuit Debuggerr
Datasheet

Specifications of M3062PT3-CPE-2

Contents
Compact Emulator, IDE, Assembler and Linker
For Use With/related Products
M16C/26A, M16C/28, M16C/29
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 M3062PT3-CPE-2

M3062PT3-CPE-2 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

... M3062PT3-CPE User’s Manual Compact Emulator for M16C/62P, M16C/30P Groups Rev.4.00 2009.07 ...

Page 4

This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use. Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in ...

Page 5

... M3062PT3-CPE User’s Manual Regulatory Compliance Notices European Union regulatory notices on Electromagnetic compatibility CE Certifications: This product complies with the following European EMC standards. ・EMC Directive 2004/108/EC EN 55022 Class A WARNING: This is a Class A product domestic environment this product may cause radio EN 55024 Information for traceability: ・ ...

Page 6

... The M3062PT3-CPE is a compact emulator for the M16C Family M16C/60 Series M16C/62P Group and M16C/30 Series M16C/30P Group MCUs with the real-time trace function. This user's manual mainly describes specifications of the M3062PT3-CPE compact emulator and how to setup it. For details on the emulator debugger and C compiler package M3T-NC30WA evaluation version (C compiler NC30, assembler AS30 and integrated development environment High-performance Embedded Workshop), which are included with the M3062PT3-CPE, refer to each product's online manual ...

Page 7

... M3062PT3-CPE User’s Manual Important Before using this product, be sure to read the 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 8

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

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 10

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 11

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 12

... M3062PT3-CPE User’s Manual Contents Regulatory Compliance Notices ...................................................................................................................................3 Preface..........................................................................................................................................................................4 Important.......................................................................................................................................................................5 Precautions for Safety ..................................................................................................................................................7 Contents......................................................................................................................................................................10 User Registration ........................................................................................................................................................12 Terminology ................................................................................................................................................................13 1. Outline.....................................................................................................................................................................14 1.1 Package Components ...................................................................................................................................14 1.2 System Configuration ....................................................................................................................................15 1.2.1 Names and Functions of each part of the Emulator............................................................................16 1.3 Specifications ................................................................................................................................................19 1.4 Operating Environment..................................................................................................................................21 2. Setup.......................................................................................................................................................................22 2.1 Flowchart of Starting Up the Emulator ..........................................................................................................22 2 ...

Page 13

... M3062PT3-CPE User’s Manual 3. Usage (How to Use the Emulator Debugger) .........................................................................................................50 3.1 Starting Up the Emulator Debugger ..............................................................................................................50 3.2 INIT Dialog Box .............................................................................................................................................50 3.3 MCU Setting Dialog Box................................................................................................................................54 3.4 Checking Connections of the Emulator System ............................................................................................57 3.5 Program Execution ........................................................................................................................................58 3.6 Hardware Breakpoint Setting Window...........................................................................................................63 3.7 Trace Window................................................................................................................................................68 3 ...

Page 14

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

Page 15

... Workshop to control the emulator for the M16C Family and enables debugging. 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 M3062PT3-CPE. This program is downloadable from the emulator debugger to upgrade the firmware, etc. Host machine This means a personal computer used to control the M3062PT3-CPE emulator system ...

Page 16

... Integrated development environment High-performance Embedded Workshop * Please keep the M3062PT3-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 17

... M3062PT3-CPE User’s Manual 1.2 System Configuration Figure 1.1 shows a configuration of the M3062PT3-CPE system. (3) Power supply for emulator (not included) (6) Host machine (not included) Figure 1.1 System configuration (1) Compact emulator M3062PT3-CPE (this product) This is a compact emulator for the M16C/62P and M16C/30P Groups with the real-time trace functions (hereafter, emulator) ...

Page 18

... LED5 : MCU RESET pin status (RESET) LED6 : Program Execution (RUN Figure 1.2 Names of the LEDs on the upper panel of the M3062PT3-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 19

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

... M3062PT3-CPE User’s Manual (4) Power Connector (J1) This is a connector for connecting the power supply to this product. For details, refer to “2.4 Connecting the Power Supply for the Emulator” (page 24). (5) USB Cable Connector (J2) This is a USB cable connector for connecting the host machine to this product. For details, “2.5 Connecting the Host Machine” ...

Page 21

... M3062PT3-CPE User’s Manual 1.3 Specifications Tables 1.5 and 1.6 list specifications of the M3062PT3-CPE. Table 1.5 M3062PT3-CPE specifications (1/2) Applicable MCUs Usable mode Maximum ROM/RAM capacity Maximum operating frequency Applicable power supply *1 Emulation memory Basic debugging functions Real-time trace function Real-time RAM monitor function ...

Page 22

... M3062PT3-CPE User’s Manual Table 1.6 M3062PT3-CPE specifications (2/2) Connection to user system (see “2.8 Connecting the User System” page 33) Power supply for emulator Host machine interface *3 Set packages which consist of the compact emulator and converter board are available. *4 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 23

... M3062PT3-CPE User’s Manual 1.4 Operating Environment Be sure to use thins 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 Storage temperature Table 1.8 Operating environment of the host machine ...

Page 24

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

... M3062PT3-CPE User’s Manual 2.2 Installing the Included Software If the OS used in your host machine is Windows® Windows® 2000, this installation must be executed by a user with administrator rights. Be aware that users without administrator rights cannot complete the installation. Install the software as instructed by the displayed messages by inserting the included CD into the CD-ROM drive. ...

Page 26

... M3062PT3-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 of power supply of the emulator DC 5.0 V±5%/2 A Power supply voltage Figures 2 ...

Page 27

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

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

... M3062PT3-CPE User’s Manual 2.6.2 VCC1, VCC2 power selection jumper (Jumper of the M3062PT2-EPBM) Set the VCC1, VCC2 power selection jumper of the M3062PT2-EPBM according to conditions of use. Figure 2.7 shows the position of the VCC1, VCC2 power selection jumper, and Table 2.3 lists the switch settings of the VCC1, VCC2 power selection jumper ...

Page 30

... M3062PT3-CPE User’s Manual 2.6.3 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.4 Turning ON/OFF the Power Turn ON/OFF the power of the emulator and user system as simultaneously as possible. ...

Page 31

... M3062PT3-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.8 shows the positions of the emulator status LEDs. System status LEDs Target status LEDs Figure 2 ...

Page 32

... M3062PT3-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 OFF Figure 2.10 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 33

... M3062PT3-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.11. (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.4). ...

Page 34

... M3062PT3-CPE User’s Manual 2.7 Error is Detected in the Self-check Table 2.5 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.5. ...

Page 35

... M3062PT3-CPE User’s Manual 2.8 Connecting the User System Figure 2.12 shows the connection of the M3062PT3-CPE and the user system. 80-pin 0.65mm pitch 0.65mm pitch LCC socket M3062PT-80FPB M3T-F160-100NRB 100-pin LCC 100-pin QFP 80-pin QFP (not included) (not included) (not included) Figure 2 ...

Page 36

... Attach the NQPACK080SB included with the M3062PT-80FPB to the user system. (2) Attach the YQPACK080SB included with the M3062PT-80FPB to the NQPACK080SB and secure it with the YQ- GUIDE's. (3) Attach the CN2 side of the M3062PT-80FPB to the J4 side of the M3062PT3-CPE. (4) Attach the M3062PT-80FPB to the YQPACK080SB. These corners are not round Figure 2 ...

Page 37

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

Page 38

... Attach the NQPACK100RB included with the M3T-F160-100NRB to the user system. (2) Attach the YQPACK100RB included with the M3T-F160-100NRB to the NQPACK100RB and secure it with the YQ- GUIDE's. (3) Attach the CN2 side of the M3T-F160-100NRB to the J4 side of the M3062PT3-CPE. (4) Attach the M3T-F160-100NRB to the YQPACK100RB. These corners are not round. ...

Page 39

... Attach the M3T-DIRECT100S to the user system. (2) Attach the M3T-100LCC-DMS to the M3T-DIRECT100S. (3) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT3-CPE. (4) Attach the M30800T-PTC to the M3T-100LCC-DMS. Figure 2.16 Connecting to a 100-pin 0.65mm pitch foot pattern (Part 2) Note on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 40

... Attach the M3T-DUMMY100S to the user system. (2) Attach the M3T-100LCC-DMS to the M3T-DUMMY100S. (3) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT3-CPE. (4) Attach the M30800T-PTC to the M3T-100LCC-DMS. Figure 2.17 Connecting to a 100-pin 0.65mm pitch foot pattern (Part 3) Note on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 41

... GUIDE's. (3) Attach the M3T-FLX-100NRB to the YQPACK100RB. (4) Attach the M3T-100LCC-DMS to the M3T-FLX-100NRB (5) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT3-CPE. (6) Attach the M30800T-PTC to the M3T-100LCC-DMS. These corners are not round . Figure 2.18 Connecting to a 100-pin 0.65mm pitch foot pattern (Part 4) Note on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 42

... Attach the NQPACK100SD-ND included with the M3T-F160-100NSD to the user system. (2) Attach the YQPACK100SD included with the M3T-F160-100NSD to the NQPACK100SD-ND and secure it with the YQ- GUIDE's. (3) Attach the CN2 side of the M3T-F160-100NSD to the J4 side of the M3062PT3-CPE. (4) Attach the M3T-F160-100NSD to the YQPACK100SD. These corners are not round . ...

Page 43

... Attach the TQPACK100SD to the user system. (2) Attach the TQSOCKET100SDG included with the M3T-100LCC-QSD to the TQPACK100SD. (3) Attach the M3T-100LCC-QSD to the TQSOCKET100SDG. (4) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT3-CPE. (5) Attach the M30800T-PTC to the M3T-100LCC-QSD. * Avaiable in one package Figure 2.20 Connecting to a 100-pin 0.5mm pitch foot pattern (Part 2) Note on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 44

... Attach the M3T-FLX-100NSD to the user system. (2) Attach the M3T-100LCC-DMS to the M3T-FLX-100NSD. (3) Attach the CN2 side of the M30800T-PTC to the J4 side of the M3062PT3-CPE. (4) Attach the M30800T-PTC to the M3T-100LCC-DMS. These corners are not round . Figure 2.21 Connecting to a 100-pin 0.5mm pitch foot pattern (Part 3) Note on Connecting the User System: Take care not to attach a converter board in a wrong direction ...

Page 45

... Attach the NQPACK128RD included with the M3T-F160-128NRD to the user system. (2) Attach the YQPACK128RD included with the M3T-F160-128NRD to the NQPACK128RD and secure it with the YQ- GUIDE's. (3) Attach the CN2 side of the M3T-F160-128NRD to the J4 side of the M3062PT3-CPE. (4) Attach the M3T-F160-128NRD to the YQPACK128RD. These corners are not round . ...

Page 46

... Using an Internal Oscillator Circuit Board 1. Kinds of Oscillator Boards The M3062PT3-CPE comes with an oscillator circuit board OSC-3 (16MHz). 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

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

Page 48

... M3062PT3-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.24 shows an external view of the OSC-2 oscillator circuit bare board and the connector pin locations. Figure 2.25 shows the circuitry of the oscillator circuit bare board OSC-2 ...

Page 49

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

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

Page 51

... M3062PT3-CPE User’s Manual 2.9.3 Pullup of Emulation Ports Because this product emulates some I/O ports ( and P10), you can not pullup ports the pullup control registers. Install the included resistor arrays (51kΩ) as necessary. Figure 2.29 shows the positions of the pullup resistors. ...

Page 52

... M3062PT3-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 the session. The session can be changed by the drop down list of the tool bar shown below ...

Page 53

... M3062PT3-CPE User’s Manual 2. Using or not using the address match break function 3. Using or not using the CPU rewrite mode 4. Using or not using the trace point function REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Using or not using the address match break ...

Page 54

... M3062PT3-CPE User’s Manual 5. Executing the self-check (2) Debugging Information tab Cancel REJ10J1007-0400 Rev.4.00 July 29, 2009 Executing the self-check Enable this function when you want the emulator to be self- checked at startup. Be sure to select the check box only when you want the emulator to be self-checked at startup. ...

Page 55

... M3062PT3-CPE User’s Manual (3) Emulator tab Cancel (4) Script tab Cancel . REJ10J1007-0400 Rev.4.00 July 29, 2009 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

... M3062PT3-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. When you have finished the settings click OK (1) MCU tab 1. Specifying the processor mode *1 When the emulation memory board R0E33062PMSRC0 (not included) was connected, MAP tab is displayed ...

Page 57

... M3062PT3-CPE User’s Manual Notes on Debugging M16C/30P Group MCUs: When debugging the M16C/30P Group MCUs, be sure to deselect the box of the internal reserved area expansion bit (PM13), then start the emulator debugger. The M16C/62P Groups MCUs are used as an evaluation MCU for this product. An initial value of the internal reserved area expansion bit (PM13) for the M16C/62P Group is different from that of for the M16C/30P Group ...

Page 58

... M3062PT3-CPE User’s Manual (2) MAP tab *1 When the emulation memory board R0E33062PMSRC0 (not included) was connected, MAP tab is displayed. (3) Flash Clear tab REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Specifying the emulation memory allocation Sets the memory area assigned to the emulation memory by 4KB. ...

Page 59

... M3062PT3-CPE User’s Manual 3.4 Checking Connections of the Emulator System REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after you have finished setting up the Init dialog box and the MCU Setting dialog box, you will see a message “ ...

Page 60

... M3062PT3-CPE User’s Manual 3.5 Program Execution (1) Downloading the program 1. Downloading from the work space window 2. Showing the source program REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Downloading the program Download the object program you want to debug. Select Download from “xxx.x30” of “Download module”. ...

Page 61

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) CPU reset Resets the target MCU ...

Page 62

... M3062PT3-CPE User’s Manual 6 Stopping the user program 7 Editor (Source) window after you have stopped the user program REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) STOP Stops the program. Or you can select “Stop” from “Debug” menu for the same effect ...

Page 63

... M3062PT3-CPE User’s Manual (3) Setting breakpoints 1. Screen after breakpoint setup REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Screen after breakpoint setup There are three types of breakpoints as described below. - Address match breakpoint This breakpoint can be set only when you chose to use the address match break function on the MCU tab of the Init dialog box ...

Page 64

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Setup procedure for running the program ...

Page 65

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) ...

Page 66

... M3062PT3-CPE User’s Manual 4. Opening the break event setting dialog box (2) When FETCH is selected 1. Window for setting addresses REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Specifying the event type Select the event type that you want to set from the drop- down list ...

Page 67

... M3062PT3-CPE User’s Manual (3) When DATA ACCESS is selected 1. Window for setting the address 2. Window for setting data REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Setting the address You can set eight conditions, e.g., a specified address, a specified address range, etc. ...

Page 68

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

... M3062PT3-CPE User’s Manual (4) Setting the hardware breakpoint combinatorial condition 1. Window for setting the combinatorial condition REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Setting the combinatorial condition There are following three conditions that you can choose for the combinatorial condition. ...

Page 70

... M3062PT3-CPE User’s Manual 3.7 Trace Window (1) Trace window 1. Opening the trace window 2. Trace window REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the 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

... M3062PT3-CPE User’s Manual 3. Trace window (bus display) 4. Trace window (disassemble display) 5. Trace window (source display) REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Explanation of the trace window (bus display) The following explains the displayed contents, from left to right. ...

Page 72

... M3062PT3-CPE User’s Manual (2) Suspending and resuming trace measurement 1. Suspending trace measurement 2. Resuming trace measurement REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Suspend 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

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Trace Point Clicking this toolbar button opens the trace point setting window ...

Page 74

... M3062PT3-CPE User’s Manual 3. Specifying a trace area 4. Setting the trace write condition REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) Specifying a trace area 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

... M3062PT3-CPE User’s Manual 3.8 RAM Monitor Window (1) RAM monitor window 1 Opening the RAM monitor window 2. RAM monitor window REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) RAM monitor Clicking this button opens the RAM monitor window. Or you can select “RAM monitor” from “CPU” of “ ...

Page 76

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) RAM monitor area setting Clicking this toolbar button opens the RAM monitor area setting window ...

Page 77

... M3062PT3-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 REJ10J1007-0400 Rev.4.00 July 29, 2009 3. Usage (How to Use the Emulator Debugger) ...

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 M3062PT3-CPE Item Applicable MCU Evaluation MCU Applicable MCU mode ...

Page 79

... M3062PT3-CPE User’s Manual 4.2 Access Timing Because this product emulates some ports, access timings are different from those of the actual MCUs. Chapters 4.2.1 and 4.2.2 describe the access timing using this product. 4.2.1 Operation Timing of Memory Expansion Mode and Microprocessor Mode (VCC1=VCC2=5V) (1) Separate Bus Timing Table 4 ...

Page 80

... M3062PT3-CPE User’s Manual Read timing BCLK td(BCLK-CS) CSi tcyc td(BCLK-AD) ADi BHE td(BCLK-ALE) th(BCLK-ALE) ALE td(BCLK-RD) RD Hi-Z DBi Write timing BCLK td(BCLK-CS) CSi tcyc td(BCLK-AD) ADi BHE td(BCLK-ALE) th(BCLK-ALE) ALE td(BCLK-WR) WR, WRL ,WRH Hi-Z DBi Figure 4.1 Memory expansion mode and microprocessor mode (3 wait, accessing external area) REJ10J1007-0400 Rev ...

Page 81

... M3062PT3-CPE User’s Manual (2) Multiplex Bus Timing Table 4.3 and Figure 4.2 show the bus timing in memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus). Table 4.3 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) ...

Page 82

... M3062PT3-CPE User’s Manual Read timing tcyc BCLK td(BCLK-CS) CSi td(AD-ALE) th(ALE-AD) ADi /DBi td(BCLK-AD) ADi BHE td(BCLK-ALE) ALE th(BCLK-ALE) RD Write timing tcyc BCLK td(BCLK-CS) CSi td(AD-ALE) th(ALE-AD) ADi /DBi td(BCLK-AD) ADi BHE td(BCLK-ALE) ALE th(BCLK-ALE) WR, WRL , W RH Figure 4.2 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) REJ10J1007-0400 Rev ...

Page 83

... M3062PT3-CPE User’s Manual (3) Timing Requirements Tables 4.4 and Figure 4.3 list the timing requirements in memory expansion mode and microprocessor mode. Table 4.4 Timing requirements Symbol tsu(DB-RD) Data input setup time tsu(RDY-BCLK) RDY# input setup time HOLD# input setup time tsu(HOLD-BCLK) ...

Page 84

... M3062PT3-CPE User’s Manual 4.2.2 Operation Timing of Memory Expansion Mode and Microprocessor Mode (VCC1=VCC2=3V) (1) Separate Bus Timing Table 4.5 and Figure 4.4 show the bus timing in memory expansion mode and microprocessor mode (3 wait, accessing external area). Table 4.5 Memory expansion mode and microprocessor mode (3 wait, accessing external area) ...

Page 85

... M3062PT3-CPE User’s Manual Read timing BCLK td(BCLK-CS) CSi tcyc td(BCLK-AD) ADi BHE td(BCLK-ALE) th(BCLK-ALE) ALE td(BCLK-RD) RD Hi-Z DBi Write timing BCLK td(BCLK-CS) CSi tcyc td(BCLK-AD) ADi BHE td(BCLK-ALE) th(BCLK-ALE) ALE td(BCLK-WR WRL,WRH Hi-Z DBi Figure 4.4 Memory expansion mode and microprocessor mode (3 wait, accessing external area) REJ10J1007-0400 Rev ...

Page 86

... M3062PT3-CPE User’s Manual (2) Multiplex Bus Timing Table 4.6 and Figure 4.5 show the bus timing in memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus). Table 4.6 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) ...

Page 87

... M3062PT3-CPE User’s Manual Read timing tcyc BCLK td(BCLK-CS) CSi td(AD-ALE) th(ALE-AD) ADi /DBi td(BCLK-AD) ADi BHE td(BCLK-ALE) ALE th(BCLK-ALE) RD Write timing tcyc BCLK td(BCLK-CS) CSi td(AD-ALE) th(ALE-AD) ADi /DBi td(BCLK-AD) ADi BHE td(BCLK-ALE) ALE th(BCLK-ALE) WR, WRL,WRH Figure 4.5 Memory expansion mode and microprocessor mode (2 wait, accessing external area, using multiplex bus) REJ10J1007-0400 Rev ...

Page 88

... M3062PT3-CPE User’s Manual (3) Timing Requirements Table 4.7 and Figures 4.6 show timing requirements in memory expansion mode and microprocessor mode. Table 4.7 Timing requirements Symbol tsu(DB-RD) Data input setup time tsu(RDY-BCLK) RDY# input setup time tsu(HOLD-BCLK) HOLD# input setup time th(RD-DB) ...

Page 89

... M3062PT3-CPE User’s Manual 4.3 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below. When debugging the MCU using this product, be careful about the following precautions. Note on Differences between the Actual MCU and Emulator: Operations of the emulator system differ from those of actual MCUs as listed below ...

Page 90

... M3062PT3-CPE User’s Manual Notes on Maskable Interrupts: Even if a user program is not being executed (including when run-time debugging is being performed), the evaluation MCU keeps running control the emulation probe. Therefore, timers and other components do not stop running maskable interrupt is requested when the user program is not being executed (including when run-time debugging is being performed), the maskable interrupt request cannot be accepted, because the emulator disables interrupts ...

Page 91

... M3062PT3-CPE User’s Manual Note on Accessing Addresses 00000h and 00001h: With the M16C/60 Series MCUs, when a maskable interrupt is generated, the interrupt data (interrupt number and interrupt request level) stored in addresses 00000h and 00001h are read out. Also, the interrupt request bit is cleared when address 00000h or 00001h is read out ...

Page 92

... M3062PT3-CPE User’s Manual Note on the Input Thresholds for the Pins P1_5/D13/INT3, P1_6/D14/INT4 and P1_7/D15/INT5 With this product, regarding pins P1_5/D13/INT3, P1_6/D14/INT4 and P1_7/D15/INT5, a device which port or data bus inputs to and a device which INT interrupt inputs to are different as follows: Device which port or data bus inputs to: Port emulation FPGA (input level: TTL) ...

Page 93

... M3062PT3-CPE User’s Manual 4.4 Connection Diagram Figure 4.7 shows a part of the connection diagram of the M3062PT3-CPE. This connection diagram mainly shows the interface section. The circuits not connected to the user system such as the emulator's control system are omitted. The signals not shown in Figure 4.7 connect the evaluation MCU and the user system directly. Tables 4.8 and 4.9 show IC electric characteristics of this product for reference purposes ...

Page 94

... M3062PT3-CPE User’s Manual Table 4.8 Electrical characteristics of the 74HC4066 Symbol Item RON ON resistor ΔRON ON resistor difference IOFF Leak current (Off) IIZ Leak current (On, output: open) Table 4.9 Electrical characteristics of port emulation FPGA Symbol Item VIH High level input voltage VIL ...

Page 95

... RUN STATUS RUN LED6 COMPACT EMULATOR MADE IN JAPAN 15.0 15.0 Figure 4.8 External dimensions of the M3062PT3-CPE when the M30800T-PTC (not included) and 100-pin LCC (not included) socket are mounted REJ10J1007-0400 Rev.4.00 July 29, 2009 100.0 85.0 POWER USB 5.0V 5.0V JP2 3.3V ...

Page 96

... M3062PT3-CPE User’s Manual 4.6 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. Note on the Version of the Emulator Debugger: Be sure to use this product with one of the following emulator debuggers. ...

Page 97

... M3062PT3-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 by the oscillator circuit board in the emulator is supplied continually supplied regardless of the status of the user system clock and that of the user program execution. ...

Page 98

... M3062PT3-CPE User’s Manual Notes on Address-Match Breaks: As the processing speed of setting and canceling address-match breaks is relatively fast, you can save the times of writing into the internal flash ROM of an MCU. Address-match breaks can be set only in RAM and ROM areas of an MCU. ...

Page 99

... M3062PT3-CPE User’s Manual Note on Internal Flash ROM of the MCU: Because the number of write/erase cycles of the internal flash ROM of the MCU is limited, it must be replaced at the end of its service-life. If the following errors occur frequently when downloading a program, replace the MCU board. (1) Flash ROM erase error occurred ERROR (16258) (2) Flash ROM verify error occurred ERROR (16259) To purchase products for replacement, contact your local distributor ...

Page 100

... M3062PT3-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. Note on Memory Area Expansion Function (Normal Mode): When connecting the emulation memory board R0E33062PMSRC0 (not included) and debugging in memory expansion mode or microprocessor mode with this product, the emulation memory can be allocated ...

Page 101

... M3062PT3-CPE User’s Manual Notes on Power Supply to the User System: Pins VCC1 and VCC2 are connected to the user system to observe the voltage. Therefore, the power is not supplied to the user system from the emulator, design your system so that the user system is powered separately. ...

Page 102

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

... M3062PT3-CPE User’s Manual 5.2 When the Emulator Debugger Does Not Start Up Properly (1) When the LEDs of the M3062PT3-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 104

... M3062PT3-CPE User’s Manual (3) Errors Occur at Emulator Debugger Startup Table 5.3 Checkpoints of errors at debugger startup Error Target MCU is in the reset state. Target MCU cannot be reset. Target is in "HOLD" state. Target clock is stopped. Target MCU is not receiving power. Target MCU is uncontrollable. ...

Page 105

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

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

Page 107

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

... M3062PT3-CPE User’s Manual REJ10J1007-0400 Rev.4.00 July 29, 2009 This page is blank. 6. Maintenance and Guarantee Page 106 of 108 ...

Page 109

... Compact Emulator for M16C/62P, M16C/30P Groups M3062PT3-CPE User's Manual Publication Date: Jul. 29, 2009 Sales Strategic Planning Div. Published by: Renesas Technology Corp. Microcomputer Tool Development Department Edited by: Renesas Solutions Corp. © 2009. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan. ...

Page 110

... Shimonumabe, Nakahara-ku, Kawasaki-shi, Kanagawa 211-8668 Japan M3062PT3-CPE User’s Manual REJ10J1007-0400(T) ...

Related keywords