Home

M34282T2-CPE User`s Manual

image

Contents

1. sse 25 2 5 2 Turning ON OFF the Power sssssessssssseseeeentene enne enne ener sinn ens 25 2 5 3 Power Supply to the User System sssssssssssssseee eene 25 2 5 4 LED Display When the Emulator Starts Up Normally 26 2 5 SelE Check iet E etd dart ete Do rada ect 28 2 6 1 Self check Procedure sse eese entren 28 2 6 2 If an Error is Detected in the 29 2 7 Connecting the User enhn enne 30 2 7 1 Connecting to 2 54 mm pitch 20 pole Dual in line 31 2 8 Changing Settings ameona re dad iere ba iier receta red Ras cule edd ED 32 2 8 1 Pull down Control Switches ssssssssssseseee eene nnns 32 2 8 2 Selecting a Clock Supplied to the MCU sse 33 2 9 Connecting the External Trace Trigger Cable sese 35 2 9 1 Connecting the External Trace Trigger Cable to the Emulator System 35 2 9 2 Connecting the External Trace Trigger Cable to the User System 35 2 9 3 Specifications of the External Trace Trigger 36 2 10 Watchdog Timer Initialization Cycle Che
2. 42 72 Chapter 3 Usage How to Use the Emulator Debugger 2 Program execution 1 Resetting the target program Hilt s j 9 J m sw nw sw RESET Resets the program 2 Executing the target program Hilt s j 9 J m GO Executes the program 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 subroutine 3 Stopping the target program STOP Stops the program 4 Program window screen after the target program has stopped PD72M Develop M34282T2 CPEX BinYsampleYS AMPLE HEXI File Edit View Environ Debug Option Window 31 s v J m E Proeram Window Sample a72 ym View SRC DIS Line BRK Source m 00021 B RAM CLR2 I 00022 00023 NOP 11 00024 j 00025 00026 I 00027 00028 Program window screen The program position at which the program has stopped is identified by the yellow background color nsr sw Hw BM 00 h 05 m 44 s 822 ms 800 us 900 ns 43 72 M34282T2 CPE User s Manual 3 Setting breakpoints 1 Screen after breakpoint setup PD72M IF Develop M3428272 CPL Dm Eile Yew Environ Rebus Opten Window Hep tjj
3. Figure 2 14 Connecting the external trace trigger cable 2 9 2 Connecting the External Trace Trigger Cable to the User System Connect the GND and EXT0 EXT3 of the external trace cable to the user system The pin assignments of the external trace cable are shown in Figure 2 15 Color of IC clip Purpose Black GND White External trigger input Yellow Yellow External trace input Yellow Yellow Figure 2 15 Specifications of the external trace cable 35 72 M34282T2 CPE User s Manual 2 9 3 Specifications of the External Trace Trigger Cable Voltage input characteristics of external trace input and external trigger input are as follows Table 2 6 Voltage input characteristics of external trace input and external trigger input Item Symbol Minimum Maximum Input voltage Vin 55 level input voltage Vin L level input voltage The external trace input is latched in the timing shown in Figure 2 16 and the external trigger input is latched in the timing shown in Figure 2 17 Instruction X NOP instruction X NOP instruction Cycle T2 T3 T4 T1 T2 r4 1r1I _ External trace input X X Figure 2 16 External trace input timing Instruction NOP instruction X NOP instruction Cycle Ti T2 T3 T4 Ti 2 eMe E m M E External trigger input X Figure 2 17 External trigge
4. page 60 Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU 4 72 Precautions for Safety Precautions for Safety Definitions of Signal Words In both the user s manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties This chapter describes the precautions which should be taken in order to use this product safely and properly Be sure to read this chapter before using this product A A DANGER A WARNING N CAUTION CAUTION IMPORTANT Example means PROHIBITION Example Example In addition to the five above the following are also used as appropriate Z means WARNING or CAUTION CAUTION AGAINST AN ELECTRIC SHOCK pisassemey PROHIBITED means A FORCIBLE ACTION UNPLUG THE POWER CABLE FROM THE RECEPTACLE This symbol represents a warning about safety It is used to arouse caution about a potential danger that will possibly inflict an injury on persons To avoid a possible injury or death please be sure to observe the safety message that follows this symbol DANGER indicates 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 prod
5. LED4 RESET EM LED5 RUN m LED6 Figure 2 6 LED display when the emulator starts up normally user system not connected on EB 26 72 Chapter 2 Setup When the user system connected LED3 If the POWER LED does not light shut off the system and check that the power CLOCK i LED4 is properly supplied to the user system RESET MB LEDs RUN EDs Figure 2 7 LED display when the emulator starts up normally user system connected 27 72 M34282T2 CPE User s Manual 2 6 Self check 2 6 1 Self check Procedure To run the self check of the emulator do so as explained here below While the self check is in progress the LEDs will change as shown in Figure 2 8 1 If the user system is connected disconnect it 2 Set the switches as the factory settings to execute the self check see Table 2 2 3 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator front panel 4 Check the SAFE LED starts flashing and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 20 seconds the self check terminated normally Table 2 2 Switch settings for the self check Switch Pull down control switches SW1 7 POWER CLOCK RESET RUN POWER SAFE o o 1 Within 2 seconds of activating power E m m o press the reset switch LED3 LED4 LED5 LED6 LE
6. To get reference information about user registration please visit the Web site shown below Renesas Tools Homepage http Awww renesas com en tools Inquiries regist_tool renesas com 9 72 M34282T2 CPE User s Manual Terminology Some specific words used in this user s manual are defined as follows Emulator M34282T2 CPE This means the compact emulator M34282T2 CPE this product for the 4282 and 4283 Groups Emulator system This means an emulator system built around the M34282T2 CPE emulator The M34282T2 CPE emulator system is configured with the emulator M34282T2 CPE emulator debugger M3T PD72M and host machine Emulator debugger M3T PD72M This means a software tool to control the emulator from 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 emulator This program is downloadable from the emulator debugger to upgrade firmware Host machine This means a personal computer used to control the emulator Target MCU This means the microcomputer you are going to debug User system This means a user s application system using the microcomputer to be debugged User program This means a user s application program to be debugged Evaluation MCU This means a microcomputer mounted on the emulator which is operated in the special m
7. CT Click Al or A2 to select the address event you ind C A1 C A2 CT None want to set o Break Mode Iv Break Point Stack Overflow 5 Setting an external trigger event Trace Event i Count 2 65535 You can set edges or pass counts of external m css ind TIME 10us 00002 trigger event High Positive edge Low Negative edge 3 Address event setup dialog box Break Point A1 Setting an address event 7 Here you can select one of three conditions Point Select Type Point Range In Range Out at specified address Range In in specified address range or Range Out outside specified Point 0000 address range You also can set a pass count Pass 00001 When you finished setting up click the OK button Cancel 46 72 4 Setting combinatorial conditions Chapter 3 Usage How to Use the Emulator Debugger H W Break Cancel Address Event Se A2 Trigger Event High Low Pass 00001 Break Mode Break Point Stack Overflow Trace Event Trace Full Now Address Event Status ddress el AT 0000 MAIN A2 0000 MAIN Combination Type And C Or ist A1 2nd CAT 3rd c C Sequential s CT None c NotUse Count 2 65535 TIME 10us 00002 Setting combinatorial conditions Select a combinatorial condition for Al A2 and T One of
8. OSC 2 33 72 M34282T2 CPE User s Manual 2 Replacing Oscillator Circuit Boards Figure 2 13 shows how to replace oscillator circuit boards a a gt z Oscillator circuit board 5 0V RENESAS The location of the oscillator circuit board is shown left 9 Unscrew the screw securing the oscillator circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector of the emulator Secure the new oscillator circuit board with the screw Figure 2 13 Replacing oscillator circuit boards N CAUTION Note on Replacing the Oscillator Circuit Board When removing the upper cover or replacing the oscillator circuit boards be sure to shut OFF the power supply Otherwise the internal circuit may cause a break 34 72 Chapter 2 Setup 2 9 Connecting the External Trace Trigger Cable This cable allows you to record or inspect the changes of external signal levels by means of externally triggered hardware breaks or in the trace window 2 9 1 Connecting the External Trace Trigger Cable to the Emulator System Connect the external trace trigger cable to the J4 connector of the emulator User system Connect the external trace cable to J4 connector asn uog e POWER USB 5 0V ox RENESAS J3 MADE IN JAPAN M34282T2 CPE STATUS COMPACT EMULATOR SAFE CLABES M34282T2 CPEB REV
9. amp Remedy The emulator system does not work properly Check that power is supplied 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 2 is attached Check that the oscillator on the oscillator circuit board OSC 2 or the oscillation module is oscillating properly The MCU cannot be controlled Check that the MCU is properly attached Check that the oscillation frequency of the oscillator circuit board is within the specified range Other The emulator system is not working properly id The emulator may be damaged Contact your local distributor 65 72 M34282T2 CPE User s Manual 2 When the Init Dialog Box is Not Displayed Table 5 2 Checkpoints of errors when starting up the emulator debugger Error Checkpoint Communication error occurred Check the target status LED display If the LED is blinking the Data was not sent to the target emulator did not start up normally See 5 1 1 When the LED Display of Emulator is Abnormal page 65 Check that the USB cable is connected properly See 2 4 Connecting the Host Machine page 25 Not compact emulator Check that an emulator other than the compact emulator such as PC4701 PC7501 is not connected 5 2 How to Request for Support After checking the items in Ch
10. E WE ic99 al ef z iE PR u F4 SN 5 2v E z 22 EE E wo a a m L4 7 L4 i M34282T2 CPEB REV Figure 2 10 Pin arrangement of the 20 conductor standard pitch cable N CAUTION Note on Connecting the User System o Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator 31 72 M34282T2 CPE User s Manual 2 8 Changing Settings 2 8 1 Pull down Control Switches With this product pull down control of G0 G3 D4 D7 and EO by the pull down control resistors PUO and PUI is not available Use the pull down control switches SW1 SW7 to select the function pull down control or not Factory setting Description ON side OFF side Pulls down the GO G1 port with a Does not pull down the 0 resistance of 150 kQ port ON side OFF side Pulls down G2 G3 port with a Does not pull down the G2 G3 resistance of 150 kQ port ON side OFF side Pulls down the D4 port Does not pull down the D4 port resistance of 150 kQ ON side OFF side Pulls down the D5 Does not pull down the D5 port resistance of 150 kQ ON side OFF side Pulls down the D6 port Does not pull down the D6 port resistance of 150 kQ ON side OFF side Pulls down the D7 port Does not pull down the D7 port resistance of 150 kQ ON
11. debugger and how to use the main windows 3 1 Launching the Emulator Debugger Init Dialog sess 40 3 2 EET 42 3 3 Hardware Aa eA 46 3 4 TRACES WA OW EE 48 3 5 Time Measurements opo e OU Ur tte o eR Ero ate atu E ee datae 52 39 72 M34282T2 CPE User s Manual 3 1 Launching the Emulator Debugger Init Dialog To launch the emulator debugger click the Start menu of Windows and then select Programs gt gt RENESAS TOOLS gt gt PD72M V xx xx Release x gt gt PD72M When the emulator debugger started up the Init dialog box appears After starting up the emulator debugger the Init dialog box appears 1 Filling in the Init dialog box 1 Make settings described below and then press the OK button 1 Automatic execution of script commands Automatic execution of script commands To automatically execute script commands at the debugger startup time click the Refer button and specify the script file you want to execute Init File Clicking the Refer button brings up a dialog box in which you can select a file The scrip file you specified is displayed in the Init File text box If you do not want to automatically execute script TAB 1 32 B Font AutoDownLoad Cancel Font FixedSys Size 11 iv Resume Next Hide commands delete the
12. laja mJ Procram Window Sample 7 ea Break mode select button Breakpoint setup screen There are two types of breakpoints as described below View DIS ERK Source 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 program stops after executing the instruction at the set breakpoint Up to eight software breakpoints can be used in a program 1005 0 0 Break mode display area Breakpoint display area Fest DOR m tt 822 8 0 CEDE xr Hardware breakpoint For hardware breakpoints you can select break conditions in the hardware breakpoint setup window Up to two hardware breakpoints can be used in a program The break conditions set can include an address range or an external trigger as the cause of break Either type of breakpoint needs to be used depending on break mode Break modes are switched over by the break mode select button The current break mode is shown in the break mode display area BM S W Software break mode BM H W Hardware break mode 44172 Chapter 3 Usage How to Use the Emulator Debugger 4 Executing up to the cursor position Come command 1 Screen after breakpoint setup n PD72M F Deve lop M34282T2 CPE Bin sample S AMPLE HEX DEK Setup procedure for executing
13. side OFF side Pulls down the EO Does not pull down the EO port resistance of 150 kQ Table 2 5 Pull down control switch settings N CAUTION Note on Switch Settings Always shut OFF the emulator before changing switch settings and connecting the cable etc Otherwise the internal circuit may cause a break 32 72 Chapter 2 Setup 2 8 2 Selecting a Clock Supplied to the MCU This product uses the internal oscillator circuit as a clock supply to the MCU How to change the oscillator circuit in the emulator is described below 1 Types of Oscillator Circuit Boards To use this product at a frequency of your setting build the desired oscillator circuit on the included OSC 2 oscillator circuit board bare board and replace the board installed in this product when shipped from the factory Figure 2 11 shows an external view of the OSC 2 oscillator circuit board bare board and where connector pins are located Figure 2 12 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator manufacturer 1 C1 4 J1 4 GND arm 41 3 Oscillator output J1 2 GND T I s J1 1 VCC nr X 1 5 08 mm pitch 2 pin oscillator X2 2 54 mm pitch 2 pin oscillator IC1 Inverter Unbuffer X3 2 54 mm pitch 3 pin oscillator Figure 2 12 Circuit of the oscillator circuit board
14. tee tette alate de etre eet 54 4 2 Differences between the Actual MCU and 55 4 3 Connection Diagram coectetuer 57 4 4 External Dimerisloris oiii pe deett eti 59 4 4 1 External Dimensions of the Compact Emulator sse enne 59 4 5 Notes orn Using This ProdUct ii niii REC Rete tede tie Hie edt 60 53 72 M34282T2 CPE User s Manual 4 1 Target MCU Specifications Table 4 1 lists the specifications of target MCUs which can be debugged with this product Table 4 1 Specifications of target MCUs for M34282T2 CPE Functions Specifications Applicable MCU 720 Series 4282 and 4283 Groups Evaluation MCU M34282E2GP Power supply voltage of user system 3 0 10 Supplied from emulator only cannot be supplied from a user system Max operating frequency 3 0 V STCK f XIN 8 4 0 MHz STCK f XIN 500 kHz Clock supply Main clock Xm Clock mounted on emulator 4 MHz preinstalled replaceable Port emulation Pin Output type Direction Device D0 D3 P channel open drain Output D4 D7 The pull down function Output TD62787 P ch G0 G3 of G0 G3 E0 D4 D7 is I O Input 74LCX541 featured by the external El switches Input 74HC4066 E2 Input Outp
15. the following three combinatorial conditions can be selected AND All of the specified conditions are met OR One of the specified conditions is met The specified conditions are met sequentially in a specified order Sequential 5 Setting break conditions H W Break Cancel Address Event set 1 Trigger Event High Low Pass 00001 Break Mode iv Break Point Stack Overflow Trace Event T Trace Full Now Address Event Status Address el AT 0000 MAIN A2 0000 MAIN Combination Type 2 C A2 C Sequential CT None f c NotUse 6 Setting up the timer TIME 10us Count 2 65535 00002 Break condition setup area The following four break conditions can be set You can set two or more break conditions at the same time Break Point The program breaks when a breakpoint is reached The program breaks when the stack overflows or underflows The program breaks when a trace event is met The program breaks when it finished writing to the trace memory Stack Overflow Trace Event Trace Full H W Break Cancel Address Event set 1 Trigger Event High Low Pass 00001 Break Mode Break Point Stack Overflow Trace Event T Trace Full Now Address Event Status ress Label A1 MAIN A2 0000 MAIN Combination Type And Or CAI pr
16. 10 s Pane eee Vcc 4 5V Ior 8mA 0 44 58 72 Chapter 4 Hardware Specifications 4 4 External Dimensions 4 4 1 External Dimensions of the Compact Emulator Figure 4 3 shows external dimensions of the emulator POWER USB 5 0V 43 lt 0 v 1f M34282T2 CPEB REV Figure 4 3 Compact emulator external dimensions 59 72 M34282T2 CPE User s Manual 4 5 Notes on Using This Product Notes on using this product are shown below Be sure to read these notes before using this product IMPORTANT Notes on the Self check If the self check does not result normally excluding user system errors the emulator may be damaged Then contact your local distributor Run the self check with the user system not connected Note on Quitting the Emulator Debugger To restart the emulator debugger always shut power to the emulator module off once and then on again Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU Notes on the User System Power Supply Order of Powering On This emulator cannot supply the power to the user system Therefore design your system so that the user system 1s powered separately The voltage of the user system should be as follows 3 0 10 Do not c
17. 2787 o ANN D0 D7 TIT D0 D7 G0 G3 D gt gt G0 G3 E0 PoR E0 74LCX541 Evaluation MCU lt NC XIN OE NC XOUT Oscillator circuit NC XOUT E1 E2 i 1 2 board XIN 174HC4066 OSC 2 esee vss CARR gt CARR 74VHCO08 vss 717 777 Figure 4 2 Connection diagram of the M34282T2 CPE Table 4 2 Electrical characteristics of the TD62787 Standard values Standard Max Output leakage current Vour 50V 100 Signal Item Condition Vu Iovr 100mA m Vck sat Output saturated voltage Vin Vi lour 0 Vis Vit Iour 350mA 2 0 Table 4 3 Electrical characteristics of the 74LCX541 Standard values Min Standard Max Condition H input voltage Vcc 2 7 3 6V L input voltage Vcc 2 7 3 6V 57 72 M34282T2 CPE User s Manual Table 4 4 Electrical characteristics of the 74HC4066 Condition Standard values Standard Max On resistance 4 5 96 On resistance difference 4 5 Leakage current when OFF Vcc 12 0V current ON Leakage OPEN Table 4 5 Electrical characteristics of the 74HC08 output Vcc 12 0V Signal Item Condition values Unit Min Standard Max Vou output voltage Vcc 2 0V 50 1 90 4 5 Ion 8mA 3 94 V s Vcc 2 0V Ior S0uA 0
18. A Connect the user system Connect the user system as occasion demands After checking the connection turn the power to the emulator When a user system is connected power on the user system too Turn on the power to the emulator and the user system as simultaneously as possible Turning on the power supply Check that the system status LED and POWER and RESET Check the LED display of the emulator of target status LED are lighting when the user system is connected the POWER LED does not light up Start up the emulator debugger Start up the emulator debugger M3T PD72M l When the INIT dialog box of the emulator debugger Set the operating environment M3T PD72M is displayed click OK button Then the INIT of the emulator debugger dialog box is displayed again and select the target MCU and click OK button The emulator debugger M3T PD72M has various debug functions For how to use the M3T PD72M refer to the M3T PD72M online manual Debug a program with various functions of the M3T PD72M Figure 2 1 Flowchart of setting up the emulator 22 72 Chapter 2 Setup 2 2 Installing the Emulator Debugger If the OS used in your host machine is Windows XP or 2000 this installation must be executed by a user with administrator rights Be aware that users without administrator rights cannot complete the installation 2 2 1 Installing the Emulator Debugger M3T PD72M Fro
19. D1 LED2 POWER CLOCK RESET RUN POWER SAFE 2 Check that the SAFE LED starts blinking mu BU ERE mS Te then press the system reset switch again LED3 LED4 LEDS LED6 LED1 LED2 Self check starts POWER CLOCK RESET RUN POWER SAFE Lg pir pug 3 Target status LEDs start blinking at random intervals TUR C See I br LED3 LED4 LEDS LED6 LED1 LED2 It takes about 10 seconds for the check at XIN 4MHz SAFE LED OFF SAFE LED Blinking SAFE LED status SAFE LED ON Normal Error POWER CLOCK RESET RUN POWER SAFE POWER CLOCK RESET RUN POWER SAFE I l 1 Ltt FEED bod og LER LED3 LED4 LEDS LED6 LED1 LED2 LED3 LED4 LED5 LED6 LED1 LED2 SAFE LED is turned OFF and one or more target status LEDs start blinking according to the error type Figure 2 8 LED display while executing the self check 28 72 Chapter 2 Setup 2 6 2 If an Error is Detected in the Self check Table 2 3 lists how to remedy the troubles if the target status LED display is abnormal in the self check When an error is detected shut off the emulator and the user system and follow the steps in the Table 2 3 Then reactivate the power of the emulator and the user system Table 2 3 Error display in the self check and how to remedy it LED display Problem amp Remedy The emulator system does not work
20. Low Negative edge 3 Address event setup dialog box Trace Point A1 T Setting an address event Here you can select one of three conditions Point Select Type Point Range In Range Out at specified address Range In in specified address range or Range Out outside specified Point 0000 address range You also can set a pass count Pass 00001 When you finished setting up click the OK button Cancel 50 72 4 Setting combinatorial conditions Chapter 3 Usage How to Use the Emulator Debugger Trace Point Address Event set 1 A2 Trigger Event High Low Pass 00001 Trace Range Before Break Before Trace About Trace After Trace Cancel Now Address Event Status Address Label Pass Al 0000 MAIN 00001 2 0000 MAIN 00001 Combination Or Ist 2 CT 2nd CA2 CT Srd c n Sequential None Timer Mode NotUse Count 2 65535 00002 Source TIME 10us T One of AND OR Sequential Setting combinatorial conditions Select a combinatorial condition for Al A2 and the following three combinatorial conditions can be selected All of the specified conditions are met One of the specified conditions is met The specified conditions are met sequentially in a specified order 5 Specifying a trace range Trace Point Cancel Address Ev
21. Remedy the Troubles Figure 5 1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up Check this while the user system is disconnected For the latest FAQs visit the Renesas Tools Homepage http www renesas com en tools Turning on power of emulator Not normal Check LEDs of emulator See 5 1 1 When the LED Display of Emulator is Normal I Abnorma Not normal error displayed Init dialog box of emulator debugger displayed 1st time 1 Check the settings of the emulator debugger see the user s manual of the emulator debugger 2 Reinstall the emulator debugger Normal Not normal error displayed Init dialog box of emulator debugger displayed 2nd time See 5 1 2 Init Dialog Box is Not Displayed Normal Program window of emulator debugger displayed Emulator started up Figure 5 1 Flowchart to remedy the troubles 64 72 Chapter 5 Troubleshooting 1 When the LED Display of Emulator is Abnormal Table 5 1 lists how to remedy the troubles if the target status LED display 1s abnormal in the self check When an error is detected shut off the emulator and the user system and follow the steps in the Table 5 1 Then reactivate the power of the emulator and the user system Table 5 1 Error display in the self check and how to remedy it LED display Problem
22. To our customers Old Company Name in Catalogs and Other Documents On April 1 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 2 NE S AS 8 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas Electronics does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document No license express implied or otherwise is g
23. apter 5 Troubleshooting fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor SUPPORT product name SUPPORT TXT For prompt response please specify the following information 1 Operating environment Operating voltage V Operating frequency _____ gt 2 Condition The emulator debugger starts up does not start up The error is detected not detected in the self check Frequency of errors always frequency 3 Problem 66 72 Chapter 6 Maintenance and Guarantee Chapter 6 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 6 1 User Regsialom eee ertet edo eee bt teg eit eR ee t e cud 68 0 2 Maintenance in d E RD E EUR ne kr Ee EE 68 6 3 G araMte E mehen E 68 6 4 Repair PIOVISIODS cce roc ER REY tian eaters EROR RAICES PAA ERREUR Tete ea eat a eee 68 6 5 How to Request for 69 67 72 M34282T2 CPE User s Manual 6 1 User Registration When you purchase our product be sure register as a user For user registration refer to User registration page 9 of this manual 6 2 Maintenance 1 If dust or dirt collects on any equipment of your emulation system wipe it off with a dry soft cloth Do not use
24. but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product 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 Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers office equipment communicati
25. c Sequential s CT None E c Timer Mode NotUse Source TIME 1Dus Count 2 65535 00002 Timer setup area The following four operation modes of the timer can be specified NotUse TimeOut The timer is not used The program breaks when a breakpoint is not reached within a specified time TimeCount The program breaks when a specified time has elapsed after it started running DelayCount The program breaks when a specified time has elapsed after a breakpoint is reached Furthermore one of the following two can be specified as the count source for the timer TIME 10us The passage of time is counted using the emulator s timer 10 ps fixed CYCLE MCU The passage of time is counted using machine cycles 47 72 M34282T2 CPE User s Manual 3 4 Trace Window 1 Trace window 1 Opening the trace window Opens the trace window EB Trace Window BHE Trace window BUS DIS SRC The trace window is used to show the results of D103 0000 Area Break File 0103 Address 0000 real time trace measurements It has the following Label Address Data Skip So 0123 three display modes MAIN 0000 007 00 0 CL ot j Bus mode BUS 0003 0 0 0 Bus information per cycle can be inspected The 0004 contents are displayed in order of execution paths Disassemble mode DIS The execution paths of the executed instructions can be in
26. ck 37 2 10 1 Check Pin WRST on the Emulator Main 37 2 10 2 Output Waveform of Check Pin 37 Chapter Usage How to Use the Emulator Debugger 39 3 1 Launching the Emulator Debugger Init 40 3 2 Program WIndOoW ertet ed 42 3 9 Hardware Breakpoints 55 1 Eie EPA UID ARR Ode erdt 46 3 4 Trace WiIndOwW iic rc i Td o aduer cu a doped ety in p 48 3 5 Time Measure MEn oe csc ie tinet dte irai terret net ete ru Dae tete ua take toe FRAIS 52 11 72 M34282T2 CPE User s Manual Chapter 4 Hardware Specifications essssssssssssseeses esee entente nensi tenens 53 4 1 Target MGU Specifications rette deer 54 4 2 Differences between the Actual MCU and Emulator s sse 55 4 3 Connection Diagram teste els eene ted ee PL a read de e ddr o de e PL 57 4 4 External Dirnensloris iie PR ERI Lo ir 59 4 4 1 External Dimensions of the Compact 59 4 5 Notes on Using This Product e eee e adea ebd 60 Chapter 5 Troubleshooting 63 5 1 Flowchart to Remedy the Troubles ssssssssssssses ener nnne enne 64 5 2 How to Request for Supp
27. content of the source file corresponding File Edit View Environ Debug Option Window Help Ed Prosram Window to the current position of the program counter It View SRC DIS automatically opens when the emulator starts up Address BRK Obi code The program counter position is identified by the 0000 yellow background color Here you can execute the program up to the cursor 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 of the program Menu item Function File Download Downloads the target program Load Module Downloads machine language data and debug information Memory Image Downloads only machine language data Symbol Downloads only debug information Reload Reloads the target program Upload Uploads the target program Saves the disassembled result PD72M F Develop M3428212 GPE Bin sample SAMPLE HEX Display after downloading the program The program window has the following two Sif m 9 5 display modes Proeram Window Sample a72 View SRC 018 Source display mode Line BRK Source Shows the source file of the target program 00001 00002 Disassemble display mode Shows the disassembled result of the target RANLCLRO program XM 0 RAM
28. d user system A CAUTION Note on Connecting the User System Gy Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulator 30 72 Chapter 2 Setup 2 7 1 Connecting to 2 54 mm pitch 20 pole Dual in line Pins Connect this product to 20 pole dual in line pins using the included 20 conductor standard pitch cable Table 2 4 lists the connector assignments of the 20 conductor standard pitch cable and Figure 2 10 shows the pin layout of the 20 conductor standard pitch cable Be careful not to connect the cable in a wrong direction because it may cause a fatal damage to the emulator and user system Table 2 4 Connector assignments of the 20 conductor standard pitch cable Connector pin Connector pin M in No ignal CU pin No Signa No MCU pin No Signal 1 1 VSS 20 20 VDD E2 19 El 18 a o4 XIN 17 Po 16 16 o ize 6 6 15 G0 14 _ O eee 08i 3 9 9 G2 12 12 D 6 G3 n n D7 VDD is connected for the emulator system to monitor power supply of the user system and the emulator system does not supply power to the user system Pins XIN and XOUT are not connected XIN is input from the oscillator board OSC 2 on the emulator and it is not input from an oscillator circuit on the user system To change a system clock frequency change the frequency of the oscillator board OSC 2 ear ro ld INL 2
29. e voltage of the user system after turning on the power 25 72 M34282T2 CPE User s Manual 2 5 4 LED Display When the Emulator Starts Up Normally After the emulator starts up check the status of the LEDs to see whether the emulator operation is enabled or not Figure 2 5 shows the positions of the emulator status LEDs AUS D esp x uog a e E i 1 9 5 0v RENESAS MADE IN JAPAN M34282T2 CPE OWER SYSTEM STATUS COMPACT EMULATOR AFE EX rou 4 M34282T2 CPEB REV A Target status LEDs System status LEDs Figure 2 5 Positions of the system status LEDs and target status LEDs 1 System status LEDs Check that the of the system status LEDs 15 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 2 Target status LEDs Target status LEDs light as shown in Figure 2 6 when the user system 1s not connected and as shown in Figure 2 7 when a user system is connected When the self check is terminated SAFE LED LED2 lights on and the target status LEDs display as shown in Figures 2 6 and 2 7 When the SAFE LED LED2 does not light up or the target status LEDs do not display as shown in Figures 2 6 and 2 7 refer to Chapter 5 Troubleshooting page 63 When the user system NOT connected The POWER LED does not light POWER LEDS3 CLOCK
30. eeceaeeeeaaeseceeeseeeesaeeeseneeeeeeeeaas 23 2 3 Connecting the Power Supply for Emulator ssssssssssseeseeeeee ener nnne nnne 24 2 4 Connecting the Host Machine trs 25 2 5 Turning ON the Power Supply enne 25 2 5 1 Checking Connections of the Emulator System ssssssssssssseeeeennetnns 25 2 5 2 Turning ON OFF the Power ssssssssseseseseeene nns tenen nennen 25 2 5 3 Power Supply to the User System ssssssssssssssssseeee ener nnne nnns 25 2 5 4 LED Display When the Emulator Starts Up Normally 26 2 5 Self chiGckes ec Dore 28 2 6 1 Self check Procedure let ek eu kii et tesi dee he 28 2 6 2 If an Error is Detected in the 5 29 2 7 Connecting the User 30 2 7 1 Connecting to 2 54 mm pitch 20 pole Dual in line Pins seeeeeeneee 31 2 9 Changing SeS sess tS toner edite tot tentato 32 2 8 1 Pull down Control enne nennen tentent inneren 32 2 8 2 Selecting a Clock Supplied to the 33 2 9 Connecting the External Trace T
31. ely Host machine interface USB USB 1 1 full speed mini B standard connector used 18 72 Chapter 1 Outline 1 4 Operating Environment When using thins emulator be sure to keep with the operating environmental of the emulator and host machine listed in Tables 1 7 and 1 8 Table 1 7 Operating environmental conditions Item Description Operating temperature 5 to 35 C no dew Stprage temperature 10 to 60 C no dew Table 1 8 Operating environment of host machine Item Description Host machine IBM PC AT compatibles with USB1 1 OS Windows Me Windows 98 Windows XP Windows 2000 CP Pointing device such as mouse Mouse or any other pointing device usable with the above OS that can be connected to the main body of the host machine Needed to install the emulator debugger or refer to the user s manual 19 72 M34282T2 CPE User s Manual MEMO 20 72 Chapter 2 Setup Chapter 2 Setup This chapter describes switch settings required for using this product and how to connect this product to the emulator and the user system 2 1 Stanno D p the Emulator cote hotte ein oo ie dieat ett ni nee 22 2 2 Installing the Emulator 222 23 2 2 1 Installing the Emulator Debugger 3 72 23 2 2 2 Installing the USB Device Driver cccccececeeeeeeeeeeeeeeeeeeeeaeeeeneeceee
32. ent set 1 A2 Trigger Event High Low Pass 00001 Trace Range Before Break Before Trace About Trace After Trace Now Address Event Status ddress Label Al 0000 MAIN A2 0000 MAIN Combination Type Sequential si CA2 CT Ol None Mode NotUse Count 2 65535 00002 Source 6 Setting up the timer After Trace Before Break Before Trace About Trace Specifying a trace range You can specify a trace range for the trace event Two or more choices can be set at the same time 32K cycles of instruction execution before the target program stopped is recorded 32K cycles of instruction execution before a trace point condition was met is recorded 32K cycles of instruction execution before and after a trace point condition was met is recorded 32K cycles of instruction execution after a trace point condition was met is recorded Trace Point Cancel Address Event set 1 A2 Trigger Event High Low Pass 00001 Trace Range Before Break Before Trace About Trace C After Trace Now Address Event Status Address Label Pass AT 0000 MAIN 00001 2 0000 MAIN 00001 Combination And C Or lst 2 CT 210 CT 3rd c Sequential None Count 2 65535 00002 008 NotUse TimeO
33. hange the voltage of the user system after turning on the power Before powering on your emulator system check that the host machine the emulator the converter board and user system are all connected correctly Next turn on the power to each equipment following the procedure below 1 Turn ON OFF the user system and the emulator as simultaneously as possible 2 When the emulator debugger starts up check the target status LEDs on the emulator to see if this product is ready to operate Is the power supplied Check that target status LED POWER is ON 1 Is the clock supplied Check that target status LED CLOCK is ON 1 When the user system is not connected the target status LED POWER is not lit 60 72 Chapter 4 Hardware Specifications IMPORTANT Note on the MCU Status While the Program is Idle 9 In this emulator the MCU is operating even while the user program remains idle as well as when the emulator is executing a command Therefore the timer and other internal peripheral functions of the MCU are operating Note on Clock Supply to the MCU The XIN input to the MCU is supplied from the oscillator circuit board OSC 2 in the emulator and cannot be supplied from an oscillator circuit in the user system To change the system clock frequency be sure to change the clock frequency of the oscillator circuit board OSC 2 Note on the RAM Backup Mode Although this emulator allows you to execute a pr
34. have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 24 NE SAS C Im lt D D M34282T2 CPE User s Manual Compact Emulator for 720 Series 4282 and 4283 Groups Renesas Electronics Rev 2 00 2004 11 www renesas co Windows and Windows NT are registered trademarks of Microsoft Corporation in the U S and other countries Keep safety first in your circuit designs Renesas Technology Corporation and Renesas Solutions Corporation put the maximum effort into making semiconductor products better and more reliable but there is always the possibility that trouble may occur with them Trouble with semiconductors may lead to personal injury fire or property damage Remember to give due consideration to safety when making your circuit designs with appropriate measures such as i placement of substitutive auxiliary circuits ii use of nonflammable material or iii prevention against any malfunction or mishap Notes regarding these materials These materials are intended as a reference to assist our customers in the selection of the Renesas Technology product best suited to the customer s application they do not convey any license under any intellectual pr
35. he M3T PD72M e g c mtool pdxx drivers While you are installing a message may be output indicating that the device driver proper musbdrv sys cannot be found Because musbdrv sys is stored in the same directory as is the musbdrv inf file look into the directory and specify it 23 72 M34282T2 CPE User s Manual 2 3 Connecting the Power Supply for Emulator Connect the power supply for the emulator to the power connector J1 The specification of the power supply for the emulator is listed in Table 2 1 Table 2 1 Specification of power supply of the emulator Power supply voltage DC 5 0 V 5 2 A Figures 2 2 and 2 3 show the specifications of the power connector J1 and an applicable plug respectively 1 7mm Inside diameter Electrode Electrode Sj Ce Figure 2 2 Specification of the power connector Figure 2 3 Specification of an applicable plug A CAUTION Notes on Connecting a Power Supply of the Emulator The power cable included in this product package is colored red and black Be careful about the polarity of the power supply Connecting to the wrong electrode could destroy internal circuits Do not apply a voltage exceeding the specified voltage of the product 5 0 V 4 596 because it may cause burn injuries and the failure of internal circuits 24 72 Chapter 2 Setup 2 4 Connecting the Host Machine Connect the emu
36. ions because of interference like external noise do the following to remedy the trouble 1 Press the RESET button on the emulator front panel 2 If normal operation is not restored after step 1 shut OFF the emulator once and then reactivate it 7 72 M34282T2 CPE User s Manual Preface The M34282T2 CPE is a compact emulator with the real time trace functions for the 4282 and 4283 Groups This user s manual mainly describes specifications of the M34282T2 CPE and how to set up and operate it For details on the emulator debugger M3T PD72M and absolute assembler ASM72 refer to each product s online manual If there is any question about this product contact your local distributor To check the components of this product refer to 1 1 Package Components page 14 If there is any suggestion opinion or question about this product please contact your local distributor The related manuals are listed below Related manuals Emulator debugger M3T PD72M User s Manual ASM72 User s Manual 8 72 User Registration User Registration When you have purchased the emulator presented in this manual please register your name and address Your registered information 1s used for only after sale services and not for any other purposes Without user registration you will not be able to receive maintenance services such as a notification of field changes or trouble information So be sure to register your name and address
37. lator and the host machine with the USB interface cable Connect the USB interface cable included to the USB interface connector J2 and the USB port of the host machine see Figure 2 4 Connect the USB interface cable to connector J2 To host machine 4 To emulator power supply Connect the power cable to connector J1 sn c POWER USB 5 0V 5 J3 req ed RENESAS MADE IN JAPAN M34282T2 CPE COMPACT EMULATOR STATUS ye M34282T2 CPEB REV CLOCK TARGET F RESET srATUS SAFE i rone Figure 2 4 Connecting emulator system 2 5 Turning ON the Power Supply 2 5 1 Checking Connections of the Emulator System Before turning the power ON check the connection of the interface cable to the host machine emulator and user system 2 5 2 Turning ON 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 circuits may be damaged When turning ON the power again after shutting OFF the power wait for about 10 seconds 2 5 3 Power Supply to the User System 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 3 0 V 10 Do not change th
38. m When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss resulting from the information contained herein Renesas Technology semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake Please contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor when considering the use of a product contained herein for any specific purposes such as apparatus or systems for transportation vehicular medical aerospace nuclear or undersea repeater use The prior written approval of Renesas Technology Corporation and Renesas Solutions Corporation is necessary to reprint or reproduce in whole or in part these materials f these products or technologies are subject to the Japanese export control restrictions they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination Any diversion or reexport contrary to the export control laws and regulations of Japan and o
39. m the CD ROM included with your product install the emulator debugger M3T PD72M following the procedure described below 1 Launching the installer From Windows Explorer etc start the setup exe program present in the PD72M W95E folder of the product disc 2 Entering the user information In the user information dialog box enter the user information contractor section contact address and host machine The supplied information will be turned into a format by which technical support will be provided by e mail 3 Selecting components In the component selection 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 indicating that setup has been completed It means that the installation you made is completed 2 2 2 Installing the USB Device Driver Install the USB device driver following the procedure described below 1 Connect the host machine and the compact emulator M34282T2 CPE with USB cable 2 Turn on the power to the compact emulator M34282T2 CPE 3 USB device will be detected and the wizard to install the corresponding device driver will start up Follow the instructions of the wizard and a dialog box for specifying the setup information file inf file will appear In this dialog box specify the musbdrv inf file present in or below the directory in which you installed t
40. manual and refer to this when you have questions about this product Emulator The emulator in this document refers to the following products that are manufactured by Renesas Technology Corporation 1 Compact emulator main unit 2 Package conversion board for connecting the user system The emulator herein does not include the customer s user system and host machine Purpose of use of the emulator This emulator is a device to support the development of a system that uses the 720 Series 4282 and 4283 Groups of Renesas 4 bit single chip MCUS It provides support for system development in both software and hardware Be sure to use this emulator correctly according to said purpose of use Please avoid using this emulator for other than its intended purpose of use For those who use this emulator This emulator can only be used by those who have carefully read the user s manual and know how to use it Use of this emulator requires the basic knowledge of electric circuits logical circuits and MCUs When using the emulator 1 This product is a development supporting unit for use in your 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 integration test evaluation or some experiment else 2 In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this
41. mend using an AC adapter that incorporates a switching power supply or a voltage regulator power supply 4 User system This is your application system This emulator can be used without the user system 5 Power supply for user system This is a power supply for the user system As this emulator cannot supply the power to the user system supply the power to the user system separately from the emulator 6 Host machine This is a personal computer for controlling the emulator 15 72 M34282T2 CPE User s Manual 1 2 2 Names and Functions of the Emulator Figure 1 2 shows the names of the LEDs on the upper panel of the emulator Check pins TP1 VDD2 JP1 JP2 TP2 weer POF state LED Not used for this system TP3 W System reset switch always open J4 rin trace cable connector sNn ruoq J2 USB interface connector J1 Power supply connector M34282T2 CPEB REV A System status LEDs P Pull down control switches 3 Connector for user system FEDT Emulator Carey Target status LEDs LED3 User system power POWER LED4 Clock oscillation CLOCK LEDS MCU RESET pin RESET LED6 Program execution RUN Figure 1 2 Names of the LEDs on the upper panel of the emulator upper side 1 System Status LEDs The system status LEDs indicate the emulator s operating status etc Table 1 2 lists the definition of the system status LEDs Table 1 2 Definition of the system sta
42. mulator debugger and the actual value in the emulator may not match When the user program is halted When the emulator debugger does not start up normally even after rebooting turn off the emulator and then turn on again 4 POF State Indicator LED The POF status indicator LED is used to indicate that the MCU is placed into the POF state Table 1 5 Display of the POF state indicator LED Function Indicates that the MCU is in the POF state Indicates that the MCU is in the normal state and not in the POF state 5 Connector for Power Supply J1 This is a connector for connecting the power supply to this product For details on connection to the power supply refer to 2 3 Connecting the Power Supply for Emulator page 24 6 USB Cable Connector J2 This is a USB cable connector for connecting the host machine to this product For details on the connection with the host machine 2 4 Connecting the Host Machine page 25 17 72 M34282T2 CPE User s Manual 1 3 Specifications Table 1 6 lists specifications of the M34282T2 CPE Table 1 6 Specifications of the M34282T2 CPE Item Description Applicable MCUs 4282 and 4283 Groups Evaluation MCU M34282E2GP ROM size 2048 words RAM size 64 words Max operating frequency 3 0 V STCK f XIN 8 selected 4 0 MHz STCK f XIN selected 500 kHz Applicable target power supply 3 0 V 10 Supplied from emulator onl
43. nts Item Quantity M34282T2 CPE compact emulator 1 M34282T2 CPE Supplementary Document English CD ROM Emulator debugger M3T PD72M Assembler ASM72 Please keep the M34282T2 CPE s packing box and cushion material in your place 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 Tf there is any question or doubt about the packaged product contact your local distributor 14 72 Chapter 1 Outline 1 2 System Configuration 1 2 1 System Configuration Figure 1 1 shows a configuration of this product Power supply for emulator separately available USB interface cable Power supply for user system separately available Emulator Host machine separately available User system Figure 1 1 System configuration 1 Compact emulator M34282T2 CPE included This is a compact emulator for the 4282 and 4283 Groups with the real time trace functions hereafter emulator 2 USB interface 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 separately The power cable is included with this product Be aware that depending on the AC adapter used the power supply voltage may fluctuate significantly due to loading We recom
44. ode for the emulator e In this user s manual this symbol is used to show active LOW e g RESET 10 72 Contents Contents Chapter 1 Qutlinie taille chet t ge ie e te eid A Pa petu dex e e Po dea a Pe onda 13 1 1 Package 14 1 2 System Configuratio Maiss oiai nensis a nnns 15 1 2 4 System Gonfig ratlOl 2e cd cette ic a eec an dentes 15 1 2 2 Names and Functions of the Emulator esses 16 1 3 Specifications 2 te He eet derit d He idt a e Heat He e ge Hee p ete 18 1 4 Operating Environments ein cote od eee rere ba het e Lg ee t eee 19 Chapter 2 Setup tu eoe edere dia dads deck du a Ea e ma e Y De da Y Pena da ga d ue ad egeo 21 2 1 Starting Up the Emulator iei a e dim det Lee eai the rete aa c edid 22 2 2 Installing the Emulator Debugger ssssssssssssesseeeeeeeneen nnne enne tenen 23 2 2 1 Installing the Emulator Debugger M3T PD72M 23 2 2 2 Installing the USB Device Driver ssssssssesseeeeneneeeen nennen 23 2 3 Connecting the Power Supply for Emulator sese 24 2 4 Connecting the Host Machine 25 2 5 Turning ON the Power Supply 25 2 5 1 Checking Connections of the Emulator System
45. ogram using POF instructions execution of such programs is subject to the following limitations 1 The POF instruction cannot be single stepped Therefore do not attempt to single step the POF instruction 2 Execution cycles of the POF instruction are not recorded in the trace memory 3 No events hardware breaks or trace points can be set in execution cycles of the POF instruction The events set in execution cycles of the POF instruction if any have no effect 4 During power down mode no commands of the emulator debugger PD72M can be executed Exit power down mode by applying key on wakeup input or reset input before executing the commands Note on a Break Operation in a Train of Successive Instructions The program does not break in a train of successive instructions If a break operation hardware software or forcible break is attempted in a train of successive instructions the intended break occurs in an instruction at which the successive instructions ended An example is shown below Example If a break operation is attempted while executing the instructions at addresses 0000 0003h the break occurs at address 0004h ADDR CODE 0000 LAO 0001 LA 1 mE 0002 LA2 Successive instructions 0003 LAS 0004 A break occurs at this address Note on a Break Operation When Skipping Instructions In cases when the next instruction is skipped by a skip instruction if a break operation hardware software o
46. on and vehicular 2 Medical equipment where human life is concerned 3 Aerospace 4 Nuclear power control 5 Undersea repeater If you are considering the use of this emulator for one of the above purposes please be sure to consult your local distributor About product changes We are 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 the rights 1 We assume no responsibility for any damage or infringement on patent rights or any other rights arising from the use of any information products or circuits presented in this user s manual 2 The information or data in this user s manual does not implicitly or otherwise grant a license for patent rights or any other rights belonging to us or third parties About copyright This user s manual and this emulator are copyrighted with all rights reserved by us This user s manual may not be copied duplicated or reproduced in whole or part without prior written consent of us About diagrams The diagrams in this user s manual may not all represent exactly the actual object IMPORTANT Notes on Differences between the Actual MCU and Emulator Before using this product be sure to read 4 2 Differences between the Actual MCU and Emulator page 55 Before using this product be sure to read 4 5 Notes on Using This Product
47. onnecting the Power Supply of the Emulator Do not use any power cable other than the one that is included with the product The power cable included with the product has its positive and negative poles color coded by red and black respectively Pay attention to the polarities of the power supply If its positive and negative poles are connected in reverse the internal circuit may be broken Do not apply any voltages exceeding the product s rated power supply voltage 5 0 V 5 Extreme voltages may cause a burn due to abnormal heat or cause the internal circuit to break down Cautions to Be Taken for Turning On 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 circuits may be damaged When turning on the power again after shutting off the power wait about 10 seconds Cautions to Be Taken for Handling This Product Use caution when handling the main unit Be careful not to apply a mechanical shock Do not touch the connector pins of the emulator main unit and the target MCU connector pins directly Static electricity may damage the internal circuits Excessive flexing or force of the flexible cable for connecting this product to the emulation probe may break connector Cautions to Be Taken for System Malfunctions If the emulator malfunct
48. ons equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions Fu
49. operty rights or any other rights belonging to Renesas Technology Corporation Renesas Solutions Corporation or a third party Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage or infringement of any third party s rights originating in the use of any product data diagrams charts programs algorithms or circuit application examples contained in these materials All information contained in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means including the Renesas home page http www renesas co
50. ort enne enne nnne nennen sn nnne eterne nn 66 Chapter 6 Maintenance and Guarantee 67 6 1 User Registration inte a a et ie a D ecu be aa even E dE Robe ae aka eee 68 6 2 tel a tI e nee el etae etaed e 68 FRENETI INR ES 68 6 4 Repair Provisions ch nd ae mente ipd deoa dec e a deae nau v dp eg decis 68 6 5 How to Make Request for Repair essssssssssssesseseee ener enne 69 12 72 Chapter 1 Outline Chapter 1 Outline This chapter describes the package components the system configuration and the preparation for using this product for the first time 1 1 Package Componehls 5 tari ed o ad euin is p t Bip dati aie 14 1 2 System Configuration acer e etiani a eae Yn ne aae ces 15 1 2 1 System Gonflgurationi cos iioc eco ee adi toe Drei e ras i Pec Pa tao Lu 15 1 2 2 Names and Functions of the Emulator sssssssssesseeeeeen ene 16 13 SpecifiCallors ss no ni Ce ette tito pit et A ca Wha a m 18 1 4 Operating Environment 19 13 72 M34282T2 CPE User s Manual 1 1 Package Components The M34282T2 CPE package consists of the following items When unpacking it check to see if your M34282T2 CPE contains all of these items Table 1 1 Package compone
51. ort is pulled down with a 150 kQ pull down resistor 5 Low power detection circuit Because the operating voltage of this product is fixed to 3 V it cannot evaluate any system using a low power detection circuit 6 Watchdog timer With this product the watchdog function cannot be used However the watchdog timer initialization cycle can be verified by observing the waveform at the check pin WRST of the emulator For details refer to 2 10 Watchdog Timer Initialization Cycle Check Pin page 37 As a pitch converter board and other devices are used between the evaluation MCU and the user system some characteristics are slightly different from those of the actual MCU Therefore be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU 55 72 M34282T2 CPE User s Manual IMPORTANT Notes on Port I O Timings Port input timings Port input timings are the same as with the actual MCUs Port I O timings Port I O timings are different from those of the actual MCUs for the following ports that are configured with port emulation circuits 00 07 E0 G0 G3 With the actual MCUs changes occur at the beginning of the T4 state of an output instruction With this product changes occur at the beginning of the T2 state of the next output instruction Figure 4 1 shows the port I O timing for this p
52. product 3 Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances 4 This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan 5 This product is not qualified under UL or other safety standards and IEC or other industry standards This fact must be taken into account when taking this product from Japan to some other country 6 We cannot predict all possible situations or possible cases of misuse where a potential danger exists Therefore the warnings written in this user s manual and the warning labels attached to this emulator do not necessarily cover all of such possible situations or cases Please be sure to use this emulator correctly and safely on your own responsibility 3 72 M34282T2 CPE User s Manual Usage restrictions This emulator has been developed as a means of supporting system development by users Therefore do not use it as a device used for equipment embedded applications Also do not use it for developing the systems or equipment used for the following purposes either 1 Transportati
53. properly Check that power is supplied 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 2 is attached Check that the oscillator on the oscillator circuit board OSC 2 or the oscillation module is oscillating properly The MCU cannot be controlled Check that the MCU is properly attached Check that the oscillation frequency of the oscillator circuit board is within the specified range Other The emulator system is not working properly E The emulator may be damaged Contact your local distributor IMPORTANT Notes on the Self check Be sure to disconnect the user system before executing the self check 9 Use the preinstalled oscillator circuit board OSC 2 4 MHz to execute the self check If the self check does not result normally excluding target status errors the emulator may be damaged Then contact your local distributor 29 72 M34282T2 CPE User s Manual 2 7 Connecting the User System Figure 2 9 shows the connection of the M34282T2 CPE and the user system Compact emulator M34282T2 CPE 20 conductor standard pitch cable included PA FFC 20B SM1 separately available made by Honda Tsushin Kogyo Connect to 2 54 mm pitch 20 pole dual in line pins Figure 2 9 Connection of M34282T2 CPE an
54. r forcible break in the skipped instruction 1s attempted no break occurs If a skip and a break occur at the same time the cause of the break is cleared and the program continues running until the next cause of break occurs Example If a break operation is attempted when executing an instruction at address 0002h the intended break is canceled and the program continues running ADDR CODE 0000 RC 0001 SZC 0002 TABP 1 Skipped instruction 0003 TAM 0004 0004 The program continues to execute instruction without breaking 61 72 M34282T2 CPE User s Manual IMPORTANT Note on Register 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 Register Reference Modification Register Reference Modification Yes Yes V1 No Yes Yes Yes V2 No Yes Yes Yes PUO No Yes Yes Yes PU1 No Yes No Yes LO No Yes Yes Yes Yes Yes Yes Yes No 62 72 Chapter 5 Troubleshooting Chapter 5 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 5 1 Flowchart to Remedy the Troubles nennen nennen nns 64 5 2 How to Request for SUpport 66 63 72 M34282T2 CPE User s Manual 5 1 Flowchart to
55. r input timing 36 72 Chapter 2 Setup 2 10 Watchdog Timer Initialization Cycle Check Pin With this product the watchdog function cannot be used However the watchdog timer initialization cycle can be verified by observing the waveform at the check pin WRST of the emulator 2 10 1 Check Pin WRST TP3 on the Emulator Figure 2 18 shows the location of the WRST TP3 and GND TP2 Check pins TP1 VDD2 TP2 GND TP3 WRST za AUS A SIXI INI USB e OE POWER 5 0V MADE IN JAPAN Q N H N N hr 4 o E 4d E m 2 POWER SYSTEM STATUS POWER y CLOCK TARGET SAFE CL as RESET STATUS Figure2 18 Location of the check pin 2 10 2 Output Waveform of Check Pin WRST A waveform similar to the one shown in Figure 2 19 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 timer is initialized Instruction X WRST instruction X Next instruction Cycle Ti T2 T3 T4 Ti T2 1 WRST Figure 2 19 Output waveform of check pin WRST 37 72 M34282T2 CPE User s Manual MEMO 38 72 Chapter 3 Usage How to Use the Emulator Debugger Chapter 3 Usage How to Use the Emulator Debugger This chapter describes how to start up the emulator
56. r the country of destination is prohibited Please contact Renesas Technology Corporation or Renesas Solutions Corporation for further details on these materials or the products contained therein Precautions to be taken when using this product This product is a development supporting unit for use in your 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 integration test evaluation or some experiment else In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan SUPPORT Product name SUPPORT TXT Renesas Tools Homepage http www renesas com en tools 2 72 Important Important Before using this product be sure to read the user s manual this manual Keep this user s
57. ranted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document
58. re should be taken not to overload the circuit When installing this equipment insure that a reliable ground connection is maintained f 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 outlet Do not use this as it is because of the danger of electric shock and or fire In this case contact your local distributor o Before setting up this emulator and connecting it to other devices turn off power or remove a power cable to prevent injury or product damage Warnings to Be Taken for This Product Do not disassemble or modify this product Personal injury due to electric shock may occur if this product is disassembled and modified Disassembling and modifying the product will void your warranty Make sure nothing falls into the cooling fan on the top panel especially liquids metal objects or anything combustible Warning for Installation NC Do not set this product in water or areas of high humidity Make sure that the product does not get wet CN Spilling water or some other liquid into the product may cause unrepairable damage Warning for Use Environment This equipment is to be used in an environment with a maximum ambient temperature of 35 C Care should be taken that this temperature is not exceeded 6 72 Precautions for Safety N CAUTION Note on C
59. rement 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 From when the measurement start point passed to when the measurement end point passed 7 From MP Start to Trace Event From when the measurement start point passed to when a trace event is met 8 From MP Start to Break From when the measurement start point passed to when execution of the program finished MP Start 0000 End 0000 Furthermore one of the following two can be specified as the count source for the timer TIME 100ns The passage of time is counted using the emulator s timer 100 ns fixed CYCLE MCU The passage of time is counted using machine cycles 2 Inspecting the time measurement result PDT YM34282T2 C Ele dt yew Envron Debut Oten Widow Heb 3 41214 m 95 sw nw su E Proeram Window 5 72 View SRC 015 Line BRK Source M FY Develop EV Din sample VS AMPLE HEX Display of the time measurement result The time measurement result is displayed in the status bar at the bottom of the window B RAM CLRO gt Time measurement result display area er e LN m tt E22 N ue SP 52 72 Chapter 4 Hardware Specifications Chapter 4 Hardware Specifications This chapter describes specifications of this product 4 1 Target MCU Specification Srn ci ier eher
60. rigger Cable sse ennemi 35 2 9 1 Connecting the External Trace Trigger Cable to the Emulator System 35 2 9 2 Connecting the External Trace Trigger Cable to the User System 35 2 9 3 Specifications of the External Trace Trigger 36 2 10 Watchdog Timer Initialization Cycle Check 1 2 22 37 2 10 1 Check Pin WRST on the Emulator Main Unit seen 37 2 10 2 Output Waveform of Check Pin WRST ssssssssssssesee esent nnne nenne 37 21 72 M34282T2 CPE User s Manual 2 1 Starting Up the Emulator The procedure for starting up the emulator is shown in Figure 2 1 For details refer to each section When the emulator does not start up refer to Chapter 5 Troubleshooting page 63 Check the package components Refer to 1 1 Package Components page 14 User registration Refer to User Registration page 9 Install the emulator debugger M3T PD72M Install it from the included CD ROM Connect the USB interface cable to the USB interface Connect the USB interface cable connector J2 of the emulator and the USB port of the host machine Connect the power supply for the emulator to the power Connect the power supply for emulator supply connector J1 The power supply specification of the emulator is 5 0 5 2
61. roduct The output timings of ports E1 E2 and CARR are the same as with the actual MCUs Instruction x Port output instruction X Next instruction Cycle E Ti s T2 dh T3 lt T4 dh T TLE LL Port output of actual x Port output of X this product Figure 4 1 Port I O timings Note on Port Electrical Characteristics Because the following ports are configured with port emulation circuits electrical characteristics differ from those of the actual MCU D0 D7 E0 E2 G0 G3 CARR For more details refer to 4 3 Connection Diagram page 57 Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU 56 72 Chapter 4 Hardware Specifications 4 3 Connection Diagram Figure 4 2 shows a part of the connection diagram of the M34282T2 CPE This 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 the evaluation MCU and the user system directly Tables 4 2 to 4 5 show IC electric characteristics of this product for reference purposes L VDD 2 SW1 SW7 74NHC175 D6
62. rther Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products or if you
63. spected The contents are displayed in order of execution paths Source mode SRC The execution paths of the source program can be inspected These modes can be switched over using the respective toolbar buttons 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 measurement in progress finishes 48 72 2 Trace window Chapter 3 Usage How to Use the Emulator Debugger 9 Trace Window BUS DIS SRC 0103 0000 Cycle Label 0103 MAIN 0101 RAM CLRO 0097 RAMLCLRO 0093 RAM CLRO Area BUS J DIS SRC Range 0103 0000 Area Break Break Bus display BUS File Gycle 0103 DAR Address 0000 Address Data Skip So 0123 0 07 0 0 0 0001 000 0 0000 2 BO 0 0008 060 0 0000 4 017 0 0005 82 0 0 0000 2 BO 0 0 0003 060 0 0000 4 017 0 0005 82 0 0000 2 BO 0 0 003 0 000 4 0 0000 5 0 Address 0000 Oycle 0103 01 Address bj code C 0 Label Mnemonic MAIN LXY NOP RAN_CLRO RAM CLRO RAM CLRO IN IN IN IN 0 02 Ff N 0 02 F N 0020 BUS DIS SRC Fowerd Back Step 0103 0000 Area Break File Sample a 2 C
64. string displayed in the Init File text box The contents you ve set here are reflected only when the emulator debugger starts up If you set newly again in the Init dialog box after startup what you have set will not take effect unless you restart the emulator debugger 2 Restoring the last window state TAB 1 32 Font FixedSvs Size 11 iv Resume Next Hide AutoDownLoad Cancel Restoring the last window state To restore the state of the window in which it was when it was finished previously e g window position and size select the Resume check box flagged by a check mark when selected By default it is selected Downloading the load module again To download the load module user program again select the AutoDownLoad check box By default it is unselected 40 72 Chapter 3 Usage How to Use the Emulator Debugger 2 Filling in the Init dialog box 2 The Init dialog box will be displayed again so set the target MCU and then press the OK button 1 Selecting the target MCU Selecting the target MCU Select the target MCU that you are going to debug Cancel 41 72 M34282T2 CPE User s Manual 3 2 Program Window 1 Downloading of the program 1 Initial values of the program window Initial screen of the program window The program window is a window that always 4 m sw mw eM shows the
65. ted or plated portions Flaw or cracks in plastic portions Faults or breakage caused by improper use or unauthorized repair or modification Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply Cracks in the printed circuit board or burnt down patterns Wide range of faults that makes replacement less expensive than repair Unlocatable or unidentified faults 3 Expiration of the repair period When a period of one year elapses after the model was dropped from production repairing products of the model may become impossible 4 Transportation fees at sending your product for repair Please send your product to us for repair at your expense 68 72 Chapter 6 Maintenance and Guarantee 6 5 How to Make Request for Repair If your product is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Request Sheet included with this product then 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 Distributor After checking the contents of fault the distributor should please send the faulty product along with the Repair Request Sheet to Renesas Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience CAUTION Note on Transpor
66. the COME 2 command The Come command allows you to execute the program up to the cursor position Line BRK Source The setup procedure is described below S 1 Click the line in the program display area at 00004 which you want the program to break 2 Click the Come button RAM 00 h 05 m 44 s 822 ms 800 us 900 ns 2 After the Come command has finished PD72M F XDeveloptM34282T2 CP EX Binsample S AMPLE HEX DEK Eile Edit View Environ Debug Option Window Help amp 9 29 m sw uw pu Proeram Window 721 View SRC 018 Line BRK Source 00001 00002 MAIN RAM CLRO 00 h 00 m 00 s 000 ms 040 us 100 ns 45 72 M34282T2 CPE User s Manual 3 3 Hardware Breakpoints 1 Hardware breakpoint setup dialog box 1 Opening the hardware breakpoint setup dialog box ji 41819 m sw mw pu Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box 2 Hardware breakpoint setup dialog box H W Break Hardware breakpoint setup dialog box Cancel Address Event Status You can use a combination of address event Al 1 Address Event bel or A2 and T external trigger event as Set A2 i MAIN hardware break event Trigger Event Combination Type High Low And Or C Sequential Setting an address event Pass 00001 lst
67. thinner or other solvents because these chemicals can cause the equipment s surface coating to separate 2 When you do not use this product for a long period for safety purposes disconnect the power cable from the power supply 6 3 Guarantee If your product becomes faulty within one year after its purchase while being used under good conditions by observing Precautions for Safety described in Chapter 1 of this user s manual we will repair or replace your faulty product free of charge Note however that if your product s fault 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 maintenance and so on Inadequate user s system or misuse of it Fires earthquakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the leasing company or the owner 6 4 Repair Provisions 1 Repair with extra charge The products elapsed more than one year after purchase can be repaired with extra charge 2 Replacement with extra charge If your product s fault falls in any of the following categories the fault will be corrected by replacing the entire product instead of repair or you will be advised to purchase new one depending on the severity of the fault Faulty or broken mechanical portions Flaw separation or rust in coa
68. ting the Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision equipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use conductive polyvinyl supplied with this product usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 69 72 M34282T2 CPE User s Manual MEMO 70 72 M34282T2 CPE User s Manual Rev 2 00 November 1 2004 REJ10J0512 0200Z COPYRIGHT 2003 2004 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED M34282T2 CPE User s Manual 21 NE SAS Renesas Electronics Corporation 1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan REJ10J0512 0200Z
69. tus LEDs Function Power is supplied to the emulator ON Power is not supplied to the emulator SAFE LED2 Green Emulator system has started normally Emulator system has not started normally 2 Target Status LEDs The target status LEDs indicate the target MCU s power supply and operating status Table 1 3 lists the definition of the target status LEDs Table 1 3 Definition of the target status LEDs Function Power is supplied to the user system Power is not supplied to the user system ON Internal clock of the emulator is output RESET LEDS Red Target MCU is being reset Target MCU is not being reset LED6 User program is being executed User program is not being executed ON FF CLOCK Green ON 16 72 Chapter 1 Outline 3 System Reset Switch By pressing the system reset switch you can initialize the emulator system 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 Initializes the emulator and waits for a command from the emulator debugger Stops the user program initializes the emulator and waits for a When the user program is executed command from the emulator debugger IMPORTANT Notes on a System Reset After pressing the system reset switch reboot the emulator debugger M3T PD72M Otherwise the display of the e
70. uct presented in this manual WARNING indicates a potentially dangerous situation that will cause death or heavy wound unless it is avoided CAUTION indicates a potentially dangerous situation that will cause a slight injury or a medium degree injury unless it is avoided CAUTION with no safety warning symbols attached indicates a potentially dangerous situation that will cause property damage unless it is avoided This is used in operation procedures or explanatory descriptions to convey exceptional conditions or cautions to the user 5 72 M34282T2 CPE User s Manual A WARNING Warnings for AC Power Supply If the attached AC power cable does not fit the receptacle do not alter the AC power cable and do not plug it forcibly Failure to comply may cause electric shock and or fire Use an AC power cable which complies with the safety standard of the country Do not touch the plug of the AC power cable when your hands are wet This may cause electric shock This product is connected signal ground with frame ground If your developing product is transformless not having isolation transformer of AC power this may cause electric shock Also this may give an unrepairable damage to this product and your developing one While developing connect AC power of the product to commercial power through isolation transformer in order to avoid these dangers If other equipment is connected to the same branch circuit ca
71. ut TimeCount DelayCount TIME 10us Furthermore specified as the count source for the timer Timer setup area The following four operation modes of the timer can be specified The timer is not used Recording of the trace finishes when a trace point is not reached within a specified time Recording of the trace finishes when a specified time has elapsed after the program started running Recording of the trace finishes when a specified time has elapsed after a trace point is reached one of the following two can be The passage of time is counted using the emulator s timer 10 us fixed CYCLE MCU The passage of time is counted using machine cycles 51 72 M34282T2 CPE User s Manual 3 5 Time Measurement 1 Setting time measurement points Debug Measurement Point Sets the time measurement point setup dialog box Measurement Point Setting time measurement points A time measurement range can be specified by selecting one of the following eight time intervals 1 From Go to Break From when the program starts running to when it stops 2 From Go to MP End From when the program starts running to when the end of measurement point passed 3 From Go to Trace Event From when the program starts running to when a trace event is met _ 4 From Trace Event to MP End From when a trace event is met to when the measu
72. ut 74HC4066 CARR CMOS Output Output 7ZAVHCOS8 Connection to a user system 54 72 Connected by 2 54 mm pitch 20 pin flat cable Chapter 4 Hardware Specifications 4 2 Differences between the Actual MCU and Emulator Differences between the actual MCU and emulator are shown below When debugging the MCU using this product be careful about the following precautions IMPORTANT Note on Differences between the Actual MCU and Emulator Operations of the emulator differs from those of actual MCUs as listed below 1 Power on reset You can reset this emulator system by the reset command of the emulator debugger PD72M however this emulator system cannot emulate operation at a power on reset Therefore check the operation at a power on reset using an actual MCU 2 Data values of ROM area at power on With the emulator system the ROM area at power on is initialized to 000h NOP instruction 3 Electrical characteristics As the following pins are connected via emulation circuits the electrical characteristics are different from those of actual MCUs D0 D3 D4 D7 G0 G3 E0 E2 CARR 4 Internal pull down transistor control Because an emulation circuit exists among ports D4 to D7 GO to G3 and EO this emulator system cannot control pull down transistors by the control resister of an MCU To use the internal pull down transistor set SW1 to SW7 to the ON side By the settings each p
73. y Cannot be supplied from user system Basic debugging functions Download Software break max 8 points break after execution Program execution stop allows free run execution supporting software breaks Memory reference setting Register reference setting Disassemble display etc Real time trace function Recordable 32768 cycles information Trace point Address 2 points pass count can be set range specifiable External trigger 1 point Trace mode Before Break mode Records 32768 cycles before program stopped Before Trace mode Records 32768 cycles before event met About Trace mode Records 32768 cycles before and after event met After Trace mode Records 32768 cycles after event met Hardware break function Hardware break point Address 2 points pass count can be set range specifiable External trigger 1 point Break mode Address break or trigger break Stack over under flow Trace event Trace termination break Timer Execution time measurement function Coverage Time measurement point Specified 2 points range specifiable Resolution 100n seconds Measurementrange 8 types Count source Timer of emulator MCU cycle coverage Connection to the user system See 2 7 Connecting the User System page 30 Power supply for emulator DC 5 0 V 5 2 A externally supplied prepare a power supply separat
74. ycle 0 02 Fw gt 0103 Address Now Source RAM CLRO RAM RAM CLRO ih Explanation of the trace window bus display The 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 When marked by 1 it means that a stack overflow or underflow has occurred 0123 Shows the signal level of external trace cable 49 72 M34282T2 CPE User s Manual 2 Trace point setup dialog box 1 Opening the trace point setup dialog box Sets up the trace point setup dialog box 2 Trace point setup dialog box Trace Point Trace point setup dialog box CERES meus You can use a combination of address event Al Mia a aaa or A2 and external trigger event T as a trace Se 2 2 0000 MAIN Trigger Event Combination Type High Low And C Or Sequential Pass 00001 ist AL CT 2nd C Al CT None Setting an address event Click Al or A2 to select the address event you want to set Trace Range Before Break Timer 3 C Before Trace Setting an external trigger event Mode NotUse About Trace Count 2 65535 You can set edges or pass counts of external After Trace Source TIME 1Qus 00002 trigger event High Positive edge

Download Pdf Manuals

image

Related Search

Related Contents

UDP and TCP Communication for Quantum and Premium PLCs  Bedienungsanleitung UNOplus ATEX  Triarch 31535 User's Manual  薬食監麻発1218第4号  Betriebsanleitung B24 mit Steuerung  Androstenedione ELISA - DIAsource Immunoassays  "取扱説明書"  Installation and User Manual  

Copyright © All rights reserved.
Failed to retrieve file