background image

M306N4T3-RPD-E

Emulation Pod for M16C/6N Group M16C/6N4, 6N5

User's Manual

Rev. 2.00

July 1, 2003

REJ10J0110-0200Z

Summary of Contents for Emulation Pod M306N4T3-RPD-E

Page 1: ...M306N4T3 RPD E Emulation Pod for M16C 6N Group M16C 6N4 6N5 User s Manual Rev 2 00 July 1 2003 REJ10J0110 0200Z...

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

Page 3: ...s manual If there is any question or doubt about this product contact your local distributor To use the product properly Precautions for Safety In both this user s manual and on the product itself sev...

Page 4: ...s on Setting the Work Area When Starting Up the Emulator Debugger 13 Note on Stack Area 14 Notes on MAP References and Settings 14 Note on Operation When Not Executing the User Program 15 Note on Maki...

Page 5: ...d JP2 on the M30620T3 PRT Board MCU dependent 1 36 3 5 Installing and Removing Pullup Resistors 37 3 6 A D Conversion Bypass Capacitors 38 3 7 Connecting the PC4701 39 1 Connecting the Cable to the PC...

Page 6: ...Converter Board M30800T PTC 63 Chapter 6 Troubleshooting 65 6 1 Flowchart to Remedy the Troubles 66 6 2 When the Emulator Debugger Does Not Start Up Properly 67 1 When the LED Display of the PC4701 i...

Page 7: ...ator debugger This means a software tool M3T PD30 for the M16C 60 M16C 30 M16C 20 and M16C 10 Series MCUs The M3T PD30 controls the emulator from the host machine through various interfaces Host machi...

Page 8: ...8 76 MEMO...

Page 9: ...n Clock Supply to the MCU 13 Note on RESET Input 13 Note on NMI Input 13 Note on RDY Input 13 Note on HOLD Input 13 Notes on Setting the Work Area When Starting Up the Emulator Debugger 13 Note on Sta...

Page 10: ...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 11: ...d the target MCU connector pins Static electricity may damage the internal circuits Do not pull the emulation pod main unit by the flexible cable FLX120 RPD for connecting to the emulator main unit or...

Page 12: ...2 If normal operation is not restored after step 1 shut OFF power to the emulator once and then reactivate it Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before st...

Page 13: ...or mode other than single chip mode If L is input to pin HOLD this product will not work normally Note on NMI Input L input from the target system to pin NMI is accepted only while a user program is b...

Page 14: ...m the single chip mode to memory expansion or micropro cessor mode using the 7 byte area of 0FFF9h 0FFFFh set to EXT 2 With the system which starts up in microprocessor mode using the 7 byte area of 0...

Page 15: ...d other components do not stop running If a maskable interrupt is requested when the user program is not being executed including when run time debugging is being performed the maskable interrupt requ...

Page 16: ...used Note on Stop and Wait Modes Do not perform step execution at addresses in the stop or wait mode It may cause communication errors Note on Watchdog Function The MCU s watchdog timer can be used on...

Page 17: ...ng 1 PRC2 2 Setting the break point from the instruction for setting 1 PRC2 to when the port P9 direction register and SI Oi control register are set 3 Setting 1 PRC2 from the dump window or script wi...

Page 18: ...using the oscillator circuit on the target system refer to 3 3 2 Using the Oscillator Circuit on the Target System page 31 6 A D conversion function As a flexible cable and other devices are used betw...

Page 19: ...ns such as setting a software or hardware break runtime debugging after releasing a reset from the target system until an interrupt stack pointer ISP is set in the user program Note on Emulating Exter...

Page 20: ...20 76 MEMO...

Page 21: ...product for the first time 2 1 Package Components 22 2 2 Other Tool Products Required for Development 22 2 3 Name of Each Part 23 1 System Configuration 23 2 Inside of the Emulation Pod 24 2 4 When U...

Page 22: ...the following items When unpacking check to see if your M306N4T3 RPD E contains all of these items Table 2 1 Package components Item M306N4T3 RPD E emulation pod main unit FLX120 RPD flexible cable fo...

Page 23: ...r connecting the PC4701 emulator and the emulation pod 3 Flexible cable M3T FLX160C This is a 160 conductor flexible cable for connecting the emulation pod and the target system 4 Pitch converter boar...

Page 24: ...evaluation MCU 3 Common board This is a board controlling the interface with the PC4701 and evaluation MCU 4 Oscillator circuit board This is a board with an oscillator module You can change the opera...

Page 25: ...V 4 00 or later required Do not change When using this product in microprocessor mode set the internal ROM area as follows 00000 Internal ROM Start address 00001 End address 2 Setting the Work Area Wi...

Page 26: ...or is connected to the host machine Figure 2 3 Firmware download procedure 4 Self check To confirm that your emulation pod works properly execute the self check after downloading the firmware The self...

Page 27: ...illator Circuit Boards 33 3 4 Switch Settings 34 1 Toggle Switches SW1 to SW5 on the M30620T3 PRT Board MCU dependent 1 34 2 Jumper Switches JP1 and JP2 on the M30620T3 PRT Board MCU dependent 1 36 3...

Page 28: ...er cover removethefourscrewsofbothsidesofthisproductandliftofftheupper cover see Figure 3 1 2 To close the upper cover attach the upper cover and secure the four screws of both sides of this product F...

Page 29: ...es 3 Pullup resistors 4 A D conversion bypass capacitor Figure 3 2 Positions of each part 4 A D conversion bypass capacitor M30620T3 RPDC board common MCU dependent board 2 M3062PT3 PRTM board MCU dep...

Page 30: ...when starting up the emulator debugger or inputting CLK command on the script window Table 3 1 Clock supply to the MCU Clock Description Display of emulator debugger Default setting XIN XOUT XCIN XCOU...

Page 31: ...n the Init dialog box of the emulator debugger or by the CLK command on the script window For details refer to the emulator debugger user s manual Figure 3 3 External oscillator circuit Make note that...

Page 32: ...e board and where connector pins are located Figure 3 6 shows the circuitry of the OSC 2 oscillator circuit board bare board Use the number of oscillator circuits recommended by the oscillator manufac...

Page 33: ...illator circuit board see Figure 3 2 Figure 3 7 Replacing oscillator circuit boards 1 Unscrew the screw securing the oscillator circuit board 2 Lift off the oscillator circuit board 3 Insert the J1 co...

Page 34: ...target system to pin BYTE of the MCU Sets pin BYTE of the MCU to H when the target system is unconnected Pulls up pin BYTE of the MCU with a resistance of 33 k Sets pin BYTE of the MCU to L when the t...

Page 35: ...use it as port P86 or Xcout P86 XC OP Factory setting SW4 Does not connect pin P86 Xcout of the MCU to the target system P86 Xcout P86 XC OP SW4 P87 Xcin SW5 CAUTION Note on Switch Settings Always shu...

Page 36: ...L JP1 VDDIO Signal Switch Setting Description JP2 A18_SEL 4M 1M Factory setting Use this setting Do not use this setting A18_SEL 4M 1M Use this setting VCC1 VCC2 JP2 Vcc1 VCC2 Factory setting VDDIO VC...

Page 37: ...esistor inside this product allows pullup control Mount the 51k resistor array supplied with this product to the port for which pullup control is required For the mounting location refer to Figure 3 8...

Page 38: ...ypass capacitors as occasion demands Figure 3 2 shows where they are installed and Figure 3 9 shows their connection diagrams IMPORTANT Note on the A D Converter Function Because a flexible cable and...

Page 39: ...10 shows how to connect the PC4701 and FLX120 RPD Figure 3 10 Connecting the Cable to the PC4701 CAUTION Note on Connecting the Cable Always shut OFF power before connecting the cable Otherwise the i...

Page 40: ...the Emulation Pod CAUTION When Connecting the Cable Always shut OFF power before connecting the cable Otherwise the internal circuits may be damaged Emulation pod FLX120 RPD Secure with the screws IMP...

Page 41: ...rection It may cause a fatal damage to the emulation pod Figure 3 12 Connecting the target system Emulation pod probe M3T FLX 100NRB 100 pin QFP not included M3T DUMMY100S 100 pin QFP not included No...

Page 42: ...CC socket CAUTION Notes on Connecting the Target System Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod The connectors of the M30800T...

Page 43: ...ted to the emulation pod probe 4 Attach the M30800T PTC to the M3T 100LCC DMS Figure 3 14 Connecting to a 100 pin 0 65 mm pitch foot pattern part 1 CAUTION Notes on Connecting the Target System Take c...

Page 44: ...tion pod probe to a 100 pin 0 65 mm pitch foot pattern on the target system with the M3T DUMMY100S not included For details on the M3T 100LCC DMS not included and M3T DUMMY100S not included refer to e...

Page 45: ...ch converter board Tip of emulation pod probe HQPACK100RB168 not included Flash version MCU etc YQ GUIDE s not included YQ PACK100RB NQPACK100RB 5 6 4 3 2 1 4 Connecting to a 100 pin 0 65 mm pitch Foo...

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

Page 47: ...wer 48 1 Checking Connections of the Emulator System 48 2 Turning On the Power 48 3 LED Display When the PC4701 Starts Up Normally 49 4 2 Downloading Firmware 50 1 When It is Necessary to Download Fir...

Page 48: ...tem as simultaneously as possible Do not leave either the emulator or target system powered on because of leakage current the internal circuits may be damaged When turning on the power again after shu...

Page 49: ...If the MCU has two or more Vcc terminals the LED does not light unless power is supplied to all the terminals Note on the Target Status CLOCK LED If the LED is not turned on check the following 1 Afte...

Page 50: ...firmware download The target system must not be connected when downloading the firmware 1 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator front panel...

Page 51: ...normal result is displayed in about 40 seconds the self check has terminated normally IMPORTANT Note on Self check If the self check does not result normally excluding target system error the emulatio...

Page 52: ...52 76 Figure 4 4 Self check procedure...

Page 53: ...5 2 Operation Timing in Memory Expansion and Microprocessor Modes 5 V 55 1 Separate Bus Timing 55 2 Multiplex Bus Timing 57 3 Timing Requirements 59 5 3 Connection Diagram 60 5 4 External Dimensions 6...

Page 54: ...es below XIN XOUT Internal oscillator circuit board OSC 3 Switchable to external oscillator input XCIN XCOUT Internal oscillator circuit board fixed 32 768 kHz Switchable to external oscillator input...

Page 55: ...LK RD td BCLK WR th BCLK WR td BCLK DB th BCLK DB td DB WR th WR DB Min Max Address output delay time Address output hold time BCLK standard Address output hold time RD standard Address output hold ti...

Page 56: ...56 76 Read Write Figure 5 1 Memory expansion and microprocessor modes 3 wait accessing external area Vcc1 Vcc2 5 V...

Page 57: ...time After address WR signal output delay time Address output floating start time Vcc1 Vcc2 5 V 2 Multiplex Bus Timing Table 5 3 and Figure 5 2 show the bus timing in memory expansion and microproces...

Page 58: ...58 76 Figure5 2Memoryexpansionandmicroprocessormodes 2 wait accessingexternalarea usingmultiplexbus Read Write Vcc1 Vcc2 5 V...

Page 59: ...ents Symbol Item Actual MCU ns This product ns Min Max Min Max tsu DB RD tsu RDY BCLK tsu HOLD BCLK th RD DB th BCLK RDY th BCLK HOLD td BCLK HLDA Data input setup time RDY input setup time HOLD input...

Page 60: ...ction diagram mainly shows the interface section The circuits not connected to the target system such as the emulator s control system are omitted The signals not shown in Figure 5 4 connect the evalu...

Page 61: ...66 Table 5 6 Electrical characteristics of the 7WH125 ON resistor ON resistor difference Leak current Off Leak current On output open H level output voltage L level output voltage VOH VOL Leak current...

Page 62: ...62 76 Figure 5 5 External dimensions of the emulation pod 5 4 External Dimensions 1 External Dimensions of the Emulation Pod Figure 5 5 shows external dimensions of the M306N4T3 RPD E Unit mm...

Page 63: ...0 65 mm pitch 100P6S A When connected to a 100 pin LCC socket 1 To use the AXS4003M295C Matsushita Electric Works Ltd or the IC61 1004 051 Yamaichi Electronics Co Ltd be sure to set up foot patterns...

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

Page 65: ...rt to Remedy the Troubles 66 6 2 When the Emulator Debugger Does Not Start Up Properly 67 1 When the LED Display of the PC4701 is Abnormal 67 2 Program Window is Not Displayed at Debugger Startup Targ...

Page 66: ...splayed Turning on the power of PC4701 Program window of emulator debugger displayed PC4701 Front panel LEDs Init dialog box of emulator debugger displayed 1 Check emulator system connections See 3 7...

Page 67: ...le is connected to the PC4701 See the PC4701 user s manual Check the connection between the PC4701 and this product See 3 7 Connecting the PC4701 page 39 Check that power Vcc and GND is properly suppl...

Page 68: ...2 Check the reset pin of the target system is held high See the MCU specifications 3 If the CNVss is held high at startup check that pins HOLD and RDY are held high too See the MCU specifications 4 Ch...

Page 69: ...Switch Settings page 34 2 Check that the oscillation circuit of the emulation pod is oscillating properly See 3 3 Selecting Clock Supply and Replacing Oscillator Circuit Boards page 30 Check that the...

Page 70: ...70 76 MEMO...

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: ...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 charge I...

Page 73: ...r 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 Product...

Page 74: ...MEMO...

Page 75: ...M306N4T3 RPD E User s Manual Rev 2 00 July 1 2003 REJ10J0110 0200Z COPYRIGHT 2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED...

Page 76: ......

Reviews: