background image

M30850T2-EPB User’s Manual 

2. Setup 

REJ10J1005-0200  Rev.2.00  April 1, 2007 

 

(2)  Using the Oscillator Circuit on the User System 

 

To operate this product with an oscillator circuit of the user system, input the oscillator output at 50% duty (within the 

operating range of the evaluation MCU) into pin X

IN

 as shown in Figure 2.21. Pin X

OUT

 should be open. Choose "External" 

in the emulator debugger to use this clock. 

 

 

 

 

Figure 2.19 External oscillator circuit 

 

 

In the oscillator circuit shown in Figure 2.22 where a resonator is connected between pins X

IN

 and X

OUT

, oscillation does 

not occur because a converter board is used between the evaluation MCU and the user system. It is same for X

CIN

 and 

X

COUT

 

 

 

 

Figure 2.20 Circuit in which oscillation does not occur 

 

(3)  Using the Internal Oscillator Circuit 

 

The dedicated circuit in the PC7501 can generate any arbitrary frequency specified by the emulator debugger, and 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 system or change a frequency temporarily, you can check 

its operation before preparing an oscillator. If you want to use the internal oscillator circuit of the PC7501 as a main clock, 

choose "Generated" in the emulator debugger and specify a frequency you like to use for this clock supplied to an MCU. 

 

Although you can change a frequency between 1.0 and 99.9 MHz by 0.1 MHz for the PC7501, do not specify a value 

exceeding the maximum input frequency of the X

IN

 of the MCU. 

 

IMPORTANT

 

Notes on Internal Oscillator Circuit: 

 

z

 

The internal generator circuit is equipped for temporary debugging purposes. Temperature characteristics of 
frequencies are not guaranteed. 

z

 

Be sure to evaluate your system with an oscillator or oscillator module whose frequency is same as that of the 
internal oscillator circuit (internal clock) for final evaluation purposes. 

 

 

 

Page 44 of 98 

Содержание Emulation Probe M30850T2-EPB

Страница 1: ...REJ10J1005 0200 T M30850T2 EPB User s Manual Emulation Probe for M32C 80 84 85 86 and 8A Groups Rev 2 00 Apr 01 2007...

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

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

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

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

Страница 6: ...y 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 WARNING indicates...

Страница 7: ...e 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 cable from the...

Страница 8: ...mulator main unit and the target MCU connector pins Static electricity may damage the internal circuits z Do not pull this product by the flexible cable for connecting to the emulator main unit and em...

Страница 9: ...arts 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 check 27 2 8 1 Self check Procedure 27 2 8...

Страница 10: ...he M30800T PTC 82 4 4 3 External Dimensions of the M3T F160 100NRB 82 4 4 4 External Dimensions of the M3T F160 100NSD 83 4 4 5 External Dimensions of the M3T FLX 144NSD 83 4 5 Notes on Using This Pro...

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

Страница 12: ...gger to upgrade the firmware or to support other MCUs Host machine This means a personal computer used to control the emulator main unit and emulation probe Software break A software break is a functi...

Страница 13: ...e 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 If there is any question or doubt ab...

Страница 14: ...on probe M30850T2 EPB this product This emulation probe contains an evaluation MCU 2 Converter board M30800T PTC included This is a converter board for connecting to the user system for 100 pin 0 65mm...

Страница 15: ...ble 1 3 lists the definition of each system status LED Table 1 3 Definitions of the system status LEDs Name Status Meaning ON Emulator system power supply is turned ON POWER OFF Emulator system power...

Страница 16: ...e 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 oscillating ON Target MCU is being reset RESET OFF Target MCU is not...

Страница 17: ...break function 8 points Execution address bus detection interrupt external trigger signal Execution time measurement function Time between program start and stop Maximum minimum average execution tim...

Страница 18: ...or 100 pin LCC socket M30800T PTC not included IC61 1004 051 not included Available to connect the host machine that supports USB 2 0 With the USB interface not all hardware such as host machine USB d...

Страница 19: ...able USB interface cable or LAN interface cable Set the interface selection switch on the panel of the PC7501 to the using interface Connect the power supply for the emulator Connect a power supply fo...

Страница 20: ...below free of charge http download renesas com eng mpumcu upgrades in_circuit_emulators pc7501 index html 2 Launching the installer Start the setup exe program 3 Entering the user information In the u...

Страница 21: ...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 panel to specify your...

Страница 22: ...Cautions for Connecting the PC7501 z When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly z Connect the PCA7501EPBA board to t...

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

Страница 24: ...Notes on Power Supply z The emulator s 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 pr...

Страница 25: ...YSTEM STATUS ON OFF Flashing Figure 2 4 LED display when the power turned on PC7501 IMPORTANT Note on Memory Expansion and Microprocessor Modes z To use memory expansion or microprocessor mode be sure...

Страница 26: ...stem must not be connected when downloading the firmware 1 Set the interface select switch on the rear panel of the PC7501 to the LPT side and connect the LPT parallel interface cable to the PC7501 an...

Страница 27: ...per side VDDIO switch JP1 VCC1 2 side Figure 2 6 Self check procedure ON OFF Flashing POWER CLOCK RESET RUN WARNING POWER SAFE ERROR SYSTEM STATUS TARGET STATUS Maintenance mode started POWER CLOCK RE...

Страница 28: ...sult 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 Self check z If the...

Страница 29: ...MMY100S M3T F160 100NSD 100 pin LQFP M3T FLX 144NSD 144 pin LQFP 100 pin M3T F160 100NRB 100 pin QFP not included Emulation probe not included not included not included not included not included 100 p...

Страница 30: ...30800T PTC to the 100 pin LCC socket Figure 2 8 Connecting to a 100 pin LCC socket CAUTION Notes on Connecting the User System z Take care not to attach the converter board in a wrong direction It may...

Страница 31: ...he M30850T3 CPE 4 Attach the M3T F160 100NRB to the YQPACK100RB CN2 side 3 1 100 pin 0 65mm pitch PRQP0100JB A foot pattern No 1 pin User system M3T F160 100NRB not included FLASH MCU etc On board eva...

Страница 32: ...TC to the M30850T2 EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T 100LCC DMS not included M3T FLX160 EPB M30850T2 EPB CN2 side 3 4 M30800T PTC 2 1 100 pin 0 65mm pitch PRQP0100JB A foot patter...

Страница 33: ...EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS M3T 100LCC DMS not included M3T FLX160 EPB M30850T2 EPB CN2 side 3 4 M30800T PTC 2 FLASH MCU etc On board evaluation M3T DUMMY100S not included 1 10...

Страница 34: ...D to the YQPACK100SD 4 Attach the M3T F160 100NSD to the YQPACK100SD 5 Attach the M30850T2 EPB to the M3T F160 100NSD M3T FLX160 EPB M30850T2 EPB CN2 side 5 1 100 pin 0 5mm pitch PLQP100KB A foot patt...

Страница 35: ...D to the YQPACK144SD 4 Attach the M3T FLX 144NSD to the YQPACK144SD 5 Attach the M30850T2 EPB to the M3T FLX 144SD M3T FLX160 EPB M30850T2 EPB CN2 side 5 1 144 pin 0 5mm pitch PLQP0144KA A foot patter...

Страница 36: ...switches of the emulation probe according to the condition Figure 2 14 shows the positions of the switches of the M30850T2 EPBM Figure 2 14 Positions of the switches M30850T2 EPBM REV B MADE IN JAPAN...

Страница 37: ...VCC of the MCU to the internal power supply of the emulator and connects pin AVSS to the GND in the emulator XCIN P87 VCONT Factory setting Connects pin P87 of the MCU to the user system XCIN P87 VCON...

Страница 38: ...d using AN23 to AN27 for analog input pins Set the analog input pins to ON With this setting set the direction registers of ports P153 to P157 to input Pins P150 to P152 can be used for I O port ISTxD...

Страница 39: ...hat performs A D conversion to I O port A D0 control register 2 address 394h b2 b1 1 0 AN00 to AN07 1 1 AN20 to AN27 Also when the P0 group and P2 group are selected for A D input port P15 cannot be u...

Страница 40: ...f user system Yes IMPORTANT Notes 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...

Страница 41: ...tup REJ10J1005 0200 Rev 2 00 April 1 2007 2 Replacing an Oscillator Circuit Board Remove the four screws of both sides of this product and lift off the upper cover see Figure 2 15 Figure 2 15 Removing...

Страница 42: ...ator circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector Secure the new oscillator circuit board with the screw Figure 2 16 Replacing oscillato...

Страница 43: ...uitry 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 Figure 2 17 Externa...

Страница 44: ...mulator debugger and 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 w...

Страница 45: ...conversion bypass capacitor IMPORTANT Note on the A D Converter z Because a converter board and other devices are used between the evaluation MCU and the user system the A D converter operates differe...

Страница 46: ...CU file Cancel Help Specifying the MCU file Click the Refer button A file selection dialog box will be displayed so select the desired MCU file The MCU file is stored in the directory in which you ins...

Страница 47: ...ddress of the emulator at the IP address area Specify the IP address by one byte of decimal number separating each four bytes with a period Specify the port number at the Port area 4 Specifying the co...

Страница 48: ...T Notes on selection of whether or not to use the watchdog timer z If the check box Debug the program using the Watchdog Timer is selected while the user program remains idle the emulator is performin...

Страница 49: ...k Software breakpoint setting in the internal ROM area Execution of COME in the internal ROM area Executing the self check Cancel Help Enable this function when you want the emulator to be self checke...

Страница 50: ...y the compiler you are using Specifying the method for storing debug information There are two methods for storing debug information on memory method where data is held in memory and an on demand meth...

Страница 51: ...nerated Clock created in PC7501 The option you have specified here remains effective the next time you start up Selecting the event output trigger input cable Select input output of the event output t...

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

Страница 53: ...ansion mode the level of pin CNVSS of the MCU status should be L The MCU status shows the pin level of the user system z When setting microprocessor mode the level of pin CNVSS of the MCU status shoul...

Страница 54: ...atching the specified processor mode z Check that the RDY and HOLD are H level If they are L level as the MCU enters a wait status and the emulator debugger cannot receive the signal from the MCU an e...

Страница 55: ...correctly though it can be displayed z The below bank addresses cannot be set for the debug monitor 1 MCU internal resources ROM RAM and SFR areas 2 Multiplex areas 3 Interrupt vector area Monitor The...

Страница 56: ...ernal area external resource on user system IMPORTANT Notes on Using Emulation Memory for Expansion z When single chip mode or memory expansion mode is set as a processor mode internal ROM area is aut...

Страница 57: ...ash ROM is listed in block units 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 Any bl...

Страница 58: ...he content of the source file corresponding to the current position of the program counter It automatically opens when the emulator starts up The program counter position is identified by the yellow b...

Страница 59: ...fter the user program has stopped RESET Resets the program GO Executes the program from the current PC position STEP Single steps the program stepping subroutines OVER Single steps the program skippin...

Страница 60: ...h break causes the program to stop before executing the address at which a breakpoint is set Software breakpoint B A software breakpoint can be set or cleared by double clicking the breakpoint display...

Страница 61: ...il 1 2007 4 Executing up to the cursor position Come command 1 Specifying the Come command Setup procedure for executing COME 2 After the Come command has finished command 1 Click the line in the prog...

Страница 62: ...Break Point Setting Window in initial state 3 Opening the break event setting dialog box H W breakpoint Setting Window in initial state Select the Enable H W Break check box and this break function w...

Страница 63: ...ect the event type you want to set FETCH Detects an instruction prefetch DATA ACCESS Detects a memory access BIT SYMBOL Detects a bit access INTERRUPT Detects an interrupt occurrence or interrupt term...

Страница 64: ...or 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 eight conditions e g a specified data a specified data r...

Страница 65: ...OV W R0 519h R0 0203h A1 A2 Address 1 000519 Address 1 00051A Data 1 0300 Data 1 0002 MASK FF00 MASK 00FF Odd address high order data effective Access WRITE Access WRITE Even address low order data ef...

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

Страница 67: ...paths Disassemble data access mixed mode The executed instruction and the content of the accessed data can be inspected together Contents are displayed in order of the execution paths Disassemble mode...

Страница 68: ...RB Read bytes WB Write bytes DRB Read bytes by DMA DWB Write bytes by DMA RW Read words WW Write words Source display DRW Read words by DMA DWW Write words by DMA R W Shows the status of the data bus...

Страница 69: ...00 April 1 2007 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 measurement Re...

Страница 70: ...up dialog box 2 Trace Point Setting Window in initial state Trace Point Clicking this toolbar button opens the trace point setting window Trace Point Setting Window in initial state Be sure to enable...

Страница 71: ...f instruction execution after a trace began is recorded Setting the trace write condition You can specify a condition for the cycles to be written into the trace memory Total All cycles are written in...

Страница 72: ...ndow Opening the RAM monitor window RAM monitor window This window shows changes of memory contents while the user program is executed This is accomplished by using the real time RAM monitor function...

Страница 73: ...1 Opening RAM monitor area setting window 2 RAM monitor area setting window in initial state Base RAM Monitor Area Setting Window in initial state By default the monitor area is set to 000400h throug...

Страница 74: ...ecifying 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 Changing t...

Страница 75: ...PB Item Description Applicable MCU M32C 80 84 85 86 and 8A Groups Applicable MCU mode Single chip mode memory expansion mode microprocessor mode Maxi ROM RAM capacity 1 Internal flash ROM 512 KB 4KB 0...

Страница 76: ...Product When the Voltage of VCC1 is Higher than That of VCC2 z If using this product when the voltage of VCC1 is higher than that of VCC2 set the JP1 of the M30850T2 EPBM to VCC1 2 For the switch JP1...

Страница 77: ...er board and other devices are used between the evaluation MCU and the user system some characteristics are slightly different from those of an actual MCU 7 Port P15 As one of I O ports P15 is connect...

Страница 78: ...gging is being performed a peripheral I O interruption is not accepted Notes on Access Prohibited Area z The emulator control register 000020h 00003Fh in the SFR is read and write protected When this...

Страница 79: ...r s control system are omitted Table 4 2 shows IC electric characteristics of this product for reference purposes Figure 4 1 Connection diagram 1 2 AVcc Vref AVss P85 NMI CNVss BYTE P55 RDY P57 HOLD C...

Страница 80: ...IC7 1 4 8 11 13 5 6 12 QA QB QC QD XA XB XC XD CA CB CC CD 2 3 9 10 1 4 8 11 13 5 6 12 QA 2 3 9 10 QB QC QD XA XB XC XD CA CB CC CD IC6 1 4 8 11 13 5 6 12 IC10 QA QB QC QD XA XB XC XD CA CB CC CD IC9...

Страница 81: ...External Dimensions of the Emulation Probe Figure 4 3 shows external dimensions of the M30850T2 EPB connected with the M30800T PTC and LCC socket PCA7501EPBA REV A MADE IN JAPAN 85 0 60 0 30 0 16 3 15...

Страница 82: ...n LCC Unit mm Figure 4 4 External dimensions of the M30800T PTC 4 4 3 External Dimensions of the M3T F160 100NRB Figure 4 5 shows external dimensions of the converter board M3T F160 100NRB for a 100 p...

Страница 83: ...nsions of the converter board M3T F160 100NSD for a 100 pin LQFP PLQP0100KB A Unit mm Figure 4 6 External dimensions of the M3T F160 100NSD 4 4 5 External Dimensions of the M3T FLX 144NSD Figure 4 7 s...

Страница 84: ...form the self check while not connecting the user system Note on Quitting the Emulator Debugger z To restart the emulator debugger after it ends always shut power to the emulator module off once and t...

Страница 85: ...z When you use the CPU clock at less than 1 MHz contact your local distributor Notes on Address Match Interrupt z Do not single step an address where an address match interrupt occurs z When using an...

Страница 86: ...e H z When the user system is not connected all modes are available 3 Emulation Memory Allocation z The memory mounted in the PC7501 can be allocated out z When single chip mode or memory expansion mo...

Страница 87: ...ing a hardware breakpoint 4 Executing COME z When CPU rewrite program is allocated to the expansion emulation memory the program may run out of control For the CPU rewrite program use an internal RAM...

Страница 88: ...the user program itself changes from single chip mode to memory expansion mode Take due consideration on this phenomenon in the following cases 1 Immediately before executing the program after setting...

Страница 89: ...the switch SW5 refer to 2 10 1 Setting Switches of Emulation Probe page 38 z When setting the register below to use multi port sweep mode you need to set the direction register of port P15 for a pin...

Страница 90: ...pply cable See 2 5 Connecting the Power Supply for the Emulator page 23 2 Check that the power is properly supplied to the user system See 2 6 Turning ON the Power page 24 Init dialog box of emulator...

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

Страница 92: ...level Target MCU cannot be reset 1 Check pin NMI is held high 2 If in memory expansion mode or microprocessor mode check pins RDY and HOLD are held high 3 If the reset circuit of the user system has...

Страница 93: ...U 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 3 Check pin NMI is held high 4 If in...

Страница 94: ...r local distributor http tool support renesas com eng toolnews registration support txt For prompt response please specify the following information 1 Operating environment Operating voltage V Operati...

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

Страница 96: ...or 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 z When...

Страница 97: ...al Publication Date Apr 01 2007 Rev 2 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2007 Renesas Techn...

Страница 98: ...M30850T2 EPB User s Manual...

Отзывы: