background image

M30850T-EPB

Emulation Probe for M32C/80, 84, 85 and 86 Groups

User's Manual

Rev.2.00

April 1, 2004

REJ10J0345-0200Z

Summary of Contents for Emulation Probe M30850T-EPB

Page 1: ...M30850T EPB Emulation Probe for M32C 80 84 85 and 86 Groups User s Manual Rev 2 00 April 1 2004 REJ10J0345 0200Z...

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

Page 3: ...face The M30850T EPB is an emulation probe for M32C 80 84 85 and 86 Groups MCUs The M30850T EPB is used by connecting to the PC7501 emulator main unit This user s manual mainly describes specification...

Page 4: ...et System 30 3 4 Using the Internal Oscillator Circuit 31 3 5 Setting Switches 31 3 6 A D Conversion Bypass Capacitor 35 3 7 Connecting the PC7501 36 3 8 Connecting the Target System 37 1 Connecting t...

Page 5: ...xternal Dimensions of the Emulation Probe 61 2 External Dimensions of Converter Board M30800T PTC 62 3 External Dimensions of Converter Board M3T F160 100NSD 63 4 External Dimensions of Converter Boar...

Page 6: ...6 76 MEMO...

Page 7: ...Emulator Debugger 11 Note on Differences between an Actual MCU and the Emulator 11 Notes on Target System 12 Notes on Using This Product When the Voltage of VCC1 is Higher than That of VCC2 12 Note on...

Page 8: ...oading Programs 17 Notes on Service Life of the MCU s Internal Flash ROM 17 Note on Voltage Detect Circuit 17 Notes on A D Conversion 18 Note on Protect Resistor 18 Note on Applicable MCUs 18 Note on...

Page 9: ...ngs The following pages describe the symbols WARNING CAUTION and IMPORTANT In addition to the three above the following are also used as appropriate means WARNING or CAUTION Example CAUTION AGAINST AN...

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

Page 11: ...se of mask MCUs as listed below 1 Reset conditions 2 Initial values of internal resource data at power on 3 Interrupt stack pointer ISP after releasing reset 4 Internal memories ROM and RAM capacities...

Page 12: ...ystem during the user program executing only while the RUN status LED on the PC7501 s upper panel is lit Inputting L to pin RDY during the user program stopping may cause a malfunction of the emulator...

Page 13: ...selected A clock generated by the dedicated circuit in the PC7501 is supplied to the evaluation MCU The clock is continually supplied to the evaluation MCU regardless of target system clock status an...

Page 14: ...d with MCU status must be H To set memory expansion mode or microprocessor mode pins RDY and HOLD used with MCU status must be H When the target system is not connected all modes are available 3 Emula...

Page 15: ...e Init dialog box When you do not debug a program in CPU rewrite mode uncheck the box When you debug a program in CPU rewrite mode the block 0 area FFF000h FFFFFFh must not be rewritten Otherwise the...

Page 16: ...n referencing the result of a trace in bus mode 08h is displayed for the instruction fetch address where a software break is set Notes on Access Prohibited Area The emulator control register 000020h 0...

Page 17: ...ster DCT3 R1 DMA2 memory address register DMA2 A0 DMA3 memory address register DMA3 A1 Note on Downloading Programs When you download a program to an internal ROM area and set software breaks the main...

Page 18: ...of port P15 for a pin that performs A D conversion to I O port A D0 control register 4 address 392h b3 b2 1 0 AN0 to AN7 AN00 to AN07 1 0 AN0 to AN7 AN20 to AN27 Also when the P0 group and P2 group ar...

Page 19: ...preparation for using this product for the first time 2 1 Terminology 20 2 2 Package Components 21 2 3 Other Tool Products Required for Development 21 2 4 Name of Each Part 22 1 System Configuration 2...

Page 20: ...is downloadable from the emulator debugger to upgrade the firmware or to support other MCUs Software break A software break is a function to break the program before the system executes an instruction...

Page 21: ...hem separately Table 2 2 Other tool products required for development To purchase these products contact your local distributor Product Emulator main unit Emulator debugger Product name PC7501 M3T PD3...

Page 22: ...ard for connecting to the target system for 100 pin 0 65 mm pitch LCC socket For details refer to 3 8 Connecting the Target System page 37 2 Names and Functions of the PC7501 Upper Panel LEDs System s...

Page 23: ...ulator system power supply is turned ON Emulator system power supply is turned OFF Emulator system is operating normally Special mode maintenance mode for downloading firmware The emulator system does...

Page 24: ...debugger and the PC7501 Figure 2 3 Firmware download procedure when the emulator is used for the first time To make sure the emulation probe works properly run the self check For the self check proce...

Page 25: ...sing the Internal Oscillator Circuit 31 3 5 Setting Switches 31 3 6 A D Conversion Bypass Capacitor 35 3 7 Connecting the PC7501 36 3 8 Connecting the Target System 37 1 Connecting to a 100 pin LCC So...

Page 26: ...ply can be set by the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window For XCIN XCOUT it is necessary to set switches in the emulator For details re...

Page 27: ...included with this product If you use the internal oscillator circuit board of the PC7501 as a main clock choose Internal in the emulator debugger after replacing oscillator circuit boards to change...

Page 28: ...e it see Figure 3 2 Figure 3 2 Replacing oscillator circuit boards 3 Reinstall the upper cover once removed and secure the four screws of the PC7501 Attach another oscillator circuit board to the conn...

Page 29: ...board and where the connector pins are located Figure 3 4 shows the circuitry of oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer F...

Page 30: ...ed between the evaluation MCU and the target system Figure 3 6 Circuit in which oscillation does not occur same for XCIN and XCOUT IMPORTANT Notes on External Clock To operate this product with an ext...

Page 31: ...debugger and specify a frequency you like to use for this clock supplied to an MCU Although you can change a frequency between 1 0 and 99 9 MHz by 0 1 MHz for the PC7501 do not specify a value exceedi...

Page 32: ...setting AVCC AVSS SW1 Factory setting Factory setting AVCC AVSS INT EXT AVCC AVSS INT EXT P87 VCONT XCIN P87 VCONT XCIN P87 VCONT XCIN Connects pin P87 of the MCU to the sub clock oscillator circuit...

Page 33: ...port selection function and using AN23 to AN27 for analog input pins Set the analog input pins to ON With this setting set the direction registers of ports P153 to P157 to input Pins P150 to P152 can...

Page 34: ...that performs A D conversion to I O port A D0 control register 2 address 394h b2 b1 1 0 AN00 to AN07 1 0 AN20 to AN27 Also when the P0 group and P2 group are selected for A D input port P15 cannot be...

Page 35: ...8 shows where they are installed IMPORTANT Note on the A D Converter Because a converter board and other devices are used between the evaluation MCU and the target system the A D converter operates di...

Page 36: ...the Cable When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly Connect the PCA7501EPBA board to the M3T FLX160 EPB Always shut...

Page 37: ...able to connect the emulator to target systems as shown in Figure 3 10 CAUTION Note on Connecting the Target System Take care not to attach the converter board in a wrong direction It may cause a fata...

Page 38: ...tach the M30800T PTC to the 100 pin LCC socket Figure 3 11 Connecting to a 100 pin LCC socket CAUTION Notes on Connecting the Target System Take care not to attach the converter board in a wrong direc...

Page 39: ...e target system see the user s manual of the M3T DUMMY100S 2 Attach the M3T 100LCC DMS to the M3T DUMMY100S 3 Attach the M30800T PTC to the M30850T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS F...

Page 40: ...e target system see the user s manual of the M3T DIRECT100S 2 Attach the M3T 100LCC DMS to the M3T DIRECT100S 3 Attach the M30800T PTC to the M30850T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS...

Page 41: ...manual of the M3T FLX 100NRB 2 Attach the M3T 100LCC DMS to the M3T FLX 100NRB 3 Attach the M30800T PTC to the M30850T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 3 14 Connecting to a 1...

Page 42: ...to the target system For details on how to attach the M3T 100LCC QSD to the target system see the user s manual of the M3T 100LCC QSD 2 Attach the M30800T PTC to the M30850T EPB 3 Attach the M30800T P...

Page 43: ...e target system see the user s manual of the M3T FLX 100NSD 2 Attach the M3T 100LCC DMS to the M3T FLX 100NSD 3 Attach the M30800T PTC to the M30850T EPB 4 Attach the M30800T PTC to the M3T 100LCC DMS...

Page 44: ...onnect the M3T F160 100NSD see its user s manual 2 Attach the YQPACK100SD included with the M3T F160 100NSD to the NQPACK100SD 3 Insert the YQ GUIDE s included with the YQPACK100SD to the YQPACK100SD...

Page 45: ...connect the M3T FLX 144NSD see its user s manual 2 Attach the YQPACK144SD included with the M3T FLX 144NSD to the NQPACK144SD 3 Insert the YQ GUIDE s included with the YQPACK144SD to the YQPACK144SD 4...

Page 46: ...46 76 MEMO...

Page 47: ...Normally 49 4 2 Downloading Firmware 50 1 When It is Necessary to Download Firmware 50 2 Downloading Firmware in Maintenance Mode 50 4 3 Starting Up the Emulator Debugger Setting the EMEM Dialog Box...

Page 48: ...mulator or target 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 IMPORTANT Not...

Page 49: ...art up correctly Note on CLOCK LED If CLOCK LED does not turn on check the following 1 Immediately after starting PC7501 before starting the emulator debugger Check if the oscillation circuit within t...

Page 50: ...n the PC7501 upper panel to switch to maintenance mode Switched to maintenance mode the SAFE SYSTEM STATUS LED begins to flash 3 Start up the emulator debugger When the Init dialog box setup is comple...

Page 51: ...completing downloading the firmware Here explains how to set a processor mode of the target MCU allocate the emulation memory and set the emulator work area Figure 4 3 shows the EMEM dialog box displa...

Page 52: ...as 3 Interrupt vector area 2 Selecting a Processor Mode Here explains about the setting of the processor modes The selectable modes are listed in Table 4 1 Table 4 1 Selecting a processor mode IMPORTA...

Page 53: ...The area from the specified address to the size specified here is allocated as external area and internal area Length can be specified as 256 KB or 1 MB 3 Specifying area map Map Select whether the sp...

Page 54: ...rea regardless of settings Except for the SFR RAM ROM and internally reserved areas all areas other than the set area are externally accessible MCU internal resources are automatically selected as SFR...

Page 55: ...as shown in Figure 4 4 1 If the target system is connected disconnect it 2 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator upper panel to switch the...

Page 56: ...TUS SYSTEM STATUS POWER SAFE ERROR ON OFF Flashing Maintenance mode started Self check terminated normally ERROR 1 SAFE and ERROR flash ERROR 2 SAFE flashes and ERROR lights ERROR 3 SAFE and ERROR lig...

Page 57: ...ecifications 58 5 2 Connection Diagrams 59 5 3 External Dimensions 61 1 External Dimensions of the Emulation Probe 61 2 External Dimensions of Converter Board M30800T PTC 62 3 External Dimensions of C...

Page 58: ...o an oscillator circuit of the target system 3 0 to 5 5 V 5 to 35 C no dew 10 to 60 C no dew 12 V supplied from AC adapter For 144 pin 0 5 mm pitch LQFP 144P6Q A M3T FLX 144NSD not included For 100 pi...

Page 59: ...e interface section The signals not shown in Figures 5 1 and 5 2 are connected to the evaluation MCU in the emulation probe and the target system directly The circuits not connected to the target syst...

Page 60: ...able 5 2 Electrical characteristics of the 74HC4066 Symbol Parameter Max 100 100 Standard values nA Standard 160 70 10 Min Measuring condition Vcc 2 0 4 5 4 5 12 0 Unit ON resistor ON resistor differe...

Page 61: ...61 76 Figure 5 3 External dimensions of the emulation probe 5 3 External Dimensions 1 External Dimensions of the Emulation Probe Unit mm...

Page 62: ...l Dimensions of Converter Board M30800T PTC Figure 5 4 shows the external dimensions of the pitch converter board M30800T PTC for 100 pin QFP 100P6S Figure 5 4 External dimensions of pitch converter b...

Page 63: ...s and the sample foot pattern of the pitch converter board M3T FLX 144NSD for 144 pin LQFP 144P6Q 3 External Dimensions of Converter Board M3T F160 100NSD Figure 5 5 shows the external dimensions and...

Page 64: ...64 76 MEMO...

Page 65: ...6 2 When the Emulator Debugger Does Not Start Up Properly 67 1 When the LED Display of the PC7501 is Abnormal 67 2 EMEM Dialog Box is Not Displayed at Debugger Startup Target Connected 68 3 EMEM Dial...

Page 66: ...rror displayed Normal Turning on PC7501 Program window of emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Re...

Page 67: ...the PC7501 See the user s manual of the PC7501 Recheck the connection between the PC7501 and this product See 3 7 Connecting the PC7501 page 36 Check power is properly supplied to the target system an...

Page 68: ...ed up 2 Check the reset pin of the target system has changed from L to H level 1 Check pin NMI is held high 2 If in memory expansion mode or microprocessor mode check pins RDY and HOLD are held high 3...

Page 69: ...en the PC7501 and this product See 3 7 Connecting the PC7501 page 36 Download the proper firmware See 4 2 Downloading Firmware page 50 The program may be uncontrollable in areas where memory is not al...

Page 70: ...ORT product name SUPPORT TXT For prompt response please specify the following information 1 Operating environment Operating voltage X X V Operating frequency XX X MHz Clock supply to the MCU Internal...

Page 71: ...r 7 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 7 1 Maintenance 72 7 2 Guarantee 72 7 3 Repair Provisions 72 7 4 How to Request...

Page 72: ...he leasing company or the owner 7 3 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 charg...

Page 73: ...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 Transporting the P...

Page 74: ...74 76 MEMO...

Page 75: ...M30850T EPB User s Manual Rev 2 00 April 1 2004 REJ10J0345 0200Z COPYRIGHT 2003 2004 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...

Page 76: ......

Reviews: