background image

R0E521000EPB00 User’s Manual 

Contents 

REJ10J0844-0400  Rev.4.00  October 16, 2007 

 

 

Page 10 of 88 

 

Page 

3. Usage (Emulator Debugger)...................................................................................................................................45

 

3.1 Starting Up the Emulator Debugger ................................................................................................................45

 

3.1.1 INIT Dialog Box .....................................................................................................................................45

 

3.1.2 MCU Setting Dialog Box .......................................................................................................................49

 

3.1.3 Checking Connections of the Emulator System ...................................................................................50

 

3.2 Downloading the Program...............................................................................................................................51

 

3.3 Program Execution..........................................................................................................................................52

 

3.4 Hardware Breakpoint.......................................................................................................................................55

 

3.5 Trace Window .................................................................................................................................................60

 

3.6 RAM Monitor Window......................................................................................................................................64

 

4. Hardware Specifications .........................................................................................................................................66

 

4.1 Target MCU Specifications..............................................................................................................................66

 

4.2 Differences between the Actual MCU and Emulator.......................................................................................67

 

4.3 Connection Diagrams......................................................................................................................................69

 

4.3.1 Connection diagram of R0E521000EPB00...........................................................................................69

 

4.3.2 Connection diagram of R0E5212BACFG00, R0E5212BACFK00 and R0E5212DACFK00.................70

 

4.4 External Dimensions .......................................................................................................................................71

 

4.4.1 External Dimensions of the Emulation Probe .......................................................................................71

 

4.4.2 External Dimensions of the Converter Board R0E521134CFG00........................................................72

 

4.4.3 External Dimensions of the Converter Board R0E521174CSJ00 ........................................................72

 

4.4.4 External Dimensions of the Converter Board R0E521174CDB00........................................................73

 

4.4.5 External Dimensions of the Converter Board R0E521237CFK00 ........................................................73

 

4.4.6 External Dimensions of the Converter Board R0E521258CFJ00.........................................................74

 

4.4.7 External Dimensions of the Converter Board R0E521276CFG00........................................................74

 

4.4.8 External Dimensions of the Converter Board R0E5212BACFG00 .......................................................75

 

4.4.9 External Dimensions of the Converter Board R0E5212BACFK00 .......................................................75

 

4.4.10 External Dimensions of the Converter Board R0E5212DACFK00 .....................................................76 
4.4.11 External Dimensions of the Converter Board R0E5212L4CFG00....................................................766

 

4.5 Notes on Using This Product...........................................................................................................................77

 

5. Troubleshooting ......................................................................................................................................................80

 

5.1 Flowchart to Remedy the Troubles .................................................................................................................80

 

5.2 When the Emulator Debugger Does Not Start Up Properly............................................................................81

 

5.2.1 When the LEDs of the PC7501 Do Not Display Normally ....................................................................81

 

5.2.2 MCU Setting Dialog Box Does Not Appear at Debugger Startup.........................................................82

 

5.2.3 Errors Occur at Debugger Startup ........................................................................................................83

 

5.3 How to Request a Support ..............................................................................................................................83

 

6. Maintenance and Guarantee ..................................................................................................................................84

 

6.1 User Registration.............................................................................................................................................84

 

6.2 Maintenance ....................................................................................................................................................84

 

6.3 Guarantee .......................................................................................................................................................84

 

6.4 Repair Provisions ............................................................................................................................................84

 

6.5 How to Make Request for Repair ....................................................................................................................85

 

 

Summary of Contents for R0E521000EPB00

Page 1: ...REJ10J0844 0400 T R0E521000EPB00 Rev 4 00 Oct 16 2007 User s Manual Emulation Probe for R8C Tiny Series...

Page 2: ......

Page 3: ...tion 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...

Page 4: ...ogram 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 integr...

Page 5: ...onstantly 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 th...

Page 6: ...tes 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 WA...

Page 7: ...that a reliable ground connection is maintained z If 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...

Page 8: ...tor pins directly Static electricity may damage the internal circuits z Do not pull this emulator by the communications interface cable or the cable for connecting the user system And excessive flexin...

Page 9: ...2 6 4 LED Display When the Emulator Starts Up Normally 25 2 7 Downloading Firmware 26 2 7 1 When It is Necessary to Download Firmware 26 2 7 2 Downloading Firmware in Maintenance Mode 26 2 8 Self che...

Page 10: ...R0E521174CSJ00 72 4 4 4 External Dimensions of the Converter Board R0E521174CDB00 73 4 4 5 External Dimensions of the Converter Board R0E521237CFK00 73 4 4 6 External Dimensions of the Converter Board...

Page 11: ...ation 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 no...

Page 12: ...h the M16C R8C PC7501 Emulator debugger Firmware Program that analyzes contents of communication with the emulator debugger and controls the PC7501 hardware This program is installed in the flash memo...

Page 13: ...or circuit board 1 OSC 2 oscillator circuit bare board 1 R0E521000EPB00 Release Notes English 1 R0E521000EPB00 Release Notes Japanese 1 H W Tool Customer Registration Sheet English 1 H W Tool Customer...

Page 14: ...E5212L4EPB00 For 20 pin 0 65mm pitch LSSOP PLSP0020JB A formerly 20P2F A R0E521174CSJ00 included with the R0E521174 EPB00 For 20 pin 1 778mm pitch SDIP PRDP0020BA A formerly 20P4B R0E521174CDB00 inclu...

Page 15: ...lator main unit for the M16C Family to be used with this product 3 Host machine A personal computer to control the emulator 4 Package converter board such as R0E521134CFG00 This is a package converter...

Page 16: ...eaning ON Emulator system power supply is turned ON POWER OFF Emulator system power supply is turned OFF ON Emulator system is operating normally Flashing 1 The self check is being executed 2 Download...

Page 17: ...the target status LEDs Name Status Meaning ON Power is supplied to the target MCU POWER OFF Power is not supplied to the target MCU ON Target MCU clock is oscillating CLOCK OFF Target MCU clock is not...

Page 18: ...l time RAM monitor function 4 096 bytes 256 bytes x16 Data last access result Hardware break function 8 points Execution address bus detection interrupt external trigger signal Execution time measurem...

Page 19: ...ch LQFP PLQP0080KB A formerly 80P6Q A R0E5212DACFK00 included with the R0E5212DAEPB00 1 5 Operating Environment Be sure to use this emulator with the operating environmental of the emulator and host m...

Page 20: ...R0E521000EPB00 to the M3T FLX160 EPB at the tip of the PC7501 Connect the power supply for the emulator Connect a power supply for the emulator Connect the power supply for the emulator and change th...

Page 21: ...bed below 1 Downloading the emulator debugger Download the latest emulator debugger from the URL below http download renesas com eng mpumcu upgrades in_circuit_emulators pc7501 index html 2 Launching...

Page 22: ...mulator PC7501 to a host machine you can choose your desired interface from LPT parallel interface USB interface and LAN interface Use the interface selection switch on the emulator PC7501 s rear pane...

Page 23: ...the PC7501 z Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged IMPORTANT Notes on Connecting to the PC7501 z When connecting the emulation probe b...

Page 24: ...AC power cable to the receptacle CAUTION Cautions for AC Adapter z Use only the AC adapter included in PC7501 package z The included AC adapter is for PC7501 Do not use it for other product z Before...

Page 25: ...stem Please consider the capacity of the power supply of the user system 2 6 3 Turning ON OFF the Power Turn ON the power of the emulator and user system as simultaneously as possible when the POWER s...

Page 26: ...rear panel of the PC7501 to the LPT side and connect the LPT parallel interface cable to the PC7501 and the host machine 2 Within 2 seconds of activating power to the emulator press the RESET switch...

Page 27: ...side Jumper switch JP2 UP side Figure 2 6 Self check procedure Maintenance mode started ON OFF Flashing SYSTEM POWER POWER SAFE ERROR CLOCK RESET RUN WARNING TARGET STATUS STATUS POWER POWER SAFE ERR...

Page 28: ...heck does not result normally ERROR 1 to ERROR 4 in Figure 2 6 check the following 1 Recheck the connection of the emulation probe and PC7501 2 Redownload the proper firmware IMPORTANT Note on the Sel...

Page 29: ...pin 0 65mm pitch LQFP 64 pin 0 8mm pitch LQFP Converter board Converter board Converter board Converter board 64 pin 0 5mm pitch LQFP 64 pin 0 8mm pitch LQFP 64 pin 0 5mm pitch LQFP 80 pin 0 5mm pitch...

Page 30: ...521000EPB00 to the R0E521134CFG00 R0E521276CFG00 or R0E5212L4CFG00 4 Attach the R0E521134CFG00 R0E521276CFG00 or R0E5212L4CFG00 to the YQPACK032SA R0E521000EPB00 No 1 pin These items are included with...

Page 31: ...00EPB00 to the R0E521174CSJ00 4 Attach the R0E521174CSJ00 to the YSPACK20BG R0E521000EPB00 No 1 pin These items are included with the R0E521174CSJ00 package 3 FLASH version MCU On board evaluation HQP...

Page 32: ...e R0E521174CDB00 3 Attach the R0E521174CDB00 to the PM 6 10P M 6 10P R0E521000EPB00 2 3 FLASH version MCU 20 pin 1 778mm pitch SDIP PRDP0020BA A foot pattern On board evaluation No 1 pin These items a...

Page 33: ...to the R0E521237CFK00 4 Attach the R0E521237CFK00 to the YQPACK048SD Figure 2 11 Connecting to a 48 pin 0 5mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System z Take care not to...

Page 34: ...B00 to the R0E521258CFJ00 4 Attach the R0E521258CFJ 00 to the YQPACK052SB Figure 2 12 Connecting to a 52 pin 0 65mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System z Take care no...

Page 35: ...521000EPB00 4 Attach the R0E5212BACFG00 to the YQPACK064SA R0E5212BAC G00 YQ GUIDE 4 YQPACK064SA NQPACK064SA160 R0E521000EPB00 FLASH version MCU On board evaluation HQPACK064SA160 not included No 1 pi...

Page 36: ...E521000EPB00 4 Attach the R0E5212BACFK00 to the YQPACK064SD R0E5212BAC K00 64 pin 0 5mm pitch LQFP PLQP0064KB A foot pattern YQ GUIDE 4 YQPACK064SD NQPACK064SD ND R0E521000EPB00 FLASH version MCU HQPA...

Page 37: ...1000EPB00 4 Attach the R0E5212DACFK00 to the YQPACK080SD Figure 2 15 Connecting to an 80 pin 0 5mm pitch LQFP foot pattern CAUTION Note on Connecting to the User System z Take care not to attach a con...

Page 38: ...r system The internal power supply is supplied to the evaluation MCU in factory setting For details refer to 2 10 2 Setting the POWER Selection Jumper page 39 JP2 RESET pin pullup jumper This jumper p...

Page 39: ...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 us...

Page 40: ...ser system Yes IMPORTANT Note on Changing the Clock Supply z The clock supply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window 1 U...

Page 41: ...illator circuit board Lift off the oscillator circuit board Attach replacing oscillator circuit board to the connector Secure the new oscillator circuit board with the screw Figure 2 18 Replacing osci...

Page 42: ...re 2 20 shows the circuitry of the oscillator circuit bare board OSC 2 Use the circuit constants recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC Figure 2...

Page 43: ...it is supplied as a main clock It does not depend on either the oscillator circuit board in the PC7501 or the oscillator circuit on the user system If you want to debug programs without the user syste...

Page 44: ...2 133 176 INT EXT JP1 DOWN UP JP2 R0E521000EPBM0 C1 C2 AVSS bypass capacitor C2 AVCC AVSS bypass capacitor C1 AVCC VREF AVSS AVSS Component side of the 0E521000EPBM0 VREF Component side of the R0E5210...

Page 45: ...drop down list To connect to the PC7501 R8C emulation probe select SessionM16C_R8C_PC7501_Emulator 3 1 1 INIT Dialog Box After specifying the session an Init dialog box to connect the target is displ...

Page 46: ...r separating each four bytes with a period Specify the port number at the Port area Supplementary explanation When you are using LAN communication for the first time connect to the emulator through ot...

Page 47: ...chased When you successfully download the firmware but fail to start up the emulator When you want to confirm whether the emulator is operating normally because for example the MCU runs out of control...

Page 48: ...ed to the EXT side the upper limit of the external trigger input level VI is 3 6 V Similarly the upper limit of the event output level Vo is 0 to 3 3 V The option you have specified here is reflected...

Page 49: ...location This tab is not used for R8C Tiny Be sure to deselect the emulation memory allocation check boxes when using 3 Flash Clear tab 1 Setting to clear the MCUs internal flash ROM Setting to clear...

Page 50: ...ck to see that the emulator debugger has been connected correctly to the emulator Checking connections of the emulator system When the emulator debugger is connected correctly to the emulator after yo...

Page 51: ...t to debug Select Download from xxx x30 of Download module Or you can select Download module from the Debug menu for the same effect 2 Showing the program Editor source window The editor source window...

Page 52: ...Debug menu Step In Single steps the program executing each statement including those in functions You can select Step In from the Debug menu Step Over Single steps the program executing each function...

Page 53: ...or source window A red circle is displayed at the setting line Click the execution button Or you can select Go from Debug menu for the same effect 4 Completing execution with software break The cursor...

Page 54: ...Setup procedure for executing COME command 1 Click the line in the editor source window at which you want the program to execute 2 Click the Come button Or you can select Go to Cursor from Debug menu...

Page 55: ...he 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 t...

Page 56: ...cts an instruction prefetch DATA ACCESS Detects a memory access BIT SYMBOL Detects a bit access INTERRUPT Detects an occurrence of interruption or interrupt completion TRIGGER Detects a signal from th...

Page 57: ...u can set eight conditions e g a specified address a specified address range etc After the address setting completion set the data 2 Setting data Setting data Specified in the Data tab You can set eig...

Page 58: ...ITE Event setting for even address word access 16 bit bus width STE W A0 126h A0 5423h 16 bit bus width area High order and low order data effective Event setting for even address word access 8 bit bu...

Page 59: ...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 STATE TRANSITION The program breaks when th...

Page 60: ...our display modes Mixed mode can be displayed 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 mea...

Page 61: ...memory or I O Symbol Status No change non active DMA Data access except for CPU With this product DMA is displayed in a cycle in which an emulator only data access is performed INT Interrupt acknowled...

Page 62: ...ber 16 2007 Page 62 of 88 2 Suspending and resuming trace measurement 1 Suspending trace measurement Stop Click this toolbar button to suspend the trace measurement in progress 2 Resuming trace measur...

Page 63: ...egan is recorded 3 Setting trace write conditions Setting trace write conditions You can specify a condition for the cycles to be written into the trace memory Total All cycles are written into memory...

Page 64: ...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 c...

Page 65: ...r area setting window By default the monitor area is set to 000400h through 0007FFh It is possible to add delete and change the RAM monitor area You can change the start address size number of blocks...

Page 66: ...or the R0E521000EPB00 Item Description 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 Program 04000...

Page 67: ...p 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 s or less Note on Power on Reset Function z This product emulates inputs to the RESET pin for the purpose of e...

Page 68: ...cleared when address 00000h or 00001h 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...

Page 69: ...C8 R8C Tiny Evaluation Chip P00 P07 P10 P17 P20 P27 P30 P37 P45 P50 P57 P60 P67 AVCC AVSS VREF P43 P43 Connected to the inside of the emulator 74HC4066 User system P00 P07 P10 P17 P20 P27 P30 P37 P45...

Page 70: ...er system such as the emulator s control system are omitted IC6 R8C 2A 2D Slave Chip MODE RESET Connected to the inside of the emulator User system P14 P17 P20 P27 P30 P37 P43 P47 P80 P86 74S1053 VDD2...

Page 71: ...October 16 2007 Page 71 of 88 4 4 External Dimensions 4 4 1 External Dimensions of the Emulation Probe Figure 4 3 shows external dimensions of the R0E521000EPB00 connected with the converter board Fi...

Page 72: ...dimensions and a sample foot pattern of the R0E521134CFG00 4 4 3 External Dimensions of the Converter Board R0E521174CSJ00 Figure 4 5 shows external dimensions and a sample foot pattern of the convert...

Page 73: ...l dimensions and a sample foot pattern of the R0E521174CDB00 4 4 5 External Dimensions of the Converter Board R0E521237CFK00 Figure 4 7 shows external dimensions and a sample foot pattern of the conve...

Page 74: ...imensions and a sample foot pattern of the R0E521258CFJ00 4 4 7 External Dimensions of the Converter Board R0E521276CFG00 Figure 4 9 shows external dimensions and a sample foot pattern of the converte...

Page 75: ...2 0 0 5 0 8 13 2 17 2 13 2 17 2 Unit mm R0E5212BACFG00 REV A MADE IN JAPAN Figure 4 10 External dimensions and a sample foot pattern of the R0E5212BACFG00 4 4 9 External Dimensions of the Converter Bo...

Page 76: ...25 0 5 11 1 15 1 11 1 15 1 Unit mm R0E5212DACFK00 REV A MADE IN JAPAN Figure 4 12 External dimensions and a sample foot pattern of the R0E5212DACFK00 4 4 11 External Dimensions of the Converter Board...

Page 77: ...emulator debugger after it ends always shut power to the PC7501 module off once and then on again Notes on the User System Power Supply Order of Powering On z The emulator s pin VCC is connected to t...

Page 78: ...tch address where a software break is set z As the BRK instruction is used for the emulator do not use it in a user program Note on the Watchdog Timer z If the reset circuit of the user system has a w...

Page 79: ...program can be executed normally from where it stopped Note on Data Display during Debugging in CPU Rewrite Mode z In the read status register mode of CPU rewrite mode the read values displayed in the...

Page 80: ...r 1 Check connection of the power supply cable See 2 5 Connecting the Power Supply for the Emulator page 24 2 Check that the power is properly supplied to the user system See 2 6 Turning ON the Power...

Page 81: ...ht up Connected Check that power VCC is properly supplied to the user system and that the user system is properly grounded Not connected 1 Check that both the main and sub clocks of the emulator debug...

Page 82: ...debugger s version is not the same version as the firmware in the target Download the proper firmware See 2 7 Downloading Firmware page 26 Target MCU is in the reset state Connected Check the reset p...

Page 83: ...tem 5 3 How to Request a 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...

Page 84: ...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 maintenanc...

Page 85: ...end 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...

Page 86: ...R0E521000EPB00 User s Manual 6 Maintenance and Guarantee REJ10J0844 0400 Rev 4 00 October 16 2007 Page 86 of 88 MEMO...

Page 87: ...lication Date Oct 16 2007 Rev 4 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2007 Renesas Technology...

Page 88: ...R0E521000EPB00 User s Manual...

Reviews: