background image

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Compact Emulator for 4571 Group 
M34571T2-CPE User's Manual 

Publication Date: 

Feb. 10, 2006 

Rev.1.00 

Published by: 

Sales Strategic Planning Div. 
Renesas Technology Corp. 

Edited by: 

Microcomputer Tool Development Department 
Renesas Solutions Corp. 

© 2006. Renesas Technology Corp. and Renesas Solutions Corp., All rights reserved. Printed in Japan. 

 
 
 

Summary of Contents for Compact Emulator M34571T2-CPE

Page 1: ...ok 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 Electron...

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

Page 3: ...M34571T2 CPE User s Manual User s Manual Rev 1 00 2006 02 Compact Emulator for 4571 Group...

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

Page 5: ...cts included with the M34571T2 CPE refer to each product s online manual Emulator debugger M3T PD45M Assembler ASM45 All the components of this product are shown in 1 1 Package Components page 13 If t...

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

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

Page 8: ...es an imminently dangerous situation that will cause death or heavy wound unless it is avoided However there are no instances of such danger for the product presented in this user s manual WARNING WAR...

Page 9: ...that a reliable ground connection is maintained If you smell a strange odor hear an unusual sound or see smoke coming from this product then disconnect power immediately by unplugging the AC power ca...

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

Page 11: ...lator System 25 2 5 3 Turning ON OFF the Power 25 2 5 4 Power Supply to the User System 25 2 5 5 LED Display When the Emulator Starts Up Normally 26 2 6 Downloading Firmware 28 2 6 1 When It is Necess...

Page 12: ...1 Target MCU Specifications 54 4 2 Differences between the Actual MCU and Emulator 55 4 3 Connection Diagram 59 4 4 External Dimensions 62 4 4 1 External Dimensions of the Compact Emulator 62 4 5 Note...

Page 13: ...with this manual fill it in and email the same contents to the following address Your registered information is used for only after sale services and not for any other purposes Without user registrat...

Page 14: ...ost machine through the 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 M...

Page 15: ...rcuit board 1 OSC 2 oscillator circuit bare board 1 USB interface cable for connecting host machine and emulator 1 Power supply cable for compact emulator 1 H W Tool Customer Registration Sheet Englis...

Page 16: ...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 Note Be aware that there are some A...

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

Page 18: ...r is supplied to the target MCU POWER LED3 Orange OFF Power is not supplied to the target MCU ON Clock is supplied to the target MCU CLOCK LED4 Green OFF Clock is not supplied to the target MCU ON Tar...

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

Page 20: ...race point 2 address points range pass count can be set 1 external trigger point Real time trace function Trace mode Before Break mode Records 32768 cycles before program stops Before Trace mode Recor...

Page 21: ...erating environment of the host machine Item Description Host machine IBM PC AT compatibles with USB1 1 OS Windows Me Windows 98 Windows XP Windows 2000 CPU Pentium III 233 MHz or more recommended Mem...

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

Page 23: ...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 indicati...

Page 24: ...pecifications of the power connector J1 and an applicable plug respectively Electrode Electrode 4 75mm 1 7mm Inside diameter Figure 2 2 Power connector specifications Figure 2 3 Applicable plug specif...

Page 25: ...re 2 4 Figure 2 4 Connecting the emulator system Connect the USB interface cable to connector J2 Connect the power cable to connector J1 To host machine To emulator power supply M34571T2 CPEB REV A TP...

Page 26: ...selection switch SW1 Description 3V Supplied from the emulator The MCU operating voltage is 3 0 V 5V Supplied from the emulator The MCU operating voltage is 5 0 V CAUTION Note on Jumper Switch Settin...

Page 27: ...aneously 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 p...

Page 28: ...status LEDs Target status LEDs light as shown in Figure 2 7 when the user system is not connected and as shown in Figure 2 8 when a user system is connected When the self check is terminated after tur...

Page 29: ...ned on check the following 1 After powering on the emulator before starting up the emulator debugger Make sure that the oscillator circuit board is properly installed in the emulator and it is oscilla...

Page 30: ...following The user system must not be connected when downloading the firmware 1 Connect the USB interface cable to the compact emulator and the host machine 2 Within 2 seconds of activating power to...

Page 31: ...nated normally Table 2 3 Switch settings for the self check Switch Setting MCU power supply voltage selection swtich SW1 5V Figure 2 9 Self check procedure POWER CLOCK RESET RUN LED3 LED4 LED5 LED6 RE...

Page 32: ...A clock is not supplied to the emulator Check that the oscillator circuit board OSC 2 is attached Check that the oscillator or oscillation module on an oscillator circuit board OSC 2 is operating nor...

Page 33: ...pitch cable is included with the product 2 Not included Prepare it separately FFC 26BSM1 is made by Honda Tsushin Kogyo Co Ltd Figure 2 10 Connection of the M34571T2 CPE and user system CAUTION Note...

Page 34: ...J3 connector of the M34571T2 CPE 3 Attach the 26 pole dual in line pins on the user system to the backside of the 26 wire normal pitch cable Figure 2 11 Connecting to a 26 pin 2 54 mm pitch user syste...

Page 35: ...SET 21 19 D0 7 7 P00 20 18 P31 8 8 P01 19 17 P30 9 9 P02 18 16 P21 INT1 10 10 P03 17 15 P20 INT0 11 11 P10 16 14 P13 12 12 P11 15 13 P12 13 VSS 14 VSS VDD is connected for the emulator system to monit...

Page 36: ...ction to the user system Table 2 6 Setting switch MCU power supply voltage selection switch SW1 Description 3 V Supplied from the emulator The MCU operating voltage is 3 V 5 V Supplied from the emulat...

Page 37: ...crew the screw securing the oscillator circuit board Lift off the oscillator circuit board Attach the oscillator circuit board for replacement to the connector of the emulator Secure the new oscillato...

Page 38: ...14 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC F...

Page 39: ...rnal trace trigger cable 2 10 2 Connecting the External Trace Trigger Cable to the User System Connect the GND TRG and EXT0 to EXT3 of the external trace cable to the user system Figure 2 16 shows the...

Page 40: ...n Max Input voltage VIN 0V 5 5V H level input voltage VIH 2 0V L level input voltage VIL 0 8V External trace input is latched in the timing shown in Figure 2 17 and external trigger input is latched i...

Page 41: ...to invalidate the watchdog timer by prefixing the following two instructions to the user program continuously DWDT WRST In case where no watchdog timer invalid processing as described above is carrie...

Page 42: ...hown in Figure 2 20 is output when executing the WRST instruction hat initializes the watchdog timer By observing a period in which the check pin WRST is goes high it is possible to know when the watc...

Page 43: ...ing up the debugger click the Refer button and specify the script file to be executed Clicking the Refer button brings up a file selection dialog box The script file you have selected is displayed in...

Page 44: ...r Debugger REJ10J0972 0100 Rev 1 00 February 10 2006 Page 42 of 72 2 Setting the Init dialog box 2 2 By pressing OK after setting the Init dialog box 1 2 the following Init dialog box will be displaye...

Page 45: ...mbled result Initial screen of the program window The program window is a window that always shows the content of the source file corresponding to the current position of the program counter It automa...

Page 46: ...m window screen after the user program has stopped RESET Resets the program GO Executes the program from the current PC position STEP Executes one step from the current PC position OVER Executes one o...

Page 47: ...re break mode Software breakpoint B 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 befo...

Page 48: ...o the cursor position Come command 1 Specifying the Come command 2 After the Come command has finished Setup procedure for executing COME command 1 Click the line in the program display area at which...

Page 49: ...ion of address event A1 or A2 and T external trigger event as a hardware break event Hardware Break Point Clicking this button opens the hardware breakpoint setup dialog box Setting an address event Y...

Page 50: ...nditions at the same time Break Point The program breaks when a breakpoint is reached Stack Overflow The program breaks when the stack overflow or underflows Trace Event The program breaks when a trac...

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

Page 52: ...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 Areg Shows the status of the register A Skip...

Page 53: ...state Setting an address event You can select one of three conditions and you can also set a pass count Point Specified address Range In Specified address range Range Out Outside of specified address...

Page 54: ...ore Trace 32K cycles of instruction execution before the user program stopped is recorded About Trace 32K cycles of instruction execution before and after a trace point condition was met is recorded A...

Page 55: ...et 4 From Trace Event to MP End From where trace event is met to when the measurement end point passed 5 From Trace Event to Break From when a trace event is met to when execution of the program finis...

Page 56: ...Divided by 4 mode Divided by 2 mode 6 0 MHz 3 0 V Set the MCU power supply voltage selection switch to 3V Through mode 4 4 MHz Divided by 8 mode Divided by 4 mode Divided by 2 mode Maximum operating f...

Page 57: ...circuit exists in pin RESET systems that use RESET output cannot be evaluated 5 Internal pull up transistor control Because this product has an emulation circuit present in ports P0 and P1 you cannot...

Page 58: ...input timings Port input timings are the same as with the actual MCUs Port output timings Port output timings are different from those of the actual MCUs for the following ports that are configured wi...

Page 59: ...be sure to execute the afore mentioned watchdog timer invalid processing Note on Operation in RAM Backup Mode In RAM backup mode this product operates differently from the actual MCUs Although the ac...

Page 60: ...n debugging 4571Group MCUs Register Reference Modification Register Reference Modification PC Yes Yes PA No Yes CY Yes Yes W1 Yes Yes A Yes Yes W2 Yes Yes B Yes Yes W3 Yes Yes X Yes Yes W5 Yes Yes Y Y...

Page 61: ...tted The signals not shown in Figure 4 2 connect the evaluation MCU and the user system directly Tables 4 4 4 5 4 6 4 7 4 8 and 4 9 show IC electric characteristics of this product for reference purpo...

Page 62: ...nal Item Condition Min Standard Max Unit VOL L output voltage Vcc 4 5V IOL 24mA 0 35 0 5 V IOL L output current 24 mA Table 4 6 Electrical characteristics of the 74VHC126 Standard values Signal Item C...

Page 63: ...VP H level threshold voltage Vcc 5 5V 3 85 Vcc 3 0V 0 90 Vcc 4 5V 1 35 VN L level threshold voltage Vcc 5 5V 1 65 Vcc 3 0V 0 30 1 20 Vcc 4 5V 0 40 1 40 VH Hysteresis voltage Vcc 5 5V 0 50 1 60 V Tabl...

Page 64: ...4571T2 CPE Figure 4 3 External dimensions of the compact emulator 120 0 85 0 25 0 30 0 M34571T2 CPEB REV A TP1 VDD2 GND TP2 W RST POF LED1 POWER SAFE STATUS J4 3V 5V S W1 J3 13 14 1 26 MADE PO WER COM...

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

Page 66: ...ing Register reference setting step execution etc are performed a clock is supplied Note on a Break Operation When Skipping Instructions In cases when the next instruction is skipped by a skip instruc...

Page 67: ...p www renesas com en tools Figure 5 1 Flowchart to remedy the troubles Turning on emulator Upper panel LED of emulator See 5 2 1 When the LEDs of the M34571T2 CPE Do Not Display Normally page 66 Init...

Page 68: ...k 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 pro...

Page 69: ...ar Table 5 4 Checkpoints of errors at debugger startup 2 2 Error Checkpoint The PD45M version and the version of firmware installed in the target do not correspond to each other The firmware already i...

Page 70: ...on to your local distributor http tool support renesas com eng toolnews registration support txt For prompt response please specify the following information 1 Operating environment Operating voltage...

Page 71: ...ne 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 Inadeq...

Page 72: ...luded 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 fac...

Page 73: ...ation Date Feb 10 2006 Rev 1 00 Published by Sales Strategic Planning Div Renesas Technology Corp Edited by Microcomputer Tool Development Department Renesas Solutions Corp 2006 Renesas Technology Cor...

Page 74: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M34571T2 CPE REJ10J0972 0100 T User s Manual...

Reviews: