background image

M306K9T2-CPE

Compact Emulator with Real-time Trace Functions for M306K9

User's Manual

Rev. 1.00

May 1, 2003

REJ10J0042-0100Z

Summary of Contents for M306K9T2-CPE

Page 1: ...M306K9T2 CPE Compact Emulator with Real time Trace Functions for M306K9 User s Manual Rev 1 00 May 1 2003 REJ10J0042 0100Z...

Page 2: ...ducts Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss resulting from the information contained herein Renesas Technolog...

Page 3: ...rated development environment TM refer to each product s user s manual If there is any question about this product contact your local distributor To use the product properly Precautions for Safety In...

Page 4: ...omputer used to control the emulator Emulator debugger This means a software tool M3T PD30M V 2 00 or later to control the emulator from the host machine through an communications interface Evaluation...

Page 5: ...r System 25 2 Turning On the Power 25 3 LED Display When the Emulator Starts Up Normally 26 2 7 Starting Up Emulator Debugger PD30M 27 2 8 Setting the Operating Environment of Emulator Debugger PD30M...

Page 6: ...PD30M Starts Up 46 5 2 Troubleshooting When Using Emulator Debugger PD30M 47 5 3 If Emulator Operation is Abnormal 48 1 Self check Procedure in Self check Mode 48 2 If an Error is Detected in the Self...

Page 7: ...for Use Environment 9 Cautions to Be Taken for Turning On the Power 9 Cautions to Be Taken for Handling This Product 9 Cautions to Be Taken for System Malfunctions 9 Notes on Differences between the...

Page 8: ...ngs The following pages describe the symbols WARNING CAUTION and IMPORTANT In addition to the three above the following are also used as appropriate means WARNING or CAUTION Example CAUTION AGAINST AN...

Page 9: ...handling the main unit Be careful not to apply a mechanical shock Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly Static electricity may damage th...

Page 10: ...etails refer to Note on MCU Functions That Cannot Be Used with This Emulator page 11 6 DBC single step and BRK instruction interrupt vector table addresses As the emulator uses the DBC single step and...

Page 11: ...not be used MCU watchdog timers can only be used during program execution free running Disable watchdog timers in all other program operations break dump forced stop etc Also if the target system has...

Page 12: ...tack area using other areas not designed for use as stacks SFR area RAM area that stored data or ROM area can damage the user program or destabilize emulator control Therefore ensure a maximum 4 bytes...

Page 13: ...pted only while a user program is being executed only while the RUN status LED of the emulator is lit Notes on the Target System Power Supply Order of Powering On When the target system is connected b...

Page 14: ...14 56 MEMO...

Page 15: ...r 19 2 3 Emulator Initial Settings 20 2 4 Connecting the Emulator System 22 2 5 Connecting the Target System As Occasion Demands 23 2 6 Turning On the Power 25 2 7 Starting Up Emulator Debugger PD30M...

Page 16: ...Note Be aware that there are some AC adapters whose power supply voltage varies rather widely with its load You are recommended to use an AC adapter with a switching power supply or a stabilized powe...

Page 17: ...arted normally Emulator system has not started normally Name POWER CLOCK RESET RUN Number LED3 LED4 LED5 LED6 Color Orange Green Red Green Status ON OFF ON OFF ON OFF ON OFF Function Power is supplied...

Page 18: ...he emulator debugger Stops the user s program initializes the emulator and waits for a command from the emulator debugger Function When the user s program is halted When the user s program is executed...

Page 19: ...Recheck the connection and turn on the emulator When the target system is connected turn on the target system too Turn them on as simultaneously as possible Check that the system status LEDs and POWER...

Page 20: ...CU power supply selection jumpers MADE POWER SW1 COMPACT EMULATOR INT JP1 5 0V JP2 3 3V EXT CLOCK RESET RUN LED3 LED6 LED5 LED4 POWER LED1 SAFE LED2 INT JP1 EXT SW1 P87 XCIN selection switch SW2 P86 O...

Page 21: ...tch Setting Description P87 XCIN SW1 SW2 XOUT SW3 Connects pin P87 XCIN of the MCU to the target system uses pin P87 XCIN as P87 Connects pin P87 XCIN of the MCU to the sub clock oscillator circuit 32...

Page 22: ...ely Figure 2 6 Specification of the power connector Figure 2 7 Specification of an applicable plug Electrode Electrode 4 75 mm 1 7 mm Inside diameter DC 5 0 V 5 2 A Power supply voltage MADE POWER SW1...

Page 23: ...CAUTION Notes on Connecting Target Systems Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the compact emulator Always shut OFF the emulator and the ta...

Page 24: ...Attach the YQPACK144SE included with the M3T FLX 144NSE to the NQPACK144SE 3 Insert the YQ GUIDE s included with this product to the YQPACK144SE 4 Attach the M306K9T2 CPE to the M3T FLX 144NSE 5 Atta...

Page 25: ...le CAUTION Notes on Power Supply As this emulator cannot supply power to the target system provide the target system with a separate power supply from that of the emulator This emulator consumes max 5...

Page 26: ...get status LEDs light After that make sure the target status LEDs light up normally If the target status LEDs do not light as shown in Figure 2 11 or Figure 2 12 see 5 1 Troubleshooting Until the Emul...

Page 27: ...r debugger PD30M To start up the emulator debugger follow the steps below Click the Start button of Windows And select Program P RENESAS TOOLS PD30M V 2 00 Release 1 PD30M 2 8 Setting the Operating En...

Page 28: ...28 56 MEMO...

Page 29: ...er describes how to change the setting of this product 3 1 Using the Emulator without the Target System 30 3 2 Using the Emulator with the Target System 30 3 3 Selecting a Clock Supplied to an MCU 31...

Page 30: ...ow to use the emulator with the target system is shown below 1 Set the MCU power supply source selection jumper to EXT side see page 20 When using the emulator with the target system set the MCU power...

Page 31: ...by the Clock tab of the Init dialog box when starting up the emulator debugger or the CLK command input on the script window For details refer to user s manual of the emulator debugger 1 Selecting by...

Page 32: ...s used between the evaluation MCU and the target system It is same for sub clock oscillator circuits XCIN and XCOUT Figure 3 2 Circuit in which oscillation does not occur same for XCIN XCOUT IMPORTANT...

Page 33: ...d bare board and where connector pins are located Figure 3 4 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator ma...

Page 34: ...the J6 connec tor of the emulator 4 Secure the new oscillator circuit board with the screw 1 Unscrew the screw securing the oscillator cir cuit board 2 Lift off the oscillator circuit board Figure 3...

Page 35: ...ct Figure 3 6 Foot pattern for A D conversion bypass capacitors IMPORTANT Note on the A D Converter Function Because a converter board and other devices are used between the evaluation MCU and the tar...

Page 36: ...36 56 MEMO...

Page 37: ...37 56 Chapter 4 Specifications This chapter describes specifications of this product 4 1 Specifications 38 4 2 Memory Map 39 4 3 Connection Diagram 40 4 4 Emulator External Dimensions 41...

Page 38: ...re the power supply separately USB USB 1 1 full speed mini B standard connector used M16C 6K Group M306K9 Single chip mode M30622SAFP M306K9F0LFP For internal RAM area 5 KB For internal ROM area 128 K...

Page 39: ...ator Otherwise the emulator may malfunction Actual MCU Emulator SFR area Internal RAM area Unused area Internal ROM area SFR area Internal RAM area emulation memory Debugger work area Do Not Access Un...

Page 40: ...n and the circuits which are not connected to the target system such as the emulator s control system are omitted AVCC VREF AVSS P85 NMI P86 XCOUT M0 M1 C1 C2 SW3 100 10k P87 XCIN 10k RESET XIN XOUT T...

Page 41: ...gure 4 3 shows external dimensions of the emulator MADE POWER SW1 COMPACT EMULATOR 85 0 60 0 22 0 15 0 10 0 16 5 23 0 8 5 10 0 8 5 55 0 15 0 23 0 16 0 16 0 CLOCK RESET RUN LED3 LED6 LED5 LED4 POWER LE...

Page 42: ...42 56 MEMO...

Page 43: ...ibes how to troubleshoot when this product does not work properly 5 1 Troubleshooting Until the Emulator Starts Up 44 5 2 Troubleshooting When Using Emulator Debugger PD30M 47 5 3 If Emulator Operatio...

Page 44: ...emulator starts up Starting up PD30M Result of emulator self check XIN XCIN clock supplied Pin NMI H Pin MO L Self check terminated normally Target status LEDs displays normally Self check error dete...

Page 45: ...se pin M0 is held H This product is an emulator which operates only in single chip mode Check that pin M0 is held Low The emulator system does not work properly The emulator may be damaged Contact you...

Page 46: ...box is set to External change it to Internal Contact your local distributor Contact your local distributor Table 5 2 Error display and how to remedy it when starting up the emulator 2 2 2 Troubleshoo...

Page 47: ...cillation circuit works properly Also if using the sub clock see 2 3 2 Function Selection Switches page 21 If the external clock supply is selected change it to internal supply Also if using the sub c...

Page 48: ...FE LED is turned off and one or more target status LEDs start blinking according to the error type SAFE LED status Normal LED display ON Blinking OFF Error POWER CLOCK RESET RUN LED3 LED4 LED5 LED6 PO...

Page 49: ...does not work properly Check that power is supplied to the emulator The emulator may be damaged Contact your local distributor A clock is not supplied to the emulator Check that the oscillator circui...

Page 50: ...ORT product name SUPPORT TXT For prompt response please specify the following information 1 Operating environment Operating voltage X X V Operating frequency XX X MHz Clock supply to the MCU Internal...

Page 51: ...r 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 6 1 Maintenance 52 6 2 Guarantee 52 6 3 Repair Provisions 52 6 4 How to Request...

Page 52: ...leasing company or the owner 6 3 Repair Provisions 1 Repair with extra charge The products elapsed more than twelve months after purchase can be repaired with extra charge 2 Replacement with extra cha...

Page 53: ...Repair Request Sheet to Renesas Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience CAUTION Note on Transporting the P...

Page 54: ...54 56 MEMO...

Page 55: ...M306K9T2 CPE User s Manual Rev 1 00 May 1 2003 REJ10J0042 0100Z COPYRIGHT 2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...

Page 56: ......

Reviews: