background image

( 26 / 52 )

2.9 When Emulator Debugger PD30M Starts Up Normally

Figure 2.14 shows the window display when PD30M starts up normally.

If an error has been detected and PD30M has not started up, refer to "5.1 Troubleshooting Until the
Emulator Starts Up" (page 40).

Figure 2.14 Window display of PD30M when it has started up normally

Summary of Contents for Compact Emulator M30620T-CPE

Page 1: ...M30620T CPE Compact Emulator for M16C 62 Group M16C 62A User s Manual Rev 1 00 November 16 2003 REJ10J0270 0100Z ...

Page 2: ... on the applicability of the information and products Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss resulting from the information contained herein Renesas Technology semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at s...

Page 3: ...s online manual Emulator debugger M3T PD30M C compiler M3T NC30WA entry version Integrated development environment TM If there is any question or doubt about this product contact your local distributor To use the product properly Precautions for Safety In both this User s Manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries ...

Page 4: ...ator debugger This means a software tool M3T PD30M to control the emulator from the host machine through an communications interface In this user s manual the emulator debugger M3T PD30M is represented as PD30M Please read M3T PD30M for PD30M Evaluation MCU This means the microcomputer mounted on the emulator which is operated in the specific mode for tools Target MCU This means the microcomputer ...

Page 5: ...3 2 Turning On the Power 23 3 LED Display When the Emulator Starts Up Normally 24 2 7 Starting Up Emulator Debugger PD30M 25 2 8 Setting the Operating Environment of Emulator Debugger PD30M 25 2 9 When Emulator Debugger PD30M Starts Up Normally 26 Chapter 3 Changing the Settings 27 3 1 Using the Emulator without the Target System 28 3 2 Using the Emulator with the Target System 28 3 3 Using the P8...

Page 6: ...r Debugger PD30M Starts Up 42 5 2 Troubleshooting When Using Emulator Debugger PD30M 43 5 3 When the Operation of the Emulator is Abnormal 44 1 Self check Procedure in the Self check Mode 44 2 If an Error is Detected in Self checks 45 Chapter 6 Maintenance and Guarantee 47 6 1 Maintenance 48 6 2 Guarantee 48 6 3 Repair Provisions 48 6 4 How to Request for Repair 49 ...

Page 7: ...Product 9 Cautions to Be Taken for This Product 9 Note on Malfunctions in the System 9 Notes on Differences between the Actual MCU and Emulator 10 Note on MCU Functions That Cannot Be Used with This Emulator 11 Notes on Using this Product for Debugging Other than M16C 62A 12 Note on Restrictions in Using the Emulator 1 2 12 Note on Restrictions in Using the Emulator 2 2 13 Note on Controlling MCU ...

Page 8: ...ings 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 ELECTRIC SHOCK means PROHIBITION Example DISASSEMBLY PROHIBITED means A FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE If the requirements shown in the WARNING sentences are igno...

Page 9: ...ll void your warranty Cautions to Be Taken for This Product Use caution when 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 the internal circuits Do not pull the compact emulator main unit by the serial cable for connecting to the target system The c...

Page 10: ...ion circuit is Device M60081L 0142FP 6 MCU function Some MCU functions cannot be used in the emulator system For details refer to Note on MCU Functions That Cannot Be Used with This Emulator page 11 7 Pullup control register Operations of the pullup control registers are different from those of actual MCUs Not pulled up in actual MCUs When pull up control register 1 for port pins P44 P47 bit 1 of ...

Page 11: ... 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 a watchdog timer in its reset circuit disable it too when using the emulator 4 The BRK command cannot be used The BRK command cannot be used The vector address of the BRK interrupt is normally indicated in the emulator work area and the vector...

Page 12: ...t is sent 4 Address matched interrupt Do not set software breaks for an address for which an address matched interrupt is set In step execution do not execute addresses that generate address matched interrupts 5 Stop and wait modes Do not use a single step for the command that shifts to the stop mode Operation does not shift to the wait mode when the command that shifts to the wait mode is execute...

Page 13: ... is lit 2 NMI input The NMI input from the target system is accepted 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 be sure to set the JP1 of the emulator to EXT This emulator cannot supply the power to the target system Therefore design your system so ...

Page 14: ... 14 52 1 2 Declaration Concerning EMC Directive ...

Page 15: ...2 4 Connecting the Emulator System 21 1 Connecting the Serial Interface Cable 21 2 Connecting the Power Cable 21 2 5 Connecting the Target system as occasion demands 22 2 6 Turning On the Power 23 1 Checking the Connection of the Emulator System 23 2 Turning On the Power 23 3 LED Display When the Emulator Starts Up Normally 24 2 7 Starting Up Emulator Debugger PD30M 25 2 8 Setting the Operating En...

Page 16: ...tion This is a power supply for the emulator Supply 4 5 to 7 0 V DC Prepare the power supply separately The power cable is included with this product 4 Target system This is your application system This emulator can be used without the target system 5 Power supply for the target system This is a power supply for the target system As this emulator cannot supply the power to the target system supply...

Page 17: ...pply is turned on Emulator power supply is turned off Name POWER CLOCK RESET RUN Number LED2 LED3 LED4 LED5 Color Orange Green Red Green Status ON OFF ON OFF ON OFF ON OFF Function Power is supplied from the target MCU Power is not supplied from the target MCU Clock XIN or XCIN is supplied to the target MCU Clock is not supplied to the target MCU Target MCU is reset Target MCU is not reset User pr...

Page 18: ...ulator debugger Stops the user s program initializes the emulator and waits for commands from the emulator debugger Function When the user s program is halted When the user s program is executed CAUTION Note on System Reset Switch After pressing the system reset switch reboot the emulator debugger PD30M Otherwise the display of emulator debugger and the actual value in the emulator may not match W...

Page 19: ...m of emulator when necessary Recheck the connection and turn on the emulator When the target system is connected turn on the target system too Turn on them as simultaneously as possible Check the system status LED and POWER and CLOCK of the target status LEDs light When the target system is not connected POWER does not light Start up the emulator debugger PD30M In the INIT dialog box of emulator d...

Page 20: ...w set the switch according to the usage of P87 XCIN pin Table 2 5 Setting P87 XCIN selection switch P87 XCIN selection switch Factory setting PORT MCU power supply selection jumper Factory setting INT CAUTION Note on Setting Switches and Jumper Switches Always shut OFF when changing the setting of the switches and jumper switches and connecting the cable P87 XCIN selection switch Set to PORT Set t...

Page 21: ...s 2 6 and 2 7 show the specifications of the power connector and the applicable plug respectively Figure 2 6 Specification of power connector Figure 2 7 Specification of applicable plug CAUTION Note on Connecting the Power Supply of Emulator Be careful about the polarity of the power supply Connecting to the wrong electrode could destroy internal circuits The power cable included in this product p...

Page 22: ...check the position of No 1 pin 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 power of the emulator and the target system when connecting and disconnecting the target system Figure 2 9 Connecting target system LCC probe at the lower board of compact emulator 80 pin 100 p...

Page 23: ...ble 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 500 mA of electrical current from target system Therefore set the power supply of the target system considering this consumption Keep target system power supply voltage within the range of 3 0 to 5 0 ...

Page 24: ...e first 7 seconds after power is turned on all target status LEDs light After that check the LEDs light up as shown in the figures If the target status LEDs do not light as shown in Figures 2 11 and 2 12 see 5 1 Troubleshooting Until the Emulator Starts Up page 40 Figure 2 11 LED display when the emulator starts up normally target system is not connected Figure 2 12 LED display when the emulator d...

Page 25: ...e version of the emulator debugger 2 8 Setting the Operating Environment of Emulator Debugger PD30M After starting up PD30M as the Init dialog box will open set as shown in Figure 2 13 For details on Init dialog box refer to user s manual of PD30M Figure 2 13 Setting Init dialog box 2 Select the serial port where the emulator is connected 3 After completed the settings click OK button 1 Click Refe...

Page 26: ... Figure 2 14 shows the window display when PD30M starts up normally If an error has been detected and PD30M has not started up refer to 5 1 Troubleshooting Until the Emulator Starts Up page 40 Figure 2 14 Window display of PD30M when it has started up normally ...

Page 27: ...out the Target System 28 3 2 Using the Emulator with the Target System 28 3 3 Using the P87 XCIN Pin as a Port 28 3 4 Using the P87 XCIN Pin as Sub Clock Input 28 3 5 Selecting Clock Supply 29 1 Selecting Clock Supply 29 2 Using the Oscillator Circuit on the Target System 30 3 Changing the Internal Oscillator Circuit of Emulator 31 ...

Page 28: ...nnect the target system see page 22 Connect the LCC probe on the lower board of the emulator to the LCC socket option or the pitch converter board option 3 Connect the power supply for the emulator see page 23 As the emulator cannot supply power to the target system provide the target system with a separate power supply from that of the emulator 3 3 Using the P87 XCIN Pin as a Port How to use the ...

Page 29: ...k 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 Init dialog box Select main clock supply Select sub clock supply 2 Selecting by CLK command An example of CLK command input by the script window is shown below example 1 When XIN XOUT main clock is supplied from...

Page 30: ...the XIN pin And the XOUT pin should be open It is same for sub clock oscillator XCIN and XCOUT Figure 3 1 External oscillator circuit Make note of the fact that in the oscillator circuit shown in Figure 3 2 where a resonator is connected between the XIN and XOUT pins oscillation does not occur because an emulation circuit is used between the evaluation MCU and the target system It is same for sub ...

Page 31: ...d when a 16MHz oscillator is installed During standalone operation the emulator operates at 3 3 V which exceeds the guaranteed operating frequency of the MCU Generally the oscillator can be replaced only twice removal and installation count as one time Any more than this will effect board pattern durability it is not recommended Be careful not to damage other devices when replacing the oscillator ...

Page 32: ...he emulator The connectors are designed so that they cannot be inserted in the opposite direction therefore check orientation before inserting the oscillator Also insert the oscillator without applying excessive force Insert an equal amount of force to the connectors on each end of the target connection board when inserting the board Note Do not insert excessive force to the connectors Excessive f...

Page 33: ...r 4 Specifications This chapter describes specifications of this product 4 1 Specifications 34 4 2 Memory Map 35 4 3 Electrical Characteristics 36 4 4 Connection Diagram 37 4 5 External Dimensions of the Emulator 38 ...

Page 34: ...ting Disassemble display C level debugging etc 32K cycle bus information is recordable Address 20 bits Data 16 bits MCU status 12 bits 2 trace modes are supported Before Break mode After Go mode Time between program start to stop is measurable 5 to 35 C no dew 10 to 60 C no dew Connect the LCC probe on the back of the emulator board with the LCC socket mounted on the target DC 4 5 to 7 0 V supplie...

Page 35: ...alfunction Actual MCU in single chip mode When using emulator SFR area Internal RAM area max 20K bytes Unusable area Internal ROM area max 256K bytes SFR area RAM area emulation memory Debugger work area Do Not Access RAM area emulation memory Unusable area Do Not Access ROM area emulation memory Not possible to write while executing program ROM protect function 0000016 003FF16 0040016 053FF16 BFF...

Page 36: ...VOL 0 4 V VCC 4 5 V VOH 4 1 V VCC 5 5 V VI 0 V VCC 5 5 V VI 5 5 V VCC 5 5 V VO 0 V VCC 5 5 V VO 5 5 V f 1 MHz VCC 0 V Max Standard values Unit Standard VIL Min Input voltage Condition VCC 4 5 V VCC 5 5 V VIH VOH VOL IOL IOH IIL IIH IOZL IOZH CIO Output voltage Output current Input leak current OFF state output leak current I O pin capacity 0 3 85 4 95 8 1 1 1 1 1 15 7 1 1 1 8 0 05 5 5 1 35 V V V m...

Page 37: ...620T CPE This connection diagram mainly shows the interface section and the circuits which are not connected to the target system such as the emulator s control system are omitted These signals are connected to an MCU via the internal circuit of the emulator These signals are connected to the internal circuit of the emulator ...

Page 38: ... 38 52 Figure 4 3 External dimensions of emulator 4 5 External Dimensions of the Emulator Figure 4 3 shows external dimensions of the emulator Unit mm ...

Page 39: ...il the Emulator Starts Up 40 1 Troubleshooting When the Emulator Starts Up 41 2 Troubleshooting When Emulator Debugger PD30M Starts Up 42 5 2 Troubleshooting When Using Emulator Debugger PD30M 43 5 3 When the Operation of the Emulator is Abnormal 44 1 Self check Procedure in the Self check Mode 44 2 If an Error is Detected in Self checks 45 ...

Page 40: ...tarts up Starting up PD30M Result of checking emulator function NMI pin H BYTE pin L CNVss pin L RESET pin H Self checks terminated normally Target status LED displays normally Self check error detected Target status LED displays abnormally No Target power turned ON No No No No No Error Yes Yes Yes Yes Yes RESET control of emulator possible Self checks terminated normally Started up normally Progr...

Page 41: ...the target system Check the NMI pin is H level Emulator does not work properly Check power is being supplied to the emulator Check JP1 MCU power supply selection jumper is set to the INT side Emulator does not work properly because the BYTE pin is H level This emulator is specifically designed for use in the single chip mode Check the BYTE pin is L level Emulator does not work properly The emulato...

Page 42: ...arenotsame Please download the firmware to target Connection to the target system Check the emulator s target status LEDs If flashing the emulator is not working properly Check settings as explained in 1 Troubleshooting When the Emulator Starts Up Check the connected serial port and the serial port settings in the Init dialog box match Try lowering the baud rate in the Init dialog box Check the co...

Page 43: ...an external clock is being supplied check the target system s oscillation circuit works properly Also if using the sub clock see 3 4 Using the P87 XCIN Pin as Sub Clock Input page 28 If the external clock supply is set change to internal supply Also if using the sub clock see 3 4 Using the P87 XCIN Pin as Sub Clock Input page 28 The target MCU has been reset Cancel the reset If an external clock i...

Page 44: ... Target status LEDs repeat blinking simultaneously 3 Press the system reset switch again after checking target status LEDs blink 4 Target status LEDs repeat blinking in succession One or more target status LEDs repeat blinking according to the error type For starting up the emulator after self check shut off the power of the emulator and reactivate it About 30 seconds When self checks terminated n...

Page 45: ...ystem Table 5 5 Error display in self checks and how to remedy it LED display Checkpoint Emulator does not work properly Check power is being supplied to the emulator If power is being supplied to the emulator the emulator may be damaged Report the LED status to your local distributor Emulator does not work properly Check JP1 MCU power supply selection jumper is set to INT side If JP1 is set to IN...

Page 46: ... 46 52 MEMO ...

Page 47: ...er 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 6 1 Maintenance 48 6 2 Guarantee 48 6 3 Repair Provisions 48 6 4 How to Request for Repair 49 ...

Page 48: ... 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 charge If your product s fault falls in any of the following categories the fault will be corrected by replacing the entire product instead of repair or you will be advised to purchase new one depending...

Page 49: ...e 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 Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision eq...

Page 50: ... 50 52 MEMO ...

Page 51: ...M30620T CPE User s Manual Rev 1 00 November 16 2003 REJ10J0270 0100Z COPYRIGHT 2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED ...

Page 52: ......

Reviews: