Home

M30620T(B)-RPD-E User's Manual

image

Contents

1. 30 6 2 M30620TB RPD E Constraints esee enne nee 31 6 3 M30620 T RPDSE Constraints susanne tens 31 Chapter 7 Operation dag ea te oet Ye Maec testes 32 7 1 Bus Timing Separate bus 32 7 2 Bus Timing Multiplex bus enne ener 35 7 3 Timing Requirements eee temet ee eder nm end 38 4 47 Chapter 3 Electrical Characteristics eot oeste ee 40 Chapter 9 Maintenances rn 41 Chapter 10 Asvarantee c c oerte e ios RR RU dubi ds a DUST UPON ETUR 41 10 1 Guarantee eade cete ce de Ran 41 10 2 Repair Provisions eee er e RR te Epio 41 Chapter 11 Troubleshooting sense 42 11 1 When M30620T RPD E M30620TB RPD E Does Not Work Properly 42 11 2 How to Request for 43 Appendix A External Dimensions sn la 44 A 1 External Dimensions of M30620T RPD E M30620TB RPD E 44 A 2 External Dimensions of FLX 100LCC nne enne 45 Appendix B Connection DIdPTOmS ui pe 46 M30620T RPD E M30620TB RPD E Repair Request Sheet Technical Support Communication Sheet 5 47 Terminology Some specific words used in this User s Manual are defined as follows PC4701 This means the generic name of the PC4701HS PC4701L PC4700H and PC4700L emulators PC4701 system This means an emulator system built around a 4701
2. 24 ER HA N C54 w gt lt 5 43 EU D gt lt 4 40 FED J4 39 a2 22124 38 swe x OPEN G S PBe XCDUT 4 5g 1635 D XCUUT 74VHC 44 oo AQUI 4 s 10 IC35 74VHC244 lt 1 1 35 x Control signal Figure 1 Connection diagram of M30620T RPD E M30620TB RPD E 1 2 46 47 74HC4066FS Control signal lt 4 41 134 42 144 43 134 44 J4 45 J4 46 J4 19 J4 18 J4 17 LEITETE KXXXX un KAKAK KAKAK XB XC XD CB cc cD 74HC4066FS M Figure B 2 Connection diagram of M30620T RPD E M30620TB RPD E 2 2 47147 M30620T RPD E M30620TB RPD E Repair Request Sheet Date Total Pages To Distributor Contact Address Product Information Company Product name M30620T RPD E M30620TB RPD E Department Serial number Responsible person Date of purchase Phone Target MCU FAX Frequency Address Voltage Symptoms Write in detail by itemizing each observed symptom a frequency Regularly Frequency Cause of fault Write your estimated cause of fault or the sequence of operation when the fault occurred Operating environment Emulator Serial number LAN option i installed L_not installed Serial number of PCA
3. M30620T RPD E M30620TB RPD E User s Manual M30620T RPD E Operating voltage 2 7 5 5V Maximum operating frequency 10MHz 5V M30620TB RPD E Operating voltage 5V Maximum operating frequency 16MHz 5V First Edition May 1 1998 Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Systems Corporation 1 47 IBM and are registered trademarks of International Business Machines Corporation First Edition May 1 1998 Copyright 1998 Mitsubishi Electric Corporation Copyright 1998 Mitsubishi Electric Semiconductor Systems Corporation Precautions to Be Taken When Using This Manual The information in this manual does not convey any guarantee or license for the use of the intellectual property rights or any other rights owned by Mitsubishi Electric Corporation Mitsubishi Electric Semiconductor Systems Corporation or third parties Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Systems Corporation will not assume any responsibility for damage caused by or infringements on third parties proprietary rights arising from the use of the product data drawings tables programs algorithms or other materials in this manual The product data drawings tables programs algorithms and all other materials in this manual reflect the latest information at the time of publication However Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Sys
4. SW3 OPEN Xoor 1 OPEN Factory setting With pullup resistor HOLD RDY Without pullup resistor H gt OPEN H Factory setting P5s HOLD P5 RDY To pull down 33kQ jin L H L Factory setting To leave unconnected To pull up 33kQ To pull down 33kQ To leave unconnected To pull up 33kQ Pup py 16 pA 8 16 Factory setting With pullup resistor Without pullup resistor H OPEN OPEN Factory setting H OPEN P70 71 SW7 CAUTION Be sure to turn off the power before setting the switches Otherwise the internal circuits may be damaged 20 47 If you are using the device in expansion mode 2 please set the switches and jumpers as shown in Table 4 3 M30620T RPD E and Table 4 4 M30620TB RPD E The emulation pods generally have a two layer board The switches for expansion mode 2 are on the lower board and the upper board must therefore be removed for the switches to be set Table 4 3 M30620T RPD E Switch SW settings Function SW Settings Expansion mode 2 IM 4M IM 4M Other than expansion mode 2 Expansion mode 2 Factory setting Table 4 4 M30620TB RPD E Jumper JP settings Function JP Settings A18 A18 4M JP8 IM 4M JP8 IM Expansion mode 2 _ ESO Other than expansion mode 2 Expansion mode 2 Factory setting CAUTION
5. th BcLk wR WR signal output hold time Data output delay time th BcLk pB Data output hold time BCLK td pB wr Data output delay time WR th wn bB Data output hold time WR Note 1 Compute bus timing according to BCLK frequency Use the below formula td ps wn tcyc 2 80 no wait td ps wn tcyc 80 with wait Note 2 Compute bus timing according to BCLK frequency Use the below formula td ps wn tcyc 2 88 no wait td ps wn tcyc 88 with wait 33 47 Read timing EEE k gt td BCLK cs th BCLK CS k gt td BCLK AD gt je th RD CS Mi K gt th BCLK AD lt itd BCLK ALE lt gt th BCLK ALE gt e th RD AD b ic 5 td BCLK RD k gt th BCLK RD C tsu DB RD amp gt gt th RD DB Write timing D MU ccc lt gt td BCLK CS i 9 5 th BCLK CS ge ee ne 80 40 gt XC th iR cs b e gt th BCLK AD lt gt itd BCLK ALE gt th BCLK ALE gt th WR AD i 5 td BCLE E k gt th BCLK WR td BCLK DB 5 lt i gt th BCLK DB DB ee td DB WR lt gt gt th WR DB ADi BHE 5 M Figure 7 1 Bus timing separate bus 34 47 7 2 Bus Timing Multiplex Bus Tables 7 3 7 4 and Figure 7 2 show bus timing when using multiplex bus Table 7 3 Bus timing
6. Max Max th BcLi AD Address output hold time BCLK th RD AD Address output hold time RD th wr ap Address output hold time WR td BcLk cs Chip select output delay time th BcLk cs Chip select output hold time BCLK th RD cs Chip select output hold time RD th wr cs Chip select output hold time WR td BcLk RD RD signal output delay time th BcLi RD RD signal output hold time td BcLk wR WR signal output delay time th BcLk wR WR signal output hold time td BcLk bB Data output delay time BCLK th BcLk pB Data output hold time BCLK td pB wr Data output delay time WR th wn bB Data output hold time WR td BCLI ALE ALE signal output delay time BCLK th BCLI ALE ALE signal output hold time BCLK Note 1 Compute bus timing according to BCLK frequency Use the below formula th rp ap tcyc 2 th wr ap tcyc 2 th np cs tcyc 2 th wr cs tcyc 2 td ps wr X 3 2 80 th wr ps tcyc 2 Note 2 Compute bus timing according to BCLK frequency Use the below formula td ps wr x 3 2 91 36 47 Read timing EMT an SER Ne ee K SH BOK CS th BCLK CS lt X s c NEN I th RD 65 k gt een e lt gt td BCLK AD tsu DB RD th RD DB Ani th s BOLK AD lt gt td BCLK ALEX gt K th BCLK ALE
7. When the condition does not improve even if you check the items above troubles described below are considered 1 Trouble of the evaluation MCU 2 Trouble of the M30620T RPD E M30620TB RPD E 3 Trouble of the PC4701 emulator main unit 42147 11 2 How to Request for Repair If your M30620T RPD E M30620TB RPD E is found faulty after checking items in Section 11 1 follow the procedure below to send your product for repair Customers Something found faulty Write down the necessary information in the M30620T RPD E M30620TB RPD E Repair Request Sheet attached hereto then send it along with the M30620T RPD E M30620TB RPD E for repair to the distributor or nearest office of Mitsubishi Electric Make sure that information in the M30620T RPD E M30620TB RPD E Repair Request is written in as much detail as possible to facilitate repair Distributors Contents of fault checked After checking the contents of fault the distributor should please send the faulty M30620T RPD E M30620TB RPD E along with the Repair Request Sheet to Mitsubishi Electric Mitsubishi Electric Semiconductor Systems Corporation Repaired by When the faulty M30620T RPD E M30620TB RPD E is repaired it will be returned to the customer at the earliest convenience CAUTION When sending your M30620T RPD E M30620TB RPD E for repair use the packing box and cushion material supplied with the M30620T RPD E M30620TB RPD E when delivered to you and spe
8. Be sure to turn off the power before setting the switches Otherwise the internal circuits may be damaged 21 47 4 3 Procedure for Setting Oscillation Frequency If you are using the emulation pod s internal oscillator see 1 below If you are using the target system s oscillator see 2 below 1 Using emulation pod s oscillator M30620T RPD E and M30620TB RPD E are available with two types of internal oscillator circuits OSC 3 oscillator circuit board preinstalled M30620T RPD E 10MHz M30620TB RPD E 16MHz e OSC 2 oscillator circuit board bare board a OSC 3 Oscillator circuit board M30620T RPD E and M30620TB RPD E are equipped with 10MHz and 16MHz internal oscillator circuit boards respectively If you are running M30620T RPD E M30620TB RPD E at these speeds you can use the OSC 3 oscillator circuit boards that they are shipped with b OSC 2 oscillator circuit board M30620T RPD E and M30620TB RPD E are supplied with an oscillator circuit bare board connector pin mounting If you are using M30620T RPD E or M30620TB RPD E with internal oscillation frequencies other than those permitted by the standard OSC 3 oscillator circuit board create the desired oscillator circuit on the OSC 2 bare board and replace the OSC 3 board with the OSC 2 board Figure 4 2 shows the external dimensions and connector pin layout of the OSC 2 oscillator circuit board Figure 4 3 shows the OSC 2 circuit Use the circuit constants
9. CS No output High output fixed No output High output fixed ALE No output Low output fixed Output BHE No output Previous status maintained Output External area Address Output Output Data Output Inputs external data when reading Output Inputs external data when reading RD WR Output WR Low at write cycle RD Low at read cycle Output WR Low at write cycle RD Low at read cycle CS Output Output Output Output Output Output In STOP state Output Floating Output only for Read operations Write High output fixed Output Output 13 47 Output IMPORTANT Notes on MAP Settings and References For details on MAP settings and references refer to the user s manual of the PD30 emulator debugger Always set the SFR area to EXT external MAP settings when executing the RESET command When executing the PD30 emulator debugger RESET command this pod uses the 4 bytes from 1 to OFFFF16 or OOFFCisto in expansion mode 1 as a stack area The RESET command cannot be correctly executed when these 4 bytes cannot be read or written to You must therefore take care using the MAP resetting procedure when the following condition 1 or condition 2 are true excluding expansion mode 1 1 When the 4 bytes from OFFFCie to OFFFFis are set to EXTERNAL in a s
10. Figure 5 2 shows how to connect M30620T RPD E M30620TB RPD E and FLX120 RPD M30620T RPD E or M30620TB RPD E 9 Figure 5 2 Connecting M30620T RPD E M30620TB RPD E FLX120 RPD CAUTION Be sure to turn off the power before making connections Otherwise the internal circuits may be damaged 28 47 5 2 Connecting Target System Figure 5 3 shows how to connection to target systems For more details refer to Mitsubishi Microcomputer Development Support Tools Accessory Guide Emulator probe Emulator probe Emulator probe po FLX100 T FLX100 R Optional S Optional 2 1 00 0 65mm pitch 0 65mm pitch 0 5mm pitch FLX DIRECT613 FLX 100LCC Included 1 d lt gt Se ESE c 80Q DUMMY100S DIRECT100S FLX 100NRB 100LCC QSD FLX 100NSD gts ae jos Les SOCKET 100 pin 100 pin QFP 100 pin QFP 100 pin LQFP 100 pin LQFP Optional Optional Optional Optional Optional Optional Optional Optional available in one package e Position of No 1 pin Note FLX 100LCC is included with this package Figure 5 3 Connection to target systems CAUTION 1 Be sure to turn off the power before making connections Otherwise the internal circuits may be damaged 2 The small connectors of FLX100 and FLX 100LCC are guaranteed for only 20 insertion removal iterations 29 47 Chapter 6 Constraints 6 1 M30620T RPD E and M30620TB RPD E Con
11. th RD D lt gt a lt gt td BCLK RD th BCLK RD lt gt Write timing UP quM SEIEN NE hE Ne lt itd BCLK CS th BCLK CS tsu AD ALE gt lt td BCLK DB i 95 th WR CS ADi DBi ADi BHE th B LK AD gt td BCLK gt ann th WR NER EE ALE WR lt gt td BCLK WR th BCLK MR Figure 7 2 Bus timing multiplex bus 37 47 7 3 Timing Requirements Tables 7 5 7 6 and Figure 7 3 show timing requirements Refer to Figure 7 1 on page 34 about data input setup time and data input hold time Table 7 5 Timing Requirements 5 0 M30622SFP Parameter ns M30620T RPD E ns Min tsu DB RD Data input setup time Min tsu RDY BCLK RDY input setup time tsU HOLD BCLK HOLD input setup time th ro DB Data input hold time th BcLk RDY RDY input hold time th BCLK HOLD HOLD input hold time Note 1 Compute bus timing according to BCLK frequency Use the below formula th HoLp BcLk 11 Table 7 6 Timing Requirements Vcc 3 0V M30622SFP Parameter ns M30620T RPD E ns Min tsu DB RD Data input setup time Min tsu RDY BCLK RDY input setup time tsU HOLD BCLK HOLD input setup time th ro DB Data input hold time th BcLk RDY RDY input hold time th BCLK HOLD HOLD input hold time Note 1 Compute bus timing according to BCL
12. 0620TB RPD E Table 3 1 Specifications of M30620T RPD E and M30620TB RPD E Item Description Usable emulator PC4701HS PC4701L PC4700H and PC4700L Usable MCU M16C 62 Group MCUs Usable MCU modes 1 Single chip mode 2 Memory expansion mode 3 Microprocessor mode Evaluation MCU type M30622SFP Emulation pod clock M30620T RPD E Main clock Xin 10MHz Sub clock Xcin 32 768kHz M30620TB RPD E Main clock Xin 16MHz Sub clock Xcin 32 768kHz Maximum operating M30620T RPD E frequency of emulation pod 5 0 16MHz 1 wait 10MHz 0 wait 10MHz 1 wait SMHz 0 wait M30620TB RPD E 5 0 16MHz Other than expansion mode 2 10MHz Expansion mode 2 Power supply range M30620T RPD E 2 7 to 5 5V M30620TB RPD E 4 8 to 5 2V Emulation memory 1 Stack capacity used for emulator Up to 8 bytes Number of intermediate cycles in run time debug 16 byte dump Approx 312 BCLK cycle 16 byte fill Approx 283 BCLK cycle Power supply to M30620T RPD E emulation pod 1 Supplied from an emulator 2 The operating voltage of the emulation pod is determined by detecting the supply voltage of the target system When no target system is connected or when the supply voltage of the target system is more than 5 0V the operating voltage is 5 0V M30620TB RPD E 1 Supplied from an emulator 2 The operating
13. 20TB RPD E cover 2 Replace the screws two on each side holding the M30620T RPD E M30620TB RPD E cover in place 25 47 4 5 Procedure for Writing MCU File You may need to change the contents of the MCU file depending on the MCU being developed The MCU file is in the same directory as the emulator debugger The file name is M30600 MCU for the M16C 60 61 groups or M30620 MCU for the M16C 62 group The MCU file contains the following information SFR area internal RAM area internal ROM area and firmware file name Set these according to the MCU being developed Use your editor to edit the MCU file 0 3FF 400 2BFF F0000 FFFFF M30620B SFR area starting address SFR area ending address Internal RAM starting address Internal RAM ending address Internal ROM starting address Internal ROM ending address Firmware file name Do not edit 26 47 Chapter 5 Method of Connection 5 1 Connecting Emulator Main Unit Use the FLX120 RPD 120 pin flexible cable to connect the emulator main unit and this product Figure 5 1 shows how to connect the emulator main unit and FLX120 RPD Emulator main unit FLX120 RPD CN4 connector PA JE L E fo tet eet 7 7 7 777 7 7 7 7 7 7 7 ME J NS Figure 5 1 Connecting emulator main unit and FLX120 RPD 27 47 Connect FLX120 RPD with M30620T RPD E M30620TB RPD E
14. 701LAN Host machine OS amp version Emulator debugger V Remarks If you have any special request such as your desired delivery period write it down here Technical Support Communication Sheet To Distributor Contact Address Date Total Pages Product Information Company Department Emulator Serial number Responsible person Phone Emulation Pod Serial number FAX Address Emulator debugger Version Serial number Host machine OS amp version Target MCU If this form does not have sufficient space use another sheet of paper to write your information 1
15. K frequency Use the below formula 22 38 47 Figure 7 3 Timing Requirements CAUTION 1 Regardless of the BYTE terminal input level or the port P4o to 4 function select bits of the processor mode register 0 POo to P5 are all high impedance 2 M30620T RPD E and M30620TB RPD E change to high impedance a half cycle after the actual MCU see Figure 7 3 39 47 Chapter 8 Electrical Characteristics Tables 8 1 shows IC electrical characteristics of user s interface Table 8 1 Electrical characteristics of M60074 0111FP PO P57 5 0V Standard values Parameter L level input voltage H level input voltage L level output voltage H level output voltage L level output current H level output current L level input current H level input current Off state L level output current Off state H level output current Input output terminal capacity 40 47 Chapter 9 Maintenance If dust or dirt collects on any equipment of your emulation system wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the equipment s surface coating to separate Chapter 10 Guarantee 10 1 Guarantee The emulation pod presented here has passed Mitsubishi s product inspection If your emulation pod becomes faulty within 12 mo
16. again Notes on Target System Because the emulation pod does not have the capacity to supply power to other devices design your system so that the emulator MCU is powered by the target system Make sure that the target s supply voltage is within the MCU specification and in the range of 27 to 5 5V M30620T RPD B or 4 8 to 5 2V M30620TB RPD E Do not change power supply voltage of the target system after activating the power Before turning on power to anything check the host machine emulator main unit emulation pod conversion board and target system are properly connected Activate power to units as explained here following 1 Turn on and off power to the target system and then the PC4701 continuously 2 After turning on power to the PC4701 check the Target Status LEDs on the emulator front panel to see if the M30620T RPD E M30620TB RPD E is ready to operate s the power supplied Check that Target Status LED POWER is on Isthe reset released Check that Target Status LED RESET is off 10 47 IMPORTANT Notes on Connecting Target System When connecting the FLX100 flexible cable and the converter board be careful not to forcibly press the connector top of the converter board The flexible cable and the converter board are guaranteed for only 20 insertion removal iterations Especially be careful not to insert the converter board in the wrong direction Note on Reset Input from Target Syst
17. any question or doubt about this product contact your nearest Mitsubishi office or its distributor To use the product properly Precautions for Safety Both in the M30620T RPD E M30620TB RPD E 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 The icons graphic images and meanings are given in Chapter 1 Precautions for Safety Be sure to read this chapter before using the product When using outside Japan Q e When using in Europe the United States or Canada be sure to use both the emulator and emulation pod which meet overseas standards EMI standards are not met when M30620T RPD E or M30620TB RPD E is used with the PC4700H or PC4700L emulator Pa 3 47 Contents dise LP CLP UT 6 Things to Check When Unpacking use a ei 7 Chapter 1 Precautions 8 1 1 Safety Symbols and ener 8 1 2 Precautions for Safety s teer e eec om ec pet petite es 9 Warning for Installation 9 Warning for Use Environment 9 le ul Cautions to Be Taken for This Product 9 Caution for Installation 22 sk es essen 9 Important Notes on PC4701 Emulators iee aa a ener enne 10 No
18. cify 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 the M30620T RPD E M30620TB RPD E usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity If you transport the M30620T RPD E M30620TB RPD E with some other means for an unavoidable reason make sure that it is packaged carefully as precision equipment 43 47 Appendix A External Dimensions A 1 External Dimensions of M30620T RPD E M30620TB RPD E o 30 292 515 MS30620T RPD E 193 J Y Seen 140 Je Unit mm M Figure A 1 External dimensions of M30620T RPD E M30620TB RPD E 44 47 A 2 External Dimensions of FLX 100LCC VAIS Unit mm Figure A 2 External dimensions of FLX 100LCC 45 47 Appendix B Connection Diagrams Figures B 1 and B 2 show the connection diagrams of M30620T RPD E M30620TB RPD E These connection diagrams mainly show the interface section with a target system and the circuits which are not connected to the target system such as the emulator s control system are omitted 4 9 INT NT
19. des 1 and 2 The realtime trace function and RAM monitor function are not correctly displayed for areas where there is bank switching in expansion modes 1 and 2 duplex areas Using AD input group selection function When using the AD input group selection function you cannot specify whether to use the AD input for the 24 bits POo to PO7 P2o to P27 and P10o to P107 The respective bits in ports PO P2 and 10 are linked inhibiting AD input For example if you set POo so that AD input is not used P2o and P100 also cannot be used for AD input 30 47 6 2 M30620TB RPD E Constraints 1 Operating voltage Use with a target system with an operating voltage of 4 8 to 5 2V 2 Operating frequency in expansion mode 2 The maximum operating frequency in expansion mode 2 is 10 0MHz 3 Using with PC4701L PC4700L emulator The maximum operating frequency is 14 0M Hz when using the PCA701L PC4700L with the emulator 6 3 M30620T RPD E Constraints 1 Maximum operating frequency Target system with 5 0V power supply and 0 wait 10 0MHz Use M30620TB RPD E for frequencies greater than 10 0MHz 31 47 Chapter 7 Operation Timing 7 1 Bus Timing Separate Bus Tables 7 1 7 2 and Figure 7 1 show bus timing when using separate bus Table 7 1 Bus timing separate bus 5 0 M30622SFP M30620T RPD E Parameter ns M30620TB RPD E ns Max in Max td BcLk apD Address output delay time th BcLk AD Address ou
20. describes the symbols WARNING CAUTION and IMPORTANT 8 47 1 2 Precautions for Safety WARNING Warning for Installation Do not set this product in water or areas of high humidity Make sure that the main unit does not get wet Spilling water or other liquids into the main unit can cause an 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 CAUTION Cautions to Be Taken for This Product Do not disassemble or modify this product as personal Disassembling or modifying this product can cause damage Use caution when handling the main unit Be careful not to apply a mechanical shock Do not touch directly the connector pins of the emulator main unit or the target system connector pins with your hand Do not pull the emulation pod main unit by the FLX120 RPD flexible cable or the FLX100 flexible cable for connecting the target system The flexible boards FLX120 RPD and FLX100 are different from earlier models The slits make them more flexible However excessive flexing or force may break conductors Do not use inch size screws for this equipment The screws used in this equipment are all ISO meter size type screws When replacing screws use same type screws as used on the equipment Caution for Installation o Do not place the main unit on its
21. e Error LED of the emulator main unit lights up Check 1 described above Check whether the emulator main unit and the FLX120 RPD are firmly connected Check whether the FLX120 RPD and the M30620T RPD E M30620TB RPD E is firmly con nected Check whether the M30620T RPD E M30620TB RPD E and the target system are firmly con nected Check whether the power and GND are supplied to the target system Check whether switches of the M30620T RPD E M30620TB RPD E is properly set Refer to chapter 4 for setting switches Check whether the RESET pin and NMI pin are held HIGH when the target system is connected Check whether the HOLD pin and RDY pin are held HIGH when in microprocessor or memory expansion mode Check whether the oscillator circuit of the target system is oscillating correctly when using a target s oscillator Check whether proper firmware is downloaded in the emulator main unit Refer to the user s manual of the emulator debugger about how to download firmware 3 If the PC4701 system does not pass all self checks excluding when an target system error occurs there is the possibility of trouble in the system In such case contact the place of purchase Please take note that self check should be executed under the following conditions a The target system is not connected b The Switch SWS is set to L position SW6 to 16 See Chapter 4
22. ect control register Address match interrupt enable register Protect register Watchdog timer start register Watchdog timer control register Address match interrupt registers 0 1 source pointers 0 1 destination pointers 0 1 transfer counters 0 1 control registers 0 1 Note on Stack This product uses up to 8 bytes of stack 15 47 PMI CMO CMI CSR AIER PRCR WDTS WDC RMADO RMADI SARO SARI DARO DARI TCRO 1 DMOCON DMICON Chapter 2 Introduction M30620T RPD E M30620TB RPD E is used by being connected to the PC4701 emulator main unit Figure 2 1 shows the system configuration Emulator debugger Host machine M30620T RPD E RS 232C interface M30620TB RPD E Parallel interface LAN interface Figure 2 1 System configuration Following products 1 to 4 are attached to M30620T RPD E M30620TB RPD E 1 Emulation pod M30620T RPD E M30620TB RPD E This emulation pod contains emulation memory and debug functions 2 Flexible cable FLX120 RPD This 120 pin flexible cable connects the PC4701 and the emulation pod 3 Flexible cable FLX100 This 100 pin flexible cable connects the emulation pod and the target system 4 Converter board FLX 100LCC This board is connected to a socket for 100LCC on the target system 16 47 Chapter 3 Specifications Table 3 1 lists the specifications of M30620T RPD E and M3
23. em The reset input from the target system is accepted only during program execution while the RUN signal lamp on the PC4701 is lit Note on HOLD Input from Target System e Input an L level signal into the HOLD pin only during program execution Doing so while the program is stopped or during run time debugging may cause the emulator to malfunction Note on Address 0 Access With the M16C 62 group MCU when a maskable interrupt is generated the interrupt data interrupt No and interrupt request level stored in address 0 is read out Also the interrupt request bit is cleared when address 0 is read out Consequently when the address 0 read out instruction is executed or when address 0 is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite the interrupt request because the request bit of the highest priority interrupt factor enabled is cleared Therefore with the M30620T RPD E M30620TB RPD E if address 0 is read out for anything other than interrupt processing the yellow LED lights up as a warning When this LED lights up there is the possibility of illegal access to address 0 therefore check the program This LED is extinguished from the emulator reset switch 11 47 IMPORTANT Notes on Differences between Actual MCU and Emulator Emulator operation differs from mask MCU operation as listed below 1 Reset condition 2 Initial values of inter
24. emulator The PC4701 emulator system is configured with the emulator main unit an emulation pod an emulator debugger and a host machine Emulator debugger This means a software tool to control the emulator from the host machine through an interface Emulator debugger PD30 V 3 00 Release 1 or later Host machine IBM PC AT or compatible OS Windows 95 or Windows NT 4 0 CPU 486DX4 100MHz or Pentium 75MHz or faster recommended Memory 32MB or more Target MCU This means the microcomputer you are going to debug Target system This means a user s application system using the microcomputer to be debugged 6 47 Things to Check When Unpacking M30620T RPD E M30620TB RPD E consists of the following parts and manuals When unpacking check to see if your M30620T RPD E M30620TB RPD E package contains all of these items Product name and type Quantity M30620T RPD E or M30620TB RPD E Emulation pod Flexible cable for connecting PC4701 emulator Screws for connecting PC4701 emulator FLX100 Flexible cable for connecting target system already connected FLX 100LCC Converter board for the 100LCC package OSC 2 Oscillator circuit board M30620T RPD E M30620TB RPD E English user s manual this manual M30620T RPD E M30620TB RPD E Japanese user s manual If any of these items are missing or found faulty please contact the distributor Also if there is any question or doubt about the packaged
25. multiplex bus Vec 5 0V M30622SFP M30620T RPD E Parameter ns M30620TB RPD E ns Max in Max td BcLK AD Address output delay time th BcLk aD Address output hold time BCLK th RD AD Address output hold time RD th wr AD Address output hold time WR td BcLk cs Chip select output delay time th BcLk cs Chip select output hold time 1 th Rp cs Chip select output hold time RD th wr cs Chip select output hold time WR td BcLk RD RD signal output delay time th BcLk RD RD signal output hold time td sc k wR WR signal output delay time th BcLk wn WR signal output hold time td BcLK DB Data output delay time BCLK th BcLk bB Data output hold time BCLK td pB wr Data output delay time WR th wn bB Data output hold time WR td BCLK ALE ALE signal output delay time BCLK th BcLk ALE ALE signal output hold time BCLK Note 1 Compute bus timing according to BCLK frequency Use the below formula tcyc 2 4 th wr ap tcyc 2 4 th rp cs tcyc 2 4 th wr cs tcyc 2 4 tcyc x 3 2 40 tcyc 2 4 Note 2 Compute bus timing according to BCLK frequency Use the below formula td ps wr X 3 2 41 35 47 Table 7 4 Bus timing multiplex bus 3 0 M30622SFP Parameter ns M30620T RPD E ns td BcLi AD Address output delay time
26. nal resource data at power on 3 Internal RAM and ROM capacities etc 4 Ports PO to P5 Of the M30620T RPD E M30620TB RPD E s ports ports PO P5 are connected to the target system through the port emulation circuit inside M30620T RPD E M30620TB RPD E Table 1 1 gives the device which uses these ports Table 1 1 The device used by the ports Port device PO P5 M60074 0111FP 5 Writing into pullup control registers 0 and 1 addresses 03FC s respectively To write into pullup control registers 0 and 1 addresses respectively it is necessary to write the word data from address This is an M30620T RPD E M30620TB RPD E restriction 6 Ports P5 P5 To enable pullup when setting bit 2 PUR12 of the pullup register 1 to 1 in single chip mode be sure to set the bit 2 PMO2 and bit 7 PM07 of the processor mode register 0 to 0 This is an M30620T RPD E M30620TB RPD E restriction 7 BCLK output disable To disable the BCLK output it is necessary to set BCLK output disable bit 7 of processor mode register 0 address 000416 to 1 and to set bit 3 of the port P5 direction register address to 0 This is an M30620T RPD E M30620TB RPD E restriction 8 Hold control When an T level signal is input to the terminal HOLD and the terminal enters the hold state in actuality ports PO to P5 enter the hold state o
27. ne half cycle later than MCU see Chapter 7 Operation Timing 9 A D converter converter characteristics differ from actual MCU characteristics because the flexible board and other elements are used between the emulation MCU and user s target 10 Status while the program is stopped In a system using the PC4701 the loop iteration at the address F8000 establishes and maintains the status during program stop Also when debug commands are issued to check or edit memory data addresses F8000 s to F83FF s and addresses F6000 to F63FF s are used as work area For this reason when the CSO output is enabled in the microprocessor mode the CSO signal is output 12 47 IMPORTANT 11 About the actual MCU output and the emulator output Table 1 2 Differences between actual MCU and emulator outputs Access area SFR area Address Actual MCU Output M30620T RPD E M30620TB RPD E Output Item with different outputs Data Output Floating during read operations Floating RD WR Output WR Low at write cycle RD Low at read cycle No output High output fixed CS No output High output fixed No output High output fixed No output Low output fixed Output Output Output Internal RAM area Internal ROM area Previous status maintained Output Floating Floating No output High output fixed No output High output fixed
28. nths after purchase while being used under good conditions by observing the Precautions for Safety described in Chapter 1 here Mitsubishi will repair the fault free of charge This provision does not apply to emulation pods leased to you When repair is required contact your nearest of Mitsubishi office or its distributor 10 2 Repair Provisions If a fault in your equipment falls under one of the following categories the fault will be corrected by replacing the entire equipment instead of repairing depending on the severity of fault Faulty or broken mechanical section Flaw separation or rust in coated or plated section Flaw or crack in plastic section Fault or breakage caused by incorrect use or unauthorized repair or modification Heavily damaged electric circuits due to shorting of power supply overvoltage or overcurrent Crack in printed circuit board or burned down patterns Broad range of fault making replacement less expensive than repairing Unlocatable or unidentifiable fault 41 47 Chapter 11 Troubleshooting 11 1 When M30620T RPD E M30620TB RPD E Does Not Work Properly 1 Emulator main unit cannot be powered up Check to see if the AC power cord is firmly plugged into the receptacle Check to see if the AC power 3P 2P converting connector is firmly connected 2 The M30620T RPD E M30620TB RPD E does not start up when the target system is connected with the PC4701 system Th
29. orporation and Mitsubishi Electric Semiconductor Systems Corporation For inquiries about more information or questions and doubts about the contents of this manual contact your nearest office of Mitsubishi or its distributor Precautions to Be Taken When Using This product This product is a development support tool you can use in your program development and evaluation steps When development of your program is completed always be sure to verify its operation by board based evaluation and test before putting it into mass production Mitsubishi will not assume any responsibility for the results arising from the use of the product Mitsubishi will respond to customer requests for the product with expenses borne by Mitsubishi or the customer as follows 1 Repair or replacement of the product when it is found faulty 2 Modification of nonconformity when the product contains nonconformity 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 equipment control laws and protection against electromagnetic interference when used in Japan 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 Do not attempt to modify this equipment If modified your authority to operate thi
30. products contact your distributor CAUTION Please keep the M30620T RPD E M30620TB RPD E 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 the M30620T RPD E M30620TB RPD E 7147 Chapter 1 Precautions for Safety In both the M30620T RPD E M30620TB RPD E 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 the product safely and properly Be sure to read this chapter before using this product 1 1 Safety Symbols and Meanings If the requirements described in the WARNING section are G ignored the equipment may cause serious personal injury or death C A TI If the requirements described in the CAUTION section are U ignored the equipment may malfunction B RT A NT Notes containing important information on using this product In addition to the above the following are also used s means WARNING or CAUTION Example _ AN CAUTION AGAINST AN ELECTRIC SHOCK amp means PROHIBITED Example GO DISASSEMBLY PROHIBITED means MANDATORY ACTION Example T UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages
31. recommended by the maker of the oscillator circuit 11 4 GND 41 3 Oscillator output 41 2 GND 41 1 Vee N Figure 4 2 External view of oscillator bare board OSC 2 and connector pin assignments 22 47 R1 nes Ka J1 1 X TATE gt Bypass capacitor Fall nes Te 13 12 GND tuts J1 4 Je zu GND 77 Inverter unbuffer XTALI Ceramic oscillator Figure 4 3 Circuit of oscillator board OSC 2 Figure 4 4 shows how to replace the oscillation board a Remove the screw locking the oscillation board in place b Lift the board directly up and out of the product c Plug the J1 connector of the new oscillation board into the J7 connector on the M30620T PRT board d Lock the board to the M30620T PRT board with the screw Oscillation board I JI connector of the oscillation board lt V connector M30620T PRT M Figure 4 4 Replacing oscillator board 23 47 2 Using target system s oscillator a To operate the emulator with an external clock construct the oscillation circuit shown in Figure 4 5 in the target system and input the oscillation output 40 6096 duty within the operating range of the emulator s MCU into the Xin Xcin pin b Make note of the fact that in the oscillation circuit shown in Figure 4 6 where a resonator is connected between the Xin Xcin and Xout Xcout pins oscillation does not occur becau
32. s equipment might be voided by FCC Note This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Warning This is a Class A product In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures 2 47 Preface M30620T RPD E and M30620TB RPD E are emulation pods for M16C 62 group of Mitsubishi 16 bit microcomputers M30620T RPD E M30620TB RPD E is used by being connected to the PC4701 emulator PC4701HS PC4701L PC4700H or PC4700L and is controlled by the emulator debugger This manual mainly explains specifications and setting up of M30620T RPD E M30620TB RPD E For detail information about the PC4701 emulator and the emulator debugger refer to each user s manual To check the components of this product refer to Things to Check When Unpacking in this manual If there is
33. se a flexible cable buffer IC and other devices are used between the evaluation MCU and the target system c Use the PD30 emulator debugger to set CLK to EXT For details see the user s manual of the PD30 emulator debugger Evaluation MCU Evaluation MCU Xout Xout Xin Oscillation circuit M M Fig 4 5 External oscillator circuit Fig 4 6 Circuit for no oscillation in this pod 24147 4 4 Procedure for Setting Switches and Jumper Pins 1 You must remove the cover of M30620T RPD E M30620TB RPD E in order to set the switches and jumper pins To do so remove the four screws holding the top cover There are two screws on each side see Figure 4 7 Be sure to turn OFF the power before attempting to change the switch and jumper pin settings If the power is ON you may damage the circuits M P Figure 4 7 Removing M30620T RPD E M30620TB RPD E upper cover 2 After removing the cover set the jumper pins and switches referring to Table 4 1 for the jumper pin settings and Table 4 2 for the switch settings To make the switch settings in Table 4 3 and the jumper pin settings in Table 4 4 you must remove the M30620T PRT board 3 After setting the switches replace the cover by reversing the procedure for its removal If you have set the switches as indicated in Table 4 3 replace the M30620T PRT board before replacing the cover 1 Replace the M30620T RPD E M306
34. side when in use 9 47 IMPORTANT Notes on PC4701 Emulators The PC4700H emulators whose serial number ends with a number cannot be used with M30620T RPD E M30620TB RPD E Use only products whose serial number ends with a letter of the alphabet The serial number is on the bottom of the PC4700H Example SKE100 Can NOT be used with M30620T RPD E M30620TB RPD E Requires an upgrade Example SLE123B Can be used with M30620T RPD E M30620TB RPD E Do not turn off the power when downloading firmware If the emulator is powered off in the middle of the process it will become unable to start up normally In cases when the power is inadvertently shut off re execute downloading Notes on Abnormal Operation f the PC4701 system does not pass all self checks excluding when an target system error occurs there is the possibility of trouble in the system In such case contact the place of purchase Please take note that self check should be executed under the following conditions 1 The target system is not connected 2 The Switch SWS is set to L position SW6 to 16 see Chapter 4 If the emulator malfunctions due to external interference or some other causes follow the steps given below 1 Press the system reset switch located on the front panel of the emulator 2 If the emulator does not return to the normal operation despite the step 1 above turn off the power source of the emulator turn it on
35. straints 1 2 3 4 5 6 7 8 9 instruction The instruction cannot be used Software and hardware breaks a Do not set simultaneous software and hardware breaks b Do not use software breaks for areas for which the MAP setting is EXT Using multiplex bus with PCA701L PC4700L emulator You can only use Fetch as a hardware break condition for the multiplex bus area Using address match interrupts a Do not set a software break at the same address as you have set an address match interrupt b Do not set a hardware break within the 4 bytes leading up to the address at which an address match interrupt is invoked c When the address at which an address match interrupt occurs is achieved by one step execution the address match interrupt processing and the first command on return from the interrupt are executed simultaneously Software resets Do not use software resets Watchdog function If using the watchdog function you can only use program execution If you want to use debugger functions other than program execution disable the watchdog function Developing MCUs with 256K ROM and 20K RAM The following three settings must be made Set the processor mode register 1 address 5H bit 3 PM13 in your program to 1 b Use the emulator debugger to change the work area to SCOOH c If using expansion mode 1 change the MAP setting for address 4000H to SFFFH to INT Using expansion mo
36. tems Corporation reserve the right to make changes without notice for improvements on characteristics etc Please contact your nearest office of Mitsubishi or its distributor to get the latest information about the product described here before making your final decision to purchase as necessary Using technical information shown in the product data drawings and tables programs and algorithms contained in this manual you must evaluate not only technological contents programs and algorithms by stand alone but also the overall system and judge whether they are applicable or not on the your own responsibility Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Systems Corporation shall have no liability for whether they are applicable or not Mitsubishi semiconductor products are neither designed nor manufactured with any intention or whatsoever to cause hindrance to social systems or a threat to human life When you plan to use the product described here in special applications such as transport or moving vehicles medical aerospace or nuclear control or submarine repeaters or systems please consult your nearest office of Mitsubishi or its distributor This manual may not be copied in whole or part without the written consent of Mitsubishi Electric Corporation and Mitsubishi Electric Semiconductor Systems Corporation This manual may not be copied in whole or part without the written consent of Mitsubishi Electric C
37. tes on Abnormal Operation essere nennen 10 Notes on Target System rer UR ERE reed 10 Notes on Connecting Target System 11 Note on Reset Input from Target System 11 Note on HOLD Input from Target System sese 11 N te on Address Q ACCESS set ee Rte 11 Notes on Differences between Actual MCU and Emulator 12 Notes on MAP Settings and References sse 14 Notes on Reading MCU Internal Sources urnsrsnesnnesnesnnennesnnennennennnennnennen nn 15 Note on Stack pem pi ene ien redi tee redet 15 Chapter 2 Introd cti n sesto oot s petet pet eoe 16 Chapter 2 Specifications eis in ia 17 Chapter 4 Settings for Target Systems 18 4 1 Positions of Switches and Jumper Pins eene 18 42 Settingsaci uo ee gu ERE OSUGIERE 19 4 3 Procedure for Setting Oscillation Frequency eene 22 4 4 Procedure for Setting Switches and Jumper Pins eese 25 4 5 Procedure for Writing MCU File sese 26 Chapter 5 Method of Connection Hr EI 2T 5 1 Connecting Emulator Main Unit eese nennen 27 25 2 Connecting Target System 4 tnc een seas est nr ee egenis 29 Chapter Constantin 30 6 1 M30620T RPD E and M30620TB RPD E Constraints
38. tput hold time BCLK th Rb AD Address output hold time RD th wr AD Address output hold time WR td BcLk cs Chip select output delay time th BcLk cs Chip select output hold time 1 td BCLK ALE ALE signal output delay time th BCLK ALE ALE signal output hold time td BcLi RD RD signal output delay time th BcLi RD RD signal output hold time td BcLi wR WR signal output delay time th BcLk wn WR signal output hold time td BcLi bB Data output delay time BCLK th BcLi bB Data output hold time BCLK td pB wr Data output delay time WR th wn bB Data output hold time WR Note 1 Compute bus timing according to BCLK frequency Use the below formula td ps wr tcyc 2 40 no wait td ps wr 40 with wait 32 47 Table 7 2 Bus timing separate bus 3 0 M30622SFP M30620T RPD E Parameter ns ns Max in Max td BcLi AD Address output delay time th BcLicAD Address output hold time BCLK th RD AD Address output hold time RD th wr ap Address output hold time WR td BcLk cs Chip select output delay time th BcLk cs Chip select output hold time BCLK td BCLK ALE ALE signal output delay time th BCLK ALE ALE signal output hold time td BcLk RD RD signal output delay time th BcLk RD RD signal output hold time td BcLk wR WR signal output delay time
39. voltage of the emulation pod is supplied by the emulator main unit The operating voltage is 5 0V Connection with target system See 5 2 Connecting Target System page 29 Operating temperature range 5 to 35 C no dew Storage temperature range 10 to 60 C Overseas standards EMI standards FCC part15 Class A CE marking EN55022 EN50082 1 17 47 Chapter 4 Settings for Target Systems 4 1 Positions of Switches and Jumper Pins Figure 4 1 shows positions of switches and jumper pins of this product FL X1O0 1 SW2 SW3 SW4 SWS SV6 SW7 Figure 4 1 Positions of switches 18 47 4 2 Settings To debug target systems with this product set the switches in this product Tables 4 1 4 4 give lists of switch settings Table 4 1 Jumper Switch JP settings Function JP Settings A D input group selection OFF OFF To Use A D input group Nottouse A D input group selection selection Factory setting CAUTION Be sure to turn off the power before setting the switches Otherwise the internal circuits may be damaged 19 47 Table 4 2 Switch SW settings P86 Xeovr SW2 To use Port P87 To use Xc n terminal PORT Xen P8 P87 PORT To use Xcourterminal Factory setting To open To connect Xour terminal gt OPEN x
40. ystem shifting from single chip mode to memory expansion mode or microprocessor mode 2 When the 4 bytes from OFFFCis to OFFFFis are set to EXTERNAL in a system started in microprocessor mode and there is no read write enabled memory in the external area Use the following MAP setting procedure when either of the above conditions 1 or 2 are true 1 Set the 4 bytes from bytes from OFFFC16 to OFFFFis to INTERNAL 2 Execute the PD30 A debugger RESET command 3 Set the stack pointer Example RESET FCLRI LDC 480H SP lt stack pointer setting STOP the program after executing this command 4 Set the 4 bytes from to OFFFF c to EXTERNAL 14 47 IMPORTANT Notes on Reading MCU Internal Sources When this product is configured with the emulator debugger the following results occur when reading the registers listed in Table 1 3 Data is not displayed correctly but internal data is not affected at all 1 Real time tracing Data values in the MCU internal resource read cycle are not displayed correctly 2 Real time RAM monitoring Data is not displayed correctly This happens because data read from the MCU internal source is not output to an external point When data is written into an MCU internal source the data input from the external point is displayed correctly Table 1 3 Registers and signals Register Processor mode registers 0 1 System clock control registers 0 1 Chip sel

Download Pdf Manuals

image

Related Search

Related Contents

取扱説明書  Bedienungsanleitung  トラブル解決ガイド    User manual  LEVANCIO 取扱説明書-基本編-(第4版) 追補版  

Copyright © All rights reserved.
Failed to retrieve file