Home

Renesas M30620T-CPE User's Manual

image

Contents

1. 1 Self check Procedure in the Self check Mode POWER CLOCK RESET RUN Cre ETS LED2 LED3 LED4 LEDS gt a POWER CLOCK RESET RUN AS Y N Y NM Y N Y OOOO LED2 LED3 LED4 LED5 2 Target status LEDs repeat blinking simultaneously gt a ROMER roe RESET 1 Within 2 seconds of activating power to the emulator press the RESET switch 3 Press the system reset switch again after checking target status LEDs blink RESET OR O LED2 LEDS LEDA LEDS 4 Target status LEDs repeat blinking in succession When error detected POWER SLOK RESET N COORD O 30 seconds LED LED3 LED4 LED5 One or more target status LEDs repeat blinking according to the error type When self checks terminated normally POWER CLOCK RESET RUN SAVIA ae LED2 LED3 LED4 LEDS O X Se For starting up the emulator after self check shut off the power of the emulator and reactivate it Blinking OFF Figure 5 2 Self check procedure 44 52 2 If an Error is Detected in Self checks Table 5 5 lists how to remedy the troubles if the target status LED display is abnormal in self checks When an error is detected shut off the power of the emulator and the target system and follow the steps in the Table 5 5 Then reactivate the power of the emulator and the target system Table 5 5 Error display in self checks and how to remedy it LED display 0 OEE Checkpoint X Blinking POWER RESET R
2. ENESAS M30620T CPE Compact Emulator for M16C 62 Group M16C 62A User s Manual Rev 1 00 November 16 2003 REJ10J0270 0100Z Renesas Technology www renesas com Keep safety first in your circuit designs e Renesas Technology Corporation and Renesas Solutions Corporation put 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 to personal injury fire or property damage Remember to give due consideration to safety when making your circuit designs with appropriate measures such as i placement of substitutive auxiliary circuits ii use of nonflammable material or iii prevention against any malfunction or mishap Notes regarding these materials These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer s application they do not convey any license under any intellectual property rights or any other rights belonging to Renesas Technology Corporation Renesas Solutions Corporation or a third party Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage or infringement of any third party s rights originating in the use of any product data diagrams charts programs algorithms or circuit application examples contained in these materials All information contained
3. P9 ae P9 P8 NMI P8s NMI P8 Xcourt P86 Xcout PORT P87 Xcin Swi gt lt P8 Xcin XCIN gt lt AVec gt lt Vaer gt lt AVss 100k Q Voo ok RESET k k 29 Xour k 9 Xn ok CNVss i 33k 9 x k BYTE 33kQ 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 Figure 4 2 Connection diagram emulation circuits 37 52 4 5 External Dimensions of the Emulator Figure 4 3 shows external dimensions of the emulator M30620T CPEA i REV A ince e A sie aka cock nun SWI MADE IN JAPAN LED2 LED3 LED4 LEDS RESET JPI 9 a E 00000 o0o000 v0000 00000 J4 Ja Unit mm Figure 4 3 External dimensions of emulator 38 52 Chapter 5 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 5 1 Troubleshooting Until the Emulator Starts Up oncoccnoninncnonnccnonnnccnnnccnonncnnnnnocnnnconnnnconnnnnnnanos 40 1 Troubleshooting When the Emulator Starts Up oo eee eee ceseceeeeeseecneeceseesseeesaeecnaeeneensees 41 2 Troubleshooting When Emulator Debugger PD30M Starts Up cooooooccnoccconccccnonccinanccinnnccnn 42 5 2 Troubleshooting When Using Emulator Debugger PD30M 0 0 eeeeeseeeseceeeeeeeeeeneeenaeenes 43 5 3 When the Operation of the Emulator is Abnormal ooooonnncnnnncnonnnnonanonoconononan
4. 53 NA Connection to the target system Checkpoint Emulator does not work properly The emulator may be damaged Report LED status to your local distributor 2 Troubleshooting When Emulator Debugger PD30M Starts Up Table 5 3 lists error messages and how to remedy them when starting up PD30M Table 5 3 Error message and how to remedy it when starting up PD30M Error message Communication ERROR Can t accept data Connection to the target system Checkpoint 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 Not Compact Emulator Check the connected serial port and the serial port settings in the Init dialog box match Check an emulator such as PC4701M PC4701HS or PC4701L is not connected Target MCU is not given clock Please reset target systems Connected Check the target system s oscillation circuit works properly when the Clock tab in the Init dialog box is set to External Not connected If the Clock tab in the Init dialog box is set to External change it to Internal Target MCU is unable to reset Please reset target systems Connected Check the target system s oscillation circuit
5. Emulator Starts Up page 40 PD30M File Edit Al ES View Environ Debug Option BasicWindow Optionaliindow Help Je jajaj m j sul ES Program Window dow View SRC MIX DIS 0C0000 0C0001 Address BRK Objicode Label Mnemonic 0C0002 0C0003 0C0004 0C0005 0C0006 0C0007 0C0008 0C0009 00 h 00 m 00 sec 000 msec 000 usec MCU STOP h Figure 2 14 Window display of PD30M when it has started up normally 26 52 Chapter 3 Changing the Settings This chapter describes how to change the setting of this product 3 1 Using the Emulator without the Target System vomito ida 28 3 2 Using the Emulator with the Far eetS st ii 28 3 3 Using the Poi Xen Pinas a PO ren tica 28 3 4 Using the Psi Men Pin as Sub Clock MU a 28 3 3 Selecting Clock A RR 29 1 Selecting Clock Supply viii ieas n EETA AEAEE EEEE TEES 29 2 Using the Oscillator Circuit on the Target System oooooncccnnocccnoncccnononononcnononanononancnnnnnonnncnnnns 30 3 Changing the Internal Oscillator Circuit of Emulator ooonocccnoncccnonocononcnononcnononcconnnanonnnannnns 31 27 52 Chapter 3 Changing the Settings 3 1 Using the Emulator without the Target System How to use the emulator without the target system is shown below 1 Set the MCU power supply selection jumper to INT side see page 20 When using the emulator without the target system set the MCU power supp
6. Set to INT Power of MCU is supplied from the emulator Nebcepnecied Do not set to EXT Operating voltage 3 3 V Power of MCU is supplied from the target system This emulator consumes max 500 mA of electrical current from the target system Set to EXT Connected Do not set to INT 2 P87 Xc Selection Switch This is the switch to select the function of P87 Xcw pin As shown in Table 2 5 below set the switch according to the usage of P87 Xcw pin Table 2 5 Setting P87 Xci selection switch Using as a port Setto PORT Using as XCIN input Set to XCIN ANO Un ie Note on Setting Switches and Jumper Switches e Always shut OFF when changing the setting of the switches and jumper switches and connecting the cable 20 52 2 4 Connecting the Emulator System How to connect the emulator system is shown in Figure 2 5 below O i M30620T CPEA REVA i POWER RESET sa seansunsasnvenesee Dae MADE IN JAPAN nee O Connect the serial interface 02 LEDs uena Leos cable to J2 connector Z e gt to host machine to power supply for emulator Tm o IT Connect the power cable to J1 connector 200000 00000 00000 00000 J4 3 Figure 2 5 Connecting the emulator system 1 Connecting the Serial Interface Cable Connect the serial interface cable included to the serial interface connector J2 and the serial port of the host machine see Figure 2
7. nno 21 2 Connecting the Power Cable ooooonnccnononinnccocccnonnconnconccconnncnncconononcncnnccnnno 21 2 5 Connecting the Target system as occasion demands ooooconoccccnconconoconcnnncnnnnnn no 22 2 6 Tuning On the POWEL ecos les cashes loa be EE E E los sands lesbi 23 1 Checking the Connection of the Emulator System 00 eee eens 23 2 Turning On the Po Wenn coartada raid 23 3 LED Display When the Emulator Starts Up Normally ee 24 2 7 Starting Up Emulator Debugger PD30M 0 eee eee cseee cee ceeececeeeeeeeseeereneeees 25 2 8 Setting the Operating Environment of Emulator Debugger PD30M 25 2 9 When Emulator Debugger PD30M Starts Up Normally oooonoccnccnocanoccoannancnnnon 26 Chapter 3 Changing the Settings 0 eee csecrecseeeseceseeseceecseceeeseeseesseseaseseseaseaaeeaeeaes 27 3 1 Using the Emulator without the Target System oo ee eee eeeeeeeereeeeeeeeeeeees 28 3 2 Using the Emulator with the Target System 000 eee ee eeceeeeeeeeseeeeeeaeeeneenee 28 3 3 Using the P87 Xcin Pin as a POlt ooooooccnccconconcconconccononnnonnnononnonncnn crac cnn nro conocen corno 28 3 4 Using the P87 Xcin Pin as Sub Clock IpUt oooonccnonnnccnccnoncconnnancnnncancnncrnnonanonncnnos 28 3 5 Selecting ClOCK Supply isss nersini lali totes see canis Agena decia 29 1 Selecting Clock Supply sic scccsssipessec sinus cosesess ees nas seedseesapestaanessbeatesspeasnoes 29 2 Using the Oscillator
8. set the CNVSS and BYTE pins to L level 2 Oscillation circuits that use a resonator cannot be used Because a control gate array is situated between the evaluation MCU and the target system oscillation circuits that connect a resonator between the Xin and Xour pins will not oscillate The same applies to the sub clock oscillation circuit Xcm Xcour oscillation circuits with a resonator cannot be used See 3 5 Selecting Clock Supply page 29 3 Watchdog timers cannot 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 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 address value cannot be changed 5 Single step interrupts cannot be used Single step interrupts cannot be used The vector address of a single step interrupt is normally indicated in the emulator work area and the vector address value cannot be changed 6 The DBC interrupt debug interrupt cannot be used The DBC interrupt cannot be used The vector address of the DBC interrupt is normally indicated in the emulator work area and the vector address value cannot be changed 7 Software resets cannot be u
9. works properly when the Clock tab in the Init dialog box is set to External Not connected If the Clock tab in the Init dialog box is set to External change it to Internal The version of PD30M and the firmware on thetargetare not same Contact your local distributor Please download the firmware to target 42 52 Contact your local distributor 5 2 Troubleshooting When Using Emulator Debugger PD30M When PD30M has started up normally however errors occurred while using it remedy the troubles referring Table 5 4 Table 5 4 Error message and how to remedy it when using PD30M Error message Target MCU is not given clock Please reset target systems Connection to the target system Connected Checkpoint If 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 Not connected 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 Target MCU is unable to reset Please reset target systems Connected If 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 Not connected If the
10. Circuit on the Target System oe eee eee 30 3 Changing the Internal Oscillator Circuit of Emulator eee 31 Chapter 4 SpeciiCatlons bam id 33 4 1 Specifications are 34 4 2 Memory Mapu rn io oia 35 4 3 Electrical Characteristics ossessioni isoiset e nieee non nora con nora RE en 36 4 4 Commection Diagram stores tierna ates spashssnaavs E EEK E EE AEE EIEI EKE EESE 37 4 5 External Dimensions of the Emulator ooocononnoccnicnoncconnonnnonnncnnnn cnn conocen nconccnnccnno 38 5 52 Chapter 5 Troubleshooting issin isni oeira seos oaea Ene orero E ESSEEN EEE eiae cnn nan nine Vara y eet 39 5 1 Troubleshooting Until the Emulator Starts Up oonocicnnncinccionioncconconocnnconocancnanon 40 1 Troubleshooting When the Emulator Starts Up oooonciocnioniocnconconnccncnnnnn 41 2 Troubleshooting When Emulator Debugger PD30M Starts Up 42 5 2 Troubleshooting When Using Emulator Debugger PD30M ococcnicnicccicnccnccnnnno 43 5 3 When the Operation of the Emulator is Abnormal oooncnncnocinnnnoninnnconconncancnnnon 44 1 Self check Procedure in the Self check Mode ooooococococoooccooncconnnonnccnncos 44 2 If an Error is Detected in Self checks ooooooconocccnnoconcnoncnnoonnccnonnnncnnn nooo 45 Chapter 6 Maintenance and Guarantee oooonoonnononnnoncnoninnonnnonnconncnnocnncn nono co nonnnonn conc cnn crancnn cnn 47 6 1 Maintenance cscscesesciscaees dotadas tones do sia cette th sus ends ds E 48 PA seeen vetss
11. Note Do not insert excessive force to the connectors Excessive force can break the connectors Ma Figure 3 6 Connecting the target connection board side view 6 Check the operation of the system After connecting the target system start up the emulator system If the emulator starts up normally the replacement is completed IMPORTANT Notes on Replacing Internal Oscillator Circuit of Emulator e When a 16MHz oscillator is installed the self check cannot be executed because it must be done with the target system not connected During standalone operation the emulator operates at 3 3 V which exceeds the guaranteed operating frequency of the MCU 32 52 Chapter 4 Specifications This chapter describes specifications of this product A Specifications ii ls hed ra A A ii 34 4 2 Memory MED Sas 35 4 3 Electrical Characteristics nerasi ina A ti 36 AA Connection DiagtaM s asyet os e a ea Ss aia das aes 37 4 5 External Dimensions of the Emulator sous dis 38 33 52 Chapter 4 Specifications 4 1 Specifications Table 4 1 lists the specifications of M30620T CPE Table 4 1 Specifications of M30620T CPE Applicable MCUs M16C 62 Group M16C 62A Usable mode Single chip mode Evaluation MCU M30622SAFP Internal emulation memory For internal RAM area 20 KB For internal ROM area 256 KB Clock supply Clock mounted on emulator 10 MHz pre mounted COON Switchable to ex
12. 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 Target MCU is reset state Please reset target systems Connected The target MCU has been reset Cancel the reset Target MCU is HOLD state Please reset target systems Connected If 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 The MCU may be in the stop or wait modes Either reset the MCU or cancel the mode with an interrupt Not connected If 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 The MCU may be in the stop or wait modes Either reset the MCU or cancel the mode with an interrupt Target MCU is not given power Please reset target systems Connected 43 52 Check the power supply and GND are properly connected to the target system 5 3 When the Operation of the Emulator is Abnormal Self check is a function to check the memory etc mounted in the emulator Self check is executed when the emulator starts up and detailed check is executed by following the procedure below For this self check be sure to disconnect the target system
13. memory 053F F16 Unusable area 07FFF 6 0800016 Debugger work area O8FFFi6 Do Not Access 0900016 RAM area emulation memory OFFFF 6 1000016 Unusable area Do Not Access BFFFFie BFFFFi6 C000016 Internal ROM area C000016 ROM area max 256K bytes emulation memory Not possible to write while executing program ROM protect function FFFFF 6 FFFFF 6 Figure 4 1 Memory map when using emulator 35 52 4 3 Electrical Characteristics Tables 4 2 lists IC electrical characteristics of the user interface Table 4 2 Electrical characteristics of M60081L 0142FP P0o to P57 Standard values Condition Min Standard Max Parameter Vcc 4 5 V Input voltage Vcc 5 5 V Vcc 5 0 V Output voltage llol lt t uA Vec 4 5 V Vor 0 4 V Vcc 4 5 V Vou 4 1 V Vec 5 5 V Viz OV Vec 5 5 V Vi 5 5V Vec 5 5 V Vo 0V Vec 5 5 V Vo 5 5V f 1MH I O pin capacity Vec 0 F Output current Input leak current OFF state output leak current 36 52 4 4 Connection Diagram Figure 4 2 shows the connection diagram of M30620T 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 V PO P0o 2 P1 Plo M60081L ee 0142FP a P5 ia P50 Vcc Vss M30622SAFP P67 P6o 1 O Emulate P77 P7o MCU P8 P8
14. up Actual MCU Not pulled up Pulled up Pulled up Pulled up Not pulled up Pulled up Pulled up Not pulled up in actual MCUs When pull up control register 1 for port pins P44 P47 bit 1 of address 3FDh PU11 is set to 1 pulled up port pins P1s P17 are also pulled up regardless of the setting of pullup control register 0 for port pins P14 P17 bit 3 of address 3FCh PUO3 However this problem arises only in the compact emulator and does not arise in actual MCUs e As a pitch converter board and other devices are used between the evaluation MCU and the target system some characteristics are slightly different from those of the actual MCU Therefore be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with an ES Engineering Sample version MCU 10 52 IMPORTANT Note on MCU Functions That Cannot Be Used with This Emulator e The following MCU features cannot be used with this emulator 1 Debugging cannot be done with this emulator in the memory expansion mode or micropro cessor mode This emulator is specifically designed for use in the single chip mode For this reason debugging is not possible in the memory expansion mode or microprocessor mode e When using this emulator normally set the processor mode bit in the processor mode register to the single chip mode e When using this emulator
15. 5 2 Connecting the Power Cable Connect the power supply for the emulator to the power connector J1 The specifications of the power supply for the emulator are listed in Table 2 6 Table 2 6 Specification of power supply of emulator Power supply voltage DC 4 5to7 0V 1A Figures 2 6 and 2 7 show the specifications of the power connector and the applicable plug respectively Electrode Electrode 01 7mm inside diameter nn 04 75mm Figure 2 6 Specification of power connector Figure 2 7 Specification of applicable plug AN CAUTION Note on Connecting the Power Supply of Emulator e Be careful about the polarity of the power supply Connecting to the wrong electrode could destroy internal circuits e The power cable included in this product package is colored red and black e Do not apply a voltage other than the specified voltage of the product 4 5 to 7 0 V because it may cause burn injuries and the failure of internal circuits 21 52 2 5 Connecting the Target System as occasion demands Connect the LCC probe on the lower board of the emulator to the LCC socket option or the pitch converter board option O Figure 2 8 LCC probe on the lower board of the emulator Some MCU packages need the pitch converter board option shown in Figure 2 9 When connecting it be sure to check the position of No 1 pin LCC probe at the lower board of compact e
16. UN e X Emulator does not work properly Check power is being supplied to the emulator If power s being supplied to the emulator the emulator may be damaged Report the LED status to your local distributor RESET RUN Emulator does not work properly C sOi Check JP1 MCU power supply selection jumper is set to INT side If JP1 Is set to INT side the emulator may be damaged Report the LED status to your local distributor v e m D r Q e un ps Emulator does not work properly The emulator may be damaged Report the LED status to your local distributor O AMA T 1 3 x v v fo fo lo fo fo 07 0 0 0 0 mn m mn m m D D D D D e ve N2 Wwe Wwe 20808 OEGE Q AQ AQ AL gt AQ m T 1 1 0 0 20 00 Cc Z C E EINA E 2 2 2 T T v o m Ee o o OQ Pe and 2 O o s v 1 2 o o F 0 5 m m D TA D o o r r o o io OQ a D Pe cS z 0 z 0 x o m D o r 9 OQ d m a m Pe E z 1 T 830 A MA o BN O qa a CS hraa Q QO v m D ey Q AQ gt un Pe z CO AMA T x E VAN oF TONN Notes on Self checks e Be sure to disconnect the target system before executing self checks e If self checks do not result normally the emulator may be damaged Then contact your local distributor e When an oscillator installed in the emulator is changed to the os
17. YTE pin is H level This emulator s specifically designed for use in the y single chio mode Check the BYTE pin is L level Not connected Emulator does not work properly The emulator may be damaged Contact your loca distributor CLOCK RESET RUN NA AMA T T Connected Emulator does not work properly because the CNVss pin is H level This emulator s specifically designed for use in the single chio mode Check the CNVss pin is L level Not connected Emulator does not work properly The emulator may be damaged Contact your loca distributor CLOCK RESET RUN AMA AMA T T Connected Emulator does not work properly because the RESET pin is L level or the reset was not effectuated after the reset request was sent from the emulator Check the RESET pin is H level Not connected Emulator does not work properly The emulator may be damaged Contact your loca distributor 41 52 Table 5 2 Error display and how to remedy it when starting up the emulator 2 2 LED display OFF ing La 2 T x i Doy m on mM AA Dp lt z h A m wm Ps Sc z 8 ro o o 2 A m wm Ps Zz e o 2 xX m wm D S Zz CO NA T o Q re A com m un m Ps S Z GA T Q a le xX m wm p lt z o io RG Pe S 2 Q 10 e o re A ei 07 HA D y m 92 m 1 i a yig 2
18. a the POE e a 0 21 Connecting the Target system as occasion demands oooccccooccccnocnconnncconnnncnoncncnnnonononcccnnncnnnnncno 22 Turn On the POWER 23 1 Checking the Connection of the Emulator System oooonnnccnoncnoncnnonnnonncnononnnncnnn cono ncnoncnnncnnnnno 23 2 Durning On the LOW o 23 3 LED Display When the Emulator Starts Up Normally oonoccnnnccnonanionononononnnonccnnncnonccnncnnnnno 24 Starting Up Emulator Debugger PD30M siscsccisscicisseccedstiasdeassestnesscesddanasdssaccsensdeeds sgeensctdesscceasse 25 Setting the Operating Environment of Emulator Debugger PD30M esssssesrsereererererrrrrsee 25 When Emulator Debugger PD30M Starts Up Normally oooonccnnnconoccnononinancnoncnonacana nana nono nono ncnnnos 26 15 52 Chapter 2 Usage 2 1 Name of Each Part 1 System Configuration Figure 2 1 shows the system configuration for this emulator 1 Power supply for emulator option Power supply for target system option Lower part target system Host machine option Serial interface cable RS 232C Figure 2 1 System configuration 1 Emulator M30620T CPE included This is a compact emulator for the M16C 62 Group M16C 62A of 16 bit microcomputers which is operated only in the single chip mode with the real time trace function hereafter emulator 2 Serial interface cable included This is an interface cable for the host machine and the emulator 3 Power supply for emulator
19. ain clock is supplied from external EXT and Xcm Xcour sub clock is supplied from internal INT CLK EXT INT 29 52 2 Using the Oscillator Circuit on the Target System To operate the compact emulator with the oscillator circuit on the target system construct the oscillator circuit as shown in Figure 3 1 in the target system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into the Xin pin And the Xour pin should be open It is same for sub clock oscillator Xcm and Xcour Emulator Evaluation MCU XIN Xout Oscillator circuit Oscillation output 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 Xour pins oscillation does not occur because an emulation circuit is used between the evaluation MCU and the target system It is same for sub clock oscillator circuits Xcin and Xcour Emulator Evaluation MCU Xout w Figure 3 2 Circuit in which oscillation does not occur same for Xcin Xcour 30 52 3 Changing the Internal Oscillator Circuit of Emulator A ceramic oscillator circuit for 10 MHz is mounted on this product as a oscillator of a main clock oscillator circuit when shipped from factory It is possible to change it to the oscillator circuit board for 16 MHz included How to replace it is shown below Be sure to r
20. ator e Operations of the emulator differs from those of mask MCUs as listed below 1 Reset condition Set the time for starting up 0 2 to 0 8 Vcc 1 us or less 2 Data values of RAM and ROM areas at power on When power is turned on the RAM and ROM areas of the emulator are defaulted to 04H 3 Register values when power is turned on When power is turned on the emulator s register values are defaulted to 0 However the program counter is defaulted to the reset vector value C000016 initially set by the emulator 4 Internal memory RAM and ROM capacity etc Because the internal memories RAM and ROM are emulated by the emulation memory the capacity and assignment of the emulator s internal memories differ from those of the actual MCU For memory mapping see 4 2 Memory Map page 35 5 Characteristics of ports POo to P57 As ports P0o to P57 are connected via emulation circuits the electric characteristics etc differ from those of actual MCU The device used for the port emulation 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 Pullup control register State of ports P1s P17 PU03 PU11 P14 P17 P44 P47 This product Not pulled
21. be used in an environment with a maximum ambient temperature of 35 C Care should be taken that this temperature is not exceeded AN CAUTION Caution to Be Taken for Modifying This Product e Do not disassemble or modify this product Disassembling and modifying the product will void your warranty Cautions to Be Taken for This Product e Use caution when handling the main unit Be careful not to apply a mechanical shock e 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 e Do not pull the compact emulator main unit by the serial cable for connecting to the target system The cable may cause a break e Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type screws When replacing screws use same type screws as equipped before e The part around the power connector J1 especially the IC6 regulator may get hot Do not touch it to prevent burn injuries And do not apply a voltage other than the specified voltage of the product 4 5 to 7 0 V because it may cause burn injuries and the failure of internal circuits IMPORTANT Note on Malfunctions in the System e If the emulator malfunctions because of interference like external noise shut OFF power to the emulator once and then reactivate it 9 52 IMPORTANT Notes on Differences between the Actual MCU and Emul
22. by the emulator 1 RESET input The RESET 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 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 e When the target system is connected be sure to set the JP1 of the emulator to EXT e This emulator cannot supply the power to the target system Therefore design your system so that the target system is powered separately This emulator consumes max 500 mA of electric current from the target system The voltage of the target system should be within the range of 3 0 to 5 0 V Before powering on your emulator system check that the host machine the emulator the converter board and target system are all connected correctly Next turn on the power to each equipment following the procedure below 1 Turn ON OFF the target system and the emulator as simultaneously as possible 2 When the emulator debugger starts up check the target status LEDs on the emulator to see if this product is ready to operate Is the power supplied Check that target status LED POWER is ON Is the clock supplied Check that target status LED CLOCK is ON 1 When the target system is not connected the target status LED POWER is not l
23. ccconcccnonncs 13 1 2 Declaration Concerning EMC Di ad i 14 7 52 Chapter 1 Precautions for Safety In both the user s manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read this chapter before using this product 1 1 Safety Symbols and Meanings If the requirements shown in the WARNING AN WARNING sentences are ignored the equipment may cause serious personal injury or death If the requirements shown in the CAUTION AN CAUTION sentences are ignored the equipment may malfunction IMPORTANT EE important information on using this In addition to the three above the following are also used as appropriate Z means WARNING or CAUTION Example CAUTION AGAINST AN ELECTRIC SHOCK Q means PROHIBITION Example DISASSEMBLY PROHIBITED means A FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 8 52 N WARNING Warning for Installation o e Do not set this product in water or areas of high humidity Spilling water or some other liquid into EN the main unit can cause an unrepairable damage Warning for Use Environment This equipment is to
24. cillator of 16 MHz self checks may not terminate normally Use the oscillator of 10 MHz when executing self checks 45 52 MEMO 46 52 Chapter 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair NO 48 6 2 UAM A A ah Det Th Se tate Set Rear past da Seats Gee tetas 48 6 3 Repair PROVISIONS SA A A ias 48 6 4 Howto Request TOF Repair rise dios 49 47 52 Chapter 6 Maintenance and Guarantee 6 1 Maintenance If dust or dirt collects on any equipment of your emulation system wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the equipment s surface coating to separate 6 2 Guarantee If your product becomes faulty within twelve months after its purchase while being used under good conditions by observing Precautions for Safety described in Chapter 1 of this user s manual we will repair or replace your faulty product free of charge Note however that if your product s fault is raised by any one of the following causes we will repair it or replace it with new one with extra charge e Misuse abuse or use under extraordinary conditions Unauthorized repair remodeling maintenance and so on e Inadequate user s system or misuse of it e Fires earthquakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the leasing c
25. d to the target system O ON LED2 LED3 LED4 LED5 orr Figure 2 12 LED display when the emulator does not start up normally target system is connected 24 52 2 7 Starting Up Emulator Debugger PD30M After checking the emulator has started up normally start up emulator debugger PD30M For starting up emulator debugger follow the steps below Click the start button of Windows And select Program P gt RENESAS TOOL gt PD30M V 1 10 Release 1 gt PD30M Varies depending on the 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 Pa Init Compiler F w Resume MCU Tab Debug Information Clock 2 Select the serial port in a where the emulator is connected E Port com y 3 After completed the E fasoo El settings click OK button Cancel 17 Next Hide Ea 1 Click Refer button and select the MCU file M30620C MCU The MCU file is stored in the directory where PD30M is installed XQ Figure 2 13 Setting Init dialog box 25 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
26. ead IMPORTANT below before replacing it IMPORTANT Notes on Replacing Internal Oscillator Circuit of Emulator Soldering is required to replace the emulator s internal oscillation circuit If you are inexperienced at soldering it is recommended to supply a clock of arbitrary frequency from an external source The included 16MHz oscillator is the only oscillator that can be used as a replacement Other oscillators may not oscillate properly therefore supply a clock of arbitrary frequency from an external source Emulator standalone operation is not guaranteed 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 Servicing for damage incurred during oscillator replacement can be subject to billing even in the warranty period 1 Check the operation of the system Check that the emulator system has no fault by executing the self check referring 5 3 When the Operation of the Emulator is Abnormal page 44 2 Remove the target connection board Remove the target connection board on the lower board of the emulator as shown in Figure 3 3 Oscillator Target connection boa
27. er in the reverse assembly display the BRK command is displayed 8 Protect register PRC2 When the protect register PCR2 that enables writing in the port P9 direction register and the SI O3 and 4 control registers is changed in the following way the protect is not cancelled 1 When the command that sets PRC2 to 1 is executed step execution 2 When the program is executed with a break point set between the command that sets PRC2 to 1 and when the register to be protected is set 3 When PRC2 is set to 1 in the Dump or Script windows 12 52 IMPORTANT Note on Restrictions in Using the Emulator 2 2 e The following restrictions apply to this emulator 9 Debug command execution during user program execution The real time aspect of the user program is not guaranteed when debug commands such as dump are executed during user program execution 10 DMA transfer With this product the program is stopped by putting the MCU on hold Therefore if a DMA request is generated by a timer or other source while the program is stopped DMA transfer 1s executed However make note of the fact that DMA transfer while the program is stopped may not be performed correctly Also note that the below registers have been changed to generate DMA transfer as explained here even when the program is stopped DMAO transfer counter TCRO e DMA transfer counter TCR1 Note on Controlling MCU Pins e Some MCU pins are controlled
28. hen 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 debugger PD30M specify the following and press the OK button MCU file M30620C MCU Communication port Port that the serial cable is connected Emulator debugger PD30M offers various debugging functions For details on PD30M refer to the online manual of PD30M Figure 2 3 Procedure for starting up the emulator 19 52 2 3 Emulator Initial Setup Set the MCU power supply selection jumper and the P87 Xci selection switch of the emulator according to conditions of use gr N P87 Xcn selection switch O rowel A ae Factory setting PORT XCIN Roar MCU power supply selection jumper Factory setting INT __ JP1 z O X Figure 2 4 Emulator initial setup 1X3 A S 1 J3 1 MCU Power Supply Selection Jumper This is the jumper switch to select power supply to the MCU As shown in Table 2 4 below set the switch according to the connection to the target system Any settings not listed in Table 2 4 are not allowed Table 2 4 Setting MCU power supply selection jumper Connection to MCU power supply target system selection jumper Description
29. in 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 stake Please contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor when considering the use of a product contained herein for any specific purposes such as apparatus or systems for transportation vehicular medical aerospace nuclear or undersea repeater use The prior written approval of Renesas Technology Corporation and Renesas Solutions Corporation is necessary to reprint or reproduce in whole or in part these materials If these products or technologies are subject to the Japanese export control restrictions they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of Japan and or the country of destination is prohibited Please contact Renesas Technology Corporation or Renesas Solutions Corporation for further details on these materials or the products contained therein Precautions to be taken when using this product This product is a development supporting unit for use in your program development and evaluation stages In mass producing your program you have finished developing be sure to make a judgment on
30. in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means including the Renesas home page http www renesas com When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision 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 here
31. it 13 52 1 2 Declaration Concerning EMC Directive ENESAS RENESAS TECHNOLOGY EUROPE LTD DUKES MEADOW MILLBOARD ROAD BOURNE END BUCKINGHAMSHIRE SL8 5FH UNITED KINGDOM Declaration concerning EMC Directive and UK ENC regulations No SI 2372 including amendments SI 3080 amp SI 3180 The M30620T CPE is only intended for use in a laboratory or classroom environment It does however meet the emission requirements of EN 55022 1995 Class A lts use outside the classroom laboratory study area or similar such area invalidates conformity with the protection requirements of the Electromagnetic Compatibility Directive 89 336 EEC and could lead to prosecution ref SI2080 Everywhere you imagine Page 1 of 1 14 52 Chapter 2 Usage This chapter describes how to operate this product 2 1 2 2 23 2 4 2 3 2 6 2 7 2 8 2 9 Name of Each Pat ea A R a A a a E nies Seeded S 16 CL Systemi Cont ura eiert e sesi esete a e a ae 16 2 Nam o Each Part Of Emi NI A 17 Ma UU iio 19 Emulator Initial Sc neeaae e T E acca A S anacdeianccasns 20 1 MCU Power Supply Selection Jumper oisc c cccicsseseeicevsuckeatscsveisaaveraceisadeecssssaveasdbeesnccasbaveavebes 20 2 P87 X in Selection Switch uni 20 Connecting the Emulator System ssssesesssesesseessseesseesseessetesseetssressttsseesseresseeesstessresseesseeesseee 21 1 Connecting the Serial Interface Cable viii ii aa to a 21 2 Connectin
32. ly p j a i Program Window displayed Refer to Troubleshooting When PD30M Starts Up l Emulator system started up normally X Figure 5 1 Flowchart to remedy the troubles 40 52 1 Troubleshooting When the Emulator Starts Up Tables 5 1 and 5 2 list how to remedy the troubles when the target LED of the emulator display is abnormal after powering on the emulator When the error is detected shut off the power of the emulator and the target system and follow the steps in tables 5 1 and 5 2 Then reactivate the power of the emulator and the target system Table 5 1 Error display and how to remedy it when starting up the emulator 1 2 LED display OQ oF X Blinking POWER CLOCK RESET RUN AMA T Connection to the target system Checkpoint Emulator does not work properly Check power is being supplied to the emulator The emulator may be damaged Contact your loca distributor POWER CLOCK RESET RUN Ao N Connected Emulator does not work properly because power is not being supplied to the target system or the NMI pin is L level Check power is being supplied to the target system Check the NMI pin is H level Not connected Emulator does not work properly Check power is being supplied to the emulator Check JP7 MCU power supply selection jumper is set to the INT side POWER CLOCK RESET RUN HA T Connected Emulator does not work properly because the B
33. ly selection jumper to INT side The target MCU operates with 3 3 V of power supply voltage supplied from the emulator 3 2 Using the Emulator with the Target System How to use the emulator with the target system is shown below 1 Set the MCU power supply selection jumper to EXT side see page 20 When using the emulator with the target system set the MCU power supply selection jumper to EXT side 2 Connect 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 emulator when using the P87 Xc pin as a port is shown below 1 Set the P87 Xcw selection switch to PORT side see page 20 When using the P87 Xcw pin as a port set the P87 Xcw selection switch to PORT side 3 4 Using the P87 Xcin Pin as Sub Clock Input How to use the emulator when using the P87 Xcw pin as sub clock input is shown below 1 Set the P87 Xcw selection switch to XCIN side see page 20 When using the P87 Xcw pin as sub clock input set the P87 Xci selection switch to XCIN side 28 52 3 5 Selecting Clock Supply There are two ways to supply a clock to the MCU using the oscillator circui
34. mulator 0 65 mm pitch 0 65 mm pitch 0 5 mm pitch M3T 100LCC 80QSB LCC socket M3T 100LCC QSD 80 pin QFP 100 pn LCC 100 pin LQFP option option option X Figure 2 9 Connecting target system VAN CAUTION Notes on Connecting Target Systems e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the compact emulator e Always shut OFF power of the emulator and the target system when connecting and disconnecting the target system 22 52 2 6 Turning On the Power 1 Checking the Connection of the Emulator System Before turning the power ON check the connection of the host machine and the emulator main unit 2 Turning On the Power Power ON the target system and the emulator main unit as simultaneously as possible CAUTION Notes on Power Supply e As this emulator cannot supply power to the target system provide the target system with a separate power supply from that of the emulator e This emulator consumes max 500 mA of electrical current from target system Therefore set the power supply of the target system considering this consumption e Keep target system power supply voltage within the range of 3 0 to 5 0 V e Do not change target system power supply voltage after power has been activated 23 52 3 LED Display When the Emulator Starts Up Normally After the emulator starts up check the status of the LEDs to see
35. n the emulator may not match e When the emulator debugger does not start up normally even after rebooting turn off the emulator and then turn on again 18 52 2 2 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2 3 For details refer to each section hereafter And when the emulator does not start up normally refer to Chapter 5 Troubleshooting page 40 r gt a Set the P87 Xcin selection switch ye Connect the serial interface cable gt aa Connect the power supply for emulator a Connect the target system gt ae Turn on the emulator a Check the LED of emulator gt a Start up the emulator debugger gt a Specify the operating environment gt ae Debug the program using PD30M Set the MCU power supply selection jumper A Set the switch according to the connection to the target system When connected INT When not connected EXT Set the switch according to the usage of P87 Xcin pin For a port PORT For XCIN input XCIN Connect the serial interface cable to the serial interface connector J2 of emulator and the serial port of the host machine Connect the power supply to the power connector 41 Specifications of emulator power are DC 4 5 to 7 0V 1A Connect the target system to the LCC probe at the bottom of emulator when necessary Recheck the connection and turn on the emulator W
36. ompany 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 on the severity of the fault e Faulty or broken mechanical portions e Flaw separation or rust in coated or plated portions e Flaw or cracks in plastic portions e Faults or breakage caused by improper use or unauthorized repair or modification e Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply e Cracks in the printed circuit board or burnt down patterns e Wide range of faults that makes replacement less expensive than repair e Unlocatable or unidentified faults 3 Expiration of the repair period When a period of twelve months 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 48 52 6 4 How to Request for Repair If your product is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Request Sheet included with this product then send it along with this product for repair
37. ononcnonccnoncnnn ccoo anno 44 1 Self check Procedure in the Self check Mode ccccccccccccccessessnsececesececeesesseaeeececeesesensaaees 44 2 If an Error is Detected in Selt Checks iia ia di 45 39 52 Chapter 5 Troubleshooting 5 1 Troubleshooting Until the Emulator Starts Up Figure 5 1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up A Self check sequence when the emulator starts up l Troubleshooting until the emulator starts up Self checks start automatically after powering on the emulator Turning on the power of emulator Result of checking Error emulator function Normal Self checks executes during about 7 seconds after powering on the Connection of Connected emulator target Target power Disconnected turned ON gt BYTE pin L nO gt Yes CNVss pin L Mo gt Yes en No RESET pin H gt Yes RESET control of No la emulator possible y Yes Y Self checks terminated normally Self check error detected Target status LED displays normally Target status LED displays abnormally Ne A Result of checking Error detected in self checks emulator function Self checks Refer to Troubleshooting When the Emulator Starts Up terminated normally Starting up Error detected PD30M Started up normal
38. option 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 the power to the target system separately from the emulator 6 Host machine option This is a personal computer for controlling the emulator 16 52 2 Name of Each Part of Emulator Figure 2 2 shows the name of each part of the emulator Target status LED LED2 Power of target system POWER LED3 Oscillation of XIN XCIN CLOCK LED4 Reset pin of MCU RESET LED5 Execution of program RUN System reset switch i M30620T CPEA P87 Xcin selection switch Factory setting PORT PS cock RUN SWI A0000 ol LED2 LED3 LED4 LEDS RESET at A J2 Serial interface cable connector SS Mi J J2 J1 Power connector REV A MADE IN JAPAN System status LED 0000 ovovo LED1 State of power of emulator O 20909 J3 J1 MCU power supply selection jumper Factory setting INT Figure 2 2 Name of each part of emulator upper side of M30620T CPE 1 System status LED The system status LED indicates the emulator main unit s power supply Table 2 1 lists the definition of system s
39. rd Apply an equal amount of force to the connectors on each end of the target connection board when pulling the board out Note Do not apply excessive force to the connectors Excessive force can break the connectors Figure 3 3 Removing the target connection board side view 31 52 3 Remove the oscillator Figure 3 4 shows the position of the oscillator for the main clock Remove the oscillator using a soldering iron Be careful not to break the other part PR Oscillator for main clock Oscillator Soldering iron 30 W or less Pattern Solder Ns E Figure 3 5 Removing an oscillator Figure 3 4 Position of oscillator for main clock bottom view after removing target connection board 4 Connecting the Oscillator Solder the included 16MHz oscillator in the place of the older oscillator see Figure 3 4 Solder the oscillator so that the label can be read 5 Connecting the target connection board Check the oscillator is properly connected If it is connect the target connection board to the 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 Oscillator Target connecion board Insert an equal amount of force to the connectors on each end of the target connection board when inserting the board
40. refer to each product s online manual e Emulator debugger M3T PD30M e C compiler M3T NC30WA entry version e 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 Q e 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 to you or other persons or damage to your properties e The icons graphic images and meanings are given in Chapter 1 Precautions for Safety Be sure to read this chapter before using the product 3 52 Terminology Some specific words used in this user s manual are defined as follows Emulator This means the M30620T CPE this product e Emulator system This means an emulator system built around the M30620T CPE emulator The M30620T CPE emulator system is configured with an emulator host machine and emulator debugger Host machine This means a personal computer used to control the emulator e Emulator 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
41. sed Do not use software resets 8 A D input group select function is unusable The A D input group select function M16C 62T Group only function cannot be used 9 Flash memory and EPROM modes are not emulated This emulator does not emulate the flash memory and EPROM modes Also the emulator does not emulate the CPU rewrite mode in the flash memory mode 11 52 IMPORTANT Notes on Using this Product for Debugging Other than M16C 62A e This emulator is equipped with M30622SAFP M16C 62A Group as an evaluation MCU and emulates M16C 62A Group MCUs In some functions of there are differences between the MCUs of M16C 62A Group and the MCUs of other than M16C 62A Group Therefore when you use this emulator for debugging an MCU of other than M16C 62A Group be careful about the differences of functions of each MCU For details on the functions of each MCU see datasheets and user s manuals of each MCU e This product cannot be used in the operating frequency and the operating power voltage exceeding the guaranteed range Note on Restrictions in Using the Emulator 1 2 e The following restrictions apply to this emulator 1 Debug command execution when the BCLK is stopped When the BCLK is stopped debug commands break dump single step forced stop etc cannot be executed The BCLK can stop in the following cases e When the target clock is not oscillating e When the target MCU is on hold e When the target MCU is in
42. t of the emulator or using the oscillator circuit on the target system Table 3 1 lists the factory settings of each clock supply Table 3 1 Clock supply to the MCU Description Display of emulator debugger Default setting Internal oscillator circuit of emulator 10 MHz Internal Xin XouT main clock Target System External Internal oscillator circuit of emulator Xcin Xcout 32 768 kHz sub clock Internal Target System External IMPORTANT Note on Changing the Clock Supply For using Xcin Xcour pins it is necessary to set P87 Xciw selection switch of the emulator to Xcw side For how to set it refer to 2 3 2 P87 Xcw selection switch page 20 1 Selecting Clock Supply To select the clock supply change the clock 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 Init dialog box s Select main clock supply Compiler Fev Resume l Mi Tab Debug Information Clock r Main C External e Select sub clock supply Sub EA Caos T Next Hide 2 Selecting by CLK command An example of CLK command input by the script window is shown below example 1 When Xin Xovur main clock is supplied from internal INT and Xcin Xcour sub clock is supplied from external EXT CLK INT EXT example 2 When Xm Xour m
43. tatus LED Table 2 1 Definition of system status LED POWER LED1 Orange ON Emulator power supply is turned on OFF Emulator power supply is turned off 2 Target status LED The target status LEDs indicate the target MCU s power supply and operating status Table 2 2 lists the definition of each target status LED Table 2 2 Definition of target status LEDs Number Status 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 program is being executed User program has been halted 17 52 3 System reset switch By pressing the system reset switch you can initialize the emulator system Table 2 3 shows the functions of the system reset switch depending on the state of emulator Table 2 3 Functions of system reset switch State of Emulator Function Initializes the emulator and waits for commands from the When the user s program is halted emulator debugger Stops the user s program initializes the emulator and When the user s program is executed prog waits for commands from the emulator debugger NCAUTION Note on System Reset Switch e After pressing the system reset switch reboot the emulator debugger PD30M Otherwise the display of emulator debugger and the actual value i
44. ternal oscillator input Clock mounted on emulator 32 768 kHz Sub clock Xen switchable to external oscillator input Maximum operating frequency See the charts below With the target Without the target 3 3 V 10 MHz 0 wait Minimum operating frequency 32 768 kHz Power voltage for MCU and power supply With the target 3 0 to 5 0 V set JP1 EXT supplied through the LCC probe on the back of the emulator board from the target Without the target Fixed to 3 3 V set JP1 INT supplied from the emulator Basic debugging functions Download S W break 64 points Program execution stop allows free run execution supporting S W breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time tracing function e 32K cycle bus information is recordable Address 20 bits Data 16 bits MCU status 12 bits e 2 trace modes are supported Before Break mode After Go mode Execution time measurement function Time between program start to stop is measurable Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Connection to target system Connect the LCC probe on the back of the emulator board with the LCC socket mounted on the target Power supply for emulator DC 4 5 to 7 0 V supplied from external prepare the po
45. tes essa Hates a e EEEE EE a EEEE E AEE EEE e 48 6 3 Repair ProvisiONS siii a depa 48 6 4 How to Request for RepalT oooconocccccnonnooconnnonnnoncnononnncnncon non nono non nc conc ne conc nennncnnnrns 49 6 52 Chapter 1 Precautions for Safety This chapter describes precautions for using this product safely and properly For precautions for the emulator debugger refer to user s manual included with your product Tal SALEN Symbols and MAS A ad a bi ee 8 oi AAA A A sea auae sean Se arai 9 Warning for Use Environment yess cesses steveaacayseessevsetevscsencsusesdevas seve isis airis rms pudiese 9 Caution to Be Taken for Modifying This Product ccccccccssssesessescsessesesecscseseeseeeees 9 Cautions to Be Taken for This Product eee ees cesceeeseessceceseceseeeeeeesaeecsaeeneesseeesneees 9 Note on Malfunctions in the System c c sccsccssscssssssnsosscsnsssosessonsssensnsstenssnscsnesesasses 9 Notes on Differences between the Actual MCU and Emulator eee eeeeeeeee 10 Note on MCU Functions That Cannot Be Used with This Emulator 0 0 0 11 Notes on Using this Product for Debugging Other than M16C 62A ossee 12 Note on Restrictions in Using the Emulator 1 2 oo ee eeseeeceeereeeneeceseceseeeeeeeenees 12 Note on Restrictions in Using the Emulator 2 2 oooconnccnnccionononcconnnonancnoncnonccnnncnnnoos 13 Note on Controlling MCU Pins anita 13 Notes on the Target System power supply order of powering on ococcocc
46. the stop mode 2 MCU status during program hold With this emulator the program can be stopped by putting the MCU on hold Note that in this case peripheral circuits are still operating 3 Interrupts during single step execution Interrupts are disabled during single step execution Accordingly interrupt processing is not performed even if an interrupt request 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 executed as a single step 6 Stack area With this emulator user stacks specified by ISP consume 4 bytes If there isn t enough user stack 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 of the area used by the user program as user stack area 7 Trace results for addresses that set software breaks Software breaks replace the original command with the BRK command that generates the BRK interrupt When trace results are viewed in the bus display 0016 is displayed by fetching by command the address that sets the software break howev
47. to your local distributor Make sure that information in the Repair Request Sheet is written in as much detail y as possible to facilitate repair Distributor After checking the contents of fault the distributor should please send the faulty product along with the Repair Request Sheet to Renesas y Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience N CAUTION Note on Transporting the Product Q e 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 equipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use conductive polyvinyl supplied with this product usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 49 52 MEMO 50 52 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 ENESAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
48. tools e Target MCU This means the microcomputer you are going to debug e Target system This means a user s application system using the microcomputer to be debugged ex In this user s manual this symbol is used to show active LOW e g RESET Reset signal 4 52 Contents Chapter L Precautions for Safety ics sssssssiissusesssscss vesseasseeyecinas sseibessabassdaeasedssstsnagesesecsdus coeds deed 7 1 1 Safety Symbols and Meanings ocooccconconnconconncnnnnnnnononnnonn non crnn non nonn con nc nn con non nera ncnneo 8 1 2 Declaration Concerning EMC Directive ooonocncccnoncnnnconcnnconnonnncnnconocononnncncnncnncnn 14 Chapter 2 Sages aiii iio 15 2 1 Name of Bach Patt sis 16 CL System Cont uration ems rated 16 2 Name of Each Part of Emulator ooooooncncnonoooncnncnnnnnnnnnonononnnoncnonanannnnnono 17 2 2 Starting Up the Emulator js 2sssssssescsstesvscscasisbepcsvac dese cseotassbans esgesstsvesbeasusdepcbeness 19 2 3 Emulator Initial Setup css cssecsc cecesdasus esses ces coececs soben pcs onevesuevadvsdevus Ereni Erose sree Gressan 20 1 MCU Power Supply Selection Jumper occ ee ce eeeeeceeeeeeeeeeeneeaes 20 2 P87 Xcm Selection Switch 0 ccccccessccessseecsseececseeeceesececseeeeeseseeeeeseeeenaees 20 2 4 Connecting the Emulator System oooonccnicnncononnnoncnononnconconncnnnon ocn nocnonnnonnnnnncnnnnns 21 1 Connecting the Serial Interface Cable oooncnnnnncinncnnccnonnncoccconononrncnnnc
49. wer supply separately Host machine interface RS 232C serial interface Max 115 2 kbps D o 10 0 a o No wait with wait This emulator is equipped with M30622SAFP M16C 62A Group as an evaluation MCU and emulates M16C 62A Group MCUs In some functions of there are differences between the MCUs of M16C 62A Group and the MCUs of other than M16C 62A Group Therefore when you use this emulator for debugging an MCU of other than M16C 62A Group be careful about the differences of functions of each MCU For details on the functions of each MCU see datasheets and user s manuals of each MCU This product cannot be used in the operating frequency and the operating power voltage exceeding the guaranteed range 3 0 3 3 4 0 5 0 Power voltage V Max operating frequency MHz y 34 52 4 2 Memory Map Figure 4 1 shows memory maps when using the emulator For the memory map of the actual MCU refer to the user s manual of your MCU Make note of the fact that the memory map of the actual MCU differ from that of emulator Do not access to the area noted Do Not Access in the memory map when using the emulator Otherwise the emulator may malfunction Actual MCU When using emulator in single chip mode 0000016 SFR area 0000016 SFR area 003FF16 003F F16 0040016 Internal RAM area 0040016 RAM area max 20K bytes emulation
50. whether the emulator operation is enabled or not M30620T CPEA i REVA ER RESET Run SWI 0000 9 LED LED3 LED4 LEDS MADE IN JAPAN o o o o Target status LED AUX System status LED Figure 2 10 Positions of system status LED and target status LEDs 1 System status LED Check the LED1 of the system status LED is lit immediately after the power is activated If it is not lit shut off the power for the emulator and check the power supply for the emulator is properly connected 2 Target status LEDs Target status LEDs light as shown in Figure 2 11 when the target system is not connected and as shown in Figure 2 12 when a target system is connected For approximately the 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 Without target When the target is not connected the Na RESET POWER LED is not lit CLOCK O ON LED2 LED3 LED4 LED5 OQ orr X Figure 2 11 LED display when the emulator starts up normally target system is not connected With target When the POWER LED is not lit shut off oe RESET the power of the system and check E CLOCK setting of MCU power supply selection jumper switch and if the power is properly supplie
51. your own risk that it can be put to practical use by performing integration test evaluation or some experiment else In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan For inquiries about the contents of this document or product fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor SUPPORT Product name SUPPORT TXT Renesas Tools Homepage http www renesas com en tools 2 52 Preface The M30620T CPE is a compact emulator for the M16C 62 Group M16C 62A of 16 bit microcom puters which is operated only in the single chip mode with the real time trace function This user s manual mainly describes specifications of the M30620T CPE and how to set up and operate it For details on the following products which are used with the M30620T CPE

Download Pdf Manuals

image

Related Search

Related Contents

TechnoTrend TT-connect S-2400  S`inscrire à Maxicours - Garges-lès  

Copyright © All rights reserved.
Failed to retrieve file