Home

Renesas M34502T-MCU User's Manual

image

Contents

1. 22242202200nsennensennennne nennen 35 PACMB4 5 OUT PAC iras iia 35 Appendix A How to Request for Repair uuseesssnersesnnennesnnennennennnennennnennennnennennnennnennn 36 3 38 Preface This user s manual describes the specifications of the M34502T MCU emulator board for Renesas 4501 4502 4506 4507 and 4580 Groups of 4 bit single chip MCUs The M34502T MCU is an MCU board for the PC4504 system used by installing on the PC4504 emulator main unit For emulator main unit PC4504 and emulator debugger M3T PD45 refer to each user s manual To use the product properly Precautions for Safety O e In both this 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 e The icons graphic images and meanings are given in Chapter 1 Precautions for Safety Be sure to read this chapter before using the product 4 38 1 Precautions for Safety 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 1 1 Safety Symbols and Meanings If the requirements shown in the WARNING AN
2. Rev 2 00 July 1 2004 REJ10J0273 0200Z ENESAS M34502T MCU MCU Board for PC4504 Emulator System User s Manual Renesas Technology www renesas com MS DOS is a registered trademarks of Microsoft Corporation in the U S and other countries IBM and AT are registered trademarks of International Business Machines Corporation 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 property 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 o
3. 20P2N A a Connecting to the IC Socket for 20 pin SDIP on the Target System Attach the 26 wire normal pitch cable included to pitch converter board M34501T PTC to connect the M34501T MCU board with the IC socket for 20 pin SDIP on the target system Figure 4 10 shows the connection to the target system using the M34501T PTC And Figure 4 11 shows the pin assignments of the M34501T PTC The following products are required for connection to the target system e 60 wire half pitch cable 40 cm e Pitch converter board PCA4029 e 26 wire normal pitch cable 10 cm e Pitch converter board M34501T PTC Table 4 9 lists the connector signal assignments of pitch converter board M34501T PTC The pin assignments of the M34501T PTC is the same as for the 20SDIP of the 4501 and 4506 Groups When connecting pitch converter board M34501T PTC check the No 1 pin positions of the cable and the connector To avoid damage to the emulator and target system be careful of the connection 20 pin shrink socket 20 pin shrink pin PM 6 MAC EIGHT Co Ltd SY 008 MAC EIGHT Co Ltd Target board Figure 4 10 Connecting to an IC socket for 20 pin SDIP 21 38 Table 4 9 M34501T PTC pin assignments N M34501T PTC J2 EVoop EPOo Vss EPO NC Xin 2 EP02 NC Xour EPOs NC CNVss EP1o ERESET EP11 EP24 A nt EP12 CNTR EP20 A no EP13 INT EDs EDo ED2 ED EVm does not
4. POINT TABP POINT TABP POINTA TAM 0 POINTA TAM 0 A breakpoint set at address POINT causes execution to halt immediately before address POINTA in only the case of the instruction shown on the right side Program example 5 6 RC Skip instructions INY POINT TABP LA 0 If a break with pass count is set at address POINT the count is taken and execution is halted only when the instruction at address POINT is executed 30 38 5 10 External Trigger Signal 1 External trigger signal input timing The latch timing of the external trigger signal is shown in Figure 5 3 Instruction Next Instruction i i O T i ea Bi TMT System clock XIN External trigger signal TRIG Figure 5 3 Latch timing of external trigger signal 2 External trigger signal input characteristics Trigger breaks work according to the condition leading edge trailing edge of signals input from the external trace cable The external trigger signals of the trace points and the external trigger signals of the break points use the same signals The input characteristics of the external trigger signals are shown in Table 5 4 below See the table before using external trigger signals Table 5 4 External trigger signal input characteristics 2 0 V z 15V 45V 3 15 V 2 0 V 45V H level voltage Vin L level voltage 5 11 Other Precautions With the M34502T MCU if any of the following r
5. 38 1 Connector J3 Table 4 5 lists the pin assignments of the 60 wire half pitch connector J3 for connecting the PCA4029 And Figure 4 5 shows the connector J3 pin layout Table 4 5 Pin assignments of the 60 wire half pitch connector J3 for connecting the PCA4029 Signal 1 O Pin No Signal I O Pinno Signal 1 O Pin No Signal 1 0 P30 Ama P31 Ains EPOo EPO EP02 EPOs EP10 EP11 _ i _ i XouT CNVss ERESET EP21 Am1 EP20 Amo EDs EP12 CNTR EDs EP1s INT EDs EDo ED2 ED NC NC NC NC NC NC 2 3 4 5 6 7 8 9 O O X O O A O0O N O oOINI OD oO AJOJN O OINI ODO a AJOJN o o o o In the I O column I denotes Input O denotes Output I O denotes Input output denotes Not connected 15B 15A 14B u 3A 2B 2A 1B 1A 15D 15C 14D eese 3C 2D 2C 1D iC Figure 4 5 Connector J3 pin layout 17 38 2 Connector J4 For the connector J4 for the external trigger signal use the 2 wire external trigger signal cable included with your M34502T MCU Connect the black clip of the external trigger cable to GND and use the white clip for an external trigger signal input Use the external trigger signal as an external trigger break or an event input of the trace point by the external trigger Table 4 6 lists the pin assignments of the connector J4 Table 4 6 Pin assignments of the connector J4 Exter
6. HC4066 PAIZAINI J3 7C osc 2 U 3 40 j tcp HC4066 Lp s a GUNVSS 4 13 56 74HCUD4 3 RI a R2 10ko iS EFE Mn 12 41d el el ADF 250NWA Rie a dez 1022 10k02 HC 4050 J 2 J5 3 J5 4 EER ADFIDONW del an Here x x ERESET J2 6c x Control signal J3 3D J3 4D 8 31 J3 6D 31870 J3 8D J3 9D J3 10C 1052 2 ALS540 e J3 11D J3 12D J3 12C JSC J3 10C JE zuj 1 18 1c51 16 ALS641 a B A 3 HEV gy i Y J2 2A B C TE c c Ic44 ALS641 15 p AS 6 1020 10 HC4050 jp lo T l Ica Facacso 1043 16 aLs641 15 gt jajajaja Jeje Figure 6 1 Connection circuit diagram of the M34502T MCU 33 38 MEMO 34 38 7 External Dimensions of the Pitch Converter Board 7 1 M34501T PTC Figure 7 1 shows the external dimensions of the M34501T PTC 15 00 mm ee ee D an OO 40 00 mm 4 Figure 7 1 External dimensions of the M34501T PTC 35 38 Appendix A How to 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 y that information in the Repair Request Sheet is written in as
7. Output Ports D PO and P1 in the RAM Backup Mode With an actual MCU the state of ports immediately before the RAM backup mode is retained while with the M34502T MCU it is not retained a restriction of the M34502T MCU With the M34502T MCU in the RAM backup mode ports D PO and P1 are held HIGH and when returned from the RAM backup mode they retain their previous state Therefore to evaluate a system which needs ports D PO and P1 to be held LOW in the RAM backup mode you need an evaluation MCU OTP version 2 RAM Operation of the M34502T MCU Though the actual chip is placed in the RAM backup mode by executing a combination of EPOF and POF or POF2 instructions the M34502T MCU is placed in the RAM backup mode by only either POF instruction or POF2 instruction In the M34502T MCU the EPOF instruction does not have any effect Program example 5 1 RC Actual MCU INY The RAM backup mode works EPOF POF M34502T MCU The RAM backup mode works Program example 5 2 RC Actual MCU INY The RAM backup mode does NOT work POF A M34502T MCU The RAM backup mode works 28 38 5 9 Program Execution G GB According to the specifications of the PC4504 and M34502T MCU there are following restrictions concerned to the operation of the program execution commands G and GB commands 1 Continuous description of instructions Hardware breakpoints set in a continuous desc
8. input the power supply from the target system but outputs it to the target system from the power circuit on the M34502T MCU 2 Xn is input from oscillator circuit board OSC 2 on the M34502T MCU and cannot be input from the oscillator circuit on the target system We 26 20o coco0o0000000ll1 14 0000000000000 o000000000000 1 1 eooooooo o o0j10 13 Figure 4 11 Pin layout of the M34501T PTC 22 38 4 7 LED Some signals connected to the target system are emulated on the M34502T MCU For details see 6 Connection Circuit Diagram of the M34502T MCU 1 Pins connected directly to the target system 2 types 3 lines e P30 P31 e Vss 2 Pins connected to the target system via emulation circuits and other devices 6 types 18 lines e POo to PO3 e Plo to P13 e P20 P21 e Do to Ds RESET e EVpp 3 Pins not connected to the target system 3 types 3 lines e Xin e XouT e CNVss For 4501 4506 and 4580 Group MCUs the ports P3o and P3 are not connected to the target system when the M34501T PTC is mounted 2 For 4501 4506 and 4580 Group MCUs the ports D4 and Ds are not connected to the target system when the M34501T PTC is mounted 3 EVop does not input the power supply from the target system but outputs it to the target system from the power circuit on the M34502T MCU The output ON OFF and the power supply 3 V 5 V of EVoo are changed by the switches SW1 and SW3 respec
9. 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 y Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience N CAUTION Note on Transporting the Product Q e 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 36 38 M34502T MCU User s Manual Rev 2 00 July 1 2004 REJ10J0273 0200Z COPYRIGHT 2003 2004 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED ENESAS RenesasTechnology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
10. 40 cm 26 wire normal pitch cable 10 cm 2 wire cable for external trigger signal 50 cm PCA4029 pitch converter board OSC 2 oscillator circuit board J1 connector mounted M34501T PTC pitch converter board M34502T MCU user s manual this manual The M34502T MCU has an oscillator circuit board OSC 2 for 4 19 MHz that is incorporated when shipped from the factory In addition it comes with an oscillator circuit board OSC 2 with only aconnector J1 mounted 2 Keep the packaging carton and cushion material of the M34502T MCU to transport it for repair or for other purposes in the future 3 If you find any item missing or faulty or any suggestion contact your local distributor 3 2 Other Necessary Products To bring forward programs development on the 4501 4502 4506 4507 and 4580 Group of 4 bit MCUs the products given below are necessary in addition to those contained in the package above Get them separately to be ready when necessary 1 Emulator main unit PC4504 2 Emulator debugger M3T PD45 3 Programming adapter MS4238 20F for serial programming 4501 4506 and 4580 Group MCUs MS4502 24F for serial programming 4502 and 4507 Group MCUs 4 Serial programmer MSP I or EFP I The programming adapters and the serial programmers listed above are products of Suisei Electronics System Co Ltd For details on products contact Suisei Electronics System Co Ltd http w
11. WARNING sentences are ignored the equipment may cause serious personal injury or death If the requirements shown in the CAUTION AN CAUTION sentences are ignored the equipment may malfunction IMPORTANT EE important information on using this In addition to the three above the following are also used as appropriate Z means WARNING or CAUTION Example CAUTION AGAINST AN ELECTRIC SHOCK means PROHIBITION Example DISASSEMBLY PROHIBITED means A FORCIBLE ACTION Example 2 UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 5 38 N WARNING Warning for Installation e Do not set this product in water or areas of high humidity Spilling water or some other liquid into N 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 AN CAUTION Cautions to Be Taken for This Product O e Do not disassemble or modify this product Disassembling or modifying this product can cause damage e Use caution when handling the main unit Be careful not to apply a mechanical shock e Do not pull the emulator by the probe 60 wire half pitch cable or 26 wire normal pitch cable e Do not use inch size screws for this equipment The screws used in this equipment are
12. all ISO meter size type screws When replacing screws use same type screws as equipped before 6 38 IMPORTANT Notes on Differences between an Actual MCU and the Emulator e Emulator operation differs from emulation of a mask MCU as listed below For details refer to 5 Precautions to Be Taken When Debugging 1 Reset condition 2 Initial values of internal resource data at power on 3 Internal ROM and RAM capacities etc 4 Electrical characteristics 5 Operation in the RAM backup mode 6 Operation of the watchdog timer function 7 Port VO Timing e Therefore always be sure to evaluate your system with an evaluation MCU OTP version Also be sure to perform board mounted evaluation with an ES Engineering Sample version MCU to make final confirmation of device operation before starting mask production Note on the Target System e Make sure that the target s supply voltage specification is 3 0 V or 5 0 V Therefore the target s supply voltage should be in the range of 3 0 V 10 or 5 0 V 10 Notes on Connecting the Target System e When connecting the emulator probe be careful to the wrong connection e When connecting the emulator probe be careful to a warp of the cable The warp may cause breaking the wire 7 38 MEMO 8 38 2 Handling Precautions When using the M34502T MCU board pay attention to the following 1 About the emulator To use the M34502T MCU board instal
13. esas 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 If 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 or 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 develo
14. estrictions applies it is necessary to evaluate the system by an evaluation MCU OTP version 1 The system which uses RESET output cannot be evaluated 2 The system which uses low power detection function cannot be evaluated 3 The operation cannot be checked by a power on reset 4 After resetting it is not possible to change to the ceramic oscillation or CR oscillation by starting up from the on chip oscillator After resetting the system operates by the system clock of the M34502T MCU 5 As the operating voltage of the M34502T MCU is 3 V or 5 V the results of the A D conversion may differ from the theoretical values because of the difference with the voltage of the target system 6 With the M34502T MCU it is not possible to evaluate the system which uses the multi comparator function for 4580 Group 31 38 MEMO 32 38 6 Connection Circuit Diagram of the M34502T MCU Figure 6 1 shows the connection circuit diagram of M34502T MCU This circuit diagram depicts the M34502T MCU connection centering on circuits connected to the target system Emulator control blocks and other similar circuits that are not connected to the target system are omitted in this diagram VSS M34502E4FP SB Fr J3 2C Fan J3 1A 15A vonH vss a XIN 1010 ICNVSS P30 AIN2 POI AING J3 1D J3 2D HC4066 Ped AINO J3 8C cele tre HC4066 HH J3 13 150 D 3 AM 13 30
15. l it on the PC4504 emulator main unit 2 About the MCU board installation Before installing and removing the MCU board always be sure to power off the PC4504 emulator main unit and unplug its power cord from the outlet For details on how to install and remove the MCU board see Chapter 2 Setup in the PC4504 System User s Manual 3 Emulator debugger M3T PD45 When using the M34502T MCU board to debug your program you need emulator debugger M3T PD45 sold separately Be sure to use the data file for 4501 4502 or 4580 Group included with emulator debugger M3T PDAS 4 Registers that can be operated from M3T PD45 Tables 2 1 and 2 2 list the registers that can be operated from M3T PD45 Table 2 1 Registers that can be operated for 4501 4502 4506 and 4507 Group MCUs Register Reference Modification Register Reference Modification 9 38 Table 2 2 Registers that can be operated for 4580 Group MCUs Register Reference Modification Register Reference Modification 10 38 3 Contents of the Package 3 1 Package Components of the M34502T MCU Table 3 1 shows the contents of the M34502T MCU package When unpacking your M34502T MCU package check to see that all of these components are included Table 3 1 Contents of the M34502T MCU Product name Quantity M34502T MCU 60 wire half pitch cable
16. lation circuit constant consult your oscillator manufacturer 5 3 Real time Capability of Timer The PC4504 and M34502T MCU have their internal clock operating even during emulation so that the timer values keep changing Example 1 When single stepping the program 2 When registers or internal RAM are referenced or modified 25 38 5 4 Watchdog Timer The M34502T MCU does not have an operational watchdog timer Therefore use an evaluation MCU OTP version to verify the operation associated with a watchdog timer The M34502T MCU outputs a signal whose waveform is shown below from the check pin TP5 during WRST instruction execution cycles This signal allows you to check the initialization cycle of a watchdog timer WRST instruction Next instruction Tii T Di E TZ 78 XIN WRST Figure 5 1 Waveform output from check pin TP5 5 5 Port I O Timing 1 Port input timing Port input timings are the same as with each actual MCU 2 Port output timing The output timings of the following ports are different from those of actual MCUs because of the emulation circuits configured with the ports of the M34502T MCU e Ports Do to Ds e Ports POo to PO e Ports Plo to P13 With actual MCUs the changes occur at the beginning of the T3 state of an output instruction while with the M34502T MCU the changes occur at the beginning of the T2 state of the next output instruction Figure 5 2 shows the port output
17. mode Medium speed mode High speed mode 4 4 MHz Target system voltage 3Vor5V Power supply Supplied by the PC4504 s internal power supply 5 V 12 V Port emulation Port Output type Direction Device used Do Ds Input output N channel InBit rtsn Input 74HC4050 open drain P p Output 74LS06 POo POs P1o P1s Input output P2o P21 Input output Input output 74HC4066 Board dimensions 233 D x 135 W x 1 6 H mm Operating temperature 5 to 35 C no dew Product configuration M34502T MCU e 60 wire half pitch cable e 26 wire normal pitch cable External trigger cable PCA4029 OSC 2 for changing frequencies e M34501T PTC The M34502T MCU has an oscillator circuit board OSC 2 for 4 19 MHz that is incorporated when shipped from the factory In addition it comes with an oscillator circuit board OSC 2 with only a connector J1 mounted And the M34502T MCU operates in the default mode instruction clock f Xm 8 immediately after a RESET is released 14138 4 3 Switches Figure 4 3 shows the positions of switches of the M34502T MCU Table 4 2 lists the functions of the switches and their factory settings M34502T MCU REV A J3 60P 501 502 N sw4 SW1H VDD 580 OFF Figure 4 3 Positions of switches Table 4 2 Functions of switches Switch Setting Description Factory setting Does not
18. nal trigger signal input GND 3 Connector J6 The connector J6 is a connector used to connect an oscillator circuit board OSC 2 Table 4 7 lists the pin assignments of the connector J6 Figure 4 6 shows the pin layout of the connector J6 For the 4 19MHz operation with the oscillator circuit board OSC 2 see Figure 4 7 Table 4 7 Pin assignments of the connector J6 Function Power supply GND Clock input GND 6666 rm i Fitting hole Figure 4 6 Pin layout of the connector J6 r Figure 4 7 Circuit diagram of oscillator circuit board OSC 2 4 19 MHz 18 38 4 6 Connecting to the Target System 1 For 4502 and 4507 Groups How to connect the M34502T MCU to the target system when using for 4502 and 4507 Groups is shown below Make note of the fact that it is not possible to connect the M34502T MCU directly to the foot pattern of the MCU package 24P2Q A a Connecting to 2 54 mm pitch Dual in line Pins on the Target System Use the 26 wire normal pitch cable included to connect the 26 pin dual in line pins on the target system The following products are required for connection to the target system e 60 wire half pitch cable 40 cm e Pitch converter board PCA4029 e 26 wire normal pitch cable 10 cm Figure 4 8 shows the M34502T MCU board connected to the target system using the 26 wire normal pitch cable Table 4 8 lists the connector signal assignment
19. output the Voo of the M34502T MCU to the target system Outputs the Voo of the M34502T MCU to the target system SN Set the MCU s ROM size ROMSIZE e Set 2 for M2 e Set 4 for M4 Set to 4 Operates the evaluation MCU on the M34502T MCU at 5 V Operates the evaluation MCU on the M34502T MCU at 3 V The M34502T MCU operates for 4501 501 502 4502 4506 and 4507 Groups 501 502 The M34502T MCU operates for 4580 Group 15 38 4 4 Check Pins The M34502T MCU has check pins listed in Table 4 3 Table 4 3 Check pins Outputs 3 V or 5 V by MCU voltage according to the setting of SW3 Ground Outputs an instruction clock depending on the operating mode of the MCU L when running user program H when stopping execution H when decoding WRST instruction possible to monitor the clear cycle of the watchdog timer flag by a waveform 4 5 Connectors Table 4 4 lists the functions of the connectors and Figure 4 4 shows the positions of connectors Table 4 4 Connectors Connector Function Connects the evaluation MCU bus Connects the monitor CPU bus Connects the target system 60 pin Connects the external trigger signal 2 pin Connects the oscillator circuit board 4 pin Figure 4 4 Positions of the connectors 16
20. pment 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 For inquiries about the contents of this document or product 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 Renesas Tools Homepage http www renesas com en tools 2 38 Contents NN 4 l Precautions for Sade cintia dc 5 1 1 Safety Symbols and Meanings ocooccconnonnnoncnanonnnononanonncnn non ncon crono nn con nono con non nero ncnnes 5 2 Handling Precautions
21. riginating 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 com 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 Ren
22. ription of instructions do not cause a break to occur in the continuous description of instructions A break occurs only after fetching the address where the continuous description of instructions is discontinued See Program example 5 3 However a break does occur even in a continuous description of instructions when an external trigger break or forced break is encountered For execution to be resumed in this case you need to make sure that the execution start address is next to the continuous description of instructions See Program example 5 4 Program example 5 3 LA 0 POINT LA 1 Continuous description of instructions LA 2 POINT 2 XAM 3 If a break is set at POINT execution is halted immediately before the XAM instruction at address POINT 2 Program example 5 4 LA 0 POINT LA 1 Continuous description of instructions POINT 1 LA 2 POINT 2 XAM 3 If a forced or external trigger break is applied at POINT execution is halted at POINT 1 When resuming program execution after the break make sure that the start address is at POINT 2 an address immediately after the continuous description of instructions is discontinued 29 38 2 Skip instructions e g SNZP INY DEY SZB SEAM SZC and RTS instructions When a skip instruction skips the next instruction a breakpoint set in the skipped instruction does not break See Program examples 5 5 and 5 6 Program example 5 5 RC SC SZC SZC
23. rl da iii dd Svs 9 3 Contents of the Package en ses 11 3 1 Package Components of the M34502T MCU coococoncconcconcconcnnnnnncononanonnnonnnancnnnonnos 11 3 2 Other Necessary Products sii ieina iaoiaeii i aaa rihi 11 AS M34502 T MCU errea rneer re Ra Ea EEEE EAE EE EES EEEE EEE KS dees 13 4 1 Outline sisie esse eek skin SESTE Ee E ca 13 4 2 Specific tions 0 eis kai EREA Erao EEEE Es EEEE DERRE ESER t sE ES 14 AO WICNES aria 15 AA Check Rims ia sas tebe eas aeons clio dis 16 AD COMMECIOLS ib 16 4 6 Connecting to the Target System oooocccocnocnconconocononnnnonnnnnonn non nonn non no nn con nora con ncnnoo 19 ALT LED use ER BSESSE Rhein aan panel 23 5 Precautions to Be Taken When Debugging 22020nssnnennesnennnnenennnense essen en 25 3 1 Reset E OS 25 ANS O O 25 5 3 Real time Capability of Timer c oconnonoccnccnoonncnnonononnnnnonnconncnnconnonncon non nocnncnnncnncnnnnns 25 DA Watchdog TIM tee rt 26 Ded Port VO TIMIN E 4 5 Je essen cies Boe hr 26 3 6 Port I O Characteristics u 18208082 i enea p Ein 27 3 4 Pullip Transistor a 27 5 8 RAM Backup Mode ee eeaeee Eeee E EEE EE a o KE REESE 28 5 9 Program Execution G GB aia ia 29 5 10 External Trigger Signal sssi cisini eesi e ei aree ie ees 31 5 1 1 Other Precautions vesical 31 6 Connection Circuit Diagram of the M34502T MCU neuneesessnenneennennenneenn sense nn 33 7 External Dimensions of the Pitch Converter Board
24. s of the 26 wire normal pitch cable And Figure 4 9 shows the pin layout of the 26 wire normal pitch cable 60 wire half pitch cable PCA4029 Dual in line pin header FFC 26BMEP1 Honda Tsushin Kogyo Co Ltd 26 pole 2 row socket FAS 50 17 1 100 Yamaichi Electronics Co Ltd Target board Figure 4 8 Connection to the target system using dual in line pins 19 38 Table 4 8 26 wire normal pitch cable pin assignments EVoo P30 A na Vss P31 Ains NC Xin 2 EPOo NC Xour EPO NC CNVss EP02 ERESET EPOs EP2J An EPlo EP20 Amo EP11 EDs EP12 CNTR EDa EP13 INT EDs EDo ED2 ED NC NC _ 2 3 4 5 6 7 8 9 O _ N oo EVm does not input the power supply from the target system but outputs it to the target system from the power circuit on the M34502T MCU 2 Xn is input from oscillator circuit board OSC 2 on the M34502T MCU and cannot be input from the oscillator circuit on the target system PCA4029 26 wire normal pitch cable 26 pole 2 row socket Figure 4 9 Pin layout of the 26 wire normal pitch cable 20 38 2 For 4501 4506 and 4580 Groups How to connect the M34502T MCU to the target system when using for 4501 4506 and 4580 Groups is shown below Make note of the fact that it is not possible to connect the M34502T MCU directly to the foot pattern of the MCU package
25. timings of actual MCUs and the M34502T MCU For the other ports the output timings are the same as those of actual MCUs Output instruction i T1 l T2 T3 I XIN t i PO P1 D port output timings X on actual MCUs i PO P1 D port output timings of M34502T MCU Next output instruction i Tl 21 T3 i Figure 5 2 D PO and P1 port output timings 26 38 5 6 Port 1 O Characteristics With the M34502T MCU port VO characteristics are different from those of actual MCUs because there is an emulation circuit in ports PO Pl P2 and Do to Ds Table 5 3 lists port I O characteristics of the M34502T MCU Table 5 3 Emulation port I O characteristics Device 74HC4050 Voltage Vcc Remarks Output 74LS06 Vou MAX lo 16 mA lo MAX 74HC4066 Vio Vcc to GND lo lt 1 mA Vio Vcc or GND lo lt 1 mA Vio Vcc to GND lvo lt 1 mA 74HC4050 74LS06 5 7 Pullup Transistor Vou MAX lo 16 mA lo MAX Since ports Po Pi D2 and Ds contain emulation circuits the pullup transistor in an MCU cannot be used For the M34502T MCU the pullup resistor of 51 kQ is mounted When it is necessary to change the pullup resistor replace the resistance arrays of R3 and R4 27 38 5 8 RAM Backup Mode In the RAM backup mode the M34502T MCU operates differently from actual MCUs 1 On Port
26. tively 4 Xun is input from oscillator circuit board OSC 2 on the M34502T MCU and cannot be input from the oscillator circuit on the target system To change the frequency of the system clock use oscillator circuit board OSC 2 included with other necessary parts mounted Figure 4 12 shows the LED layout of the M34502T MCU The LED lights in green when the power is supplied DI ep LED1 Figure 4 12 Layout of the LED 23 38 MEMO 24 38 5 Precautions to Be Taken When Debugging 5 1 Reset The M34502T MCU uses a 74AC14 for its RESET signal input buffer so that its electrical characteristics differ from those of an actual MCU Table 5 1 lists the RESET signal input characteristics of the M34502T MCU Table 5 1 RESET signal input characteristics Voltage Vcc H level threshold voltage L level threshold voltage Hysteresis voltage 5 2 System Clock Depending on the supply voltage and operation modes use one of the frequencies listed in Table 5 2 Table 5 2 Operating frequencies of M34502T MCU Voltage Frequency Default 4 4 MHz or less Low speed Medium speed 3 0 MHz or less High speed 1 5 MHz or less Default Low speed 4 4 MHz or less Medium speed High speed To change this clock frequency to suit that of the target system attach the necessary parts to oscillator circuit board OSC 2 included For details about the oscil
27. ww suisei co jp index_e htm 11 38 MEMO 12 38 4 M34502T MCU 4 1 Outline By using with the PC4504 emulator main unit the M34502T MCU can make up an emulator system which can be operated by a personal computer Figure 4 1 shows the development support system configuration for 4502 and 4507 Group MCUs And Figure 4 2 shows the development support system configuration for 4501 4506 and 4580 Groups Personal computer PD45 emulator debugger Floppy disk M34502T MCU MCU board PCA4029 PC4504 Emulator main unit Figure 4 1 Development support system configuration for 4502 and 4507 Group MCUs Personal computer PD45 emulator debugger Floppy disk M34502T MCU MCU board PCA4029 PC4504 Emulator main unit Figure 4 2 Development support system configuration for 4501 4506 and 4580 Group MCUs Use the M34501T PTC pitch converter board for 20SDIP For details on the connections above see 4 6 Connecting to the Target System page 19 13 38 4 2 Specifications Table 4 1 lists specifications of the M34502T MCU Table 4 1 M34502T MCU specifications 4501 Group 4502 Group 4506 Group 4507 Group 4580 Group Evaluation MCU M34502E4FP mounted Maximum operating System clock 4 19 MHz with OSC 2 for 4 19 MHz clock frequency Default mode Low speed mode Medium speed mode 3 0 MHz High speed mode 1 5 MHz Default mode Low speed

Download Pdf Manuals

image

Related Search

Related Contents

REFRIGERADOR DE DOS PUERTAS  WeAllSew « http://weallsew.com  Targus TSS23601EU  Esempi di configurazione  - Carlo Gavazzi  Renesas Embedded Application Programming Interface User`s  

Copyright © All rights reserved.
Failed to retrieve file