Home
R0E521000CPE00 User`s Manual (Compact Emulator for R8C/Tiny
Contents
1. The voltage of the user system is less than 2 7V set the POWER selection jumper to the EXT POWER side For details about the POWER selection jumper refer to 2 3 3 Setting the POWER Selection Jumper page 23 REJ10J0845 0500 Rev 5 00 October 16 2007 Fade ane RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 2 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below When debugging the MCU using this product be careful about the following precautions IMPORTANT Notes on Internal Memory ROM RAM The evaluation MCU mounted on this product has RAM of 8 KB 00300h 01 2FFh 03000h 03FFFh and flash ROM of 4 KB 02000h 02FFFh and 112 KB 04000h 1FFFFh For this reason the nonexistent ROM or RAM area of the target MCU may be accessed With this product the flash ROM area of target MCU is cleared at 04h NOP instruction when starting up the emulator If you want the MCU s internal flash ROM to be cleared when starting up the debugger when cleared the content of the flash ROM is initialized to OFFh select the flash ROM block you want to clear in the Flash Clear tab of the MCU setting dialog box Note on Access Prohibited Area You cannot use internally reserved areas Because an evaluation MCU is operated in the special mode for the emulator a function which does not support the target MCU may run Notes on RESET Input
2. 2 9 Connecting the User System page 36 REJ10J0845 0500 Rev 5 00 October 16 2007 ROE521000CPEO00 User s Manual 1 Outline 1 2 2 Names and Functions of each part of the Emulator Figure 1 2 shows the names of the LEDs on the upper panel of the emulator J1 Power connector J2 USB Interface connector RENESAS POWER USB System status LEDs N LED1 Emulator power POWER E TED System reset switch LED2 Emulator startup SAFE JP2 MCU power supply voltage Selection Jumper COMPACT EMULATOR factory setting 5 0V ROE521000CPEO00 JP 1 MCU power supply source selection jumper factory setting INT Target status LEDs LED3 User system power POWER TARGET LED4 Clock oscillation CLOCK 8 STATUS LED5 MCU RESET pin RESET 4 LED6 Program execution RUN MADE IN JAPAN COMPACT EMULATOR Figure 1 2 Names of the LEDs on the upper panel of the ROE521000CPEO00 1 System Status LEDs The system status LEDs indicate the emulator s power supply and operating status etc Table 1 2 lists the definition of each system status LED Table 1 2 Definitions of the system status LEDs POWER LED Orange Power is supplied to the emulator E NEU is not supplied to the emulator SAFE LED2 Green ON Emulator system has started normally Emulator system has not started normally 2 Target Status LEDs The target status LEDs indicate the target MCU s o
3. A low input to RESET of the dedicated evaluation MCU from the user system is accepted only when a user program is being executed when the RUN status LED on the emulator s upper panel is lit The time for starting up 0 2 VCC to 0 8 VCC and falling edge 0 8 VCC to 0 2 VCC for RESET pin should be set to 1 us or less Note on Power on Reset Function This product emulates inputs to the VCC and RESET pins for the purpose of emulator function control For this reason the power on reset function cannot be used Notes on Maskable Interrupts Even if a user program is not being executed including when run time debugging is being performed the evaluation MCU keeps running so as to control the emulator Therefore timers and other components do not stop running If a maskable interrupt is requested when the user program is not being executed including when run time debugging is being performed the maskable interrupt request cannot be accepted because the emulator disables interrupts The interrupt request is accepted immediately after the user program execution 1s started Take note that when the user program is not being executed including when run time debugging is being performed a peripheral I O interruption is not accepted Notes on Oscillator Circuit Make note that in the oscillator circuit where a resonator is connected between pins P4 6 XIN and PA 7 XOUT oscillation does not occur because a flexible cable buf
4. mE nicrt aar Ey O source file dE 5 sample c a Download mode id epee oy Depern Download module is amp EE Download module debug data only Or you can select Download module from the Debug menu for the same effect Unload module Configure View 2 Showing the program Editor source window The editor source window is a window that always shows the content of the source file corresponding to the current position of the program counter PC hereafter The PC position is marked by a yellow arrow Here you can execute 2 na pese isp set ista the program up to the cursor position and set or clear software mov b 00h 04h set proc breakpoints mov b 00h 0ah Ide 0080h fle Ide stack top sp set stack po Ide Hdata SE tap sb set sb r Idinth YECTOR_ADA REJ10J0845 0500 Rev 5 00 October 16 2007 pede DING RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 3 Program Execution 1 Program execution EFE Ei S C D soe B Bilou rece Resets the target MCU You can select CPU reset from the Debug menu for the same effect Ell Runs the program beginning with the current PC position You can select Go from the Debug menu ET Go Runs the program after reset You can select Reset Go from the Debug menu m Step In Single steps the program executing each statement including those in funct
5. 6 f02h 0ah ie l H00h O4b sel If the program is started to run from a PC position at which a ER ah software breakpoint is set instructions at that PC position are stepped over automatically and the program is executed from the slack top sp iset sta PP y prog data SE top zb set next instruction on Idintb ECTOR_ADR REJ10J0845 0500 Rev 5 00 October 16 2007 aED RENESAS ROE521000CPEO00 User s Manual 3 Executing up to the cursor position 1 Setup procedure for running the program up to the cursor position Macro TOP SECT mow B mow W low setr 6 Macro FROM T SECT i HiFROW amp OFFFFH Ad b HiFROW 22182 RIH w TO ial w sizeof SECT R3 gmoavf bh endm BZERU macra TOP SECT_ mov b HOOH ROL mov W mov W satr b endm tts zeq MW BOO mow w mov b mow Ww mow w gmovt b endm macra FROM TU SEDT HiFROW amp OFFFFH 40 FROM_ gt gt 163 R1H HTO_ Al sizeof SECT R3 REJ10J0845 0500 Rev 5 00 October 16 2007 Page 55 of 90 3 Usage How to Use the Emulator Debugger Setup procedure for running the program up to the cursor position 1 Click the line in the editor source window that you want to be executed B Click the execution button to the cursor position Or you can select Go to Cursor from Debug menu for the same effect The cursor stops in the specified position The statement specified with the execution
6. Data BUS BHE BIU an RWI Address 000400 000013 000400 0023 8h 1 Datel 5423 000012 000401 0054 8h 0 om W 0 MASK 00FF 8 bit bus width area Only Low order data effective Access WRITE Event setting for odd address word access STE W A0 401h AO AB 79h Setting a break event using 2 events Cycle Label Address Data BUS BHE BIU Vn az CPU Al A2 000013 O00401 OO79 Sb U Address 1 000401 Address 1 000402 00012 OO0402 QOAB Sb 1 Tit WW Data 1 0079 Data 1 00AB 8 bit bus width area Only Low order data effective MASK 0OFF MASK OOFF Access WRITE Access WRITE Set the combinatorial events to AND Event setting for even address byte access STE B ROL A1A0 ROL E5h A 1 0000h A0 0402h Setting a break event Cycle Label Address Data BUS BHE BIU x wr zn Al 000013 0040 QUES Bb 1 DB Address 000402 8 bit bus width area Only Low order data o Data 1 0OE5 MASK 00FF Access WRITE Setting a break event Al Event setting for odd address byte access STE B ROL A1A0 ROL E6h A 120000h A020403h Address 1 000403 cycla Label Address Data BUS BHE e BIU NS E EWI E CPU 2 Data 1 Gane QU0013 000403 DUEB Bh MASK 00EF 8 bit bus width area Only Low order data Mu Acces WRITE REJ10J0845 0500 Rev 5 00 October 16 2007 eaten RENESAS ROE521000CPEO00 User s Manual 4 Setting the combinatorial condition for the hardware break point 1 Window for settin
7. e No 1 pin 1 These items are included with the ROE521134CFG00 ROE521276CFG00 and ROE5212L4CFGO00 packages 2 These items are included with the ROE521174CSJ00 package 8 These items are included with the ROE521174CDB00 package 4 These items are included with the ROE521237CFKOO package 5 These items are included with the ROE521258CFJ00 package 6 These items are included with the ROE5212BACFG00 package 7 These items are included with the ROE5212BACFKO00 package 8 These items are included with the ROE5212DACFK00 package Figure 2 19 Connection of the ROE521000CPEO0 and user system CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system NQPACK YQPACK YQSOCKET YQ GUIDE HQPACK TQPACK TQSOCKET NSPACK YSPACK YSSOCKET and YS GUIDE are trademarks of Tokyo Eletech Corporation REJ10J0845 0500 Rev 5 00 October 16 2007 eager RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 1 Connecting to a 32 pin 0 8mm pitch LQFP Foot Pattern Figure 2 20 shows a procedure of connecting to a 32 pin 0 8mm pitch LQFP foot pattern on the user system using the ROES21134CFGOO included with the ROE521134CPEO00 ROES21276CFGOO included with the ROE521276CPEO0 or ROES212L4CFGOO included with the ROES5212LA4CPEO0 For details on the ROE521134CFG00 ROE521276CFG00 and ROES212L4CFGO0 refer to each user
8. 2 Jumper switch locations These are the jumper switches to select power supply to the MCU and its power voltage As shown in Table 2 1 below set the switch according to the connection to the user system Table 2 1 Setting jumper switches Comeon MCU power supply MCU power supply u source selection voltage selection Description the user system jumper JP1 jumper JP2 Supplied from the emulator The MCU operating Not connected INT volage LAAL Supplied from the emulator The MCU operating 5 0 V voltage is 5 0 V Supplied from the user system This emulator Connected EXT Invalid consumes max 500 mA of electrical current from the user system Note on Changing Jumper Switch Settings Q Always shut OFF the emulator before changing the setting of the jumper switches Otherwise the internal circuit CAUTION may cause a break REJ10J0845 0500 Rev 5 00 October 16 2007 Saget eee RENESAS ROE521000CPE00 User s Manual 2 Setup 2 3 2 Setting the Jumpers on the ROE521000EPBMO Board Figure 2 3 shows the location of jumper switches on the ROES521000EPBMO board and their factory settings ROE521000EPBMO RENESAS 0000000000 0000000000 0000000000 0000000000 0000000 0000000000 0000000000 0000000000 0000000000 0000000 J2 IC8 R5E2E000FP Figure 2 3 Jumper switches on the ROE521000EPBMO Table 2 2 Setting jumper switches on the ROES21000EPBMO Description Settings of this jumper need to be changed according t
9. October 16 2007 esa RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 2 External Dimensions of the Converter Board ROE521134CFG00 Figure 4 4 shows external dimensions and a sample foot pattern of the converter board ROE521134CFG00 included with the ROES21134CPEOO for a 32 pin 0 8mm pitch LQFP e ROE521134CFG00 REV A MADE IN JAPAN Unit mm Figure 4 4 External dimensions and a sample foot pattern of the ROES521134CFG00 4 4 3 External Dimensions of the Converter Board ROE521174CSJ00 Figure 4 5 shows external dimensions and a sample foot pattern of the converter board ROES21174CSJOO included with the ROES2117CPEOO for a 20 pin 0 65mm pitch LSSOP 7 x Nee ROE521174CSJ00 REV A MADE IN JAPAN Unit mm Figure 4 5 External dimensions and a sample foot pattern of the ROES21174CSJOO REJ10J0845 0500 Rev 5 00 October 16 2007 io eels RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 4 External Dimensions of the Converter Board ROE521174CDBO00 Figure 4 6 shows external dimensions and a sample foot pattern of the converter board ROE521174CDBOO0 included with the ROES21174CPE10 for a 20 pin 1 778mm pitch SDIP Z a f OOOOOCOOOOO oak uet O O O N Q y R0E521174CDB00 REV A MADE IN JAPAN N 4 O Figure 4 6 External dimensions and a sample foot pattern of the ROE521174CDBO0O 4 4 5 External Dimensions of the Conve
10. READ ADDRESS OO0000 CONDITION addr 000000 2 Setting data A Set Event Status Event Type Address Data Setting Range data Datal Datal ponn Datas Ami Access READ Oo Mask FFFF ADDRESS DUDDOD CONDITION addr 000000 data 0000 cancel REJ10J0845 0500 Rev 5 00 October 16 2007 3 Usage How to Use the Emulator Debugger Setting the address Specified in the Address tab You can set eight conditions e g a specified address a specified address range etc After the address setting completion set the data Setting data Specified in the Data tab You can set two conditions e g specified data or not to compare data Setting the access condition You can set three conditions e g read write and read write When you have finished setting the data and access condition click OK Page 58 of 90 CENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 Example Data Settings Event setting for even address word access 16 bit bus width Sen a break event STE W AO 126h A0 5423h Address 1 000126 Cycle Lahel Address Data BUS BHE BIU x E CEU 2r Data 1 ibn 000012 D0Dlzb S423 1th Ti MASK E 16 bit bus width area High order and low order d cef Access WRITE Event setting for even address word access 8 bit bus width Setting a break event STE W AO 400h A0 5423h Al ye le Label Address
11. Renesas sales office if you have any questions regarding the information contained in this document Renesas semiconductor products or if you have any other inquiries ROE521000CPEO00 User s Manual Preface Preface The ROE521000CPEO00 is a compact emulator for R8C Tiny Series MCUs which has a real time trace function This user s manual mainly describes specifications of the ROES521000CPEO00 compact emulator and how to setup it For details on the emulator debugger and C compiler M3T NC30WA evaluation version which are included with each product refer to the online manual All the components of this product are shown in 1 1 Package Components page 13 If there is any question or doubt about this product contact your local distributor The related manuals for using this product are listed below You can download the latest manuals from the Renesas Tools homepage http www renesas com tools Related manuals Accessory Tools Integrated development environment Emulator debugger C compiler C compiler package for R8C Tiny M16C 60 30 Tiny 20 and 10 Series C compiler User s Manual Assembler C compiler package for R8C Tiny M16C 60 30 Tiny 20 and 10 Series Assembler User s Manual REJ10J0845 0500 Rev 5 00 October 16 2007 a RENESAS ROE521000CPE00 User s Manual Important Important Before using this product be sure to read this user s manual carefully Keep this user s manual and refer to this when you have
12. are guaranteed for only 50 insertion removal iterations The connectors of the ROE5212BACFGOO and YQPACKO64SA are guaranteed for only 100 insertion removal Iterations REJ10J0845 0500 Rev 5 00 October 16 2007 aE EAE RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 7 Connecting to a 64 pin 0 5mm pitch LQFP Foot Pattern Figure 2 26 shows a procedure of connecting to a 64 pin 0 5mm pitch LQFP foot pattern on the user system using the ROES212BACFKOO included with the ROES212BACPE10 For details on the ROES212BACFKOO refer to its user s manual 1 Mount the NQPACKO064SD ND included with the ROE5212BACFKOO to the user system 2 Attach the YOPACKOO64SD included with the ROE5212BACFKOO to the NQPACKO64SD ND and secure it with the YQ GUIDE s 3 Attach the ROES212BACFKO0 to the J3 and J4 of the ROES21000CPEOO 4 Attach the ROE5212BACFKOO0 to the YQPACKO64SD RHOE521000CPEO00 On board evaluation ROE5212BACFKO00 a HOPACKO64SD not included YQ GUIDE x 4 pny FLASH version YQPACKO064SD NW MCU NQPACKO64SD ND 64 pin 0 5mm pitch LQFP PLQPO064KB A foot pattern Q No 1 pin These items are included with the ROE5212BACFKOO Figure 2 26 Connecting to a 64 pin 0 5mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connecto
13. emulator ROES21000CPEOO this product This compact emulator contains for the R8C Tiny Series which has a real time trace function This is described as emulator hereafter An evaluation MCU is mounted on the ROE521000CPEOO 2 USB interface cable included This is an interface cable for connecting the host machine and emulator 3 Power supply for emulator This is a power supply for emulator Supply 5 0 V 5 DC Prepare a power supply which complies with CE marking requirements separately The power cable is included with this product Attach the ferrite core included with this product close to the DC plug of the power cable For details refer to 2 4 Attaching the Ferrite Core page 29 Note Be aware that there are some AC adapters whose power supply voltage varies rather widely with its load You are recommended to use an AC adapter with a switching power supply or a stabilized power supply 4 User system This is your application system This product can be used when not connecting the user system 5 Power supply for the user system This is a power supply for the user system As this emulator cannot supply the power to the user system supply the power to the user system separately from the emulator 6 Host machine This is a personal computer for controlling the emulator 7 Pitch converter board such as ROE521134CFGOO This is a pitch converter board for connecting to an MCU foot pattern on the user system For details refer to
14. 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 AN A DANGER A WARNING N CAUTION CAUTION IMPORTANT This symbol represents a warning about safety It is used to arouse caution about a potential danger that will possibly inflict an injury on persons To avoid a possible injury or death please be sure to observe the safety message that follows this symbol DANGER indicates an imminently dangerous situation that will cause death or heavy wound unless it is avoided However there are no instances of such danger for the product presented in this user s manual WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight injury or a medium degree injury unless it is avoided CAUTION with no safety warning symbols attached indicates a potentially dangerous situation that will cause property damage unless it is avoided This is used in operation procedures or explanatory descriptions to convey exceptional conditions or cautions to the user In addition to the five above the following are also used as appropriate means WARNING or CAUTION Example Gmean
15. local distributor If your product is being leased consult the leasing company or the owner 6 4 Repair Provisions 1 Repairs not covered by warranty The products elapsed more than one year after purchase are not covered by warranty 2 Replacement not covered by warranty 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 Faulty or broken mechanical portions Flaw separation or rust in coated or plated portions Flaw or cracks in plastic portions Faults or breakage caused by improper use or unauthorized repair or modification Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply Cracks in the printed circuit board or burnt down patterns Wide range of faults that makes replacement less expensive than repair Unlocatable or unidentified faults REJ10J0845 0500 Rev 5 00 October 16 2007 FUOD EIS RENESAS ROE521000CPE00 User s Manual 6 Maintenance and Guarantee 3 Expiration of the repair period When a period of one year elapses after the model was dropped from production repairing products of the model may become impossible 4 Transportation fees at sending your product for repair Please send your product to us for repair at your expense 6 5 How to Make Request for Repair If your product is found
16. or not using the trace point function The emulator has two point events which are shared by the trace function and the hardware break function Specify whether or not to use the trace point function When not using the trace point function default deselect the check box In this case the events are used for the hardware break function To use the trace point function select the check box In this case the events are used for the trace point function The hardware break function is disabled CENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 Executing the self check Executing the self check uit MA Pye ee Pe toe Enable this function when you want the emulator to be self MCU Debugging Information Emulator Script checked at startup Be sure to select the check box only when you MOLE RBFo1174C MCU want the emulator to be self checked at startup This function may be enabled in the following cases When you are using the emulator you have just purchased When you successfully download the firmware but fail to start serial Mo 2 R52100 4KS001T up the emulator Self Check When you want to confirm whether the emulator is operating Debug Option normally because for example the MCU runs out of control or Enable the Address Match Interrupt Break Function Debug the program using the CPU Reverite Mode Enable the Trace Point Function something is wrong with th
17. questions about this product Emulator The emulator in this document refers to the following products that are manufactured by Renesas Technology Corp 1 Compact emulator main unit 2 Package converter board for connecting the user system The emulator herein does not include the customer s user system and host machine Purpose of use of the emulator This emulator is a device to support the development of a system that uses the MI6C Family R8C Tiny Series of Renesas 16 bit single chip MCUS It provides support for system development in both software and hardware Be sure to use this emulator correctly according to said purpose of use Please avoid using this emulator for other than its intended purpose of use For those who use this emulator This emulator can only be used by those who have carefully read the user s manual and know how to use it Use of this emulator requires the basic knowledge of electric circuits logical circuits and MCUs When using the emulator 1 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 2 In no event shall Renesas Solutions Corp be liable for any consequence arising from the use of this product 3 Renesas Solutions Corp strives
18. registration created when installing the software in the following folder Your registered information is used for only after sale services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to carry out the user registration For more information about user registration please contact your local distributor Text format for user registration C Program Files Renesas Hew Support REJ10J0845 0500 Rev 5 00 October 16 2007 Page 11 of 90 a 2ENESAS ROE521000CPE00 User s Manual Terminology Terminology Some specific words used in this user s manual are defined as follows Emulator ROES21000CPE00 This means a compact emulator for R8C Tiny Series this product Emulator system This means an emulator system built around the compact emulator ROES21000CPE00 The emulator system is configured with compact emulator ROE521000CPEO00 power supply for the emulator emulator debugger and host machine Integrated development environment High performance Embedded Workshop This tool provides powerful support for the development of embedded applications for Renesas microcomputers It has an emulator debugger function allowing for the emulator to be controlled from the host machine via an interface Furthermore it permits a range of operations from editing a project to building and debugging it to be performed within the s
19. s manual 1 Mount the NQPACKO32SA included with the ROES521134CFG00 ROE521276CFGO00 or ROES5212L4CFG00 to the user system 2 Attach the YQPACKO32SA included with the ROE521134CFG00 ROE521276CFGO00 or ROES212L4CFGO00 to the NOQPACKO032SA and secure it with the YQ GUIDE s 3 Attach the ROE521134CFG00 ROE521276CFG00 or ROE5212LACFGO0 to the J3 and J4 of the ROES21000CPEOO 4 Attach the ROE521134CFG00 ROE521276CFG00 or ROE5212LACFGO0 to the YQPACKO32SA ROE521000CPE00 ROE521134CFG00 aie On board evaluation ROE521276CFG00 aa a gt ROE5212L4CFG00 uii R HQPACK032SA not included jig YQ GUIDE x4 4 y y ile FLASH YQPACK032SA K version MCU NQPACK032SA lt 32 pin 0 8mm pitch LQFP PLQP0032GB A foot pattern Y y No 1 pin These items are included with the ROE521134CFG00 R0E521276CFG00 and R0E5212L4CFG00 packages Figure 2 20 Connecting to a 32 pin 0 8mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROES521000CPEO0 and ROES521134CFG00 ROE521276CFG00 or ROES212LACFGOO are guaranteed for only 50 insertion removal iterations The connectors of the ROE521134CFG00 ROE521276CFG00 or ROE5212LACFGOO and YQOPACKO32S4A are guaranteed
20. the ROES212BACPE10 For 80 pin 0 5mm pitch LQFP PLQPOO80KB A ROE5212DACFKOO included with the ROE5212DACPEO00 If using this product when the voltage is less than 2 7V the JP1 of the ROE521000EPBMO should be set to EXT For details refer to 2 3 3 Setting the POWER Selection Jumper page 23 2 The hardware break function and trace point settings of the realtime trace function cannot be used at the same time REJ10J0845 0500 Rev 5 00 October 16 2007 Pd pue RENESAS ROE521000CPEO00 User s Manual 1 Outline Table 1 6 ROE521000CPEO00 specifications 2 Power supply for emulator DCS5 0V45 2A externally supplied Prepare a power supply which complies with CE marking requirements separately USB USB 1 1 full speed mini B standard connector EN55022 1998 A1 2000 A2 2003 Class A EN55024 1998 A1 2000 A2 2003 3 If using this product when the voltage is less than 2 7V the JP1 of the ROE521000EPBMO should be set to EXT 1 4 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host machine listed in Tables 1 7 and 1 8 Table 1 7 Operating environmental conditions Item Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Table 1 8 Operating environment of the host machine OS Windows XP 1 Windows 2000 CP Pentium III 600 MHz or more recommended USB 1 1 full speed Memory 128 MB or greater more than 10 tim
21. 0 8mm pitch LQFP 13 NC S AS ROE5212BACFGO0 REV A MADE IN JAPAN Unit mm Figure 4 10 External dimensions and a sample foot pattern of the ROE5212BACFGOO 4 4 9 External Dimensions of the Converter Board ROE5212BACFKO00 Figure 4 11 shows external dimensions and a sample foot pattern of the converter board ROE5212BACFKOO included with the ROES212BACPE10 for a 64 pin 0 5mm pitch LQFP 3 RENESAS anm a e R0E5212BACFK00 REV A S MADE IN JAPAN Unit mm Figure 4 11 External dimensions and a sample foot pattern of the ROES212BACFKOO REJ10J0845 0500 Rev 5 00 October 16 2007 i a RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 10 External Dimensions of the Converter Board ROE5212DACFKO00 Figure 4 12 shows external dimensions and a sample foot pattern of the converter board ROES212DACFKOO included with the ROE5212DACPEO0 for an 80 pin 0 5mm pitch LQFP tENESAS I I I o9 m ROE5212DACFKO00 REV A MADE IN JAPAN Unit mm Figure 4 12 External dimensions and a sample foot pattern of the ROE5212DACFK00 4 4 11 External Dimensions of the Converter Board ROE5212L4CFGO00 Figure 4 13 shows external dimensions and a sample foot pattern of the converter board ROE5212LA4CFG00 included with the ROES212L4CPEO00 for a 32 pin 0 8mm pitch LQFP ROE5212L4CFGO00 REV A MADE IN JAPAN Unit mm Figure 4 13 External dimensions and a sample foot pattern o
22. 0 October 16 2007 ee i RENESAS ROE521000CPE00 User s Manual 6 Maintenance and Guarantee 6 Maintenance and Guarantee This chapter describes how to perform maintenance warranty information repair provisions and the procedures for requesting a repair 6 1 User Registration When you purchase our product be sure register as a user For user registration refer to User registration page 11 of this user s manual 6 2 Maintenance 1 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 2 When you do not use this product for a long period for safety purposes disconnect the power cable from the power supply 6 3 Guarantee If your product becomes faulty within one year after its purchase while being used under good conditions by observing IMPORTANT and Precautions for Safety described in 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 Misuse abuse or use under extraordinary conditions Unauthorized repair remodeling maintenance and so on Inadequate user s system or misuse of it Fires earthquakes and other unexpected disasters In the above cases contact your
23. 0004 Shb 000015 exit OOEOD94 UOFE amp h 000017 DEED UOFF amp h progress OOU016 dummy int D EUSS UOFB amp h 000015 DEDOS nga amp h 000014 DEDOS nga Sb 000013 Exit 00E0S 4 DUFE amp b 000012 DEED UOFF amp h REJ10J0845 0500 Rev 5 00 October 16 2007 B RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 Trace point setup window 1 Opening the trace point setup window Trace point Clicking this toolbar button opens the trace point setting window Or you can select Trace point from Trace TY of View V menu for the same effect 2 Trace point setting window Trace point setting window Select Enable the trace point function in the Init dialog box Event Status The trace point setup is the same for the hardware breakpoint PASS E AGGE CONDITION SIME O B oo0000 FETOH addr 000000 O 82 000000 FETCH addr 000000 Trace Points Specifying a trace measurement area You can specify a trace range for the trace event Break 64K cycles of instruction execution before the user program stopped is recorded Before 64K cycles of instruction execution before a trace point Combination PID condition was met is recorded E E our Abon 32K cycles of instruction execution before and after a trace Trace Area Mite Condition point condition was met is recorded Break Total ad Detail Res
24. 74CSJOO and YSPACK20BG are guaranteed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 ead ane RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 3 Connecting to a 20 pin 1 778mm pitch SDIP Foot Pattern Figure 2 22 shows a procedure of connecting to a 20 pin 1 778mm pitch SDIP foot pattern on the user system using the ROE521174CDBO0 included with the ROES21174CPE10 For details on the ROES21174CDBO0 refer to its user s manual 1 Mount the two pieces of PM 6 10P 10 conductor included with the ROE521174CDBO00 to the user system 2 Attach the ROES21174CDBO00 to the J3 and J4 of the ROES21000CPE10 3 Attach the ROES21174CDBO0 to the PM 6 10P ROE521000CPE00 FLASH version MCU PM 6 10P 20 pin 1 778mm pitch SDIP PRDPOO20BA A foot pattern No 1 pin These items are included with the ROE521174CDB00 package Figure 2 22 Connecting to a 20 pin 1 778mm pitch SDIP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROES21000CPE00 and ROE521174CDBO0 are guaranteed for only 50 insertion removal iterations The connectors of the R0E521174CDB00 and PM 6 10P are guaranteed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00
25. D5 LED6 LED1 LED2 SAFE LED is turned off and one or more target status LEDs start blinking according to the error type LED display o o _ E Blinking Figure 2 18 Self check procedure REJ10J0845 0500 Rev 5 00 October 16 2007 aE ane RENESAS ROE521000CPE00 User s Manual 2 Setup 2 8 2 If an Error is Detected in the Self check Table 2 7 lists how to remedy the troubles if the target status LED display is abnormal in the self check When an error is detected shut off the emulator and the user system and follow the steps in the Table 2 7 Table 2 7 Error display in the self check and how to remedy it LED display L Problem amp Remedy Blinking OFF POWER crock RESET RUN The emulator system is not working properly Check that power is supplied to the emulator The emulator may be damaged Contact your local distributor A clock is not supplied to the emulator Check that the oscillator circuit board OSC 3 1s attached The power is not supplied to the emulator Check that the power supply cable is connected properly Check of jumper settings see Table 2 6 The emulator system is not working properly The emulator may be damaged Contact your local distributor IMPORTANT Notes on the Self check 9 Be sure to disconnect the user system before executing the self check Use the preinstalled oscillator circuit board OSC 3 20 MHz to execute the self check e If the self chec
26. IW 000038 000037 000036 000035 000034 000033 000032 000031 000030 000029 0000286 000027 000026 000025 000024 000023 000022 FPOoOrocrROGOO0OOrROGrROOGOOrFRODUOFDA o5 og cuoumi ou og uou mE OE O EOGuU moa oooro0cooroo0ooqoo0coordoeoor RJ 2 Ra OQ CO CO CO CO CO CO 2 9 2 9 Ri OQ P9 P9 LR oo0000000 oo000000 00000000 00000000 o0000000 00000000 00000000 00000000 00000000 o0000000 00000000 oo000000 00100000 oo000000 oooo00000 oooo0000 ooo000000 ooo00000 ooo000000 ooo00000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 oo 00 00 oo 00 00 oo 00 00 oo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Do D0 00 010 010 010 010 010 010 011 811 sori spil O11 D11 011 2011 011 2011 D11 D11 011 D11 5 Trace window Disassemble display elvgp aGG viavzmuv Range 000206 000000 Area Break File Cycle 000099 Address ODEO5E Time 00 0000006919 Address Obj code Label Cycle Mnemonic iit seg ga ms 000099 000096 000093 0000689 000066 0000862 000079 000074 000068 000065 000062 000059 000056 000052 000049 000046 000042 000030 000022 000017 OOEOSE 74C300 DOEO061 AA0004 OOE064 75 30000 OOE068 CES OOEO6A AZOOEO DOED6D 74C300 OOEO70 AAO0004 DOEO073 75 30000 DOEO077 7CE8 DOEO079 AZO
27. MA is displayed in a cycle in which an emulator only data access is performed Interrupt acknowledge cycle IB Instruction code read bytes by CPU DB Data access bytes by CPU IW Instruction code read words by CPU DW Data access words by CPU R W Shows the status of the data bus Displayed as R for Read W for Write and for no access RWT This is the signal to indicate a valid bus cycle When valid RWT 0 The Address Data and the BIU signals are effective when this signal is 0 CPU Shows the status between the CPU and BIU Bus Interface Unit Symbol Status Non active CB RB QC CW RW Op code read bytes Operand read bytes Clears instruction queue buffer Op code read words Operand read words REJ10J0845 0500 Rev 5 00 October 16 2007 Page 62 of 90 CENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 2 Suspending and resuming trace measurement 1 Suspending trace measurement Stop Click this toolbar button to suspend the trace measurement in Heyva saaa v4vrm Range 0 76054 OOO000 Area Break F ile Cycle 000019 Addi Cycle Label Address Data BUS progress 2 Resuming trace measurement Re Start Click this toolbar button to resume the trace measurement in teVe Qaa v a7 Ev Range 013720 ODDO Area Break F ile Cycle 000019 Addi Cycle Label Address Data BUS 000014 DOEUOS
28. O and YOPACKOS2SB are guaranteed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 Page 41 of 90 a 2ENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 6 Connecting to a 64 pin 0 8mm pitch LQFP Foot Pattern Figure 2 25 shows a procedure of connecting to a 64 pin 0 8mm pitch LQFP foot pattern on the user system using the ROES212BACFG00 included with the ROE5212BACPEOO0 For details on the ROES5212BACFGOO refer to its user s manual 1 Mount the NQPACK064SA160 included with the ROE5212BACFGOO to the user system 2 Attach the YQPACKO64SA included with the ROES5212BACFGO0 to the NOPACKO0648A 100 and secure it with the YQ GUIDE s 3 Attach the ROES212BACFGO00 to the J3 and J4 of the ROES21000CPEOO 4 Attach the ROES212BACFG00 to the YQPACKO64SA ROE521000CPE00 On board evaluation ROE5212BACF GOO P di HQPACK064SA160 not included YQ GUIDE x 4 lt 2 ea FLASH version YQPACK064SA N i 7 MCU 64 pin 0 8mm pitch LQFP PLQP0064GA A foot pattern No 1 pin These items are included with the ROE5212BACF G00 Figure 2 25 Connecting to a 64 pin 0 8mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROE521000CPEO00 and ROES5212BACFGOO
29. O0041 00E093 OOOO Eb 0 000044 DOEO9S 0000 Shb Y 000039 exit OOz094 DOFE 8b Disassemble mode 000035 DOEO9S DOFF b DOEO9S DOFF b ODOEOOU DOFS Shb Bus mode Bus information per cycle can be inspected The contents are displayed in order of execution paths The execution paths of the executed instructions can be 000037 00003 main inspected The contents are displayed in order of execution paths E E Source mode The execution paths of the source program can be inspected i Data access mode Data read write cycles can be inspected The contents are displayed in order of execution paths Mixed mode also can be displayed REJ10J0845 0500 Rev 5 00 October 16 2007 Page 61 of 90 CENESAS ROE521000CPEO00 User s Manual 3 Usage How to Use the Emulator Debugger 4 Trace window bus information display 4l va7 aagGiviavzimv Range 000206 000000 Area Break File Cycle 000041 Address OOE093 Time 00 00 00 010 667 Cycle Address Data BUS BHE BIU R W RWT CPU ON 76543210 n m s ms 000041 000040 000039 00E093 0000 0 IB R i 3 00E093 0000 00E094 OOFE DOEO095 OOFF DOEO095 DOFF DOEODD OOF3 DOEDD1 0004 00047D 0094 00047E DOEO D0047F 0000 DOED02 DOEB DOEDO3 0040 OOEOO3 0040 00047D 0094 OO047E OOEO0 00047F 0000 00047F 0000 00E094 OOFE 00E095 OOFF OOE096 OOFB Iw IB IW IB DW DW DB IW IB DW DW DB IW IB
30. OEO DOEO07C 74C300 OOEO F AA0004 OOEO82 75 30000 DOEO8 6 ICES8 DOEO088 MOV B MOV W MOV WW SMOVF MOV W MOV B MOV WW MOV WW SMOVF MOV MOV B MOV MOV TJ SMOVF EB508004 LDC DOEOSC EB700000 LDC DOEQS0 FDOOEOOO JSR A OOEOOO F3 RTS OOEO94 FEFF JMP B OOEO94 FEFF JMP B 00H R1H 0400H Al 0000H R3 E000H A0 00H R1H 0400H Al 0000H R3 E000H A0 00H R1H 0400H Al 0000H R3 0480H SP 0000H FB main OEOOOH exit 0E094H exit 0E094H 6 Trace window Source display oo 00 00 oo 00 00 oo 00 00 oo 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 006 007 007 007 007 008 008 008 008 009 009 009 009 005 010 010 010 011 011 5 evip QGG vas uv Range 000206 000000 Area Break File nert0 a30 Cycle 000099 Address DOEOBE Time 00 00 00 006 919 Address source OOEO4F OOEOS2 OOEO55 00E059 mov b FROM_ gt gt 16 R1H STO Al sizeof SECT R3 mow w MOV w smovf b endm macro push w push w TOP SECT sizeof SECT gt gt 16 sizeof SECT Offffh pusha TOP gt gt 16 pusha TOP Offffh Stk 8 glb bzero call _bzero G jsr a bzero endm macro push w push w FROM TO SECT_ sizeo
31. October 16 2007 ead E RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 4 Connecting to a 48 pin 0 5mm pitch LQFP Foot Pattern Figure 2 23 shows a procedure of connecting to a 48 pin 0 5mm pitch LQFP foot pattern on the user system using the ROE521237CFK00 included with the ROE521237CPE00 For details on the ROES21237CFKOO refer to its user s manual 1 Mount the NQPACKO48SD included with the ROE521237CFK00 to the user system 2 Attach the YOPACKOASSD included with the ROES521237CFK00 to the NQPACKO48SD and secure it with the YQ GUIDE s 3 Attach the ROES21237CFKOO to the J3 and J4 of the ROES521000CPEO0 4 Attach the ROE521237CFK00 to the YOPACKOAS8SD ROE521000CPEOO0 On board evaluation lt gt EE LUE HQPACKO048SD not included YQ GUIDE x4 YQPACKO048SD FLASH version MCU 48 pin 0 5mm pitch LQFP PLQP0048KB A foot pattern e No 1 pin These items are included with the ROE521237CFKOO package Figure 2 23 Connecting to a 48 pin 0 5mm pitch LQFP foot pattern Z CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROES21000CPEOO and ROE521237CFK00 are guaranteed for only 50 insertion removal iterations The connectors of the ROES21237CFKOO and YQPACKO48SD are guaran
32. REJ10J0845 0500 T Everywhere you imagine g q c n ESAS R0E521000CPE00 User s Manual Compact Emulator for R8C Tiny Series Rev 5 00 Oct 16 2007 Renesas Technology WWNW renesas com 10 11 12 13 Notes regarding these materials This document is provided for reference purposes only so that Renesas customers may select the appropriate Renesas products for their use Renesas neither makes warranties or representations with respect to the accuracy or completeness of the information contained in this document nor grants any license to any intellectual property rights or any other rights of Renesas or any third party with respect to the information in this dacument Renesas shall have no liability for damages or infringement of any intellectual property or other rights arising out of the use af any infarmation in this document including hut not limited to praduct data diagrams charts programs algorithms and application circuit examples You should not use the praducts or the technology described in this document for the purpase of military applications such as the development of weapons of mass destruction or for the purpose of any other military use When exporting the products or technology described herein you should fallow the applicable expart control laws and regulations and procedures required by such laws and regulations All information included in this dacument such as product data diagrams charts prog
33. Trace window Trace window The trace window is used to show the results of real time trace Sievse Z aaaGavavrzimv Range 000206 000000 Area Break File Cycle 000041 Address 00E093 Time 00 00 00 010 663 Address Data BUS BHE BIU R W RWT CPU ON OOE093 0000 0 IB R 0 3 measurements It has the following four display modes Mixed mode also can be displayed 000040 000039 000038 000037 000036 000035 000034 000033 000032 000031 000030 000029 000028 000027 000026 000025 000024 000023 000022 000021 00E093 00E094 00E095 00E095 OOE000 OOEOO1 00047D 00047E 00047F OOEO02 OOEOO3 OOEOO3 00047D OO047E 00047F 00047F QOE094 OOEO95 0000 OOFE OOFF OOFF OOF3 0004 0094 OOEO oono OOEB 0040 0040 0094 OOEO 0000 oono OOFE OOFF OOFB Ororodcorcqcjcoororooroaoora IW IB IW IB DW DW DB IW IB DW DW dou ug o5d IJD dg Udo EDGE COEmECGHGGIgcuiS oooo0orcjcodocroocc co 0c rFrC OOF D DP P2 p OW Co CO CO CO CO P2 P9 P5 P9 pc nr WH pe The trace window shows the measurement result when a real time trace measurement has finished The trace window remains blank until the real time trace measurement in progress finishes 3 Trace display mode Trace display mode Range 000206 OODOD Area Break File Cycle 00004 Address OOEL Cycle Label Address Data BUS BHE Q
34. U file and Serial No using or not using the address match break function opecifying the MCU file Click the Refer button Select MCU File dialog box will be displayed so select the Init M16 R8O Compact Emulator MCU Debugging Information Emulator Scr ipt desired MCU file The MCU file contains the information specific to the target MCU MC LU Serial No 2 R52100 4KS001T Self Check he dead E Te the program using the CPU Rewrite Mode Enable the Trace Point Function Select MCU File EE ce in I C Fact z e e The Select MCU File dialog box will be displayed so select the m RGF211720 MCU MCU file for the target MCU in this dialog box n RSFZITTRO MOU PROFETI TAC MC In the example here the MCU for the R8C 17 group is selected File name N R5F21174C MCU Open O l File of type T MCU Files mou Cancel Init M16G R8C Compact Emulator E3 MCU Debugging Information Emulator acr ipt A ke The specified MCU file is displayed at the MCU area field of MCU RBF21174C MGU MCU tab Init M16C R8G Compact Emulator MCU Debugging Information Emulator Seript MGU Refer Serial No Shows the currently connected emulators in list form Select the serial No of the emulator you want to be connected Serial No 2 R52100 4KSO001T Self Check Debue Option Using or not using the address match break Kable th
35. ame application What s more it supports version management Emulator debugger This means a software tool which starts up in the integrated development environment High performance Embedded Workshop to control the emulator and enable debugging Firmware This means a program stored in the flash ROM of the emulator It analyzes contents of communication with the emulator debugger and controls the compact emulator ROE521000CPEO0 This program is downloadable from the emulator debugger to upgrade firmware or to support other MCUs Host machine This means a personal computer used to control the compact emulator Target MCU This means the MCU you are going to debug User system This means a user s application system using the microcomputer to be debugged User program This means the program you are going to debug Evaluation MCU This means the MCU mounted on the compact emulator which is operated in the specific mode for tools In this user s manual this symbol is used to show active Low e g RESET Reset signal REJ10J0845 0500 Rev 5 00 October 16 2007 ead pude RENESAS ROE521000CPEO00 User s Manual 1 Outline 1 Outline This chapter describes the package components the system configuration the specifications and the operating environment of this product 1 1 Package Components The ROE521000CPEO00 package consists of the following items When unpacking it check to see if your ROE521000CPEO00 contains all of th
36. and black Be careful about the polarity of the power supply Connecting to the wrong electrode could destroy internal circuits Do not apply a voltage exceeding the specified voltage of the product 5 0 V 5 because it may cause burn injuries and the failure of internal circuits Use the power supply which complies with CE marking requirements REJ10J0845 0500 Rev 5 00 October 16 2007 EARE RENESAS ROE521000CPE00 User s Manual 2 Setup 2 6 Connecting to the Host Machine Connect the emulator and the host machine with the USB interface cable Connect the USB interface cable included to the USB interface connector J2 and the USB port of the host machine see Figure 2 13 To emulator power so To host machine Connect the power cable to Connect the USB interface cable to connector J1 connector J2 4 NL AN POWER USB SYSTEM SAFE STATUS COMPACT EMULATOR ROE521000CPE00 EXT 3 3V5 0V ee ew OOOO L J4 Figure 2 13 Connecting to the emulator system REJ10J0845 0500 Rev 5 00 October 16 2007 rado Gee RENESAS ROE521000CPE00 User s Manual 2 Setup 2 Turning ON the Power 2 7 1 Checking Connections of the Emulator System Before turning the power ON check the connection of the interface cable to the host machine emulator and user system 2 7 2 Power Supply to the User System This emulator cannot supply the power to the user system Therefore design your system so th
37. ards be sure to shut OFF the power supply Otherwise the internal circuit may cause a break REJ10J0845 0500 Rev 5 00 October 16 2007 Eade eee RENESAS ROE521000CPE00 User s Manual 2 Setup 3 Using the Internal Oscillator Circuit Bare Board To use this product at a frequency you like build a desired oscillator circuit on the included OSC 2 oscillator circuit bare board Figure 2 5 shows an external view of the OSC 2 oscillator circuit bare board and the connector pin locations Figure 2 6 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC X1 5 08mm pitch 2 pin oscillator X2 2 54mm pitch 2 pin oscillator IC1 Inverter Unbuffer X3 2 54mm pitch 3 pin oscillator Figure 2 6 Circuits of the oscillator circuit bare board OSC 2 REJ10J0845 0500 Rev 5 00 October 16 2007 rage RENESAS ROE521000CPE00 User s Manual 2 Setup 2 Using an Oscillator Circuit on the User System To operate this product with an external clock construct an oscillator circuit as shown in Figure 2 7 in the user system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into pin Xw And pin Xour should be open Choose External in the emulator debugger to use this clock Evaluation MCU Oscillator Oscillation output circuit Figure 2 7 External oscillator
38. at the user system is powered separately This product consumes max 500 mA of electrical current from the user system Please consider the capacity of the power supply of the user system The voltage of the user system should be 2 7 V lt VCC lt 5 5 V when the POWER selection jumper is set to the INT POWER side Do not change the voltage of the user system after turning on the power To change the power supply voltage of the user system and the voltage of the user system is 2 2 V to 2 7 V set the POWER selection jumper to the EXT POWER side For details about the POWER selection jumper refer to 2 3 3 Setting the POWER Selection Jumper page 23 2 7 3 Turning ON OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible when the POWER selection jumper the INT POWER side Turn OFF the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged The user system s power supply can be turned on off only when the system is operating with an on chip oscillator and the POWER selection jumper is set to the EXT When turning ON the power again after shutting OFF the power wait for about 10 seconds REJ10J0845 0500 Rev 5 00 October 16 2007 rado a RENESAS ROE521000CPE00 User s Manual 2 Setup 2 7 4 LED Display When the Emulator Starts Up Normally After the emulator starts up che
39. circuit Make note that in the oscillator circuit shown in Figure 2 8 where a resonator is connected between pins Xw and Xour oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the user system It is same for sub clock oscillator circuits Xciy and Xcour Evaluation MCU XOUT Figure 2 8 Circuit which is not be usable with the emulator REJ10J0845 0500 Rev 5 00 October 16 2007 rade pude RENESAS ROE521000CPE00 User s Manual 2 Setup 2 3 5 A D Conversion Bypass Capacitors There is a foot pattern on the ROES521000EPBMO board for mounting bypass capacitors for an A D conversion circuit near the MCU Mount suitable bypass capacitors as occasion demands Figure 2 9 shows where they are installed and the configuration of this product Component side of the ROE521000EPBMO ROE521000EPBMO RENESAS ww 000000000 0000000000 0000000 000000000 0000000000 0000000 IC8 RSE2E000FP oS 48 89 TUITION UU 45 88 wT 5 nuu VREF AVsS bypass capacitor VREF 4 AVss O JI C1 ROE521000EPBMO AVcc AVss bypass capacitor AVcc AVss O Lj C2 Figure 2 9 Foot pattern for A D conversion bypass capacitors and the configuratio
40. ck the status of the LEDs to see whether the emulator operation is enabled or not Figure 2 14 shows the positions of the emulator status LEDs SN LAN POWER USB 5 0V POWER SYSTEM oC System status LEDs JF SAFE STATUS am COMPACT EMULATOR oz eo A R0E521000CPE00 1 2G BD D D LU T ISOBHBHBBBH i rp 4 OOOO L2 R Te 28 RECS O MADE IN JAPAN rN Figure 2 14 Positions of the system status LEDs and target status LEDs 1 System status LEDs Check that the LED1 and LED2 of the system status LEDs are 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 15 when the user system is not connected and as shown in Figure 2 16 when a user system is connected After turning on the power the LED4 CLOCK and LEDS RESET light on Check the target status LEDs display normally after starting up the emulator debugger When the target status LEDs do not display as shown in Figures 2 15 to 2 17 refer to 5 Troubleshooting page 83 When the user system NOT connected The POWER LED does not light POWER BM LED3 POWER BAM LED3 cLocK LED4 CLOCK LED4 RESET LED5 RESET MEME LED5 RUN BAM LED6 RUN DAMM LED6 After starting up the After turning the power ON emulator debugger Figure 2 15 Target status LEDs disp
41. cuescosnucisiteeiadi E E E E EEE 34 2 8 2 If an Error is Detected in the Self CheCK ccccccccccceeccsessseeceeeeeeeeeeeeceeeeeseeeeaeeeeeeeeeseeseeeeeeeesessaagaeses 35 2 9 Connecting the User System nsss eri iea a EEE Aa aa Eaa s nnns nnns nisi s ssa arisen nnns E 36 2 9 1 Connecting to a 32 pin 0 8mm pitch LQFP Foot Pattern ccccccccccceeeeeeeeeseeeeseseeeeeeeeeeeeeeeeeeaaaaees 37 2 9 2 Connecting to a 20 pin 0 65mm pitch LSSOP Foot Pattern ccc ccccccccccsseeeseeeeeeeeeeeeeeeeeeeeesaaaeeeees 38 2 9 3 Connecting to a 20 pin 1 778mm pitch SDIP Foot Pattern eeeeeesseseeeeeeeneeeeeennn 39 2 9 4 Connecting to a 48 pin 0 5mm pitch LQFP Foot Pattern ccccccccccceeceeeeeeeaeeeesseeeseeeeeeeeeeseeeaaaaaes 40 2 9 5 Connecting to a 52 pin 0 65mm pitch LQFP Foot Pattern cccccsseeeeeeeeeeeeeeeeeaeeesesseeeeeeeeeeeeeeees 41 2 9 6 Connecting to a 64 pin 0 8mm pitch LQFP Foot Pattern ccccccccceceeeeeeeeeeeeeessseeeeeeeeeeeeeeeeeeaaaaees 42 2 9 7 Connecting to a 64 pin 0 5mm pitch LQFP Foot Pattern ccccccccccceeceeeeeeeeeeessseeeeeeeeeeeeeeeeeeaaaaees 43 2 9 8 Connecting to an 80 pin 0 5mm pitch LQFP Foot Pattern 44 REJ10J0845 0500 Rev 5 00 October 16 2007 ua RENESAS ROE521000CPEO00 User s Manual Contents Page 3 Usage How to Use the Emulator Debugger ccccccccssseecececeeeecececsaeececcceaaeeeeeseuauseeeessuaaeeeesseaageeeeessaagee
42. dule can therefore be downloaded fast This method is suitable when the size of the load module user program is large REJ10J0845 0500 Rev 5 00 October 16 2007 pao RENESAS ROE521000CPEO00 User s Manual 3 Emulator tab 1 Specifying the target clock Init M160 REC Compact Emulator MCU Debugging Information Emulator Script ilock Plain External External Cancel Help Next Hide 4 Script tab 1 Automatically executing a script command Init H16CG R amp C Compact Emulator MCU Debugging Information Emulator Script htFle Cancel Help Next Hide When the tab settings 1 to 4 above are completed click OK button REJ10J0845 0500 Rev 5 00 October 16 2007 Page 49 of 90 3 Usage How to Use the Emulator Debugger opecifying the target clock Specify the clock sources supplied to the MCU main clock and sub clock Select the appropriate clock sources according to the clock used by your target MCU Internal Emulator s internal clock External User system clock The option you have specified here remains effective the next time you start up Automatically executing a script command To automatically execute a script command when starting up the debugger click the Refer button and specify the script file to be executed Clicking the Refer button brings up a file selection dialog box The script file you have selected is displayed in the I
43. e be sure to select source mode or bus mode If disassemble mode or data access mode is selected the debugger will take time for analysis of the trace data to be displayed REJ10J0845 0500 Rev 5 00 October 16 2007 eee RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications IMPORTANT Notes on CE Declaration of Conformity This product complies with CE marking EN55022 1998 Class A EN55024 1998 Please use it with care described below 1 Electrostatic Discharge Precautions must be taken when handling the product 2 Must not be used within 30 meters of a domestic radio or television receiver 3 For correct operation of this product it is recommended that Mobile phones are not used within 10 meters of this product system 4 This product should be powered down when not in use 5 Use the power supply which complies with CE marking requirements This product generates uses and can radiate radio frequency energy and may cause harmful interference to radio communications e If this product causes harmful interference to radio or television reception which can be determined by turning this product off or on you are encouraged to try to correct the interference by one or more of the following methods 1 Ensure attached cables do not lie across the emulator main unit and converter board 2 Reorient the receiving antenna 3 Increase the distance between the product and the receiver 4 Connec
44. e Address Maick Interrupt Break Function function Debug the program using the CPi Rentte Moc With this product the address match break function cannot be f Enable the Trace Point Function used Therefore be sure to deselect the check box Cancel Help Next Hide REJ10J0845 0500 Rev 5 00 October 16 2007 pare RENESAS ROE521000CPEO00 User s Manual 2 Using or not using the CPU rewrite mode and trace point function Init H16CG R8C Compact Emulator MEU Debugging Information Emulator Scr pt MOU R5F21174C MCU Serial No 2 R52100 4KSONIT A Self Check Debug ption Enablethe Address Match Interrupt Break Function A4febug the program using the CPU Rewrite Made able the Trace Point Function Help Next Hide i OK Cancel REJ10J0845 0500 Rev 5 00 October 16 2007 Page 47 of 90 3 Usage How to Use the Emulator Debugger Using or not using CPU rewrite mode Specify whether or not to debug in CPU rewrite mode To debug the user program that uses CPU rewrite mode select the check box This option can be selected or deselected only when you are starting up the emulator debugger Supplementary explanation When debugging in CPU rewrite mode is enabled the following functions cannot be used Software breakpoint setting in the internal ROM area Data or program rewriting in the internal ROM area Event hardware break trace point setting Using
45. e emulator depends on JP2 of the M30290T2 CPEA Basic debugging functions Download Software break max 64 points Program execution stop allows free run execution supporting software breaks Memory reference setting reference setting C variables run time execution Register reference setting Disassemble display C level debugging etc Real time trace function 64K cycle bus information recordable Address 20 bits Data 16 bits MCU status 12 bits 5 trace modes supported Break Before About After Full Can be recorded ON OFF by events Data last access result Time between program start and stop Connection to user system For 32 pin 0 8mm pitch LQFP PLQP0032GB A see 2 9 Connecting the User System ROE521134CFG00 included with the ROE521134CPEO00 on page 36 R0OE521276CFG00 included with the ROE521276CPE00 ROES5212LACFG00 included with the ROES5212LACPEO0 For 20 pin 0 65mm pitch LSSOP PLSP0020JB A ROE521174CSJOO included with the ROE521174CPE00 For 20 pin 1 778mm pitch SDIP PRDP0020BA A ROE521174CDBO00 included with the ROE521174CPE10 For 48 pin 0 5mm pitch LQFP PLOPO048KB A ROE521237CFK00 included with the ROE521237CPE00 For 52 pin 0 65mm pitch LQFP PLQPO052JA A ROE521258CFJOO included with the ROE521258CPE00 For 64 pin 0 8mm pitch LQFP PLQP0064GA A ROES5212BACFGOO included with the ROE5212BACPEO00 For 64 pin 0 5mm pitch LQFP PLQPO064KB A ROE5212BACFKO00 included with
46. e trace results This function can be enabled only when you are starting up the OK Cancel Help Next Hide emulator debugger 2 Debugging Information tab 1 Referencing the compiler used and the object format Referencing the compiler used and the object EJ format Init H16C REC Compact Emulator Reference the compiler you are using and the format of the object MCU Debugging Information Emulator SE file output by the compiler SS Py ET Check the current setting in this dialog box Compiler b St E This dialog box allows you to check the contents currently set in it l To alter any item here use the dialog box that will be brought up Object Format by selecting Debug and then Debug Settings from the menu Specifying the method for storing debug information There are two methods for storing debug information on memory method and an on demand method Select the method for storing debug information By default the on memory is selected When selecting the on demand method check the On Demand check box Cancel Help Next Hide On Memory The debug information is stored in the memory of your computer This method is suitable when the size of the load module user program is small On Demand The debug information is saved to a reusable temporary file When you download the same load module for a second time on the saved debug information will be reused and the load mo
47. ebugger Not normal Error displayed Check the lot no displayed on the Init dialog box Check that the USB interface cable is connected and the USB driver is installed properly Setting Init dialog box Not normal Error displayed MCU Setting dialog box of emulator debugger See 5 2 2 MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup page 84 Setting MCU dialog box Error displayed Connected of the Output window displayed See 5 2 3 Errors Occur at Emulator Debugger Startup page 85 Emulator debugger startup completed Figure 5 1 Flowchart to remedy the troubles REJ10J0845 0500 Rev 5 00 October 16 2007 PA RENESAS ROE521000CPEO00 User s Manual 5 Troubleshooting 5 2 When the Emulator Debugger Does Not Start Up Properly 5 2 1 When the LEDs of the Emulator Do Not Display Normally Table 5 1 Errors LEDs show and their checkpoints C tion t the user system LEDs do not light up Check that the power cable is connected See 2 5 Connecting a Power Supply page 29 Target Status POWER LED does Connected Check that power is properly supplied to the user system and that not light up the user system is properly grounded Target Status CLOCK LED does Not connected 1 Check that both the main and sub clocks of the emulator not light up debugger are not set to EXT See the CLK command of the emulator debugger Check that the oscillator circ
48. ection register is set 4 Setting PRC2 to I by the memory window or script window Note on Debugging Operations After Releasing a Reset from the User System Do not execute debugging operations stopping program by a software or hardware break or run time debugging etc after releasing a reset from the user system until an interrupt stack pointer ISP is set in the user program REJ10J0845 0500 Rev 5 00 October 16 2007 eevee RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications IMPORTANT Note on Debugging in CPU Rewrite Mode When you debug a program in CPU rewrite mode check Debug the program using CPU Rewrite Mode in the MCU tab of the Init dialog box of the emulator debugger Notes on Restrictions on Debugging in CPU Rewrite Mode If you check Debug the program using CPU Rewrite Mode in the MCU tab of the Init dialog box of the emulator debugger you cannot use the following functions 1 Setting or releasing software breakpoints in an internal ROM area while executing the user program 2 Program and data rewriting in an internal ROM area while executing the user program 3 Setting or releasing event breakpoints in an internal ROM area while executing the user program If the user program is halted by the Stop button or a break when block erasing or programming the flash ROM the block erase or program operation is stopped Once this occurs the user program may not operate as expected whe
49. ection diagrams of ROE521000CPE00 Figure 4 1 shows the connection diagrams of the ROES521000CPEOO These connection diagrams mainly show the interface section The signals not shown in Figure 4 1 connect the evaluation MCU and the user system directly The circuits not connected to the user system such as the emulator s control system are omitted Table 4 2 shows IC electric characteristics of this product for reference purposes VDD2_VCC VCC VDD2_VCC P00 P07 P10 P17 P20 P27 P30 P37 P45 P50 P57 P60 P67 AVCC AVSS VREF P60 P67 AVCC AVSS VREF P43 74HC4066 47451053 P44 74HC4066 gt 7481053 User system lt P46 74HC4066 L DI 17451053 P47 74HC4066 gt 7451053 XDD2 VCC H ure Ol RESET VDD2 internal power supply generating circuit INT VDD2 VCC JP1 T VCC R8C Tiny Evaluation Chip Connected to the inside of the emulator Figure 4 1 Connection diagrams of ROES521000CPEO00 Table 4 2 Electrical characteristics of the 74HC4066 in Standard Ron ONresistor VCC A5V AERIS Amos ON resistor difference VCczasv 10 lom Leak current Off VCC 20V s m Leak current On output open vcc 120v a REJ10J0845 0500 Rev 5 00 October 16 2007 ead eee RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 3 2 Connection diagrams of ROE5212BACFGOO0 ROE5212BACFKO00 and ROE5212DACFKOO Figu
50. eeesags 45 3 1 Starting Up the Emulator Debugger ccccccccccceeeeeeeceeeeeceeecaeeeeeeeeceaaseeeeesaasceeessaaeseeeesseaseeeesssaaeeeeesssaeeeees 45 r MED O oe MEE T Tv 46 3 1 2 MCU Setting Dialog BOX eeissssssseesseseeeeeeennnnn nennen nennen nennen ssnnnna nnns nre s ss nnaa ar nr nn risas nna nns 50 3 1 3 Checking Connections of the Emulator System eeesssssssesssssssseeseeennnn nennen nnns 51 3 2 Downloading the Program cccccssscccceesceccseseecceeeeecceuseessaueecceaeeecssuseeecsaeeesseseeesedeeessauseeesensesesseseesssageees 52 S o T rodiain EX BO asocia Diximrtaam eR S E E 53 3 4 Hardware BreakpoiNi PNE E u 56 sr I ACS WOW MER T 61 36 RAM Monitor a IG WV NR RR 66 A Hardware Ru CIC AQUOS acetate E ERIT OT OO TO OO E EET 68 Al Target MCU SOeCCH CANONS enesenn a muc uen cu dud aqu n iua A aeai EAE 68 4 2 Differences between the Actual MCU and Emulat0r cccccccccccsecceceeseceeceeeceeceeeceeseeeeeeseeeeeesseeeeesseaaeeeeas 69 4 3 C nnection AMA NE ET EE 71 4 3 1 Connection diagrams of ROE521000CPEO0 sssssessssesssssssennn nenne nnne nennen nnns naar nnn nnns 71 4 3 2 Connection diagrams of ROE5212BACFGO00 ROE5212BACFKO0O0 and ROE5212DACFKOO 72 4 4 External DIMENSIONS ccccccceececeseeceeeceseetaneceeeteneeceeeeeaeeeeneeteueetaueesseeteneeteu
51. eeteueesaeeteeeteueetueeseeessneetaneetanes 73 4 4 1 External Dimensions of the Compact Emulator eeeeeeeeessssssessseeeeeeeennenne nennen nnne 73 4 4 2 External Dimensions of the Converter Board ROE521134CFG00 eeeeeeeeeeeeessss 74 4 4 3 External Dimensions of the Converter Board ROE521174C J00 sees 74 4 4 4 External Dimensions of the Converter Board ROE521174CDB0O eeeeeeeeeeeeeseeee 75 4 4 5 External Dimensions of the Converter Board ROE521237CFKO0 cccceccccccsseeceeeeeeeeseeeeeeseaeeeeeas 75 4 4 6 External Dimensions of the Converter Board ROE521258CFJ00 eeseeeeeeesses 76 4 4 7 External Dimensions of the Converter Board ROE521276CFGO0 ccccccccccsseeeeeeseeeesseeeeeseeeeeeeas 76 4 4 8 External Dimensions of the Converter Board ROE5212BACFGO0 ccccccccseeceeeeeeeeeeseeeeeseeeeeeeees 77 4 4 9 External Dimensions of the Converter Board ROE5212BACFKOO cccecccceseceeteeeeeeeseseeeeeeeeeeens 77 4 4 10 External Dimensions of the Converter Board ROE5212DACFKOO cccccceecececeeeeeeeeeeeeeeeeeeeeens 78 4 4 11 External Dimensions of the Converter Board ROE5212LA4CFG00 eeeeeeeeseeeereeeel 78 d 5 NOLS On Using ThIS FOGG eei umiettt in asset a a e FON DENS o IDE E E 79 SNEireiiie I prejellore eserci N EEE EN EEEE E 83 5 1 Flowchart to Remedy
52. election jumper is set to the INT POWER side Turn ON OFF the user system and the emulator as simultaneously as possible 2 The voltage of the user system is less than 2 7 V set the POWER selection jumper to the EXT POWER side For details about the POWER selection jumper refer to 2 3 3 Setting the POWER Selection Jumper page 23 Before powering on your emulator system check that the host machine the emulator the converter board and user system are all connected correctly When the emulator debugger starts up check the target status LEDs on the emulator to see if this product is ready to operate REJ10J0845 0500 Rev 5 00 October 16 2007 ae RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications IMPORTANT Note on Clock Supply to an MCU A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger 1 When Internal is selected The clock generated by the oscillation circuit board in the emulator is supplied to the evaluation MCU The clock is continually supplied to the evaluation MCU regardless of user system clock status and user program execution status 2 When External is selected The clock oscillating on the user system is supplied to the evaluation MCU Clock supply to the evaluation MCU depends on oscillation status oscillate off of the user system Note on Stop and Wait Modes 9 Do not single step an instruction shifting to st
53. es the file size of the load module recommended Hard disk Emulator debugger installation needs 100 MB or more free space In view of swap area keep another free space which is more than twice the memory capacity More than four times the memory capacity recommended that can be connected to the main body of the host machine Needed to install the emulator debugger or refer to the user s manual Windows is either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries 2 Can be connected to the USB2 0 port of the host machine With the USB interface of this product not all hardware such as host machine USB devices USB hub combination will work and guaranteed REJ10J0845 0500 Rev 5 00 October 16 2007 raga RENESAS ROE521000CPEO00 User s Manual 2 Setup 2 Setup This chapter describes the preparation for using this product the procedure for starting up the emulator and how to change settings 2 1 Flowchart of Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2 1 For details refer to each section hereafter And when the emulator does not start up normally refer to 5 Troubleshooting page 77 Check the package components User registration Install the included software Changing settings Connect the USB interface cable Connect the power supply for the emulator Connect the user system Turning on the
54. ese items Table 1 1 Package components Quantity ROES21000CPEOO compact emulator OSC 3 20MH2 oscillator circuit board pre mounted OSC 2 oscillator circuit bare board Femitecoreforconnectingpowersupplycable O OZ 0 d ROES21000CPE00 Release Notes English 0000000 1 ROES2IO00CPEOO Release Notes Japanese d H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1I Repair Request Sheet English Z OZO I OO OoOo CD ROM Emulator debugger M16C R8C Compact Emulator Debugger C compiler package M3T NC30WA evaluation version pd ee ee ee ee pi Please keep the ROES21000CPE00 s packing box and cushion material in your place for reuse at a later time when sending your product for repair or other purposes Always use these packing box and cushion material when transporting this product Tf there is any question or doubt about the packaged product contact your local distributor REJ10J0845 0500 Rev 5 00 October 16 2007 ede tae RENESAS ROE521000CPEO00 User s Manual 1 Outline 1 2 System Configuration 1 2 1 System Configuration Figure 1 1 shows a configuration of the ROE521000CPEO0 system Power supply for emulator not included Power supply cable USB interface cable Host machine Compact emulator Pitch converter board not included ROE521000CPE00 such as ROE521134CFG00 Figure 1 1 System configuration 1 Compact
55. et Dave Load set Close After 64K cycles of instruction execution after a trace point condition was met is recorded Full 64K cycles of instruction execution after a trace began is recorded REJ10J0845 0500 Rev 5 00 October 16 2007 Page 64 of 90 CENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 Setting trace write conditions Setting trace write conditions Trace Points x You can specify a condition for the cycles to be written into the m Event Status trace memory PASS E ADDRE ACCE CONDITION C 1 B1 000000 FETCH addr 000000 1 B2 000000 FETCH addr 000000 All cycles are written into memory Total Pick up Only the cycles in which the specified condition was met are written into memory Exclude Only the cycles in which the specified condition was not met are Combination PID JOR Detail Enable written into memory Trace Area 4 r Write Condition Break Pickup When you have selected Pick up or Exclude for the trace write condition click this button The Realtime trace Write Condition Reset Save Load Set Close dialog box shown below will appear 4 Realtime trace Write Condition dialog box Write mode Realtime trace Write Condition ai Setting a Mode It Only the cycle in which the specified S
56. f SECT gt gt 16 sizeof SECT Offffh 7 Trace window Data access display AZevgE 7 qGQG viavx mv Range 000206 000000 Area Break File Cycle 000193 Address 00000A Time 00 0000 000 845 Cycle DataAccess h m s ms 000193 000191 000183 000034 000033 000032 000028 000027 000026 000004 000003 000002 000001 000004 000004 000004 00047D 00047E 00047F 00047D 00047E 00047F QOO04FE OOO4FF O004Fc OOO4FD 00 00 00 000 00 00 00 000 00 00 00 001 Do D0 00 011 00 00 00 011 o0 00 00 011 Do D0 00 011 Do D0 00 011 o00 00 00 011 00700007013 00 00 00 013 00 00 00 013 00 00 00 013 zzzszumuusizzzzt Explanation of the trace window bus information display The following explains the displayed contents from left to right Address Shows the status of the address bus Data Shows the status of the data bus BUS Shows the width of the internal data bus For the R8C Tiny series only 8b for 8 bits wide bus is displayed excluding a part of the SFR area 00126h to 0012Fh 00146h to 0014Fh and 00156h to 0015Fh BHE Shows the status 0 or 1 of the BHE Byte High Enable signal If this signal 0 the odd address data is valid BIU Shows the status between the BIU Bus Interface Unit and memory or I O Symbol Status Non active DMA Data access except for CPU With this product D
57. f check is used to verify the emulator function works properly To run the self check of the emulator do so as explained here below While the self check is in progress the LEDs will change as shown in Figure 2 18 1 If the user system is connected disconnect it 2 Set the jumpers as the factory settings to execute the self check see Table 2 6 3 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator upper panel 4 Check the SAFE LED starts flashing and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 20 seconds the self check terminated normally Table 2 6 Jumper settings for the self check UP RESET pin pullup jumper UP 1 Within 2 seconds of activating power POWER CLOCK RESET RUN POWER SAFE press the reset switch EN E END NEN m LED3 LED4 LED5 LED6 LED1 LED2 2 Check that the SAFE LED starts POWER CLOCK RESET RUN POWER SAFE blinking then press the system reset LED5 LED6 switch again Self check starts POWER CLOCK RESET RUN POWER SAFE II tii prog prog 3 Target status LEDs start blinking at random intervals o bog PI III LED4 LED5 LED6 LED1 LED2 It takes 20 seconds at XIN 20 MHz Blinking OFF lt SAFE LED status Normal Error POWER CLOCK RESET RUN POWER SAFE POWER CLOCK RESET RUN POWER SAFE I Il I I I I I l I I l Og LED3 LED4 LED5 LED6 LED1 LED2 LED3 LED4 LE
58. f the ROE5212LA4CFGO0 REJ10J0845 0500 Rev 5 00 October 16 2007 eee RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 5 Notes on Using This Product Notes on using this product are listed below When debugging the MCU using this product be careful about the following precautions IMPORTANT Note on Downloading Firmware Do not shut off the power while downloading the firmware If this happens the product will not start up properly If power is shut off unexpectedly redownload the firmware Notes on the Self check If the self check does not result normally excluding target status errors the emulator may be damaged Then contact your local distributor Run the self check with the user system not connected Note on Quitting the Emulator Debugger To restart the emulator debugger after it ends always shut power to the emulator module off once and then on again Notes on the User System Power Supply Order of Powering On The emulators pin VCC is connected to the user system in order to monitor user system voltage For this reason the emulator cannot supply power to the user system Therefore provide the user system with a separate power supply from that of the emulator 0e Settings of the POWER selection jumper need to be changed according to the power supply voltage and power supply condition of the user system 1 The voltage of the user system should be 2 7V lt VCC lt 5 5V when the POWER s
59. faulty 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 as possible to facilitate repair CAUTION Note on Transporting the Product Qo 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 REJ10J0845 0500 Rev 5 00 October 16 2007 i E RENESAS Compact Emulator for R8C Tiny Series ROE521000CPEO0O0 User s Manual Publication Date Oct 16 2007 Rev 5 00 l Sales Strategic Planning Div PUSNSNER SY Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2007 Renesas Technology Corp and Renesas Solutions Corp All rights reserved Printed in Japan ROE521000CPE00 User s Manual 24 NE SAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
60. fer IC and other devices are used between the evaluation MCU and the user system It is same for sub clock oscillators pins P4 3 XCIN and P4 4 XCOUT For notes on when using the oscillator circuit on the user system refer to 2 3 4 2 Using an Oscillator Circuit on the User System page 27 Note on Pin P4 4 XCOUT Make note that the pin P4_4 XCOUT of evaluation MCU used with this product does not have an XCOUT output function REJ10J0845 0500 Rev 5 00 October 16 2007 aE RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications IMPORTANT Note on A D Converter Because a flexible cable and other devices are used between the evaluation MCU and the user system the A D converter operates differently from that of the actual MCU Notes on Stack Area With this product the interrupt stack pointer ISP is set to 00500h and used as stack area after the reset is released With this product a maximum 8 bytes of the user stack is consumed as a work area Therefore ensure the 8 byte maximum capacity used by the user program as the user stack area If the user stack does not have enough area do not access these areas which cannot be used as stack SFR area RAM area which stores data or ROM area as work area Accessing these areas like this is a cause of user program crashes and destabilized emulator control Note on Accessing Addresses 00000h and 00001 h e With the R8C Tiny Series MCUs when a maskab
61. for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 Pado eh RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 2 Connecting to a 20 pin 0 65mm pitch LSSOP Foot Pattern Figure 2 21 shows a procedure of connecting to a 20 pin 0 65mm pitch LSSOP foot pattern on the user system using the ROES21174CSJOO included with the ROES21174CPEOO For details on the ROE521174CSJOO refer to its user s manual 1 Mount the NSPACK20BG included with the ROE521174CSJO0 to the user system 2 Attach the YSPACK20BG included with the ROE521174CSJOO to the NSPACK20BG and secure it with the YS GUIDE s 3 Attach the ROES21174CSJO0 to the J3 and J4 of the ROE521000CPEO0 4 Attach the ROES21174CSJOO to the YSPACK20BG On board evaluation P 2 Een U SQ D i not included YS GUIDE x2 y oS FLASH version MCU 20 pin 0 65mm pitch LSSOP PLSP0020JB A foot pattern No 1 pin These items are included with the ROE521174CSJ00 package Figure 2 21 Connecting to a 20 pin 0 65mm pitch LSSOP foot pattern A CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROE521000CPEO00 and ROE521174CSJOO are guaranteed for only 50 insertion removal iterations The connectors of the ROE5211
62. g the combinatorial condition HAN Break Points 2 zl x 4 Enable HAM Break PASS E ADDRE ACCE CONDITION 1 A1 000000 FETCH addr 000000 O 1 42 000000 FETCH addr 000000 Combination PID AND Detail Enable Jetail Reset SAVE Load i Close REJ10J0845 0500 Rev 5 00 October 16 2007 3 Usage How to Use the Emulator Debugger Setting the combinatorial condition There are following three conditions that you can choose for the combinatorial events AND The program breaks when all of the specified events occur AND Same Time The program breaks when the specified events occur at the same time OR The program breaks when one of the specified events occurs For each event a pass count number of passing is specifiable 1 255 When AND same time is specified for Combination you can not specify the pass count fixed to one When you have finished setting the combinatorial event condition click the Set button Page 60 of 90 CENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 5 race Window The trace window is used to show the results of real time trace measurements 1 Trace window 1 Opening the trace window Trace Clicking this button opens the trace window Or you can select Trace T from Trace T of View V menu for the same effect 2
63. haracteristics Renesas shall have no liability for malfunctians or damages arising aut of the use of Renesas products beyond such specified ranges Although Renesas endeavors to improve the quality and reliability of its products IC products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Please be sure to implement safety measures to guard against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas praduct such as safety design for hardware and software including but not limited to redundancy fire cantrol and malfunction prevention appropriate treatment for aging degradation or any olher applicable measures Among others since the evaluation of microcomputer software alone is very difficult please evaluale the safety of the final products or system manufactured by you In case Renesas products listed in this document are detached from the products to which the Renesas products are attached or affixed the risk of accident such as swallowing by infants and small children is very high You should implement safety measures so that Renesas products may nol be easily detached from your products Renesas shall have no liability for damages arising out of such detachment This document may not be reproduced or duplicated in any form in whole or in part without prior written approval from Renesas Please contact a
64. ions You can select Step In from the Debug menu rn i Step Over Single steps the program executing each function call as one step You can select Step Over from the Debug menu P Step Out Exists a function and stops at a statement in the program next to the one that called the function You can select Step Out from the Debug menu 9 Stops the program You can select STOP from the Debug menu sh Go Free Runs the program beginning with the current PC position The software and hardware breaks set in it are 1gnored REJ10J0845 0500 Rev 5 00 October 16 2007 Sedan RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 2 Setting software breakpoints 1 Setting software breakpoint and program execution Program execution with software breakpoint A software breakpoint can be set or cleared by double clicking the software breakpoint display area in the editor source d istack_top Laer i set TOM uu n au T to h n d window A red circle is displayed at the setting line now sel sil El Click the execution button nov Or you can select Go from Debug menu for the same effect stack top sp jset sta ldata SE tap sb tset Idintb V ECTOR_ADR The cursor stops in the position where the software break was set up The statement in which the software break was set up is not listack tap i2p set executed b
65. k does not result normally excluding target status errors the emulator may be damaged Then contact your local distributor REJ10J0845 0500 Rev 5 00 October 16 2007 rage a RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 Connecting to the User System Figure 2 19 shows the connection of the ROE521000CPEO00 and the user system Compact emulator ROE521000CPEO00 Converter board ROE521134CFG00 ROE521276CFGO00 tac ROE5212LACFGO0 YQPACKO0328A 1 Ce v NQPACKO032SA 1 ee Converter board LSSOP ROE521174CSJ00 YS GUIDE x2 2 fev YSPACK20BG 2 NSPACK20BG 2 a 20 pin 778mm pitch Converter board ROE521174CDBO00 Converter board LOFP_ ROE521237CFK00 oe i s he YQ GUIDE x4 4 y YQPACKO048SD 4 Gud wv NQPACKO048SD 4 es 32 pin 0 8mm pitch LQFP 20 pin 20 pin 48 pin 0 65mm pitch 1 778mm pitch 0 5mm pitch LSSOP SDIP LQFP Converter board EUNDI Converter board Converter board MU Converter board LOFP__ ROE521258CFJ00 LOFP_ ROEB212BACFGOO LorP _ ROE5212BACFKO00 LarP ROE5212DACFKO0O 7 we p lt A p E So ET ET CUM SS f f i i f YQ GUIDE x4 6 L YQ GUIDE x4 7 4 YQ GUIDE x4 8 iv YOPACKOG4SA 6 Go YQPACKO64SD 7 gt YQPACKO80SD 8 x T j ih i i NQPACKO52SB 5 ee NQPACK064SA160 6 oe NQPACKO064SD ND 7 GJ NQPACKO080SD ND 8 GS 52 pin 64 pin 64 pin 80 pin 0 65mm pitch 0 8mm pitch 0 5mm pitch 0 5mm pitch LQFP LQFP LQFP LQFP
66. l Data Bus Width lebt Chives NG BETTE MC Memory Space Expansion E Pieris iE Peo hi Halp Next Hide Gen REJ10J0845 0500 Rev 5 00 October 16 2007 rogo DUM RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 2 Flash Clear tab 1 Setting to clear the MCU s internal flash ROM Setting to clear the MCU s internal flash ROM Specify whether or not you want the MCU s internal flash ROM to MCU Setting be cleared when downloading the user program or data When Flash Gl T MoU dealer cleared the content of the flash ROM is initialized to OxFF The Flash ROM Blagi MCU s internal flash ROM is listed in block units The size and o0c000 OODFFF Select All number of the area of the Flash ROM varies depending on the MELIA ose AEREE selected MCU file 002400 OU27FF St 002800 QOD BFF Any block which has had its check box selected is not cleared when downloading The memory content of this block remains intact unless overwritten by downloading Note When this product starts up the internal flash ROM area is The checked blocks are over written not erased on download cleared with 0x04 NOP instruction so that the selected blocks flagged by a check mark retain 0x04 NOP instruction and not cleared to OxFF Cancel Help I Next Hide Any block which ha
67. lay when the emulator starts up normally when user system not connected REJ10J0845 0500 Rev 5 00 October 16 2007 ead a RENESAS ROE521000CPE00 User s Manual 2 Setup When the user system connected Power selection jumper EXT user system is ON If the POWER LED does not light shut off the system Then check the setting of the jumper switches and if the power is properly supplied to the user system LED3 cLOCK LED4 cLOCK LED4 RESET LED5 RESET EN LED5 RUN EE LED6 RUN aE LED6 After turning the power ON After starting up the emulator debugger Figure 2 16 Target status LEDs display when the emulator starts up normally when user system connected setting the POWER selection jumper to EXT POWER side and use system is ON When the user system connected Power selection jumper EXT user system is OFF Because the power of the user system is off POWER LED does not light RESET LED lights POWER dH LED 3 CLOCK LED4 CLOCK LED4 RESET LED5 RESET E LED5 RUN mE LED6 RUN so LED6 After turning the power ON After starting up the emulator debugger Figure 2 17 Target status LEDs display when the emulator starts up normally when user system connected setting the POWER selection jumper to EXT POWER side and use system is OFF REJ10J0845 0500 Rev 5 00 October 16 2007 eat ane RENESAS ROE521000CPE00 User s Manual 2 Setup 2 8 Self check 2 8 1 Self check Procedure Sel
68. le interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001 h are read out Also the interrupt request bit is cleared when address 00000h or 00001 h is read out Consequently when the address 00000h or 00001h readout instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite the interrupt request because the request bit of the highest priority interrupt factor enabled is cleared Note on the Watchdog Function Although this product emulates the watchdog timer function of the target MCU note that the count value does not always match that of the actual MCU For this reason when the program is single stepped successively as in the case of overstep operation a watchdog timer interrupt may be generated Note on the block 0 rewrite disabled bit FMR15 and block 1 rewrite disabled bit FMR16 The functions associated with bit 5 FMR15 and bit 6 FMR16 of Flash Memory Control Register 1 FMRI at address 001B5h cannot be used When writing to FMR15 and FMR16 always be sure to write a 0 These bits read as 0 when read out Note on Final Evaluation Be sure to evaluate your system with an actual MCU REJ10J0845 0500 Rev 5 00 October 16 2007 Faden ae RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 3 Connection Diagrams 4 3 1 Conn
69. mulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROE521000CPEO00 and ROE5212DACFKOO are guaranteed for only 50 insertion removal iterations The connectors of the ROES212DACFKOO and YQPACKO80SD are guaranteed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 Page 44 of 90 a 2ENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 Usage How to Use the Emulator Debugger This chapter describes how to start up the emulator debugger and operate the major windows 3 1 Starting Up the Emulator Debugger When debugging the completed programs switch the session The session can be changed by the drop down list of the tool bar shown below You will have as many sessions created as the number of targets you selected when creating a project so select the session that corresponds to the target to be connected from the drop down list To connect to the Compact Emulator for the R8C Tiny Series select SessionM16C R8C Compact Emulator REJ10J0845 0500 Rev 5 00 October 16 2007 aE Aa RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 1 1 Init Dialog Box The Init dialog box is used to set the items that need to be set when the emulator debugger starts up The contents set in this dialog box remain effective the next time you start the debugger 1 MCU tab 1 Specifying the MC
70. n it is reexecuted from where it stopped If the user program is stopped accidentally redownload and reexecute the program If when the user program is halted no block erase or program operation is in progress the user program can be executed normally from where it stopped Note on Data Display during Debugging in CPU Rewrite Mode 9 In the read status register mode of CPU rewrite mode the read values displayed in the memory window etc when the user program is running show the status register values Note that when the user program is halting the read values show data values Running idle Window display User program running Read status register mode of CPU Status register values are displayed a mode Other Data values are Data values are displayed User program halting Read status register mode of CPU Data values are displayed rewrite mode Be aware however that the values displayed in the memory window or the RAM monitor window are retained intact unless you press the Refresh or the Clear button Note on Data Write to the Internal ROM Area in CPU Rewrite Mode When writing data to the internal ROM area in CPU rewrite mode this product permits the data bits to be set to either 1 or O This is different from the actual MCU because in the actual MCU you only can set the data bits to 0 Note on Trace Data Display When Rewriting the Flash ROM in EW1 Mode For data display in the trace window when using EW1 mod
71. n of this product IMPORTANT Note on the A D Converter Because a converter board and other devices are used between the evaluation MCU and the user 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 REJ10J0845 0500 Rev 5 00 October 16 2007 B an se RENESAS ROE521000CPE00 User s Manual 2 Setup 2 4 Attaching the Ferrite Core Attach the ferrite core included with this product close to the DC plug of the power cable Without the ferrite core it may cause interference The power cable should be wound around the ferrite core as shown in Figure 2 10 and close the ferrite core until it clicks Figure 2 10 Attaching the ferrite core 2 5 Connecting the Power Supply for the Emulator Connect the power supply for the emulator to the power connector J1 The specification of the power supply for the emulator is listed in Table 2 5 Table 2 5 Specification of power supply of the emulator Power supply voltage DC 5 0 V45 2 A Figures 2 11 and 2 12 show the specifications of the power connector J1 and an applicable plug respectively 1 7mm Inside diameter Electrod ectrode Ec Electrode rm 4 75mm Figure 2 11 Power connector specifications Figure 2 12 Applicable plug specifications CAUTION Notes on Connecting a Power Supply of the Emulator The power cable included in this product package is colored red
72. nit File section of the dialog box shown here If you do not want to automatically execute a script command delete the character string displayed in the Init File section of the dialog box What you specify here is reflected at only startup If you specify back again in the Init dialog box after startup whatever you specified has no effect restart the emulator debugger 24 NC S AS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 1 2 MCU Setting Dialog Box The MCU Setting dialog box is used to set the user target information It is displayed after you closed the Init dialog box 1 MCU tab 1 Specifying the processor mode Specifying the processor mode MCU Setting x Select the appropriate processor mode that suits your system For MGU Flash Clear the R8C Tiny Series you can specify only the Single chip Mode MOLU Setting ML Processor Mode Ed Ee H RDN H GMVsz NG Memory Space Expansion sormal Pic BYTE L PMIS b Peto tbe External Data Bus Width Il Cancel Help I Next Hide 2 Referencing the MCU pin status Referencing the MCU pin status This column shows the state of each MCU pin For the R8C Tiny MELU Setting MCO Flash Cl i i ash Clear series however it does not show the MCU pin state MECU Setting MGLI Status MOL Racy TINY MMT H HGL Der Processor Made EAE p RD H Externa
73. o the RAM monitor area are displayed in dump form The memory contents displayed here are updated at given intervals by default every 100 ms during user program execution The background colors of the data display and the code display sections change with the access attribute as described below Green Addresses accessed for read Red Addresses accessed for write White Addresses not accessed 000580 The background colors can be changed as necessary REJ10J0845 0500 Rev 5 00 October 16 2007 B ane RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 2 Modifying the RAM monitor display area 1 RAM Monitor window Modifying the RAM monitor display area Clicking this button opens the RAM monitor setting window I Shows the RAM monitor area setting window d ims Labet Rezister 0 DOOSEU nar To change the displayed area click the following buttons 000400 SB 3B Ag t Shows the blocks at the preceding addresses poan 1 4 pogo DC Shows the blocks at the following addresses nma T 2 RAM Monitor Area Setting window RAM Monitor Area Setting Window RAM Monitor Area Setting a O By default the monitor area is set to 000400h through 0007FFh It is possible to add delete and change the RAM monitor area Current Assigned Area You can change the start address size number of blocks of the 3L Area Add RAM m
74. o the power POWER supply voltage and power supply condition of the user system selection For details refer to 2 3 3 Setting the POWER Selection Jumper jumper page 23 This jumper pulls the user system s RESET pin high with 510 KQ Although settings of this jumper do not normally need to be changed if the 510 kQ pullup presents a problem when the user system is connected the board may be used without this resistor pullup RESET pin pullup jumper CAUTION Note on Changing Setting Jumper Switches Always shut OFF the emulator before changing the setting of the jumper switches Otherwise the internal circuit may cause a break REJ10J0845 0500 Rev 5 00 October 16 2007 ageer e RENESAS ROE521000CPE00 User s Manual 2 Setup 2 3 3 Setting the POWER Selection Jumper The POWER select jumper needs to be set depending on the user system s power supply voltage and power supply condition If the system is used with power supply voltages in the range 2 7 to 5 5 V leave the POWER select jumper as set to the INT side which is the default setting If the system is used with power supply voltages less than 2 7 V change the POWER select jumper s setting to the EXT side If the board is used with its POWER select jumper switched to the EXT side always make sure a user system is connected to the board and that the MCU power supply source selection jumper is set to the EXT side Table 2 3 shows the POWER
75. onitor area by selecting the desired RAM monitor area DOCTI 4 OOU400 OOUFFF EE nomen To add a RAM monitor area click the Add button The RAM Monitor Area Setting Window will be displayed Remove All View gt O blocks 0 bytes are available 1 block 256 bytes Save Load 3 RAM monitor area setting dialog box Specifying the start address You can set the start address of the RAM area to be monitored Set RRAM Area Start aoe Specifying the size IZe HOCK You can set the size to be monitored by specifying the number of OO0S00 OOOSFF cancel Area blocks from the start address One block is 256 bytes in size REJ10J0845 0500 Rev 5 00 October 16 2007 rade pue RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 Hardware Specifications This chapter describes the specifications of this product 4 1 Target MCU Specifications Table 4 1 lists the specifications of target MCUSs which can be debugged with this product Table 4 1 Specifications of target MCUs for the ROE521000CPEO0O0 Applicable MCU R8C Tiny Series Applicable MCU mode Single chip mode Maxi ROM RAM capacity 1 Internal flash ROM 112KB programming area 4KB data area Programming area 04000h 1FFFFh Data area 02000h 02FFFh 2 Internal RAM 8KB 00300h 012FFh 03000h 03FFFh Operating voltage frequency 20MHz at 3 0 5 5V 1OMHz at 2 7 5 5V 5MHz at 2 2 5 5 V
76. op or wait mode It may cause communications errors Notes on Software Breaks Software breaks change the instruction at a specified address to a BRK 00h Therefore take note that when you reference the result of a trace in bus mode 00h is displayed As the BRK instruction is used for the emulator do not use it in a user program Note on the Watchdog Timer If the reset circuit of the user system has a watchdog timer disable it when using the emulator Notes on Address Match Interrupt Do not set a software break at the address for which an address match interrupt will be generated because it will cause the user program to go wild Make sure software and hardware breaks are set at the beginning of the address match interrupt processing e If the address for which an address match interrupt will be generated is single stepped the user program is halted when the address match interrupt processing is executed and the first instruction after return from the interrupt is executed Note on Protect Register The protect is not canceled when bit 2 of protect register PRCR PRC2 which enables writing into the port PO direction register is changed with the below procedure 1 Single step execution of an instruction setting PRC2 to 1 2 Execution from the instruction setting 1 to PRC2 where a software breakpoint is set 3 Setting a break point between an instruction setting PRC2 to 1 and a point where the port PO dir
77. perating status and power supply Table 1 3 lists the definition of each target status LED Table 1 3 Definitions of the target status LEDs POWER LED3 Power is supplied to the target MCU Power is not supplied to the target MCU CLOCK LED4 Green EzE The target MCU internal clock is oscillating OFF The target MCU internal clock is not oscillating RESET LEDS5 Red ON Target MCU is being reset or reset signal of the user system is held low OFF Target MCU is not being reset LED6 Green User program is being executed OFF User program is not being executed REJ10J0845 0500 Rev 5 00 October 16 2007 ead aah RENESAS ROE521000CPEO00 User s Manual 1 Outline 3 System Reset Switch By pressing the system reset switch you can initialize the emulator system Table 1 4 shows the functions of the system reset switch depending on the state of the emulator Table 1 4 Functions of the system reset switch State of Emulator 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 4 jue waits for a command from the emulator debugger IMPORTANT Notes on a System Reset After pressing the system reset switch restart the emulator debugger Otherwise the display of emulator debugger and the actual value in the emulator may not match When the emulator debugge
78. ply any voltages exceeding the product s rated power supply voltage 5 0 V 5 Extreme voltages may cause a burn due to abnormal heat or cause the internal circuit to break down Cautions to Be Taken for Turning On the Power Turn ON the power of the emulator and user system as simultaneously as possible Turn OFF the power of the emulator and user system as simultaneously as possible Do not leave only the user system powered on because of leakage current the internal circuits may be damaged When turning ON the power again after shutting OFF the power wait about 10 seconds Cautions to Be Taken for Handling This Product Use caution when handling the main unit Be careful not to apply a mechanical shock Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly Static electricity may damage the internal circuits Do not pull this emulator by the communications interface cable or the flexible cable for connecting the user system And excessive flexing or force may break conductors Caution to Be Taken for System Malfunctions If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the RESET switch of the emulator 2 If normal operation is not restored after step 1 shut OFF power to the emulator once and then reactivate it REJ10J0845 0500 Rev 5 00 October 16 2007 oo RENESAS ROE521000CPEO00 User
79. power supply TI v Check the LED display of the emulator v Start up the emulator debugger form the High performance Embedded Workshop v Set the operating environment of the emulator debugger v Debug a program with various functions of the emulator debugger Figure 2 1 Flowchart of starting up the emulator REJ10J0845 0500 Rev 5 00 October 16 2007 Refer to 1 1 Package Components page 13 Refer to User Registration page 11 Install it from the included CD ROM Select a power voltage supplied to the target MCU or clock supply according to conditions of use Connect the USB interface cable to the USB interface connector J2 of the emulator and the USB port of the host machine Connect a power supply to the power connector J1 Power supply should be 5 0 V 5 2 A Connect the user system as occasion demands Turn on the power to the emulator and the user system as simultaneously as possible Check that the system status LED and POWER and RESET of target status LED are lighting When the user system is not connected the POWER LED does not light up Start up the High performance Embedded Workshop and the emulator debugger Set the INIT dialog box and MCU Setting dialog box of the emulator debugger For how to use the emulator debugger refer to the online manual of the High performance Embedded Workshop and emulator debugger Page 19 of 90 CENESAS ROE521000CPE00 Use
80. r does not start up normally even after rebooting turn off the emulator and then turn on again 4 Power Connector J1 This is a connector for connecting the power supply to this product For details refer to 2 5 Connecting the Power Supply for the Emulator page 29 5 USB Cable Connector J2 This is a USB cable connector for connecting the host machine to this product For details 2 6 Connecting the Host Machine page 30 6 MCU Power Supply Source Selection Jumper JP 1 MCU Power Supply Voltage Selection Jumper JP2 These are the jumper switches to select power supply to the MCU and its power voltage For details on these switches see 2 3 1 MCU Power Supply Source Selection Jumper MCU Power Supply Voltage Selection Jumper page 21 REJ10J0845 0500 Rev 5 00 October 16 2007 Sade sean RENESAS ROE521000CPEO00 User s Manual 1 Outline 1 3 Specifications Tables 1 5 and Table 1 6 list the specifications of the ROE521000CPEOO Table 1 5 ROE521000CPEO0 specifications 1 Maximum ROM RAM capacity ROM capacity 112KB 04000h 1FFFFh 4KB 02000h 02FFFh RAM capacity 8KB 00300h 01 2FFh 03000h 03FFFh Maximum operating frequency 20 MHz at 3 0 5 5 V 10 MHz at 2 7 5 5 V 5 MHz at 2 2 5 5 V Applicable power supply User system connected 22 5 V JP1 of the M30290T2 CPEA EXT supplied from the user system User system not connected 3 3 Vor 5 0 V JP1 of the M30290T2 CPEA INT supplied from th
81. r s Manual 2 Setup 2 2 Installing the Included Software If the OS used in your host machine is Windows XP or 2000 this installation must be executed by a user with administrator rights Be aware that users without administrator rights cannot complete the installation Install the software as instructed by the displayed messages by inserting the included CD into the CD ROM drive In process of installation user information dialog box to enter the user information contractor section contact address and host machine will open The supplied information will be turned into a format by user registration will be provided by e mail REJ10J0845 0500 Rev 5 00 October 16 2007 Fade ue RENESAS ROE521000CPE00 User s Manual 2 Setup 2 3 Changing Settings 2 3 1 MCU Power Supply Source Selection Jumper MCU Power Supply Voltage Selection Jumper Set the MCU power supply source selection jumper and the MCU power supply voltage selection jumper of the emulator according to conditions of use see Figure 2 2 POWER USB 5 0 POWERSYSTEM SAFE STATUS o 3 3V 5 0V WER E COMPACT EMULATOR Oo ROE521000CPE00 Oo oO l 15 5G c o or DA ee JP1 MCU power supply source selection jumper AP RESE i factory setting INT vs C15 alis II JP2 MCU power supply voltage RUE d Aul n M selection jumper factory setting 5 0V EXT MER POWER clock 4 y CLOCK TARG ET p 7 4 lOO OO Figure 2
82. r system s power supply on or off while the user program is running or idle Note however that since the reset pin is controlled from the emulator side the high going transitions of the VCC and RESET pins for user system power on occur with different timing the power on reset function of the MCU cannot be debugged CAUTION Note on Setting the POWER Selection Jumper The user system s power supply can be turned on off only when the POWER selection jumper is set to the EXT side If an attempt is made to turn the user system s power supply on or off while the jumper is set to the INT side the internal circuit of the emulator or the user system may break down Therefore such an operation is strictly prohibited IMPORTANT Notes on the EXT Setting of the POWER Selection Jumper With this product the MCU s power on reset function for user system power on cannot be emulated The user system s power supply can be turned on off only when the system is operating with an on chip oscillator and cannot be turned on or off when operating with XIN or XCIN REJ10J0845 0500 Rev 5 00 October 16 2007 Eada RENESAS ROE521000CPE00 User s Manual 2 Setup 2 3 4 Selecting Clock Supply You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Init dialog box of the emulator debugger Table 2 4 shows the clocks and their initial settings Table 2 4 Clock supply to the MCU Emulator debugger display Initial setting In
83. rams algorithms and application circuit examples 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 products listed in this document please confirm the latest product information with a Renesas sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas such as that disclosed through our website http www renesas com Renesas has used reasonable care in compiling the information included in this document but Renesas assumes no liability whatsoever for any damages incurred as a result of errors or omissions in the information included in this document When using or otherwise relying on the information in this dacument you should evaluate the information in light of the total system before deciding about the applicability of such information to the intended application Renesas makes no representations warranties or guaranties regarding the suitability of its products for any particular application and specifically disclaims any liability arising out of the application and use of the information in this document or Renesas products With the exception of products specified by Renesas as suitable for automobile applications Renesas products are not designed manufactured or tested for applications or otherwise in systerns the failure or malfunction of which ma
84. re 4 2 shows the connection diagrams of the ROE5212BACFGO00 ROES5212BACFKOO and ROE5212DACFKOO These connection diagrams mainly show the interface section The signals not shown in Figure 4 2 connect the evaluation MCU and the user system directly The circuits not connected to the user system such as the emulator s control system are omitted P14 P17 P14 P17 P20 P27 P20 P27 P30 P37 P30 P37 P43 P47 P43 P47 MODE MODE RESET RESET VCC AVCC VCC AVCC NDD2 VCC P00 P07 os P10 P13 Dr 7481053 ___ VDD2_VCC Yo 147451053 ROE521000CPE00 P00 P07 P10 P13 User system VDD2_VCC VCC AVCC ANO AN7 AN8 AN11 Vref VDD2 VCC q DD2 VCC p70 P77 P80 P86 P80 P86 P70 P77 pce i P87 E P87 P90 P93 DX27481053 P90 P93 ROE5212DACFKO00 only VSS R8C 2A 2D Slave Chip Connected to the inside of the emulator Figure 4 2 Connection diagrams of ROE5212BACFGO00 ROE5212BACFKO00 and ROE5212DACFKOO REJ10J0845 0500 Rev 5 00 October 16 2007 Sage isan RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 External Dimensions 4 4 1 External Dimensions of the Compact Emulator Figure 4 3 shows external dimensions of the ROES521000CPE00 connected with the converter POWER SYSTEM SAFE STATUS COMPACT EMULATOR ROE521000CPE00 Figure 4 3 External dimensions of the compact emulator REJ10J0845 0500 Rev 5 00
85. rly grounded Target is in HOLD state The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specifications Target clock is stopped When the clock is supplied from an external oscillator check that the oscillator circuit in the user system 1s oscillating properly Target MCU is not receiving power Check that power is properly supplied to the user system and that the user system is properly grounded Target MCU is uncontrollable 1 Check that the NQPACK etc mounted on the user system is soldered properly 2 Check that the connector is installed properly to the user system REJ10J0845 0500 Rev 5 00 October 16 2007 eee aie RENESAS ROE521000CPEO00 User s Manual 5 Troubleshooting 5 3 How to Request for Support After checking the items in 5 Troubleshooting fill in the text file which is downloaded from the following URL then send the information to your local distributor http tool support renesas com eng toolnews registration support txt For prompt response please specify the following information 1 Operating environment V Operating frequency MHz Operating voltage BEEN Clock supply to the MCU Internal oscillator External oscillator 2 Condition The emulator debugger starts up does not start up The error is detected not detected in the self check Frequency of errors always frequency 3 Problem REJ10J0845 0500 Rev 5 0
86. rs of the Converter Board The connectors of the ROE521000CPEO00 and ROES212BACFKOO are guaranteed for only 50 insertion removal iterations The connectors of the ROE5212BACFKOO and YQPACKO64SD are guaranteed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 Eade aie RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 2 9 8 Connecting to an 80 pin 0 5mm pitch LQFP Foot Pattern Figure 2 27 shows a procedure of connecting to an 80 pin 0 5mm pitch LQFP foot pattern on the user system using the ROES212DACFKO0 included with the ROES212DACPEOO For details on the ROES5212DACFKOO refer to its user s manual 1 Mount the NQPACKO80SD ND included with the ROE5212DACFKOO to the user system 2 Attach the YOPACKOSOSD included with the ROES5212BACFKOO to the NQPACKO80SD ND and secure it with the YQ GUIDE s 3 Attach the ROE5212DACFKOO to the J3 and J4 of the ROES21000CPEOO 4 Attach the ROES212DACFKO0 to the YOPACKOSOSD HQPACKOS0SD not included 2 e FLASH version MCU NQPACKO80SD ND a Oy 80 pin 0 5mm pitch LQFP B rad PLQP0080KB A foot pattern No 1 pin These items are included with the ROE5212DACFKOO Figure 2 27 Connecting to an 80 pin 0 5mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the e
87. rter Board ROE521237CFK00 Figure 4 7 shows external dimensions and a sample foot pattern of the converter board ROES521237CFK00 included with the ROES21237CPEOO for a 48 pin 0 5mm pitch LQFP ROE521237CFK00 REV A MADE IN JAPAN Unit mm Figure 4 7 External dimensions and a sample foot pattern of the ROE521237CFK00 REJ10J0845 0500 Rev 5 00 October 16 2007 ea RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 6 External Dimensions of the Converter Board ROE521258CFJ00 Figure 4 8 shows external dimensions and a sample foot pattern of the converter board ROE521258CFJO0 included with the ROES21258CPEOO for a 52 pin 0 65mm pitch LQFP Unit mm Figure 4 8 External dimensions and a sample foot pattern of the ROES21258CFJOO 4 4 7 External Dimensions of the Converter Board ROE521276CFG00 Figure 4 9 shows external dimensions and a sample foot pattern of the converter board ROE521276CFG00 included with the ROES21276CPEOO for a 32 pin 0 8mm pitch LQFP ROE521276CFGO0 REV A T MADE IN JAPAN Unit mm Figure 4 9 External dimensions and a sample foot pattern of the ROE521276CFG00 REJ10J0845 0500 Rev 5 00 October 16 2007 FUMUS RENESAS ROE521000CPE00 User s Manual 4 Hardware Specifications 4 4 8 External Dimensions of the Converter Board ROE5212BACFGOO Figure 4 10 shows external dimensions and a sample foot pattern of the converter board ROE5212BACFGOO included with the R0OE5212BACPEO00 for a 64 pin
88. s Manual Contents Contents Page icis T H 3 DOA EET E 4 Precautions for Safety MMMMMMEMEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEMMM 6 CONTON oeri EET EE E cto 9 SET Registrato MIR 11 ignes Att 12 Sei e 13 1 1 Package COImporiellu eiue iens sinensis a a eerta A ces unitis soniitusu dnas Pul dus sesta aae 13 152 SV SION OM QUEM i NR EE 14 URS ES S111 OO LOM RR P A AE EI E A AA AAA B A 14 1 2 2 Names and Functions of each part of the EMUIatOM ccccccceececceeeeeeceeeeeeeseeseeeseaeeesaaeeeeseaseesaanes 15 To PEC QOS NETTE OO E E mm 17 T4 Operating NV IOP DIE sz scenenacassconccocekesattnacosssesencccuacasacccesebenaueisescnacane gadeacecnedcutepueussenenencigascgnceerseoseueceensdeeaces 18 PAE IDoRCT see 19 2 1 Flowchart of Starting Up the Emulator cc ccececcccccceceeeseeeeeeeeeesaeseseeceeeeesseeaeeeeeeeessueasseeeeeeeeessaaaseeeeeeess 19 2 2 Installing the Included Software eeissssssssseessssssssseeeee nennen nennen nennen nnna rrr nnne nsns nan nn nnns 20 2 NINN MINAS NET EO E mm 21 2 3 1 MCU Power Supply Source Selection Jumper MCU Power Supply Voltage Selection Jumper 21 2 3 2 Setting the Jumper
89. s PROHIBITION Example JN CAUTION AGAINST AN ELECTRIC SHOCK S bisAssEvaLv PROHIBITED means A FORCIBLE ACTION Example QE UNPLuc THE POWER CABLE FROM THE RECEPTACLE REJ10J0845 0500 Rev 5 00 October 16 2007 Page 6 of 90 CENESAS ROE521000CPE00 User s Manual Precautions for Safety WARNING Warnings for AC Power Supply Do not touch the plug of the AC power cable when your hands are wet This may cause electric shock This product is connected signal ground with frame ground If your developing product is transformless not having isolation transformer of AC power this may cause electric shock Also this may give an unrepairable damage to this product and your developing one While developing connect AC power of the product to commercial power through isolation transformer in order to avoid these dangers If other equipment is connected to the same branch circuit care should be taken not to overload the circuit Use the power supply which complies with CE marking requirements f you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power cable from the outlet Do not use this as it 1s because of the danger of electric shock and or fire In this case contact your local distributor e When installing this equipment insure that a reliable ground connection is maintained Before setting up thi
90. s emulator and connecting it to other devices turn off power or remove a power cable to prevent injury or product damage Warnings to Be Taken for This Product Do not disassemble or modify this product Personal injury due to electric shock may occur if this product is disassembled and modified Disassembling and modifying the product will void your warranty Make sure nothing falls into the cooling fan on the top panel especially liquids metal objects or anything combustible Warning for Installation NC Do not set this product in water or areas of high humidity Make sure that the product does not get wet Spilling water or some other liquid into the product may cause unrepairable damage Warning for Use Environment 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 REJ10J0845 0500 Rev 5 00 October 16 2007 ans RENESAS ROE521000CPE00 User s Manual Precautions for Safety CAUTION Cautions to Be Taken for Connecting the Power Supply Do not use any power cable other than the one that is included with the product The power cable included with the product has its positive and negative poles color coded by red and black respectively Pay attention to the polarities of the power supply If its positive and negative poles are connected in reverse the internal circuit may be broken Do not ap
91. s had its check box deselected is cleared when downloading Click the Select All button or the Clear All button all blocks will be selected or deselected The option you have specified here remains effective the next time you start up When the tab settings 1 to 2 above are completed click OK button 3 1 3 Checking Connections of the Emulator System Check to see that the emulator debugger has been connected correctly to the emulator E Heat geetor men adedini Gert beg HMD GED RF 70720 COPE FG BUTS 2 4 COMO 10 DHgate H qw j 8 Cotas WIR FIC CD Faut FS OH FRIPP OLN RIDER am ARNE a Js Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after Hu m you ve finished setting up the Init dialog box and the MCU Setting dialog box you will see a message Connected displayed on the Debug tab of the Output window POOH u x H Connected Find in Files Version Control REJ10J0845 0500 Rev 5 00 October 16 2007 rogo DUE RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 2 Downloading the Program Download the program to be debugged 1 Downloading from the work space window Downloading the program Download the object program you want to debug Select Download from xxx x30 of Download module EJ sample ll sample H E Assembly sourr
92. s on the ROE521000EPBMO Board eeesseeeeeseeeeeeennneennnen nnn 22 2 3 3 Setting the POWER Selection Jumper eessesissssseseseeeeeeeeennnnnnn nnne nnne nnns 23 234 Selecting Clock SUPPLY 24 2 3 5 A D Conversion Bypass Capacitors ccccccccsssseeeccceeceeeseeceeeeeeseeeesseeeeeeeesseeeseeeeeeesseaaasseeeeeesessaaaaeses 28 2 4 Attaching the Ferrite Core cccccccccccccsssssecceeeeceeeeseeeeeeeeeeeeessseceesssaeeeeeeeeeeessseaeaeeeeeesesssausaaeeeeeeesessaaaaeeeeeeees 29 2 5 Connecting the Power Supply for the Emulator sssseesesssisssesseeenen nennen nennen nnns 29 2 6 Connecting INE Host Machirie ua oett i deba ainada uad etd tuto a totu hase a das uerus uk goku diode 30 2 WAG ON URS OWN Rmo momo 31 2 7 1 Checking Connections of the Emulator SYSt M cccccccececccceecseeeseeeeeeeeceeeeseeeeeeeessaeeeeeeeseessaeaaeesees 31 2 7 2 Power Supply to the User System ccccccccssssssecceeeceeeeseecceeeeeceeeeseeeeeeeeesseeeseeeeeeeessaaseeeeeeeeeesssaaaasses 31 2 9 TURING ON OFF ilie POW CP sic dasssncnnninccas aevenitiennciesean lt hwasasicndnenosswsreomscauwexedinessenmde quitus Ru Ur iia IUE LEE 31 2 7 4 LED Display When the Emulator Starts Up Normally cccccccsssssseeeeeeeeeeeeeeseeeeeseeseeeeeeeeeeeseaeaeeees 32 gp OX SIECDBe uvm E Utrum I HM ee ee oe ne ee EPN DINEM DEIN FINE 34 25 I3elF eheck VOCS OUING
93. selection jumper switch settings Table 2 3 Setting jumper switches on the ROES21000EPBMO Switch No When using this system with power supply voltages in the range 2 7 INT EXT to 5 5 V POWER Factory setting selection Set the jumper to this position when the user system s power supply Jue voltage is less than 2 7 V and the user system s power supply is to be turned on off Also be sure to set the MCU power supply source selection jumper to the EXT side When the POWER selection jumper is changed to the EXT side following operations can be performed from the debugger while the user system s power supply is turned off 1 Starting up the debugger while the user system s power supply is turned off as well as downloading a program and referencing or altering memory contents 2 Starting program execution by causing the program to run from an idle state with the MCU in a reset state while the user system s power supply is turned off and then executing the program from a reset vector read phase when the user system is powered up Furthermore if the CPU clock is supplied by an on chip oscillator the following user system power on off operations can also be performed 3 Turning the user system s power supply off during program execution and stopping the user program by causing the program to stop from the RUN state while the power supply is turned off the MCU in a reset state 4 Turning the use
94. t the product into an outlet on a circuit different from that to which the receiver is connected 5 Consult the dealer or experienced radio TV technician for help Attach the ferrite core included with this product close to the DC plug of the power cable Without the ferrite core it may cause interference The power cable should be wound around the ferrite core as shown in the figure and close the ferrite core until it clicks REJ10J0845 0500 Rev 5 00 October 16 2007 Page 82 of 90 CENESAS ROE521000CPE00 User s Manual 5 Troubleshooting 5 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 5 1 Flowchart to Remedy the Troubles Figure 5 1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up Check this while the user system is disconnected For the latest FAQs visit the Renesas Tools Homepage http www renesas com tools Turning on emulator Upper panel LED Not normal of emulator Check the connection of power supply cable See 2 5 Connecting the Power Supply of the Emulator age 29 Starting up the emulator debugger Pag Not normal Error displayed Init dialog box of emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual online manual of the emulator debugger 2 Reinstall the emulator d
95. tart event occurred Start End 182 182 A range of cycles from when the specified Start event occurred to when the specified Start event became nonexistent Cancel A range of cycles from when the specified Start event occurred to when the specified End event occurred REJ10J0845 0500 Rev 5 00 October 16 2007 Fadesseuge RENESAS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 6 RAM Monitor Window This function makes it possible to make reference to the changes in memory contents without impairing the real time performance for user program execution The compact emulator system is provided with the 1K byte RAM monitoring area which can be arranged in the 1K byte space from any continuous address or can be divided into four blocks in terms of 256 bytes 1 RAM monitor window 1 Opening the RAM monitor window EB E 8 Ed RAM monitor Clicking this button opens the RAM monitor window Or you can select RAM Monitor R from CPU C of View V menu for the same effect 2 RAM monitor display area Changing the RAM monitor display area This window shows changes of memory contents while the user Ng amp EX a wos G 1040 8 2 a d amp d de do t a 10 1ms Label Register 0 1 F ASCII O003E0 O003F0 program is executed This is accomplished by using the real time se SB RAM monitor function and the memory contents corresponding t
96. teed for only 100 insertion removal iterations REJ10J0845 0500 Rev 5 00 October 16 2007 Pado are RENESAS ROE521000CPE00 User s Manual 2 Setup 2 9 5 Connecting to a 52 pin 0 65mm pitch LQFP Foot Pattern Figure 2 24 shows a procedure of connecting to a 52 pin 0 65mm pitch LQFP foot pattern on the user system using the ROE521258CFJOO included with the ROE521258CPEO00 For details on the ROE521258CFJOO0 refer to its user s manual 1 Mount the NOPACKOS2SB included with the ROES21258CFJOO to the user system 2 Attach the YOPACKOS2SB included with the ROE521258CFJOO to the NQPACKOS2SB and secure it with the YQ GUIDE s 3 Attach the ROES21258CFJOO to the J3 and J4 of the ROES21000CPEOO 4 Attach the ROE521258CFJO0 to the YOPACKOS2SB ROE521000CPEOO On board evaluation HQPACK052SB not included MCU 52 pin 0 65mm pitch LQFP PLQP0052JA A foot pattern m hy MEETS e No 1 pin These items are included with the ROE521258CFJ00 package Figure 2 24 Connecting to a 52 pin 0 65mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and user system IMPORTANT Notes on Connectors of the Converter Board The connectors of the ROE521000CPEO00 and ROE521258CFJOO are guaranteed for only 50 insertion removal iterations The connectors of the ROE521258CFJO
97. ternal oscillator circuit board OSC 3 or OSC 2 Main Xqn Xour Oscillator circuit on the user system i Sub Xone X eons Internal oscillator circuit 32 768 kHz MEER EU Oscillator circuit on the user system 1 Using an Internal Oscillator Circuit Board Kinds of Oscillator Boards The ROE521000CPEO00 comes with an oscillator circuit board OSC 3 20 MHz And an oscillator circuit bare board OSC 2 is included with this product If you use an internal oscillator circuit board of the emulator as a main clock choose Internal in the emulator debugger after replacing oscillator circuit boards to change a clock supplied to an MCU REJ10J0845 0500 Rev 5 00 October 16 2007 aoaea RENESAS ROE521000CPE00 User s Manual 2 Setup 2 Replacing Oscillator Circuit Boards Figure 2 4 shows how to replace the oscillator circuit boards RENESAS POWER USB POWER SYSTEM AFE STATUS The oscillator circuit board of the emulator is in the lower right corner of the board Oscillator circuit board COMPAQ MADE IN JAPAN Unscrew the screw securing the oscillator circuit board Lift off the oscillator circuit board Attach the oscillator circuit board for replacement to the connector of the emulator Secure the new oscillator circuit board with the screw Figure 2 4 Replacing oscillator circuit boards CAUTION Note on Replacing the Oscillator Circuit Board When replacing the oscillator circuit bo
98. the Troubles ccccccccccsssececcceesececcceeusecececaaaeeeeeseaaeceeeseeaaeceessseaeececsssegeesessssaneeeees 83 5 2 When the Emulator Debugger Does Not Start Up Properly cee ececceseseeeeeeeeeeeeeeeeseeeeeeeeeeseaeeeesessaaeeees 84 5 2 1 When the LEDs of the Emulator Do Not Display Normally cccccccccecssseeeeeeeeeeeeseeeeeneeeeeseeeeeens 84 5 2 2 MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup 84 5 2 3 Errors Occur at Emulator Debugger Startup ccccccccssseeeccceeeeeeeeeeeeeeeeeeeeeseeceeeeeeseueeseseeeeeessaaaaeses 85 9 9 HOW 10 REQUEST ior OUDDOLDLDssortasudaconeumiacsutemrbentuuusiu ea Sacoche bu Copes o DAVE oe a NE quu cs uuisRu Usum DOES MESURE 86 6 Maintenance and Guarantee ccccccccsesecccecceeseececceeseceeeceeeseeeeeeaasseceeeseeseceeeseuaeceeeeseauseeeesseeeaeeeeeseeaeeeeeesaageeeeeesas 87 eB FIC OISINAIIO TET m mE 87 BIAS UNG RENE oss rte sce ot ctess ee TT mE 87 SLETE E e A EE E E E EE A mmm 87 CA Ropar POVI SION senpene E E E E m 87 6 5 HOW 10 Make Reguestior Rapal cessisset cn a A SUR RUFI FUR AU 88 REJ10J0845 0500 Rev 5 00 October 16 2007 ead euge RENESAS ROE521000CPE00 User s Manual User Registration User Registration Customer Registration Sheet is included with this manual fill it in and FAX or email it to your local distributor If you register it by email you can use a text format for user
99. to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corp guarantees the renovation or the provision under any circumstances 4 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 5 Renesas Solutions Corp cannot predict all possible situations or possible cases of misuse where a potential danger exists Therefore the warnings written in this user s manual and the warning labels attached to this emulator do not necessarily cover all of such possible situations or cases Please be sure to use this emulator correctly and safely on your own responsibility 6 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 REJ10J0845 0500 Rev 5 00 October 16 2007 Page 4 of 90 2tENESAS ROE521000CPE00 User s Manual Important Usage restrictions This emulator has been developed as a means of supporting system development by users Therefore do not use it as a device used for equipment embedded applications Also do not use it for developing the systems or equipment used for the following p
100. ual 3 Opening the break event setting dialog box 41 Set Event Status Event Type Fetch Setting Range addr Address Address1 000000 Gel Addressz pomm ig Function Source File r Function r ACCESS FETCH ADDRESS DUDDDU CONDITION addr 000000 Canco 2 When FETCH is selected 1 Setting addresses 41 Set Event status Event Type Fetch Setting Range addr Address Address 000000 Ge Address2 000000 ies Function Source File r Function ACCESS FETCH ADDRESS OQO0000 CONDITION addr 000000 Canco REJ10J0845 0500 Rev 5 00 October 16 2007 Page 57 of 90 3 Usage How to Use the Emulator Debugger Specifying the event type Click to select the event type you want to set FETCH Detects an instruction prefetch DATA ACCESS Detects a memory access BIT SYMBOL Detects a bit access Setting the address You can set eight conditions e g a specified address a specified address range etc When you have finished setting the address click OK CENESAS ROE521000CPEO00 User s Manual 3 When DATA ACCESS is selected 1 Setting the address 41 Set Event Status Event Type Address Data Setting Range addr Address Address1 000000 A Address 000000 ie Function Source File Function ACCESS
101. uit board is properly installed in the emulator and is oscillating See 2 3 4 Selecting Clock Supply page 24 Connected 1 When the clock is supplied from an external oscillator check that the oscillator circuit in the user system is oscillating properly 2 Check that the switches in the emulator main unit are set properly 2 3 2 Setting the Jumpers on the ROE521000EPBMO Board page 22 Target Status RESET LED does Check that the reset pin of the user system is held high not go out 5 2 2 MCU Setting Dialog Box Does Not Appear at Emulator Debugger Startup Table 5 2 Checkpoints of errors at emulator debugger startup Checkpoint Communication error occurred Check that the USB cable is connected properly Data was not sent to the target See 2 6 Connecting the Host Machine page 30 Not compact emulator Check that an emulator other than the compact emulator such as PC4701 PC7501 is not connected REJ10J0845 0500 Rev 5 00 October 16 2007 FOU RENESAS ROE521000CPEO00 User s Manual 5 Troubleshooting 5 2 3 Errors Occur at Emulator Debugger Startup Table 5 3 Checkpoints of errors at debugger startup Checkpoint Target MCU is in the reset state Check that the reset pin of the user system is held high Target MCU cannot be reset If the reset circuit of the user system has a watchdog timer disable the timer Check that power is properly supplied to the user system and that the user system is prope
102. up to the cursor position 1s not executed 24 NC S AS ROE521000CPE00 User s Manual 3 Usage How to Use the Emulator Debugger 3 4 Hardware Breakpoint Hardware break is set by event condition such as FETCH or DATA ACCESS etc If the breakpoint you set is a hardware breakpoint the program stops after executing the instruction at the set breakpoint after several cycles 1 Breakpoint setup dialog box 1 Opening the hardware breakpoint setup dialog box Hardware Breakpoint Clicking this button opens the hardware breakpoint setup dialog box Or you can select the H W break point H of Break B from View V menu for the same effect 2 H W Break Point Setting Window H W Break Point Setting Window Select the Enable H W Break check box and this break function will be enabled allowing you to set hardware breakpoints H W Break Point Setting Window ADDRESS AC CONDITION Ou ETCH addr OO0000 A THNUOOD FETC ddr OO0000 Setting Break Event Click the event line at which you want set a break event Setting Path Count For each event a pass count number of passing is specifiable 1 255 When AND same time is specified for Combination you Combination PID can not specify the pass count fixed to one AND fa De Reset Save Load Set Close REJ10J0845 0500 Rev 5 00 October 16 2007 Sage on ane RENESAS ROE521000CPEO00 User s Man
103. urposes either 1 Transportation and vehicular 2 Medical equipment where human life is concerned 3 Aerospace 4 Nuclear power control 5 Undersea repeater If you are considering the use of this emulator for one of the above purposes please be sure to consult your local distributor About product changes We are constantly making efforts to improve the design and performance of this emulator Therefore the specification or design of this emulator or its user s manual may be changed without prior notice About the rights 1 We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this user s manual 2 The information or data in this user s manual does not implicitly or otherwise grant a license for patent rights or any other rights belonging to us or third parties 3 This user s manual and this emulator are copyrighted with all rights reserved by us This user s manual may not be copied duplicated or reproduced in whole or part without prior written consent of us About diagrams The diagrams in this user s manual may not all represent exactly the actual object REJ10J0845 0500 Rev 5 00 October 16 2007 A RENESAS ROE521000CPE00 User s Manual Precautions for Safety Precautions for Safety Definitions of Signal Words In both the user s manual and on the product itself several icons are used to
104. y cause a direct threat to human Ife or create a risk of human injury or which require especially high quality and reliability such as safety systems or equipment or systems for transportation and traffic healthcare combustion control aerospace and aeronautics nuclear power or undersea communication transmission If you are considering the use of our products for such purposes please contact a Renesas sales office beforehand Renesas shall have no liability for damages arising out of the uses set forth above Notwithstanding the preceding paragraph you should not use Renesas products for the purposes listed below 1 artificial life suppart devices or systems 2 surgical implantations 3 healthcare intervention e g excision administration of medication etc 4 any other purposes that pose a direct threat to human life Renesas shall have no liability for damages arising out of the uses set forth in the above and purchasers who elect to use Renesas products in any of the foregoing applications shall indemnify and hold harmless Renesas Technology Corp its affiliated companies and their officers directors and employees against any and all damages arising out of such applications You should use the products described herein within the range specified by Renesas especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product c
Download Pdf Manuals
Related Search
Related Contents
"user manual" CB 1000R Copyright © All rights reserved.
Failed to retrieve file