background image

M34286T2-CPE User’s Manual

   

3. Usage (How to Use the Emulator Debugger) 

R20UT0214EJ0200    Rev.2.00 

 

 Page 44 of 70 

Sep 16, 2010 

 

(4) Executing up to the cursor position (Come command) 

1) Specifying the Come command 

 

Setup procedure for executing the COME 
command

 

The Come command allows you to execute the 
program up to the cursor position. 
 
The setup procedure is described below. 
 
(1)  Click the line in the program display area at 

which you want the program to break. 

(2)  Click the Come button.

 

 

 

2) After the Come command has finished 

 

 

 

Summary of Contents for M34286T2-CPE

Page 1: ...t the time of publication and is subject to change by Renesas Electronics Corporation without notice Please review the latest information published by Renesas Electronics Corporation through various m...

Page 2: ...t for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas...

Page 3: ...red by the European Union s Waste Electrical and Electronic Equipment WEEE Directive 2002 96 EC As a result this equipment including all accessories must not be disposed of as household waste but thro...

Page 4: ...luded with the M34286T2 CPE refer to each product s online manual z Emulator debugger M3T PD72M z Assembler ASM72 All the components of this product are shown in 1 1 Package Components page 14 If ther...

Page 5: ...u have finished developing be sure to make a judgment on your own risk that it can be put to practical use by performing integration test evaluation or some experiment else 2 In no event shall Renesas...

Page 6: ...tantly making efforts to improve the design and performance of this emulator Therefore the specification or design of this emulator or its user s manual may be changed without prior notice About the r...

Page 7: ...ions described here WARNING WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION CAUTION indicates a potentially dangerous situation th...

Page 8: ...at a reliable ground connection is maintained 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...

Page 9: ...the target MCU connector pins directly Static electricity may damage the internal circuits Do not pull this emulator by the communications interface cable or the flexible cable for connecting the user...

Page 10: ...itial setting of the emulator 22 2 3 2 Selecting Clock Supply 24 2 4 Connecting the External Trace Trigger Cable 26 2 5 Watchdog Timer Initialization Cycle Check Pin 28 2 6 Connecting the Power Supply...

Page 11: ...get MCU Specifications 52 4 2 Differences between the Actual MCU and Emulator 53 4 3 Connection Diagram 56 4 4 External Dimensions 58 4 4 1 External Dimensions of the Compact Emulator 58 4 5 Notes on...

Page 12: ...mulation probe rewrite an emulator name and serial number in the text file you filled in earlier to register your new hardware products Your registered information is used for only after sale services...

Page 13: ...the host machine through a USB interface Firmware This means a program stored in the flash ROM of the emulator It analyzes contents of communication with the emulator debugger and controls the emulato...

Page 14: ...mulator 1 Power supply cable Power supply cable for compact emulator 1 M34286T2 CPE User s Manual This manual 1 M34286T2 CPE User s Manual Japanese 1 M34286T2 CPE Release Notes English Japanese 1 1 CD...

Page 15: ...nterface cable included This is an interface cable for the host machine and the emulator 3 Power supply for emulator This is a power supply for the emulator Supply 5 0 V 5 DC Prepare a power supply se...

Page 16: ...1 Orange OFF Power is not supplied to the emulator ON Emulator system has started normally SAFE LED2 Green OFF Emulator system has not started normally 2 Target Status LEDs The target status LEDs indi...

Page 17: ...for a command from the emulator debugger IMPORTANT Notes on a System Reset After pressing the system reset switch restart the emulator debugger M3T PD72M Otherwise the display of the emulator debugge...

Page 18: ...ace mode Before Break mode Records 32768 cycles before program stops Before Trace mode Records 32768 cycles before event on About Trace mode Records 32768 cycles before after event on After Trace mode...

Page 19: ...dew Table 1 8 Operating environment of host machine Item Description Host machine IBM PC AT compatibles with USB1 1 OS Windows XP Windows 2000 1 CPU Pentium II 233 MHz or more recommended Memory 128 M...

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

Page 21: ...election dialog box select the components you want to install In this dialog box you can change the directory in which to install 4 Completing the installation A dialog box will be displayed indicatin...

Page 22: ...dition J3 10 11 1 20 S W 1 M A D E C O M P A C T E M U LA TO R 2 SAFE POWER POWER CLOCK RESET RUN M34286T2 CPE STATUS SYSTEM STATUS TARGET MADE IN JAPAN COMPACT EMULATOR POWER 5 0V USB Figure 2 2 Swit...

Page 23: ...th a resistance of 150 k OFF side Does not pull down the D1 port SW7 SW7 ON OFF D2 ON side Pulls down the D2 port with a resistance of 150 k OFF side Does not pull down the D2 port SW6 SW6 ON OFF D3 O...

Page 24: ...SW 1 M A DE PO W ER CO M PAC T EM U LATO R INT JP1 5 0V JP2 3 3V EXT CLO CK RESET RUN LED3 LED6 LED 5 LED 4 PO W ER SAFE LED2 LED1 SA FE PO W ER POWE R CLOC K RESE T RU N M34286T2 CPE S T A T U S SY S...

Page 25: ...llator circuit board Figure 2 4 shows an external view of the OSC 2 oscillator circuit board bare board and where connector pins are located Figure 2 5 shows the circuitry of the OSC 2 oscillator circ...

Page 26: ...J4 of the emulator J3 10 11 1 20 I C 22 SW 1 M A DE PA CT EM ULA TO R SAF E PO W ER PO W ER CLO C K RESE T RU N S T A T U S S Y S T E M S T A T U S T AR GE T M ADE I N J APAN CO M PAC T E M U LA T O...

Page 27: ...ger input is latched in the timing shown in Figure 2 9 Table 2 2 Voltage input characteristics of external trace input and external trigger input Item Symbol Minimum Maximum Input voltage VIN 0 V 5 5...

Page 28: ...86T2 CPE Figure 2 10 Location of the check pin IMPORTANT Note on the Watchdog Timer Function With this emulator system the watchdog timer function cannot be invalidated If an MCU reset occurs by the w...

Page 29: ...one shown in Figure 2 11 is output when executing the WRST instruction that initializes the watchdog timer By observing a period in which the check pin WRST goes high you can know when the watchdog ti...

Page 30: ...ication of power supply of the emulator Power supply voltage DC 5 0 V 5 2 A 4 75mm 1 7mm Inside diameter Figure 2 12 Specification of the power connector Figure 2 13 Specification of an applicable plu...

Page 31: ...OFF the Power Turn ON OFF the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal cir...

Page 32: ...at the LED1 and LED2 of the system status LEDs is lit immediately after the power is activated If it is not lit shut off the emulator and check the power supply for the emulator is properly connected...

Page 33: ...does not light Figure 2 16 LED display when the emulator starts up normally user system not connected POWER RESET CLOCK RUN LED3 LED5 LED4 LED6 When the user system connected If the POWER LED does no...

Page 34: ...e user system must not be connected when you download the firmware 1 Connect the USB interface cable to the emulator and host machine 2 Within 2 seconds of activating power to the emulator press the s...

Page 35: ...k terminated normally RESET 1 Within 2 seconds of activating power press the reset switch 2 Check that the SAFE LED starts blinking then press the system reset switch again 3 Target status LEDs start...

Page 36: ...d Contact your local distributor A clock is not supplied to the emulator Check that the oscillator circuit board OSC 2 is attached Check that the oscillator on the oscillator circuit board OSC 2 or th...

Page 37: ...conductor standard pitch cable 1 FFC 20BSM1 2 Connect to 2 54mm pitch 20 pole dual in line pins 1 This item is included with this product 2 Not included Prepare it separately FFC 20BSM1 is made by Hon...

Page 38: ...LA TO R P OWER 5 0 V Don t Use U SB M34286T2 CPE 20 2 54 2 54 Unit mm J3 10 11 1 20 20 conductor standard pitch cable Figure 2 20 Connecting to 2 54mm pitch 20 pole dual in line pins Table 2 5 Connec...

Page 39: ...ute a script command when starting up the debugger click the Refer button and specify the script file to be executed Clicking the Refer button brings up a file selection dialog box The script file you...

Page 40: ...ged from f XIN 8 to f XIN 1 by the CCK instruction CCK2 or Default System clock will be changed from f XIN 8 to f XIN 2 by the CCK2 instruction CCK4 or Default System clock will be changed from f XIN...

Page 41: ...or position set or clear software breakpoints and line assemble the source file The ROM area at the emulator startup time is initialized to 000h NOP instruction 2 Downloading the program Menu Menu ite...

Page 42: ...rogram from the current PC position STEP Single steps the program stepping through instructions OVER Single steps the program skipping over subroutines RETURN Executes the program up to the high order...

Page 43: ...de BM H W Hardware break mode Software breakpoint A software breakpoint can be set or cleared by double clicking the breakpoint display area If the breakpoint you set is a software breakpoint the prog...

Page 44: ...on Come command 1 Specifying the Come command Setup procedure for executing the COME command The Come command allows you to execute the program up to the cursor position The setup procedure is describ...

Page 45: ...e breakpoint setup dialog box You can use a combination of address event A1 or A2 and T external trigger event as a hardware break event Setting an address event Click A1 or A2 to select the address e...

Page 46: ...hed Stack Overflow The program breaks when the stack overflows or underflows Trace Event The program breaks when a trace event is met Trace Full The program breaks when it finished writing to the trac...

Page 47: ...BUS Bus information per cycle can be inspected The contents are displayed in order of execution paths Disassemble mode DIS The execution paths of the executed instructions can be inspected The content...

Page 48: ...e following explains the displayed contents from left to right Address Shows the status of the address bus Data Shows the status of the data bus Skip When marked by 1 it means a skipped instruction So...

Page 49: ...ombination of address event A1 or A2 and external trigger event T as a trace event Setting an address event Click A1 or A2 to select the address event you want to set Setting an external trigger event...

Page 50: ...re a trace point condition was met is recorded About Trace 32K cycles of instruction execution before and after a trace point condition was met is recorded After Trace 32K cycles of instruction execut...

Page 51: ...om when a trace event is met to when the measurement end point passed 5 From Trace Event to Break From when a trace event is met to when execution of the program finished 6 From MP Start to MP End Fro...

Page 52: ...mulator Power supply voltage of user system 3 0 V 5 Supplied from emulator only cannot be supplied from a user system Divided by 8 mode Divided by 4 mode Divided by 2 mode 4 0 MHz Max operating freque...

Page 53: ...mulator system cannot emulate operation at a power on reset Therefore check the operation at a power on reset using an actual MCU 4 Internal pull down transistor control Because an emulation circuit e...

Page 54: ...reak do not occur in the program While a user program is stopped the WRST instruction is always executed in order not to cause a reset by the watchdog timer Notes on Port I O Timings Port input timing...

Page 55: ...gister Operation Table below lists the registers that can be operated from the M3T PD72M The Yes in the table means that the register can be operated the No means that the register can not be operated...

Page 56: ...his connection diagram mainly shows the interface section The circuits not connected to the user system such as the emulator s control system are omitted The signals not shown in Figure 4 2 connect th...

Page 57: ...VCE sat Output saturated voltage VIN VIL IOUT 350mA 2 0 A Table 4 5 Electrical characteristics of the 74LCX541 Standard values Signal Item Condition Min Standard Max Unit VIH H input voltage Vcc 2 7 3...

Page 58: ...V DD 2 GN D T P 2 WR S T P O F L E D 1 J 3 1 0 1 1 1 2 0 J4 I C 2 2 SW1 MADE P OW ER COMPACT EMU LAT OR INT JP1 5 0V JP2 3 3V EXT C L OC K R E S E T R U N L E D 3 L E D 6 LE D 5 LED 4 P OW ER S A F E...

Page 59: ...This emulator cannot supply the power to the user system Therefore design your system so that the user system is powered separately The voltage of the user system should be as follows 3 0 V 5 Do not c...

Page 60: ...ion When Skipping Instructions In cases when the next instruction is skipped by a skip instruction if a break operation hardware software or forcible break in the skipped instruction is attempted no b...

Page 61: ...omepage http www renesas com tools Turning on emulator Check LEDs of emulator See 5 2 1 When the LEDs of the M34286T2 CPE Do Not Display Normally page 62 Init dialog box of emulator debugger displayed...

Page 62: ...ystem and that the user system is properly grounded Disconnected The emulator system is working properly Target Status POWER LED does not light up when the user system is disconnected The emulator sys...

Page 63: ...rly See 2 7 Connecting the Host Machine page 31 USB device driver has been installed before the emulator debugger start up See 2 2 2 Installing the USB Device Driver page 21 Not compact emulator Check...

Page 64: ...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 Operating voltage V...

Page 65: ...iod remove the power supply the host machine and the user system 6 3 Guarantee If your product becomes faulty within one year after its purchase while being used under good conditions by observing IMP...

Page 66: ...less expensive than repair Unlocatable or unidentified faults Expiration of the repair period When a period of one year elapses after the model was dropped from production repairing products of the mo...

Page 67: ......

Page 68: ...M34286T2 CPE User s Manual Publication Date Sep 16 2010 Rev 2 00 Published by Renesas Electronics Corporation Edited by Microcomputer Tool Development Department 2 Renesas Solutions Corp...

Page 69: ...Center No 1233 Lujiazui Ring Rd Pudong District Shanghai 200120 China Tel 86 21 5877 1818 Fax 86 21 6887 7858 7898 Renesas Electronics Hong Kong Limited Unit 1601 1613 16 F Tower 2 Grand Century Place...

Page 70: ...M34286T2 CPE User s Manual R20UT0214EJ0200 Previous Number REJ10J1784 0100...

Reviews: