Home
M306K9T2-CPE User`s Manual
Contents
1. Check that the power voltage s within the range of MC specifications The oscillation frequency of an oscillator circuit boara OSC 2 or OSC 3 is within the range of MCU specifications Connected The emulator system does not work properly Not connected 74e emulator may be damaged Contact your loca distributor 45 56 Table 5 2 Error display and how to remedy it when starting up the emulator 2 2 LED display Blinking MM OFF CLOCK RESET Connection to the target system Problem amp remedy The emulator system does not work properly The emulator may be damaged Contact your loca 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 Connection to Error message the target system Check that the emulators target status LEDs f they are blinking the emulator has not startea ication ERROR up properly Check the settings explained in Come ibn 9 YI Troubleshooting When the Emulator Starts Up Check that the USB cable is connectea properly Can t accept data Check that an emulator other than the compact Not compact emulator emulator such as PC4701 or PC7507 Is not connected f the Clock tab in the Init dialog box is set to Connected External check that an oscill
2. e The following MCU features cannot be used with this emulator 1 Debugging cannot be done with this emulator in neither memory expansion nor microproces sor mode M306K9 MCUs are specifically designed for use in single chip mode e When using this emulator normally set the processor mode bit in the processor mode register to single chip mode e When using this emulator set pins MO and M1 to L level 2 Oscillation circuits that use a resonator cannot be used Because a control circuit is situated between the evaluation MCU and the target system oscillation circuits that connect a resonator between pins Xin and Xour will not oscillate The same applies to the sub clock oscillation circuit Xcrx Xcour oscillation circuits with a resonator cannot be used See 3 3 Selecting a Clock Supplied to an MCU page 31 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 when you use the emulator 4 The BRK instruction cannot be used The BRK instruction 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 addres
3. s blinking startup M3T PD30M ana download the firmware Check the supply to power to the emulator The emulator may be damaged Contact your loca distributor The target system is not powered Check that the MCU power supply source selection Connected Jumper J1 s set to EXT Check that the emulator s powered Check that the target system is powered The emulator system does not work properly Check that the MCU power supply source selection Jumper J1 Is set to INT Check that the emulator s powered Not connected Clock is not supplied to the emulator Check that an oscillator circuit board OSC 2 or OSC 3 s attached Check that an oscillator or oscillation module on an oscillator circuit board OSC 2 or OSC 3 s operating properly The emulator does not start up properly because pin NMI Connected is held L Check that pin NMI s held High The emulator system does not work properly Not connected 7he emulator may be damaged Contact your loca distributor The emulator does not start up properly because pin MO is held H This product s an emulator which operates only in single chip mode Check that pin MO is held Low Connected The emulator system does not work properly Not connected 7he emulator may be damaged Contact your loca distributor The emulator does not start up properly because an internal clock of the MCU is not oscillating
4. INT Sw1 P87 Xcin selection switch Sw2 P86 OPEN selection switch Sw3 Xout OPEN selection switch Figure 2 4 Emulator initial settings 1 MCU Power Supply Selection Jumpers 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 Table 2 4 Setting MCU power supply selection jumpers Connection to MCU power supply source the target system selection jumper JP1 Not connected Description Supplied from the emulator The MCU operating voltage is 3 3 V Connected 20 56 Supplied from the target system This emulator consumes max 500 mA of electrical current from the target system 2 Function Selection Switches According to the usage set these switches as described in Table 2 5 below Table 2 5 Setting function selection switches Signal Switch Setting Description Connects pin P87 Xcin of the MCU to the target system uses pin P87 XCIN as P87 P87 XCIN Factory setting P87 XCIN Connects pin P87 Xcin of the MCU to the sub clock oscillator circuit 32 768 kHz Connects pin P86 Xcour of the MCU to the target system uses pin P86 Xcour as P86 Xcour P86 OPEN Factory setting P86 XCOUT Do
5. V JP1 INT supplied from the emulator Basic debugging functions e Download software break max 64 points e Program execution stop allows free run execution supporting software breaks e Memory reference setting reference setting C variables run time execution e Register reference setting e Disassemble display e C level debugging etc Real time trace function e 32K cycle bus information recordable Address 20 bits Data 16 bits MCU status 12 bits e 2 trace modes supported Before Break mode After Go mode Real time RAM monitor function 1024 bytes Hardware break function 1 point Address break R W break 256 pass counts Execution time measurement function Time between program start to stop Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Connection to target system For M306K9 144 pin 0 4 mm pitch QFP 144PFB A converter board M3T FLX 144NSE option Power supply for emulator DC 5 0 V 5 2 A externally supplied prepare the power supply separately Host machine interface USB USB 1 1 full speed mini B standard connector used 38 56 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 the emulator Do not access to the
6. 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 an instruction that shifts to stop mode Operation does not shift to wait mode when the instruction that shifts to wait mode is executed as a single step 6 Stack area With this emulator user stacks specified by ISP consume 4 bytes If there is not 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 instruction with the BRK instruction that generates the BRK interrupt When trace results are viewed in the bus display 00h is displayed by fetching by instruction the address that sets the software break however in the reverse assembly display the BRK instruction is displayed 8 Reading MCU s internal resources When the registers that are listed below are read with an emulator those results will be the following the data in the MCU are not effected e Results of real time trace The data values of the cycles read are not displayed correctly e Real time RAM monitor The data values read are not displayed correctly Register Symbol DMA source po
7. 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 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 This product is not qualified under UL or other safety standards and IEC or other industry standards This fact must be taken into account when taking this product from Japan to some other country For inquiries about the content
8. directory Mcufiles in the directory where PD30M is installed Serial No 1 M306K9 2 JM008 y 2 When the settings is complete click OK button x Figure 2 13 Setting the Init dialog box 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 44 rc Ready USB10CPEN1132 00 h 00 m 00 sec 000 msec 000 usec MCU STOP BREAK 4 NX Figure 2 14 Window display of PD30M when it has started up normally 27 56 MEMO 28 56 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 ani ia 30 3 2 Using the Emulator with the Target Systemics iia iio 30 3 5 Selecting a Clock Supplied to an MCU 31 3 4 Mounting A D Conversion Bypass Capacitors sees eee eee eee 35 29 56 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 source selection jumper to INT side see page 20 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 b
9. emulator debugger N CAUTION Note on a System Reset e 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 e When the emulator debugger does not start up normally even after rebooting turn off the emulator and then turn on again 18 56 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 43 E Set the MCU power supply source selection jumper JP1 gt aa Set the function selection switches SW1 SW2 and SW3 gt a Connect the USB interface cable gt a E Connect the power supply for the emulator E gt a Connect the target system gt a Turn on the emulator ye Check the LEDs of the emulator gt a Start up the emulator debugger gt a Specify the operating environment gt a Debug the program using the emulator debugger Set the switch according to the connection to the target system When not connected INT When connected EXT Set the switch according to the usage SW1 P87 XCIN SW2 P86 OPEN SW3 XOUT OPEN Connect the USB interface cable to t
10. esse ee eee eee eee 22 1 Connecting the USB Interface Cable sees 22 2 Connecting the Power Cable sss sees eee 22 2 5 Connecting the Target System As Occasion Demands sss ss esse sees eee 23 1 Connecting to a 144 pin 0 4 mm pitch foot pattern ee eee 24 2 6 Turning On the POWer iesire riene oie E EEn Ee E EEEE EKE leds pd 25 1 Checking the Connection of the Emulator System esse sese eee eee 25 2 Turning On the POWER titi TT 25 3 LED Display When the Emulator Starts Up Normally 00 26 2 7 Starting Up Emulator Debugger PD30M oo eee eee 27 2 8 Setting the Operating Environment of Emulator Debugger PD30M 27 2 9 When Emulator Debugger PD30M Starts Up Normally sss ss esse sese 27 Chapter 3 Changing the Settings sees ee ee eee eee 29 3 1 Using the Emulator without the Target System sese sese eee eee 30 3 2 Using the Emulator with the Target System sese ee eee eee eee 30 3 3 Selecting a Clock Supplied to an MCU sees 31 1 How to Select a Clock Supplied to an MCU asses ee eee 31 2 Using the Oscillator Circuit on the Target System sees eee eee 32 3 Changing the Internal Oscillator Circuit of the Emulator sss sese sees 33 4 Replacing Oscillator Circuit Boards sese esse sese eee 34 3 4 Mounting A D Conversion Bypass Capacitors sees sese eee eee 35 Chapter 4 Specifications remitida 37 ALIS PECHOS ion anno dando aan aE ole cee 38 42 Memory Map aro id 39 4 3 Connection Diagram 3
11. functions Normal Self check executes for about 5 seconds l Xin 16 MHz Connection of Connected after powering on target the emulator Target power Disconnected turned ON XIN XCIN clock No c gt supplied Yes No gt Yes PinMO L yo gt Yes RESET control of No S emulator possible y Yes y Self check terminated normally Self check error detected Target status LEDs displays normally Target status LEDs displays abnormally Ne A Result of emulator Error detected self check Terminated normally Refer to Troubleshooting When the Emulator Starts Up page 45 Starting up Error detected PD30M Started up normally E l R Program Window displayed Refer to Troubleshooting When PD30M Starts Up page 46 l Emulator system started up normally NX Figure 5 1 Flowchart to remedy the troubles 44 56 1 Troubleshooting When the Emulator Starts Up Tables 5 1 and 5 2 list how to remedy the troubles when the target status LEDs of the emulator shows abnormal after powering on the emulator When an error is detected shut off the emulator and the target system and follow the steps in Tables 5 1 and 5 2 Then reboot 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 Blinking lll OFF POWER CLOCK RESET RUN Connection to Problem amp d the target system A The emulator system does not work properly If the SAFE LED
12. hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document but Re
13. nren tiiin doo ben donde nd nis eR OTRo co ay 40 4 4 Emulator External Dimensions sss sese cee ceeceeeeeeceeeeeeceseeeaseseecaecsaecaeenaeeaees 41 5 56 Chapter 5 Troubleshooting oooconocnnncnccnnnnnonnnonconcnononnconccn nooo nono conc irer unea nano ueria an sesio 43 5 1 Troubleshooting Until the Emulator Starts UP sss essen 44 1 Troubleshooting When the Emulator Starts Up sees sees eee eee 45 2 Troubleshooting When Emulator Debugger PD30M Starts Up 46 5 2 Troubleshooting When Using Emulator Debugger PD30M uu eee eee 47 5 3 If Emulator Operation is Abnormal sees ee ee ee ee eee eee 48 1 Self check Procedure in Self check Mode sss 48 2 If an Error is Detected in the Self check oooooocnnonccnnoocncnonccononnnocononos 49 5 4 How to Request for Support ss sese see sees eee ee ee eee 50 Chapter 6 Maintenance and Guarantee sss ses sese eee 51 AR O 52 6 2 Gar ante ista 52 6 3 Repair PrOVISIONS siest serisinin eoria iraa bonds LETTER CTET RTT OT ER KET enaa 52 6 4 How to Request for Replace in 53 6 56 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 la Satety Symbols and MAA A ad a cd EEN 8 Warning for Handling This Product sss esse 9 Wating tor Installation ds ala 9 Warning for Use Environment e 9 Cautions to Be Taken for Turnin
14. system is configured with an emulator host machine and emulator debugger e Host machine This means a personal computer used to control the emulator s 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 s Evaluation MCU This means the microcomputer mounted on the emulator which is operated in the specific mode for development 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 56 Contents Chapter l Precautions for Safety ics sssssssiissusessscess vesseasceevesi yas Rre RTE cosas dey 7 1 1 Safety Symbols and Meanings sse ee eee ee ee eee 8 Chapter 2 USa gees cc sccssedsssssssissssassscusteshdivsoscteces eossededss host saisseuvissdassnasssaseassssypovecssssyssseanteeees 15 R Namerot Bach Partida 16 1 System Configuration sse sees eee ee eee eee 16 2 Name of Each Part of the Emulator sss 17 2 2 Starting Up the Emulator sss esse sese sees 19 2 3 Emulator Initial Settings sss ses eros c terto zeer cs eae shsuecsenbashbage ssgeustsveesseasisdepcbetees 20 1 MCU Power Supply Selection Jumpers sese sese ee eee ee eee eee 20 2 Function Selection Switches eee 21 2 4 Connecting the Emulator System
15. the main unit Be careful not to apply a mechanical shock e Do not pull the compact emulator main unit by the USB interface 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 Cautions to Be Taken for System Malfunctions e Ifthe emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the RESET button on the emulator upper board 2 If normal operation is not restored after step 1 shut OFF the emulator once and then reactivate it 9 56 IMPORTANT Notes on Differences between the Actual MCU and Emulator e Operations of the emulator differs from those of flash version 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 ROM areas at power on When power is turned on the 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 E0000h 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 assign
16. x Figure 4 2 Connection diagram emulation circuits 40 56 4 4 Emulator External Dimensions Figure 4 3 shows external dimensions of the emulator 85 0 60 0 COMPACT EMULATOR MADE S 168 T When used with M3T FLX 144NSE A 450 Unit mm Figure 4 3 Emulator external dimensions 41 56 MEMO 42 56 Chapter 5 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 5 1 Troubleshooting Until the Emulator Starts Up sss sees sees eee 44 5 2 Troubleshooting When Using Emulator Debugger PD30M sese esse seene 47 5 3 If Emulator Operation is Abnormal sees eee ee ee eee eee 48 5 4 Howto Requestior Ippo T 50 43 56 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 The self check starts automatically after powering on the emulator Turning on power of the emulator Result of checking Error emulator
17. 44 pin 0 4 mm pitch foot pattern on the target system with the M3T FLX 144NSE and here following is its procedure 1 Mount the NQPACK144SE included with the M3T FLX 144NSE to the target system For details on the M3T FLX 144NSE refer to its user s manual 2 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 Attach the M3T FLX 144NSE to the YQPACK144SE M306K9T2 CPE On board evaluation A HQPACK144SE not included CO a MCU with flash memory etc These corners are not round 144 pin 0 4 mm pitch 1 144PFB foot pattern P ae a No 1 pin position These four products are in one package Target system Figure 2 9 Connecting to a 144 pin 0 4 mm pitch foot pattern AN CAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the compact emulator e The small connectors of the M3T FLX 144NSE are guaranteed for only 50 insertion removal iterations 24 56 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 simultane
18. 91 7 mm Inside diameter jm 04 75 mm J Ni Na Figure 2 6 Specification of the power connector Figure 2 7 Specification of an applicable plug AN CAUTION Note on Connecting the Power Supply of the 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 s Do not apply a voltage exceeding the specified voltage of the product 5 0 V 45 because it may cause burn injuries and the failure of internal circuits 22 56 2 5 Connecting the Target System As Occasion Demands To connect the target system you need a pitch converter board not included shown in Figure 2 8 Be sure to align the position of No 1 pin to connect it M306K9T2 CPE connector bottom 144 pin 0 4 mm pitch for M306K9 Y lt 7 M3T FLX 144NSE 144 pin TQFP not included Figure 2 8 Connecting to the target system N CAUTION Notes on Connecting Target Systems s 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 the emulator and the target system when connecting and discon necting the target system 23 56 1 Connecting to a 144 pin 0 4 mm pitch Foot Pattern Figure 2 9 shows how to connect this product to a 1
19. ELECTRIC SHOCK Y means PROHIBITION Example Q 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 56 AN WARNING Warning for Handling This Product KR e Do not disassemble or modify this product Disassembling or modifying this product can cause damage Warning for Installation e Do not set this product in water or areas of high humidity Spilling water or some other liquid into SS the main unit can cause an unrepairable damage Warning for Use Environment s This equipment is to be used in an environment with a maximum ambient temperature of 35 C Care should be taken that this temperature is not exceeded AX CAUTION Cautions to Be Taken for Turning On the Power e Turn on the power of the emulator and target system as simultaneously as possible s Turn off the power of the emulator and target system as simultaneously as possible e Do not leave either the emulator or target system powered on because of leakage current the internal circuits may be damaged e When turning on the power again after shutting off the power wait about 10 seconds Cautions to Be Taken for Handling This Product 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 Q e Use caution when handling
20. HTS RESERVED M306K9T2 CPE User s Manual ENESAS Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REJ10J0042 0100Z
21. OWER is not lit 13 56 MEMO 14 56 Chapter 2 Usage This chapter describes how to operate this product 21 Name Of B ch Patata a 16 2 2 Staring Up th Emulator AA iaa 19 2 3 Emulator Initia CUINA A aba 20 2 4 Connecting the Emulator System ius oidos 22 2 5 Connecting the Target System As Occasion Demands sese sees eee eee eee 23 ZO A A OS 25 2 7 Starting Up Emulator Debugger PD30M sene 27 2 8 Setting the Operating Environment of Emulator Debugger PD30M sese eee 27 2 9 When Emulator Debugger PD30M Starts Up Normally sese eee eee 27 15 56 Chapter 2 Usage 2 1 Name of Each Part 1 System Configuration Figure 2 1 shows the system configuration for this emulator Power supply for emulator not included Power supply for target system not included Lower part target system Host machine USB interface cable not included Figure 2 1 System configuration 1 Emulator M306K9T2 CPE included This is a compact emulator for the M16C 6K Group M306K9 of 16 bit microcomputers with the real time trace functions hereafter emulator 2 USB interface cable included This is an interface cable for the host machine and the emulator 3 Power supply for emulator not included This is a power supply for the emulator Supply 5 0 V 5 DC Prepare the power supply separately The power cable is included with this product Note Be aware that there are some AC adapters whose powe
22. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry ENESAS 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is granted
23. ain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronic
24. area noted Do Not Access in the memory map when using the emulator Otherwise the emulator may malfunction Actual MCU Emulator 00000h SFR area 00000h SFR area 003FFh 003FFh 00400h Internal RAM area 00400h Internal RAM area emulation memory 017FFh 017FFh 01800h Unused area 01800h Unused area Do Not Access 26FFFh 27000h Debugger work area Do Not Access 27FFFh 28000h Unused area Do Not Access DFFFFh DFFFFh E0000h Internal ROM area E0000h ROM area emulation memory You cannot write into during program execution ROM protect function FFFFFh FFFFFh Figure 4 1 Memory map when using the emulator 39 56 4 3 Connection Diagram Figure 4 2 shows the connection diagram of M306K9T2 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 3 3V hase Vcc O O gt lt Vcc EXT Vss T gt Vss VccE AVcc gt AVcc VREF DI VREE c1 c2 AVss b L pa AVss M306K9 Emulate MCU vi E 100 gt P85 NMI ANA bd P85 NMI g i aD P86 ps w2 O P86 XcouT S s NE gt P86 Xcout 5 P87 P87 XcIN Swi o Gin Ea P87 Xcin 10k pa RESET go A XOM ROUT o x OPEN gt XIN g gt MO gt M1 Connected to the internal part of the emulator
25. ator of the target d f i Target MCU is not given clock SYLEN 18 OQEANI HOPEN f the Clock tab in the Init dialog box is set to Not connected External change it to Internal f the Clock tab in the Init dialog box is set to Connected External check that an oscillator of the target system is operating properly Target MCU is unable to reset f the Clock tab in the Init dialog box is set to Not connected External change it to Internal Version of PD30M and the firmware Contact your local distributor on the target are not same Please download the firmware Contact your local distributor to target 46 56 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 Connection to the target system Connected f the external clock supply is selected check that the target systems oscillation circult works properly Also if using the sub clock see 2 3 2 Function Selection Switches page 21 Not connected fthe external clock supply s selected change It to internal supply Also fusing the sub clock see 2 3 2 Function Selection Switches page 21 Target MCU is unable to reset Connected f the external clock supply is sele
26. cify the following information 1 Operating environment e Operating voltage X X V e Operating frequency XX X MHz e Clock supply to the MCU Internal oscillator External oscillator e Target system Connected Not connected 2 Condition e The emulator debugger starts up does not start up s The error is detected not detected in the self check e Frequency of errors always frequency 3 Problem 50 56 Chapter 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair OL NAM o 52 6 2 UAM A e e a Faget a a St e ee i et e dos 52 6 3 Repair Pro ISO ena on a A aE e IA NE n 52 6 4 Howto Request for Repair illa lis 53 51 56 Chapter 6 Maintenance and Warranty 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 co
27. cted check that the target systems oscillation circult works properly Also if using the sub clock see 2 3 2 Function Selection Switches page 21 Not connected f the external clock supply s selected change It to internal supply Also fusing the sub clock see 2 3 2 Function Selection Switches page 21 Target MCU is reset state Connected The target MCU has been reset Cancel the reset of the MCU Target MCU is HOLD state Connected f the external clock supply is selected check that the target systems oscillation circult works properly Also if using the sub clock see 2 3 2 Function Selection Switches page 21 The MCU may be in stop or walt mode Elthe reset the MCU or cancel the mode with an Interrupt Not connected f the external clock supply is selected check that the target systems oscillation circult works properly Also if using the sub clock see 2 3 2 Function Selection Switches page 21 The MCU may be in stop or walt mode Elthe reset the MCU or cancel the mode with an Interrupt Target MCU is not given power Connected 47 56 Check that the power supply and GND are properly connected to the target system 5 3 If Emulator Operation is Abnormal The self check is a function to check the memory etc mounted in the emulator The self check is executed when the emulator starts up and detailed check is executed by following t
28. e 3 4 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillator output J1 2 GND J1 1 VCC X1 5 08 mm pitch 2 pin oscillator X2 2 54 mm pitch 2 pin oscillator IC1 Inverter Unbuffer X3 2 54 mm pitch 3 pin oscillator Figure 3 4 Circuit of the oscillator circuit board OSC 2 33 56 4 Replacing Oscillator Circuit Boards Figure 3 5 shows how to replace the oscillator circuit boards 1 Unscrew the screw securing the oscillator cir cuit board 2 Lift off the oscillator circuit board 3 Attach the J1 connector of another oscillator circuit board for replacement to the J6 connec tor of the emulator 4 Secure the new oscillator circuit board with the screw Figure 3 5 Replacing oscillator circuit boards 34 56 3 4 Mounting A D Conversion Bypass Capacitors There is a foot pattern on the M306K9T EPBM board for mounting bypass capacitors for the A D conversion circuit near the MCU Mount suitable bypass capacitors as occasion demands Figure 3 6 shows where they are installed and the configuration of this product M306K9T EPBM e O REVA a E Dooni MADE IN JAPAN C1 Vrer AVss bypass capacitor C2 AVcc AVss bypass capacitor Figu
29. elow 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 supply source selection jumper to EXT side 2 Connect the target system see page 23 Connect the emulator to the target system via a pitch converter board not included 3 Connect the power supply for the emulator see page 25 As the emulator cannot supply power to the target system provide the target system with a separate power supply from that of the emulator 30 56 3 3 Selecting a Clock Supplied to an MCU There are two ways to supply a clock to the MCU using the oscillator circuit 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 16 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 s For using pins Xcin Xcour it is necessary to set the function selection switch SW 1 of the emulator to XCIN side For details refer to 2 3 2 Function Selection Switches page 21 1 How to Select a Clock Supplied to an MCU Change a clock by the Clock tab of t
30. es not connect pin P86 Xcour of the MCU Does not connect pin Xour of the MCU OPEN XOUT Factory setting Connects pin Xour of the MCU to the target system Z CAUTION Note on Setting Switches and Jumper Switches e Always shut OFF the emulator before changing the setting of the switches and jumper switches and connecting the cable 21 56 2 4 Connecting the Emulator System How to connect the emulator system is described hereafter To emulator power supply T T To host machine p pi H Connect the USB interface cable to connector J2 y jure Connect the power cable to connector J1 y icon CI Cat it OL COMPACT EMULATOR MADE i X Figure 2 5 Connecting the emulator system 1 Connecting the USB Interface Cable Connect the USB interface cable included to the USB interface connector J2 and the USB port of the host machine see Figure 2 5 2 Connecting the Power Cable Connect the power supply for the emulator to the power connector J1 The specification of the power supply for the emulator is listed in Table 2 6 Table 2 6 Specification of power supply of the emulator Power supply voltage DC 5 0 V 5 2A Figures 2 6 and 2 7 show the specifications of the power connector and an applicable plug respectively C gt Electrode Electrode
31. g On the Power sese eee sese eee eee eee 9 Cautions to Be Taken for Handling This Product sss sss essen 9 Cautions to Be Taken for System Malfunctions sss es sees eee ee eee 9 Notes on Differences between the Actual MCU and Emulator ooooonccnconnnnnoninininncnns 10 Note on MCU Functions That Cannot Be Used with This Emulator sese ss sss esse 11 Note on Restrictions in Using the Emulator 1 2 sss eee 12 Note on Restrictions in Using the Emulator 2 2 sese 13 Note on Controlling MCU PS is 13 Notes on the Target System Power Supply Order of Powering On sees sese 13 7 56 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
32. he 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 the Init dialog box MOU Debugging Information Reset 17 Resume Main Internal C External Sub C Internal External Select main clock supply Select sub clock supply Cancel Help T Next Hide 2 Selecting by CLK command Examples of CLK command input by the script window is shown below Example 1 When Xm Xovur main clock is supplied internally and Xcin Xcour sub clock is supplied externally CLK INT EXT Example 2 When Xin Xour main clock is supplied externally and Xcmw Xcour sub clock is supplied internally CLK EXT INT 31 56 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 pin Xm And pin Xour should be open It is same for sub clock oscillator Xcin 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 pins Xin and Xovr oscillati
33. he USB interface connector J2 of the emulator and the USB port of the host machine Connect the power supply to the power connector J1 Emulator power should be 5 0 V 5 2 A Connect the target system to the emulator when necessary 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 and CLOCK of the target status LEDs light When the target system is not connected POWER does not light Start up emulator debugger PD30M In the INIT dialog box of emulator debugger PD30M specify the following and press the OK button MCU file M306K9 mcu 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 56 2 3 Emulator Initial Settings Set the MCU power supply selection jumpers and the function selection switch of the emulator according to conditions of use E O LEDI POWER SAFE LED2 o OjO INT JP1 EXT 2 a 2 LEDS LED4 LED6 U COMPACT EMULATOR MADE JP1 MCU power supply source selection jumper Factory setting
34. he procedure below Set the switches as shown in Table 5 5 below to execute the self check Be sure to disconnect the target system Table 5 5 Switch settings for the self check Switch Setting MCU power supply source selection jumper JP1 P87 Xcin selection switch SW1 P8s OPEN selection switch SW2 Xout OPEN selection switch SW3 1 Self check Procedure in Self check Mode POWER CLOCK RESET RUN POWER SAFE E E E E OD MM LED3 LED4 LED5 LED6 LED1 LED2 POWER CLOCK RESET RUN POWER SAFE tit mE R E O k LED3 LED4 LED5 LED6 LED LED2 Self check starts POWER CLOCK RESET RUN POWER SAFE tout tit tit tit tit E SS GI ele sie vet tee vee tre tre LED3 LED4 LED5 LED6 LED1 LED2 Blinking OFF SAFE LED status S 1 Within 2 seconds of activating power press the reset switch 2 Checkthatthe SAFE LED starts blinking then press the system reset switch again 3 Target status LEDs starts blinking at random intervals ON Error POWER CLOCK RESET RUN POWER SAFE HN iit tit tit a a Co EN LED3 LED4 LED5 LED6 LED1 LED2 SAFE LED is turned off and one or more target status LEDs start blinking according to the error type Y Normal S ali LED display POWER CLOCK RESET RUN POWER SAFE tit e E E O E oOo C Co LED3 LED4 LED5 LED6 LED1 LED2 ON Blinking OFF Figure 5 2 Self check procedure 48 56 2 If an Error is Detected i
35. 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 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 renesa
36. inters 0 1 SARO SAR1 DMA destination pointers 0 1 DARO DAR1 DMA transfer counters 0 1 TCRO TCR1 DMA control registers 0 1 DMOCON DM1CON 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 Reset vector area e Memory in the emulator main unit is always selected as a reset vector area e You can change data in the reset vector area only when the user program is stopped 12 56 IMPORTANT Note on Restrictions in Using the Emulator 2 2 e The following restrictions apply to this emulator 11 DMA transfer With this product the program is stopped with a loop program to a specific address Therefore if a DMA request is generated while the program is stopped DMA transfer is executed However make note 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 s DMAO transfer counter TCRO e DMA transfer counter TCRI 12 Software and hardware breaks It is not possible to use a software break and a hardware break at the same time If doing so this product may not operate normally Note on Controlling MCU Pins e Some MCU pins are controlled by the emulator 1 RESET input The RESET input from the target syste
37. m 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 3 6 V Do not change the voltage of the target system after turning on the power 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 When the target system is not connected the target status LED P
38. ment of the emulator s internal memories differ from those of the actual MCU For memory mapping see 4 2 Memory Map page 39 5 MCU functions 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 6 DBC single step and BRK instruction interrupt vector table addresses As the emulator uses the DBC single step and BRK instruction interrupt vector table addresses when data is read out from these addresses the data are different from expected values Factor of interruption Vector table addresses Data read DBC FFFF4h FFFF7h Indefinite Single step FFFECh FFFEFh Indefinite BRK instruction FFFE4h FFFE7h Indefinite 1 Interruption for the emulator only 7 A D and D A converter function As A D and D A converters have a pitch converter board between the evaluation MCU and the target system some characteristics are slightly different from those of the actual MCU 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 a CS Commercial Sample version MCU 10 56 IMPORTANT Note on MCU Functions That Cannot Be Used with This Emulator
39. n the Self check Table 5 6 lists how to remedy the troubles if the target status LED display is abnormal in the self check When an error is detected shut off the emulator and the target system and follow the steps in the Table 5 6 Then reactivate the power of the emulator and the target system Table 5 6 Error display in the self check and how to remedy it LED display 7 Blinking MEN Problem amp remedy CLOCK RESET The emulator system does not work properly Check that power s 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 circuit board OSC 3 is attached The emulator system does not work properly _ The emulator may be damaged Contact your local distributor AN CAUTION Notes on the Self check s Be sure to disconnect the target system before executing the self check s If the self check does not result normally the emulator may be damaged Then contact your local distributor e Use the preinstalled oscillator circuit board OSC 3 16 MHz to execute the self check 49 56 5 4 How to Request for Support After checking the items in Chapter 5 Troubleshooting 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 For prompt response please spe
40. nditions 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 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 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 a
41. nesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office eq
42. on 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 d Figure 3 2 Circuit in which oscillation does not occur same for Xcin Xcour IMPORTANT Notes on Operating an Oscillator Circuit on the Target System e To operate this product with an external clock construct the oscillator circuit as shown in Figure 3 6 in the target system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into pin Xm And pin Xour should be open e Make note that in the oscillator circuit shown in Figure 3 2 where a resonator is connected between pins Xm and Xovr oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the target system It is same for sub clock oscillator circuits Xcin and Xcour 32 56 3 Changing the Internal Oscillator Circuit of the Emulator An oscillator circuit board for 16 MHz OSC 3 is mounted on this product To use this product at a frequency other than 16 MHz build the desired oscillator circuit on the included OSC 2 oscillator circuit board bare board and replace the board installed in this product when shipped from the factory Figure 3 3 shows an external view of the OSC 2 oscillator circuit board bare board and where connector pins are located Figur
43. ously as possible AN CAUTION Notes on Power Supply s 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 3 6 V e Do not change target system power supply voltage after power has been activated 25 56 3 LED Display When the Emulator Starts Up Normally After the emulator starts up check the status of the LEDs to see whether the emulator operation is enabled or not ED1 System status LED ens OACI Target status LED gt 1 T IIT 1 1 ULATOR MADE Figure 2 10 Positions of system status LEDs and target status LEDs 1 System status LEDs Check that the LED1 of the system status LEDs is lit immediately after the power is activated If it is not lit shut off 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 about 5 seconds after power is turned on all the target status LEDs light After that make sure the target status LEDs light up normally If the target status LED
44. r supply voltage varies rather widely with its load You are recommended to use an AC adapter with a switching power supply or a stabilized power supply 4 Target system not included This is your application system This emulator can be used without the target system 5 Power supply for the target system not included 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 not included This is a personal computer for controlling the emulator 16 56 2 Name of Each Part of the Emulator Figure 2 2 shows the name of each part of the emulator J1 Connector Power J2 Connector USB cable r WF O LED ph M System status LED Y gt fron al O l LED1 Emulator power POWER SAFE LED2 o HR System reset switch LED2 Emulator startup SAFE I E og JP1 Jumper for selecting MCU power source Factory setting INT LED3 Target status LED gt PONER lt ren LED3 Target system power POWER S tol LED4 Clock oscillation CLOCK KS Hol LED5 MCU RESET pin RESET LEDS 101 LED6 Program execution RUN O COMPACT EMULATOR MADE Figure 2 2 Name of each part of the emulator upper side of the M306K9T2 CPE 1 System status LEDs The system s
45. re 3 6 Foot pattern for A D conversion bypass capacitors IMPORTANT Note on the A D Converter Function s Because a converter board and other devices are used between the evaluation MCU and the target system the A D converter operates differently from that of an actual MCU Make the final evaluation of the A D converter with an actual MCU 35 56 MEMO 36 56 Chapter 4 Specifications This chapter describes specifications of this product AM eC HIG tons ii Siete A A A ia 38 4 2 Memory Ma Sd 39 AS COMMECUON RIT T A A A AS AR ts 40 44 Emulator External DIMENSIONS ia its 41 37 56 Chapter 4 Specifications 4 1 Specifications Table 4 1 lists specifications of the M306K9T2 CPE Table 4 1 Specifications of the M306K9T2 CPE Applicable MCUs M16C 6K Group M306K9 Usable mode Single chip mode Evaluation MCU M30622SAFP M306K9FOLFP Emulation memory For internal RAM area 5 KB For internal ROM area 128 KB Clock supply Internal oscillator circuit OSC 3 NIS SGG Switchable to external oscillator input Clock mounted on emulator 32 768 kHz Sub clock Xen switchable to external oscillator input Maximum operating frequency 16 MHz at 3 3 V divide by 1 no wait Minimum operating frequency 32 768 kHz Applicable target power supply With the target 3 0 to 3 6 V JP1 EXT supplied from pin Vcc of the target system Without the target Fixed to 3 3
46. s 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 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 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
47. s do not light as shown in Figure 2 11 or Figure 2 12 see 5 1 Troubleshooting Until the Emulator Starts Up page 44 When the target system NOT connected POWER EE LED3 The POWER LED does not light CLOCK LED4 OO ON RESET WE LED5 EE OFF RUN EE LEDS Figure 2 11 LED display when the emulator starts up normally target not connected When the target system connected POWER LED3 If the POWER LED does not light shut off the system and check the setting of the CLOCK C LED4 jumper switches and if the power is properly supplied to the target system RESET MN LEDS Cd ON RUN Mmm LEDp EE OFF Figure 2 12 LED display when the emulator starts up normally target connected 26 56 2 7 Starting Up Emulator Debugger PD30M After checking the emulator has started up normally start up emulator debugger PD30M To start up the emulator debugger follow the steps below Click the Start button of Windows And select Program P gt RENESAS TOOLS gt PD30M V 2 00 Release 1 gt PD30M 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 the Init dialog box refer to the user s manual of PD30M r MCU Debugging Information Reset Clock Resume MOU M306K9 mcu Refer 1 Click Refer button and select the MCU file M306K9 mcu The MCU file is stored in the
48. s 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 Flash memory and EPROM modes are not emulated This emulator does not emulate flash memory and EPROM modes Also the emulator does not emulate CPU rewrite mode in flash memory mode 11 56 IMPORTANT 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 in stop mode e When the target MCU is in wait mode 2 MCU status while a program is stopped With this emulator the program is stopped with a loop program to a specific address 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
49. s 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 56 Preface The M306K9T2 CPE is a compact emulator with the real time trace functions for the M16C 6K Group M306K9 of 16 bit microcomputers This user s manual mainly describes specifications of the M306K9T2 CPE and how to set up and operate it For details on emulator debugger M3T PD30M C compiler M3T NC30WA entry version and integrated 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 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 56 Terminology Some specific words used in this user s manual are defined as follows s Emulator This means the M306K9T2 CPE this product e Emulator system This means an emulator system built around the M306K9T2 CPE emulator The M306K9T2 CPE emulator
50. s products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics ENESAS C 7 D me 7 lt D D M306K9T2 CPE User s Manual Compact Emulator with Real time Trace Functions for M306K9 Renesas Electronics com Rev 1 00 2003 05 www renesas co x NQPACK YQPACK YQSOCKET YQ GUIDE HQPACK TQPACK and TQSOCKET are products of Tokyo Eletech Corporation 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
51. t your expense 52 56 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 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 1 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 53 56 MEMO 54 56 M306K9T2 CPE User s Manual Rev 1 00 May 1 2003 REJ10J0042 0100Z COPYRIGHT 2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIG
52. tatus LEDs indicate the emulator main unit s power supply Table 2 1 lists the definition of system status LED Table 2 1 Definition of system status LEDs Number Status Function Power is supplied to the emulator Power is not supplied to the emulator Emulator system has started normally Emulator system has not started normally 2 Target status LEDs The target status LEDs indicate the target MCU s power supply and operating status Table 2 2 lists the definition of each target status LEDs Table 2 2 Definition of target status LEDs Number Status Function Power is supplied to the target MCU Power is not supplied to the target MCU BCLK is output from the target MCU BCLK is not output from the target MCU Target MCU is being reset Target MCU is not being reset User program is being executed User program is not being executed 17 56 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 the emulator Table 2 3 Functions of the system reset switch State of Emulator Function Initializes the emulator and waits for a command 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 a command from the
53. uipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under cert
Download Pdf Manuals
Related Search
Related Contents
FC500 IP v3 fireclas.. Y1-06-0270 A - GPS Central HP Officejet 6500 All-in-One Printer - E709a Shot Monitoring Watch Philips 22HFL3233D 22" 3D compatibility Black ASUS BU201 User's Manual CMT-1 Chromatic Clip-on Metro Tuner User Manual Appareils de mesure Copyright © All rights reserved.
Failed to retrieve file