background image

R0E436640CPE00 User’s Manual 

2. Setup 

REJ10J0918-0300  Rev.3.00  February 15, 2007 

 

Page 31 of 102 

 

2.8 Connecting the User System 

Figure 2.11 shows the connection of the R0E436640CPE00 and the user system. 

 

As for the connections of other than the 64-pin MCU below, refer to the user’s manual for the converter board. 

 

 

Compact emulator

  R0E436640CPE00

64-pin

0.8mm pitch

QFP

: No.1 pin

*1

 These items are included with the R0E436640CFG20 package.

*2

 These items are included with the R0E436640CFK20 package.

Converter board

R0E436640CFK20

Converter board

R0E436640CFG20

(4)

64-pin 0.8mm pitch
QFP foot pattern

IC149-064-008-B5 *1

R0E436640CIF00

R0E436640CFG20

Screw (M2x12mm) *1

Flat washer *1

(4)

IC149-064-075-B51 *2

R0E436640CIF00

R0E436640CFK20

Screw (M2x12mm) *2

Flat washer *2

 

64-pin

0.5mm pitch

LQFP

64-pin 0.5mm pitch
LQFP foot pattern

 

Figure 2.11 Connection of the R0E436640CPE00 and user system 

 

 

 

CAUTION

 

Note on Connecting the User System: 

 

z

 

Take care not to attach the converter board in a wrong direction. It may cause a fatal damage to the emulator. 

 

 

*IC149-064-008-B5 and IC149-064-075-B51 are trademarks of Yamaichi Electronics Co., Ltd. 

 

Summary of Contents for R0E436640CPE00

Page 1: ...REJ10J0918 0300 T R0E436640CPE00 Rev 3 00 Feb 15 2007 User s Manual Compact Emulator for H8 300H Tiny Series...

Page 2: ...l inaccuracies or typographical errors Renesas Technology Corp assumes no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to in...

Page 3: ...he online manual All the components of this product are shown in 1 1 Package Components page 14 If there is any question or doubt about this product contact your local distributor The related manuals...

Page 4: ...evelopment 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 t...

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

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

Page 7: ...en installing this equipment insure 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 imme...

Page 8: ...he power of the emulator and user system as simultaneously as possible z Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged z Wh...

Page 9: ...tem 26 2 6 3 Turning ON OFF the Power 26 2 6 4 Power Supply to the User System 26 2 6 5 LED Display When the Emulator Starts Up Normally 27 2 7 Self check 29 2 7 1 Self check Procedure 29 2 7 2 If an...

Page 10: ...4 5 Notes on Using This Product 1 73 Note on Downloading Firmware 73 Notes on the Self check 73 Note on Quitting the Emulator Debugger 73 Notes on the User System Power Supply Order of Powering On 73...

Page 11: ...ual Contents REJ10J0918 0300 Rev 3 00 February 15 2007 Page 11 of 102 6 Maintenance and Guarantee 99 6 1 User Registration 99 6 2 Maintenance 99 6 3 Guarantee 99 6 4 Repair Provisions 99 6 5 How to Ma...

Page 12: ...al fill it in and FAX it to your local distributor or email the same contents to the following address Your registered information is used for only after sale services and not for any other purposes W...

Page 13: ...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...

Page 14: ...achine and emulator 1 Power supply cable 1 Ferrite core for connecting power supply cable 1 H W Tool Customer Registration Sheet English 1 H W Tool Customer Registration Sheet Japanese 1 R0E436640CPE0...

Page 15: ...terface 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 the emulator Supply 5 0 V 5 DC Prepare a power sup...

Page 16: ...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 Name Numbe...

Page 17: ...tem 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 Function When the user s program is...

Page 18: ...see 2 6 1 MCU Power Supply Source Selection Jumper MCU Power Supply Voltage Selection Jumper page 25 7 MCU Power Supply Voltage Selection Jumper JP2 This is a jumper switch to set the power supply vo...

Page 19: ...eference 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 Add...

Page 20: ...ows 98SE 1 Windows Me Windows XP Windows 2000 CPU Pentium III 600 MHz or more recommended Interface USB 1 1 full speed 2 Memory 128 MB or more recommended Pointing device such as mouse Mouse or any ot...

Page 21: ...2 of the emulator and the USB port of the host machine Connect the power supply for the emulator Connect a power supply to the power connector J1 Power supply should be 5 0 V 5 2 A Connect the user sy...

Page 22: ...Install the C compiler emulator debugger and USB driver as occasion demands In process of installation user information dialog box to enter the user information contractor section contact address and...

Page 23: ...r J1 and an applicable plug respectively Electrode Electrode 4 75mm 1 7mm Inside diameter Figure 2 3 Power connector specifications Figure 2 4 Applicable plug specifications CAUTION Notes on Connectin...

Page 24: ...of the host machine see Figure 2 5 Figure 2 5 Connecting the emulator system Connect the USB interface cable to connector J2 Connect the power cable to connector J1 To host machine To emulator power...

Page 25: ...INT JP2 MCU power supply voltage selection jumper factory setting 5 0V Figure 2 6 Jumper switch locations These are the jumper switches to select power supply to the MCU and its power voltage As show...

Page 26: ...r again after shutting OFF the power wait for about 10 seconds 2 6 4 Power Supply to the User System This emulator cannot supply the power to the user system Therefore design your system so that the u...

Page 27: ...d After turning on the power only the LED5 RESET lights 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...

Page 28: ...e that the oscillator circuit board is properly installed in the emulator and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Ma...

Page 29: ...ettings for the self check Switch Setting MCU power supply source selection jumper JP1 INT MCU power supply voltage selection jumper JP2 5V POWER jumper INT POWER CLOCK RESET RUN LED3 LED4 LED5 LED6 R...

Page 30: ...to the emulator The emulator may be damaged Contact your local distributor A clock is not supplied to the emulator Check that the oscillator circuit board OSC 3 is attached The power is not supplied...

Page 31: ...ed with the R0E436640CFK20 package Converter board R0E436640CFK20 Converter board R0E436640CFG20 4 64 pin 0 8mm pitch QFP foot pattern IC149 064 008 B5 1 R0E436640CIF00 R0E436640CFG20 Screw M2x12mm 1...

Page 32: ...FG20 to the IC149 064 008 B5 and secure it with the screws M2x12mm No 1 pin These items are included with the R0E436640CFG20 package 64 pin 0 8mm pitch PRQP0064GB A foot pattern IC149 064 008 B5 Upper...

Page 33: ...K20 to the IC149 064 075 B51 and secure it with the screws M2x12mm No 1 pin These items are included with the R0E436640CFK20 package 64 pin 0 5mm pitch PLQP0064KC A foot pattern IC149 064 075 B51 Uppe...

Page 34: ...gure 2 14 Jumper switches on the R0E436640EPBM0 Table 2 5 Setting jumper switches on the R0E436640EPBM0 Switch No Switch name How to set Description POWER INT POWER EXT Factory setting Connects the Vc...

Page 35: ...circuit board OSC 3 or OSC 2 Yes Main OSC1 OSC2 External Oscillator circuit on the user system Internal Internal oscillator circuit 32 768 kHz Sub X1 X2 External Oscillator circuit on the user system...

Page 36: ...PE00 MCU POWER 5 0V JP2 3 3V EXT JP1 INT MADE IN JAPAN The oscillator circuit board of the emulator is in the lower right corner of the board Unscrew the screw securing the oscillator circuit board Li...

Page 37: ...2 17 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...

Page 38: ...pin OSC2 should be open Choose External in the emulator debugger to use this clock Evaluation MCU OSC1 OSC2 Oscillator circuit Oscillator output Open Figure 2 18 External oscillator circuit Make note...

Page 39: ...and the configuration of this product Front side of the R0E436640EPBM0 R0E436640EPBM0 REV B MADE IN JAPAN J 1 J3 POW ER INT POW ER EXT C2 AVCC AVSS AVcc Avss bypass capacitor Figure 2 20 Foot pattern...

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

Page 41: ...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 z When not using the trace poin...

Page 42: ...ause for example the MCU runs out of control or something is wrong with the trace results This function can be enabled only when you are starting up the emulator debugger Cancel Help Specifying the co...

Page 43: ...ock Cancel Help Specifying 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 z...

Page 44: ...Specifying the processor mode 2 Referencing the MCU pin status Cancel Help Specifying the processor mode Select the appropriate processor mode that suits your system For the H8 300H Series you can sp...

Page 45: ...heck 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...

Page 46: ...oading from the work space window Downloading the program Download the object program you want to debug Select Download from xxx abs of Download module Or you can select Download from the Debug menu f...

Page 47: ...sition Or you can select Run from Debug menu for the same effect Go Free Runs the program beginning with the current PC position The software and hardware breaks set in it are ignored Reset Go Runs th...

Page 48: ...2007 Page 48 of 102 6 Stopping the user program 7 Editor Source window after you have stopped the user program HALT Stops the program Or you can select Halt from Debug menu for the same effect Editor...

Page 49: ...tup Screen after software break point setup Software break point B A software break point can be set or cleared by double clicking the break point display area This is rewritten to a break instruction...

Page 50: ...1 Setup procedure for running the program up to the cursor position 2 After the execution has finished Setup procedure for running the program up to the cursor position 1 Click the line in the text ar...

Page 51: ...n initial state 3 Opening the break event setting dialog box H W break point Setting Window in initial state Select the Enable H W Break check box and this break function will be enabled allowing you...

Page 52: ...2 When FETCH is selected 1 Window for setting addresses Specifying the event type Click to select the event type you want to set FETCH Detects an instruction prefetch DATA ACCESS Detects a memory acce...

Page 53: ...ess 2 Window for setting data Setting the address You can set eight conditions e g a specified address a specified address range etc Setting data You can set two conditions e g specified data or not t...

Page 54: ...e Odd address low order data effective Setting events for wordwise accesses to the 16 bit bus areas of the ROM RAM and internal I O MOV W R2 H E002 R2 H AA55 High order and low order data effective Se...

Page 55: ...condition Setting the combinatorial event condition There are following three conditions that you can choose for the combinatorial events OR The program breaks when one of the specified events occurs...

Page 56: ...pected The contents are displayed in order of execution paths Source mode The execution paths of the source program can be inspected Operating buttons of the tool bar can reference the execution paths...

Page 57: ...ress and Data signals are effective when this signal is 0 AREA Shows the target of bus access Type Status ROM ROM area RAM RAM area I O 8 Internal I O area in 8 bit bus width I O 16 Internal I O area...

Page 58: ...ary 15 2007 Page 58 of 102 2 Suspending and resuming trace measurement 1 Suspending trace measurement 2 Resuming trace measurement Stop Click this toolbar button to suspend the trace measurement in pr...

Page 59: ...Setting Window in initial state Trace Point Setting Window in initial state Be sure to enable the trace point function in the Init dialog box before you set up in this window Here you can set events i...

Page 60: ...ycles of instruction execution after a trace began is recorded Setting trace write conditions You can specify a condition for the cycles to be written into the trace memory Total All cycles are writte...

Page 61: ...ents while the user program is executed This is accomplished by using the real time RAM monitor function and the memory contents corresponding to the RAM monitor area are displayed in dump form The me...

Page 62: ...Opening RAM monitor area setting window 2 RAM monitor area setting window in initial state RAM Monitor Area Setting Window in initial state No settings by default To set a RAM monitor area click the...

Page 63: ...in size Specifying the start address You can set the start address of the RAM area to be monitored To add a RAM monitor area click the Add button The RAM Monitor Area Setting window will be displayed...

Page 64: ...applicable 64 pin MCUs for the H8 300H Tiny Series are shown below H8 3664 Group H8 36064 Group H8 3694 Group H8 36094 Group H8 3687 Group H8 36087 Group H8 3672 Group H8 36077 Group H8 36014 Group H8...

Page 65: ...terrupts z 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 c...

Page 66: ...LVDSR H F731 Reset Source Decision Register LVDRF H F732 Clock Control Status Register CKCSR H F734 RC Control Register RCCR H F735 RC Trimming Data Protect Register RCTRMDPR H F736 RC Trimming Data...

Page 67: ...not access this area The values read or written to those addresses cannot be guaranteed Notes on EEPROM z To permit the H8 36xxN with built in EEPROM to be evaluated this product has a serial EEPROM m...

Page 68: ...2 P50 P57 P74 P76 P85 P87 PB0 PB3 NMI OSC1 X1 P80 P84 P80 P84 Connected to the inside of the emulator 74LV4066 User system P10 P17 P20 P22 P50 P57 P74 P76 P85 P87 PB0 PB3 NMI OSC1 X1 PB4 PB7 74HC4066...

Page 69: ...DD_S JP1 VCL NC TEST TEST 5 0 V 3 3 V VCC JP2 JP1 INT EXT 5 0V 3 3V INT POWER EXT POWER R0E436640EPBM0 Converter board Compact emulator control board 47 47 P70 P72 74HC4066 P70 P72 PB4 PB7 74HC4066 PB...

Page 70: ...board Compact emulator control board 47 47 P85 P87 is 22 22 Figure 4 3 Connection diagrams of R0E436640CPE00 H8 36014 etc Table 4 2 Electrical characteristics of the 74LV4066 and 74HC4066 LV4066 Stan...

Page 71: ...hows external dimensions of the R0E436640CPE00 connected with the converter Figure 4 4 External dimensions of the compact emulator 85 0 22 0 60 0 37 8 Unit mm MADE SW 1 COMPACT EMULATOR INT JP1 5 0V J...

Page 72: ...20 and a sample foot pattern 4 4 3 External Dimensions of the Converter Board R0E436640CFK20 Figure 4 6 shows external dimensions and a sample foot pattern of the converter board R0E436640CFK20 for a...

Page 73: ...supply the power to the user system Therefore design your system so that the user system is powered separately z This emulator consumes max 500 mA of electric current from the user system z The volta...

Page 74: ...program Notes on CE Declaration of Conformity z This product complies with CE marking EN55022 Class A 1998 A1 2000 A2 2003 EN55024 1998 A1 2001 A2 2003 Please use it with care described below Electro...

Page 75: ...6 H FFF9 Module Standby Control Register 1 Bit 7 3 Although these bits in the hardware manual are reserved bits the compact emulator stipulates that these bits must always be set to 0 and that when r...

Page 76: ...5 POF24 POF23 H FFF5 IENR2 IENTB3 IENTB2 IENTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Addre...

Page 77: ...t Edge Select Register 1 Bits 7 2 1 H FFF4 Interrupt Enable Register 1 Bits 6 2 1 H FFF9 Module Standby Control Register 1 Bits 7 0 3 Although these bits in the hardware manual are reserved bits the c...

Page 78: ...F4 IENR1 IENDT IENTA IENWP IEN3 IEN2 IEN1 IEN0 H FFF5 IENR2 IENTB3 IENTB2 IENTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ M...

Page 79: ...always show the value 0 On the other hand the compact emulator stipulates that these bits must always be set to 0 H FFF7 Interrupt Flag Register 2 Bits 7 6 4 Although these bits in the hardware manua...

Page 80: ...RRTB2 IRRTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Address Register Bit7 Bit6 Bit5 Bit4 Bit...

Page 81: ...Initial value 0 These are reserved bits When read they always show the value 0 On the other hand the compact emulator stipulates that these bits must always be set to 0 H FFF7 Interrupt Flag Register...

Page 82: ...IENTB1 H FFF7 IRR2 IRRTB3 IRRTB2 IRRTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Address Regis...

Page 83: ...its 7 6 4 Although these bits in the hardware manual are reserved bits the compact emulator stipulates that these bits must always be set to 0 H FFE4 Port Control Register 1 Bit 3 H FFE5 Port Control...

Page 84: ...R74 PCR73 PCR72 PCR71 PCR70 H FFEB PCR8 PCR87 PCR86 PCR85 PCR84 PCR83 PCR82 PCR81 PCR80 H FFEE H FFF5 IENR2 IENTB3 IENTB2 IENTB1 H FFF7 IRR2 IRRTB3 IRRTB2 IRRTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD...

Page 85: ...though these bits in the hardware manual are reserved bits the compact emulator stipulates that these bits must always be set to 0 H FFFFE4 Port Control Register 1 Bit 3 H FFFFE5 Port Control Register...

Page 86: ...72 PCR71 PCR70 H FFFFEB PCR8 PCR87 PCR86 PCR85 PCR84 PCR83 PCR82 PCR81 PCR80 H FFFFEE H FFFFF5 IENR2 IENTB3 IENTB2 IENTB1 H FFFFF7 IRR2 IRRTB3 IRRTB2 IRRTB1 H FFFFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MS...

Page 87: ...egisters are located at the addresses shown below the compact emulator stipulates that writing to the addresses has no effect and that when read they show indeterminate values This is because no regis...

Page 88: ...RRI1 IRRI0 H FFF7 IRR2 IRRTB3 IRRTB2 IRRTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Address R...

Page 89: ...in the hardware manual are reserved bits the compact emulator stipulates that these bits must always be set to 0 and that when read these bits show the set value H FFE2 Port Mode Register 3 Bits 7 3...

Page 90: ...IENTB3 IENTB2 IENTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Address Register Bit7 Bit6 Bit5...

Page 91: ...Standby Control Register 3 Bit 0 4 Although the hardware manual describes the functions shown below they are not available on the compact emulator because the evaluation MCU does not have them power...

Page 92: ...IENTB2 IENTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Address Register Bit7 Bit6 Bit5 Bit4 Bi...

Page 93: ...re manual are reserved bits the compact emulator stipulates that these bits must always be set to 0 and that when read these bits show the set value H FFE2 Port Mode Register 3 Bits 7 3 H FFF5 Interru...

Page 94: ...EN0 H FFF5 IENR2 IENTB3 IENTB2 IENTB1 H FFF9 MSTCR1 MSTS4 MSTIIC MSTS3 MSTAD MSTWD MSTTW MSTTV MSTTA H FFFA MSTCR2 MSTS3_2 MSTTB3 MSTTB2 MSTTB1 MSTTX MSTTZ MSTPWM H FFFB MSTCR3 MSTS4_2 Adress Register...

Page 95: ...cable See 2 4 Connecting the Power Supply for the Emulator page 23 2 Check that the power is properly supplied to the use system See 2 6 Turning ON the Power page 25 Init dialog box of emulator debugg...

Page 96: ...not light up Connected Check that power Vcc and GND is properly supplied to the user system Not connected 1 Check that both the main and sub clocks of the emulator debugger are not set to EXT See the...

Page 97: ...eck that an emulator other than the compact emulator such as PC4701 PC7501 is not connected Target MCU is in the reset state Check that the reset pin of the user system is held high Target clock is st...

Page 98: ...directory and email 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 O...

Page 99: ...ult 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 mainte...

Page 100: ...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...

Page 101: ...ublication Date Feb 15 2007 Rev 3 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2007 Renesas Technolog...

Page 102: ...R0E436640CPE00 User s Manual...

Reviews: