background image

R0R521000EPB00 User’s Manual 

2. Setup 

REJ10J0844-0400  Rev.4.00  October 16, 2007 

 

 

Page 39 of 88 

 

2.10.2 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. When the POWER selection jumper is set to the EXT POWER side, this product consumes 

max. 500 mA of electrical current from the user system. Table 2.3 shows the POWER selection jumper switch settings. 

Table 2.3 Setting jumper switches on the R0E521000EPBM0 

Switch No.

 

Switch name

 

How to set 

Description 

 

(Factory-setting) 

 

When using this system with power supply voltages in the range 2.7 
to 5.5 V. 

JP1 

POWER 
selection 

jumper 

 

 

Set the jumper to this position when the user system’s power supply 
voltage is less than 2.7 [V] and the user system’s power supply is to 
be turned on/off.   

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 user 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

 

Notes on Setting the POWER Selection Jumper: 

 

z

 

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. 

z

 

When the POWER selection jumper is switched to the EXT side, the upper limit of the external trigger input 
level (VI) is 3.6 [V]. If the power voltage exceeding this limit, the internal circuit may be damaged. 

 

 

IMPORTANT

 

Notes on the EXT Setting of the POWER Selection Jumper: 

 

z

 

With this product, the MCU’s power-on reset function for user system power-on cannot be emulated. 

z

 

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. 

 

INT

EXT

INT

EXT

Содержание R0E521000EPB00

Страница 1: ...REJ10J0844 0400 T R0E521000EPB00 Rev 4 00 Oct 16 2007 User s Manual Emulation Probe for R8C Tiny Series...

Страница 2: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 86: ...R0E521000EPB00 User s Manual 6 Maintenance and Guarantee REJ10J0844 0400 Rev 4 00 October 16 2007 Page 86 of 88 MEMO...

Страница 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...

Страница 88: ...R0E521000EPB00 User s Manual...

Отзывы: