Home

Renesas M306N4T3-RPD-E Switch User Manual

image

Contents

1. Figure 5 3 Timing requirements Compared with the actual MCU this product enters high impedance state after a 0 5 cycle delay 59 76 5 3 Connection Diagram Figure 5 4 shows a connection diagram of the M306N4T3 RPD E This connection 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 evaluation MCU and the target system directly Tables 5 5 to 5 7 show IC electric characteristics of this product for reference purposes P67 P60 P67 P60 P77 P70 pe 777770 84 P80 P84 P80 97 P90 P97 P90 P85 NM1 P85 NML SW4 m P86 Xcout Xeou P86 Xcout P86 Xcout N3062PT3 PRTH OX OPEN M306X4F6TKP 162 E 1 0 Emulate MCU m SW P87 Xcin P87 Xcin O Xcin n X0UT xat Q 8 XOUT OPEN AVEC AVCC VREF VREF c2 c3 W a aW x gt 7484068 sig 7 Yer E 7WH125 ES 2 ANT ANO P107 P100 o o da o o 5 E P107 P100 P07 P00 POT POO P27 P20 P27 P20 Nec P1 RM4 i ma fy tm P177 P10 A AAA SN P17 P10 P37 P30 33 P37 P30 PAT P40 P47 P40 P57 P50 UE Tee P57 P50 Lo S l xpo e 2S ike xo O XO O O O M30620T3 PRT Port Emulation BYTE BYTE RESET RESET Xin Xin 1kQ Vee Vec y 510kQ al ys Figure 5 4 Connection diagram 60
2. esses 67 1 When the LED Display of the PC4701 is Abnormal e 67 2 Program Window is Not Displayed at Debugger Startup Target Connected 68 3 Program Window is Not Displayed at Debugger Startup Target Not Connected 69 6 3 How to Request for Support tete FYR sh cesses seuss tee tene eret FYNY Fyny 69 Chapter 7 Maintenance and Guarantee nennen teen neeenen nennen eren ene 71 TA Maintenance ed cdd op 72 F 2 Guarante6 ie hia GG LU Ed GG GY UR GY GU A GW 72 7 3 Repair Provisions NO 72 7 4 How to Request for Repair sese ennen eene nennen nennen nennen enne 73 6 76 Terminology Some specific words used in this user s manual are defined as follows Emulator system This means an emulator system built around the PC4701 emulator The PC4701 emulator system is configured with an emulator main unit emulation pod host machine and emulator debugger Emulator main unit Hereafter PC4701 This means a generic name for emulators for M16C 7700 740 Families Take note of the fact that the M306N4T3 RPD E this product does not support the PC4701L and PC4700L emulators For details on specific models of PC4701 visit the Renesas Tool Homepage at http www renesas com en tools Emulation pod This means M306N4T3 RPD E this product This emulation pod is for the M16C 6N Group M16C 6N4 6N5 MCUs It is used with the emulator main unit PC4701 Emulator debugger
3. Rev 2 00 July 1 2003 REJ10J0110 0200Z ENESAS M306N4T3 RPD E Emulation Pod for M16C 6N Group M16C 6N4 6N5 User s Manual Renesas Technology Www renesas com C61 1004 051 is a trademark of Yamaichi Electronics Co Ltd NGPACK YGPACK YGSOCKET YG GUIDE HQPACK TGPACK and TGSOCKET are trademarks of Tokyo Eletech 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 par
4. Data output hold time WR standard ALE output delay time BCLK standard ALE output hold time BCLK standard ALE output delay time Address standard ALE output hold time Address standard See left See left See left After address RD signal output delay time After address WR signal output delay time Address output floating start time 1 Calculated by the following formula according 4 Calculated by the following formula according to the freguency of BCLK to the freguency of BCLK 0 5x109 ns 0 5x109 1 ns F BCLK F BCLK 2 Calculated by the following formula according 5 Calculated by the following formula according to the frequency of BCLK to the frequency of BCLK 7 0 5 x10 _ TE nc 0 5x10 HBOLK 40 ns n 2 for 2 wait HBOLK 4 ns 5 Calculated by the following formula according 6 Calculated by the following formula according to the frequency of BCLK to the frequency of BCLK 0 5x10 0 5x10 7 BCLK nsi 7 BCLA MS 57 76 Vccl Vcc2 5V Read BCLK t4 BCLK CS th BCLK CS _tac3 80 08 Dn ANDES 3 D D m ier e au EE ER E E n 102 RD AD ES i Lee tsu 08 Rof gt j de th RD DB 7 t4 UD RDI to BCLK AD E SE 2 h 8CLK AD Abi td BCLK RD th BCLK ALEK gt 4 th WR CS td AD A
5. M306N4FGTKP dedicated package M30627MHP xxxGP one each Usable mode Single chip mode Memory expansion mode Microprocessor mode Emulation memory 1MB Internal ROM RAM area 0 wait 16 MHz max External area 0 wait 8 MHz max 1 wait 16 MHz max Maximum operating freguency 16 MHz no dividing at 4 2 to 5 0 V see the figures below Clock supply Xin XouT Internal oscillator circuit board OSC 3 Switchable to external oscillator input Internal oscillator circuit board fixed 32 768 kHz Switchable to external oscillator input Xcin Xcout Operating voltage 4 2to5 5V Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Power supply to emulation pod Supplied from PC4701 Connection to target system Refer to 3 8 Connecting the Target System page 41 f Xin operating max frequency MHz 100 pin 0 65 mm pitch LCC socket 1 M30800T PTC included 1C61 1004 051 included Main clock oscillation frequency 42 55 Voltage Main clock no dividing This product 100 pin 0 65 mm pitch QFP 100P6S A 1 M30800T PTC included M3T 100LCC DMS not included M3T DIRECT100S not included 2 M30800T PTC included M3T 100LCC DMS not included M3T DUMMY100S not included 3 M30800T PTC included M3T 100LCC DMS not included M3T FLX 100NRB not included Main clock oscillation f
6. Secure the new oscillator circuit board with the screw Figure 3 7 Replacing oscillator circuit boards 33 76 3 4 Switch Settings Here follows explanations of the switches of the M306N4T3 RPD E Tables 3 2 and 3 3 list how to set toggle switches SW1 to SW5 of the M30620T3 PRT board MCU dependent Table 3 4 lists how to set jumper switches JP1 and JP2 and Table 3 5 lists how to set jumper switch JP1 on the M3062PT3 PRTM MCU dependent board 2 1 Toggle Switches SW1 to SW5 on the M30620T3 PRT Board MCU dependent 1 Table 3 2 Switch settings of the M306N4T3 RPD E 1 4 Switch Setting Q Factory setting Description Sets pin BYTE of the MCU to L when the target System is unconnected Pulls down pin BYTE of the MCU with a resistance of 33 kQ Use this setting when the target system is connected Does not pull up down pin BYTE of the MCU Inputs the level of the target system to pin BYTE of the MCU y 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 kQ o N ED L OPEN H Factory setting Sets pin CNVss of the MCU to L when the target system is unconnected Pulls down pin CNVss of the MCU with a resistance of 1 kQ o J N L OPEN H Use this setting when the target system is connected Does not pull up down pin CNVss of the MCU Inputs the level of the targ
7. WR standard 1 Calculated by the following formula according to the frequency of BCLK 77 0 5 x10 f BCLK 40 ns n 3 for 3 wait 2 Calculated by the following formula according to the freguency of BCLK 0 5x10 f BCLK ns 3 Calculated by the following formula according to the freguency of BCLK 0 5x10 T BCLK 4 ns 55 76 See left Vccl Vcc2 5V BULK RD DBi td BCLE CS td BCLE CS th BELE CS ti T H n H a n Fd AN gh RD C8 f teye i i gt td BCLE AD lt th BCLE AD Abi K Y h A H N MEA X s n td QCLE ALED i i j d c3 th BCLK ALE th RD AD f I 1 E 1 1 14 MES S et i ie c6 td BCLK RD j f E gt EF thCBCLK RD Mg tac2 RD DB Sy Hi Z i a i l l i i l i tei BB RDf C eh gp pp th BCLE CS gt E i 9 si a cee i E v J tcyc c a i 1657 o ey cce m SthOR CS td BCLE AD a lt gt e T th BCLE AD i is e A ERE X MEME THE v 7i 7 gt A i td BCLE ALB i uc SER GCLE ALE th HE AD e y a E a 1 t C NC NS x ks NW G td BCL X ABEL WR T Y V U t H D E EN VEL RH a U 4 D DWL Uu Uu td BCLE DB x th BCLE 9B B n A B n B Yg n si BZ X i E
8. When sending your M306N4T3 RPD E for repair use the packing box and cushion material supplied with the M306N4T3 RPD E when delivered to you and specify handling caution for it to be handled as precision eguipment 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 M306N4T3 RPD E usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 73 76 MEMO 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 S N SAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
9. esee 17 Note on Differences Between the Actual MCU and Emulator sss 18 Note on Debugging Operations After Releasing a Reset from the Target 19 Note on Emulating External Area oooonoccnccnonnoncconconncnnnonncnnonn non nnnn ron noncrnn crono nn cra corn enne 19 Chapter 2 Preparation eee e bo Sehen da iia 21 2 1 Package Components s is eeose ebie ceire ee e Kirs EE rAr trennen nemen trennen tenerent ene 22 2 2 Other Tool Products Required for Development see 22 4 76 23 Name OF Each Part su o ai 23 System Conbhg ratiOn seroren ieran pi 23 2 Inside of the Emulation Pod ssssssesssesseeseeeee ELLY NEL enne nennen 24 2 4 When Using This Product for the First Time eese 25 1 Making the MEU File tee reda tede epe repete e ie Pe hee 25 2 Settmg th amp WorkAT a en order eed vette ede PES 25 3 Downloading Firmware eseeeseseeeseeeeeee eene nennen ethernet nenne enne enne 26 AS Elche ida 26 Chapter 3 Setting Up iia ias 27 3 1 Removing and Closing the Upper Cover c ccoonccconconcconconocononnonnnnnonan cnn ncnn crono nn crono eee 28 32 Bach Setting 1t as enm ete ta dare c e ie eite ts 29 3 3 Selecting Clock Supply and Replacing Oscillator Circuit Boards 30 1 Clock Supply to the MCU veii noen ienser isei e esii non nr recen nr one nen nennen 30 2 Using the Oscillator
10. 11 Cautions to Be Taken for Handling This Product eee 11 Cautions to Be Taken for Turning On the Power cocoococnnoccconocccoonnnononcnnnnnccnonnccnannnos 11 Note on Malfunctions in the PC4701 System sse 12 Notes on Downloading Firmware eese eeeee eene eene eene nennen nnne 12 Notes on the Sell check a uu tea eer tu e A aua de 12 Note on Quitting the Emulator Debugger cooococnnncocnnncoconanaconnncnnoncnonnnccononcnonnnccnnnnnos 12 Note on Pinal ByaludtioR AS 12 Notes on Power Supply to the Target System see 12 Note on Clock Supply to the MCU uu I ie A WG OOF 13 Note on RESET Input us cure I DRE GN SEA S S RAE TURIN tee PAARE RU FYR YA 13 Note NM de E a s 13 Note on RDY InpUt seria iaa indie 13 Note 0 HOT B Inpul tion ios 13 Notes on Setting the Work Area When Starting Up the Emulator Debugger 13 Note g Stek Areda o o eB ine re o es e e OS 14 Notes on MAP References and SIDE 14 Note on Operation When Not Executing the User Program oooonnocccnnoccccnocccinnnccnnnnnos 15 Note am Makime the MCU Tile sii GG E i Y DD dr n 15 Notes on Maskable Interrupts is 15 Notes on Address Match Interruption da UY Cd adios 15 Note on BRK Instruction and BRK Interrupt ocooococnnocccnnoccconancnonnncnnnncnnnnnccnnnnccnnnnoss 15 Notes on Software and Hardware Breaks serene 16 Note on Stop and Wait Modes in iia lil 16 No
11. 22 2 2 Other Tool Products Required for Development eese nennen nennen 22 2 3 Name of Each Pt nta ds tdt 23 1 System Configuration n rd oa NA NN FFAN SGRI LSA ESE 23 2 Inside of the Emulation Pod sese ener nee non nanncononnananonoss 24 2 4 When Using This Product for the First ia 25 CL Makine the MCU PIS a CI a a Y a FOL 25 2 Sete the Work Area OP T 25 3 Downloading Firmware cence A O 26 4 sell checksnuenew E NU EIS UND NU Y A YN Uf DET SE 26 21 76 Chapter 2 Preparation 2 1 Package Components The M306N4T3 RPD E package consists of the following items When unpacking check to see if your M306N4T3 RPD E contains all of these items Table 2 1 Package components Guantity M306N4T3 RPD E emulation pod main unit FLX120 RPD flexible cable for connecting PC4701 M3T F160T3 PRB converter board for M3T FLX160C preinstalled M30800T PTC converter board for 100 pin 0 65 mm pitch LCC IC61 1004 051 100 pin 0 65 mm pitch LCC socket made by Yamaichi Electronics Co Ltd OSC 3 16MHz oscillator circuit board for main clock preinstalled OSC 2 oscillator circuit board bare board Resistor arrays for pulling up ports PO to P5 51 kQ Hardware tool user registration FAX sheet English Japanese Repair request sheet English Japanese M306N4T3 RPD E User s Manual This manual M306N4T3 RPD E User s Manual Japanese Please keep t
12. 9 RESET 2D p ERROR 2 wx oc E gt TU mc Mam a Ww c sss an c SYSTEM SYSTEM SYSTEN HALT e HALT e HALT ec ana ooo ooo ana FFF ang RESET All the LEDs light RESET SAFE LED lights RESET ERROR LED lights Immediately after turning on the power When maintenance mode started When downloading firmware started POWER LZ POWER A POWER A power POWER e rower A SHE 2 neg Z SAFE e ax c2 SAFE e cxx ERROR e RESET e D gt ERROR ec RESET E gt ERROR Reset A suu a RN oe Z Sirs aw c inus ww A SYSTEM SYSTEM SYSTEM wr c wt 2 mr A HEH EEH 2 on RESEI SAFE LED blinks REST All the LEDs light P o When download complete 2 Blinking Figure 4 2 Downloading firmware in maintenance mode IMPORTANT Note on Downloading Firmware Do not shut OFF power while the firmware is being downloaded Doing so the emulator will not start up properly If power is shut OFF by mistake redownload the firmware in maintenance mode 50 76 4 3 Self check 1 Self check Procedure To run the self check of the emulator do so as explained here below While the self check is in progress the LEDs will change as shown in Figure 4 4 1 Set the switches in the emulation pod to the factory settings as shown in Figure 4 3 2 If the target system is connected disconnect it 3 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator front panel to switch the emulator to maintenance mode 4 Check the SAFE LE
13. Circuit on the Target System sse 31 3 Changing the Internal Oscillator Circuit of the Emulation Pod 32 4 Replacing Oscillator Circuit Boards essere 33 IAS WC Settings eere REESE RR Ro er EE 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 5 Installing and Removing Pullup Resistors eene 37 3 6 A D Conversion Bypass Capacitors ooooccocccononoconnconoconcnnccnncnnnnononnnnn cnn rnn cnn nono non erret 38 3 7 Connecting the PC TO conti eight de etd ep tee 39 1 Connecting the Cable to the PC4701 essere enne enne 39 2 Connecting the Cable to the Emulation Pod esee 40 3 8 Connecting the Target System sess nen eene tenent ener eene 4l 1 Connecting to a 100 pin LCC Socket sess 42 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 43 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 sss 44 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 ss 45 Chapter 4 Usage oi tenete ele ec bue eate e Y RG I 47 4 1 Turning On the Power iei hn ert etre dre o deben 48 1 Checking Connections of the Emulator System se
14. PD30 3 Set the stack pointer Example RESET FCLR I LDC 4000H SP gt Set the stack pointer Stop the program after executing this instruction 4 Set the 7 byte area OFFF9h through OFFFFh to EXT 14 76 IMPORTANT Note on Operation When Not Executing the User Program With this product bit 7 of processor mode register 1 wait bit PM17 is forcibly set to 1 with wait when the user program is not executed e g when the program is stopped or when run time debugging is being performed Therefore if the external area set to O wait is accessed by other than the user program such as debugging operation one wait is inserted However when wait bit PM17 is referenced by the dump window etc the value set during user program execution is displayed Note on Making the MCU file To debug an MCU which has any other size of memory ROM RAM be sure to make an MCU file for it For details on making the MCU file see 2 4 1 Making the MCU File on page 25 For memory maps of each MCU refer to the datasheet of the MCU Notes on Maskable Interrupts Even if a user program is not being executed including when run time debugging is being performed the evaluation MCU keeps running so as to control the emulation probe Therefore timers and other components do not stop running If a maskable interrupt is reguested when the user program is not being executed including when run time debugging is being performed
15. Upper Cover o Always shut OFF power before opening the upper cover to change the switch settings Do not touch the connector pins of the PC4701 and the target MCU connector pins Static electricity may damage the internal circuits 28 76 3 2 Each Setting Figure 3 2 shows the positions of the following parts 1 Oscillator circuit board 2 Switches 3 Pullup resistors 4 A D conversion bypass capacitor MCU dependent board 2 4 A D conversion bypass capacitor M3062PT3 PRTM board MCU dependent board 1 M30620T3 PRT board M30620T3 RPDC board common 7 ES o 1 Oscillator circuit board 3 Socket for installing pullup resistors pru ee qum uuu e 2 Switches Figure 3 2 Positions of each part 29 76 3 3 Selecting Clock Supply and Replacing Oscillator Circuit Boards 1 Clock Supply to the MCU There are two ways to supply a clock to the MCU using the oscillator circuit of the emulation pod or using the oscillator circuit on the target system Table 3 1 lists the factory settings of each clock supply The clock supply can be set in the Init dialog box when starting up the emulator debugger or inputting CLK command on the script window Table 3 1 Clock supply to the MCU Description Display of emulator debugger Default setting Internal oscillator circuit of
16. cable to the emulator main unit PC4701 be sure to secure the screws mounted in both sides of the connector 39 76 2 Connecting the Cable to the Emulation Pod Figure 3 11 shows how to connect the FLX120 RPD and the emulation pod Emulation pod Figure 3 11 Connecting the Cable to the Emulation Pod NCAUTION When Connecting the Cable o Always shut OFF power before connecting the cable Otherwise the internal circuits may be damaged IMPORTANT Note on Securing the Screws After connecting the emulation pod and the FLX120 RPD be sure to secure the screws mounted in both sides of the connector 40 76 3 8 Connecting the Target System There are several ways available to connect the emulation pod to target systems as shown in Figure 3 12 Emulation pod probe 100 pin 0 65 mm pitch M30800T PTC included M3T 100LCC DMS lt P included M3T FLX100 T M3T FLX100 R not included not included o LCC socket M3T DIRECT100S M3T DUMMY100S M3T FLX 100NRB 100 pin LCC 100 pin OFP 100 pin OFP 100 pin OFP included not included not included not included No 1 pin position 1 These products are in one package Figure 3 12 Connecting the target system NCAUTION 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 41 76 1 Connecting
17. for Xcix Xcour 31 76 G Changing the Internal Oscillator Circuit of the Emulation Pod An oscillator circuit board for 16 0 MHz OSC 3 is mounted on this product To use the emulation pod at a freguency other than 16 0 MHz build the desired oscillator circuit on the included OSC 2 oscillator circuit board bare board and replace the board installed in the emulation pod when shipped from the factory Figure 3 5 shows a view of the OSC 2 oscillator circuit board bare 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 manufacturer 7 ES 4 amp a i E J1 4 GND J1 3 Oscillator output J1 2 GND J1 1 Vcc Qi e e Hr 1 X1 5 08 mm pitch 2 pin oscillator 1C1 Inverter Unbuffer X2 2 54 mm pitch 2 pin oscillator X3 2 54 mm pitch 3 pin oscillator Figure 3 6 Circuits of the OSC 2 oscillator circuit bare board 32 76 4 Replacing Oscillator Circuit Boards Figure 3 7 shows how to replace the oscillator circuit boards For the position of the oscillator circuit board see Figure 3 2 1 Unscrew the screw securing the oscillator circuit board 2 Lift off the oscillator circuit board 3 Insert the J1 connector of a new oscillator circuit board to the connector of the main board 4
18. 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 conseguence 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 Do not attempt to modify this eguipment If modified your authority to operate this eguipment might be voided by FCC Note This eguipment 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 eguipment is operated in a commercial environment This eguipment generates uses and can radiate radio freguency energy and if not installed and used in accord
19. the maskable interrupt reguest cannot be accepted because the emulator disables interrupts The interrupt reguest is accepted immediately after the user program execution is started Take note that when the user program is not being executed including when run time debugging is being performed a peripheral I O interruption is not accepted Notes on Address Match Interrupt To debug address match interrupts set a software breaks or hardware break at the top address of the address match interrupt process If you set a software breaks or hardware break at an address where an address match interrupt occurs the program will run out of control When an address at which an address match interrupt occurs is executed in one step mode the program stops after executing the first instruction after returning from the address match interrupt processing Note on BRK Instruction and BRK Interrupt With this emulator system a BRK interrupt by a BRK instruction is exclusively used for software break functions Therefore you can not use them for your program 15 76 IMPORTANT Notes on Software and Hardware Breaks The software break is a debugging function which breaks a program immediately before the system executes an instruction at a specified address The instruction at the preset address will not be executed The hardware break is a debugging function which breaks a program by setting the detection of an execution of an inst
20. unit 3 Flexible cable for connecting target system 4 Pitch converter board for connecting target system M Figure 2 1 System configuration 1 to 4 in Figure 2 1 are included with this product package 1 Emulation pod main unit M306N4T3 RPD E This emulation pod contains an evaluation MCU emulation memory and circuits to feature the debug functions 2 Flexible cable FLX120 RPD This is a 120 conductor flexible cable for 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 board This is a pitch converter board for connecting to the target system For details refer to 3 8 Connecting the Target System page 41 23 76 2 Inside of the Emulation Pod ys 1 MCU dependent board 1 2 MCU dependent Board 2 3 Common board 4 Oscillator circuit board e pirum umm qu mmu 6 Figure 2 2 Internal view of the emulation pod 1 MCU dependent board 1 This is a board for port emulation 2 MCU dependent board 2 This is a board with the 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 operating freguency by replacing it with other oscillator
21. w OIC amp i 8_SEL VCC1 gt VCC2 Factory setting Use this setting VDDIO OOO JP2 Vcc1 ll VCC2 Do not use this setting OXO N CAUTION Note on Switch Settings Q e Always shut OFF power before changing switch settings 36 76 3 5 Installing and Removing Pullup Resistors In this product you cannot control pullup for ports PO to P5 by pullup control registers pullup control register read write are possible Mounting a pullup resistor inside this product allows pullup control Mount the 51k9 resistor array supplied with this product to the port for which pullup control is reguired For the mounting location refer to Figure 3 8 below e lelle o e e ole e 010 8 ole e o e e ole e 0 0 loz le e e s Figure 3 8 Position for mounting pullup resistors AN CAUTION Note on Installing and Removing Pullup Resistors Always shut OFF power before installing or removing pullup resistors Otherwise o the internal circuits may be damaged Install pullup resistors properly Otherwise the emulation pod will be damaged 37 76 3 6 A D Conversion Bypass Capacitors The M306N4T3 RPD E has the M3062PT3 PRTM board which has a foot pattern for installing A D conversion bypass capacitors near the MCU and premounted 0 1uF capacitors Mount suitable bypass capacitors as occasion demands Figure 3 2 shows where they are installed and
22. when the emulator debugger is started up and the firmware is downloaded 1 When you use this product for the first time 2 When the emulator debugger or firmware has been upgraded 3 When you use this product with a PC4701 which was used with another emulation probe before If you use this product for the first time or have accidentally failed to download the firmware redownload the firmware in maintenance mode 2 Downloading Firmware in Maintenance Mode Download the firmware in maintenance mode as explained here following Figure 4 2 shows LED display during 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 to switch the emulator to maintenance mode Then the system status SAFE LED will start blinking 2 Start up the emulator debugger When the Init dialog box setup is complete the dialog which urges to download the firmware will appear Download the firmware following messages Reguired time for downloading the firmware depends on the connection of the interface e USB and LPT interface about 20 seconds Dedicated parallel interface about 30 seconds e Serial interface s es about 5 minutes S POWER A rower _ lt 2 POWER A rone A POWER A romer _ E2 SAFE ec CLOCK e SAFE eo CLOCK e SAFE e CLOCK A ERROR a reset C E gt ERROR
23. 0 33 0 437 0 11 0 169 0 Unit mm Figure 5 5 External dimensions of the emulation pod 62 76 2 External Dimensions of the Converter Board M30800T PTC Figure 5 6 shows external dimensions of the converter board M30800T PTC included for a 100 pin LCC and a sample foot pattern for 100 pin 0 65 mm pitch 100P6S A Unit mm 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 for the holders 2 To use the AXS4003M295C Matsushita Electric Works Ltd as the contacts of the IC socket body touch the PC board in the shaded area thus be sure to give special consideration to the patterns of traces so that no other pins touch the PC board Through hole mounting is not permitted Unit mm Figure 5 6 External dimensions of the converter board M30800T PTC and a sample foot pattern 63 76 MEMO 64 76 Chapter 6 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 6 1 Flowchart to Remedy the Troubles rnnr ia dw a 66 6 2 When the Emulator Debugger Does Not Start Up Properly ocoococnnocccnoncccnonccononcnonanccnoncccnannccnns 67 1 When the LED Display of the PC4701 is Abnormal eee 67 2 Program Window is Not Displayed at Debugger Startup Targe
24. 1 Starts Yo Normally page 49 ERROR 16231 There was sent undefined data from PC4700 Check that the emulator debugger has not been started up without shutting down the PC4701 See IMPORTANT Note on Quitting the Emulato 68 76 Debugger page 12 3 Program Window is Not Displayed at Debugger Startup Target Not Connected Table 6 3 Checkpoints of errors when starting up the emulator debugger target not connected Error Checkpoint ERROR 16005 1 Check the connection between the PC4701 and host Can t connect with the target machine See the PC4701 Users Manual 2 Check that the PC4701 is powered on See the PC4701 Users Manual 3 Check that all emulator debugger settings interface cable connection and switches on the rear of the PC4701 match See the PC4701 User s Manual and the emulato debugger online manual ERROR 16211 1 Check the connection between the PC4701 and this The version of PD30 and the firmware on product the target are not same See 3 7 Connecting the PC4701 page 39 2 Download the proper firmware See 4 2 Downloading Firmware page 50 3 Choose the proper MCU file in the Init dialog box See the emulator debugger online manual 4 Check that the descriptions in the MCU file are correct See 2 4 1 Making the MCU File page 25 ERROR 16215 1 Check that switch settings in the emulation pod are Cannot communicate with the debugging correct moni
25. 1 User s Manual 3 Check that all emulator debugger settings interface cable connection and switches on the rear of the PC4701 match See the PC4701 User s Manual and the emulato debugger online manual ERROR 16211 The version of PD30 and the firmware on the target are not same 1 Download the proper firmware See 4 2 Downloading Firmware page 50 2 Choose the proper MCU file in the Init dialog box See the emulator debugger online manual 3 Check that the descriptions in the MCU file are correct See 2 4 1 Making the MCU File page 25 ERROR 16215 Cannot communicate with the debugging monitor 1 Check the connection between the PC4701 and this product See 3 7 Connecting the PC4701 page 39 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 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 ERROR 16014 Communication ERROR Can t accept data 1 Check that the oscillation circuit of the target system is oscillating properly See 3 3 Selecting Clock Supply and Replacing Oscillator Circuit Boards oage 30 2 Check that the PC4701 LEDs at startup show normal operation See 4 1 3 LED Display When the PC470
26. 2 Note on Clock Supply to the MCU esent rennen 13 Note on RESET Input e A e Rs 13 Note on NMI Inp t tete etie eri otl re OE ND EE dn TY 13 Note on RDY Input i ne ue a ha tit tet 13 Note on HOLDT Inputs peche e oct sires i te tie epe ets 13 Notes on Setting the Work Area When Starting Up the Emulator Debugger 13 Note on Stack Ara enne cete rh rete p e ge te e bg re Pere ES 14 Notes on MAP References and Settings essent 14 Note on Operation When Not Executing the User Program eee 15 Note on Making the MCU file eren nennen erret 15 Notes on Maskable Interrupts venue ien nyeu yy FFA gd Y FC tg 15 Notes on Address Match Interrupt essere 15 Note on BRK Instruction and BRK InterrUpt oooocnncononnnonconnnononnnonnnononancnnnonn cnn non anno ncnnos 15 Notes on Software and Hardware Breaks essere 16 Note on Stop and Wait Modes sissies rini eiea nennen ener 16 Note on Watchdog Function oooocccccnoccncccononanonnconocnonnncn nono co nonnn ennt enne 16 Note on DMA Transfer th eee bet ste n tenes 16 Note on Pullup Control ees iei eerte nennen nennen nennen nennen innen 16 Note on Reading Internal Resources of the MCU esee 17 Note on Protect Register PRC2 oooonoccnncccoccconcnconccononononanoncnonononnncnnncnnnnronnccnnnconnnnnnccnnes 17 Note on Accessing Address 00000h
27. 7 1 Maintenance If dust or dirt collects on any eguipment 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 eguipment s surface coating to separate 7 2 Guarantee If your product becomes faulty within one year after its purchase while being used under good conditions by observing Precautions for Safety described in Chapter 1 of this user s manual we will repair or replace your faulty product free of charge Note however that if your product s fault is raised by any one of the following causes we will repair it or replace it with new one with extra charge Misuse abuse or use under extraordinary conditions Unauthorized repair remodeling maintenance and so on Inadeguate user s system or misuse of it Fires earthguakes and other unexpected disasters In the above cases contact your local distributor If your product is being leased consult the 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 If your product s fault falls in any of the following categories the fault will be corrected by replacing the entire product instead of repair or you will be advised to purchase new one depending on the severity of the fault Faulty or broken mechanical portions Flaw separation or rus
28. 76 Table 5 5 Electrical characteristics of the 74HC4066 Standard values Standard Condition ON resistor Vcc 4 5 V ON resistor difference Vcc 4 5 V Leak current Off Vcc 12 0 V Leak current On output open Vcc 12 0 V Table 5 6 Electrical characteristics of the 7WH125 Standard values Condition Min Standard H level input voltage Vcc 3 0 to 5 5 V Vccx 0 7 L level input voltage Vcc 3 0 to 5 5 V lou 2 4 mA Vcc 3 0V lou 8 mA Vcc 4 5 V lon 8 MA Vcc 3 0 V H level output voltage L level output voltage lon 8 MA Vcc 4 5 V Vin Vin or Vi Leak current Tristate Vo Vcc or GND Vcc 5 5 V Vin 0 V f 1 0 MHz 1 O pin input capacitance Table 5 7 Electrical characteristics of the port emulation FPGA Standard values Min Standard Max Condition H level input voltage L level input voltage lou 8 mA DC Vcc 2 4 75 V lou 8 mA DC Vcc 3 00 V lo 2 8 mA DC Vcc 4 75 V H level output voltage L level output voltage lo 2 8 mA DC Vcc 3 00 V Leak current Tristate Vo Vcc or GND Vin 2 0 V I O pin input capacitance f 21 0 MHz 61 76 5 4 External Dimensions 1 External Dimensions of the Emulation Pod Figure 5 5 shows external dimensions of the M306N4T3 RPD E 11
29. C DMS Tip of emulation pod probe Tip of pitch converter board 6 M3T 100LCC DMS not included M3T FLX 100NRB not included Onboard evaluation YQ GUIDE s not included HOPACK100RB168 not included e These four parts are in one package YQ PACK100RB These corners are not round No 1 pin Target system Figure 3 16 Connecting to a 100 pin 0 65 mm pitch foot pattern part 3 N CAUTION Notes on Connecting the Target System o 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 PTC are guaranteed for only 50 insertion removal iterations The connectors of the M3T 100LCC DMS and M3T FLX 100NRB are guaranteed for only 20 insertion removal iterations 45 76 MEMO 46 76 Chapter 4 Usage This chapter describes from turning on the power of this product to starting up the emulator debugger AA Turning On he Power a A dd O ned FD 48 1 Checking Connections of the Emulator System esee 48 2 Turim On the DOWGE osc ee e GON nage A TN ED BN de pe eo 48 3 LED Display When the PC4701 Starts Up Normally eene 49 2 2 DovwnloddiH POTTS ia 50 1 When It is Necessary to Download Firmware eese nen 50 2 Downloading Firmware in Maintenance Mode sese 50 4 3 Sell c
30. D starts blinking and then press the system reset switch again 5 The self check will start If the normal result is displayed in about 40 seconds the self check has terminated normally SW1 BYTE de OPEN H Factory setting SW2 SW3 gt x o z 3 LLI o o a gt lt gt lt cu o n 2 ec e gt Factory setting Factory setting T5 o gt a de See a Ol a ol o e o LL e e o gt lt Ra e a gt lt dc a I ar RE 2 gt sais 202 E EET m Ji o sB S a Factory setting Factory setting Factory setting Factory setting M30620T3 PRT board Figure 4 3 Switch settings factory settings for the self check 2 If an Error is Detected in the Self check If the self check does not result normally system status error or target status error in Figure 4 4 check the following Whether the emulation pod and PC4701 are connected properly Whether the proper firmware has been downloaded Whether the switch settings of this product are the factory settings Figure 4 3 IMPORTANT Note on Self check f the self check does not result normally excluding target system error the emulation pod may be damaged Then contact your local distributor 51 76 FY POWER AA poner cC POWER A poner SH POWER e per 9 SAFE e avc c2 SAFE 2 wo 2 SAFE e ax c2 ERROR A er c o gt ERROR LZ ws e ERROR e ws sums oF WN c2 status or an e status or aN A SYSTEM SYSTEM
31. Example A CAUTION AGAINST AN ELECTRIC SHOCK Y means PROHIBITION Example Q DISASSEMBLY PROHIBITED means A FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 10 76 N WARNING Warning for Installation Do not set this product in water or areas of high humidity Make sure that the main unit does not Y get wet Spilling water or some other liquid into the main unit can cause an unrepairable damage Warnings for Use Environment The emulation pod is air cooled with the ventilation slot Therefore do not block the ventilation o slot When heated to high temperatures the emulation pod may not work properly 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 NCAUTION Caution to Be Taken for Modifying This Product Do not disassemble or modify this product Disassembling or modifying this product can cause damage Disassembling and modifying the product will void your warranty Cautions to Be Taken for Handling This Product Use caution when handling the main unit Be careful not to apply a mechanical shock e Do not touch the connector pins of the emulator main unit and the target MCU connector pins Static electricity may damage the internal circuits Do not pull the emulation pod main unit by the fl
32. Figure 3 9 shows their connection diagrams AVcc AVss bypass capacitor AVss AVcc VREF AVss bypass capacitor AVss VREF Figure 3 9 Foot patterns of A D conversion bypass capacitor IMPORTANT Note on the A D Converter Function Because a flexible cable and other devices are used between the evaluation MCU and the target system the A D converter operates differently from that of the actual MCU Make the final evaluation of the A D converter with the actual MCU 38 76 3 7 Connecting the PC4701 To connect the emulation pod to the PC4701 use the FLX120 RPD 120 pin flexible cable included with this product package Connect the PC4701 side connector of FLX120 RPD to the cable connector of the PC4701 then secure the FLX120 RPD with screws 1 Connecting the Cable to the PC4701 Figure 3 10 shows how to connect the PC4701 and FLX120 RPD Emulator main unit PC4701 PC4701 side connector of FLX120 RPD UPSIDE should face up Secure this screw Secure this screw Figure 3 10 Connecting the Cable to the PC4701 AN CAUTION Note on Connecting the Cable Always shut OFF power before connecting the cable Otherwise the internal circuits may be damaged To connect the FLX120 RPD be sure to hold the both sides of the PC4701 side connector horizontally with the UPSIDE facing up IMPORTANT Note on Securing the Screws After connecting the
33. LE th ALE A0 s i HH n TES th CLK D8 i U i lt gt td BCLK 08 DEL O E y A NA c OL UL Um ae TE Sa MEE AT gg aT ae E rn td DB VR th WR DB C td BCLK AD gt a th BCLK AD U La ADi BRE td BCLK ALE t 000 583 vi aca ALE jm AU i AN d 5 t BCLK WR ath BCLK WR R oo WRL VRH Figure 5 2 Memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus 58 76 3 Timing Requirements Table 5 4 and Figure 5 3 show the timing requirements Table 5 4 Timing requirements tsu DB RD Data input setup time Vccl Vcc2 5V Actual MCU This product ns ns Min Max Min 55 Max tsu RDY BCLK RDY input setup time 45 tsu HOLD BCLK HOLD input setup time 55 th Data input hold time See left See left th BCLK HOLD HOLD input hold time See left th BCLK RDY RDY input hold time td BCLK HLDA HLDA output delay time Common to with wait and no wait actual MCU BCLK tsu HO D SCLK th BCLK HOLD HOLD Input HLDA Outpu e e LO BCLK HLDA yy CH BCLK HLON P0 P1 P2 P3 P4 an aoe Po P52 Common to with wait and no wait this product BCLK a i U O i td BCLK HLDA PO P1 P2 P3 P4 We Jc Sg AE e 0 00000 P50 P5 A A y
34. RAM of the MCU you use all the areas other than the SFR area and a reserved area addresses 27000h 27FFFh can be read and written into 4 Characteristics of ports PO to P5 and P10 Ports PO to P5 are connected via emulation circuits The device used for the port emulation circuit is the IC21 ALTERA EPF6016QC208 2 Output of port P10 is connected via the CMOS output buffer TC7WH125FU Input of that is connected via the IC21 ALTERA EPF6016QC208 2 5 Oscillator circuit Make note that in the oscillator circuit where a resonator is connected between pins Xin and Xovr oscillation does not occur because a flexible cable buffer IC and other devices are used between the evaluation MCU and the target system It is same for sub clock oscillators Xcin and Xcour For notes on when 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 between the evaluation MCU and the target system some characteristics are slightly different from those of the actual MCU 7 DEC single step and BRK instruction interrupt vector table addresses As the emulator uses the DBC single step and BRK instruction interrupt vector table addresses when reading these addresses the downloaded data cannot be read see Table 1 2 Table 1 2 Vector table addresses for the emulator Factor of interruptio
35. S to the target system 2 Attach the M3T 100LCC DMS to the M3T DIRECT100S 3 Attach the CN2 side of the M30800T PTC to the tip CN2 side of the pitch converter board connected to the emulation pod probe 4 Attach the M30800T PTC to the M3T 100LCC DMS Tip of emulation pod probe Tip of pitch converter board CN2 side 8 M30800T PTC Target system Figure 3 14 Connecting to a 100 pin 0 65 mm pitch foot pattern part 1 AN 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 PTC are guaranteed for only 50 insertion removal iterations e The connectors of the M3T 100LCC DMS and M3T DIRECT100S are guaranteed for only 20 insertion removal iterations 43 76 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 Here follows how to connect the emulation pod probe to a 100 pin 0 65 mm pitch foot pattern on the target system with the M3T DUMMY 00S not included For details on the M3T 100LCC DMS not included and M3T DUMMY 100S not included refer to each user s manual 1 Mount the M3T DUMMY 100S to the target system 2 Attach the M3T 100LCC DMS to the M3T DUMMY100S 3 Attach the CN2 side of the M30800T PTC to the tip CN2 side of the pitch converter board connected to the emulation pod probe 4 Attach the M30800T PTC to the M3
36. SYSTEM WI c m 9 mr e 1 2 All the LEDs are lighting SAFE LED blinks Immediately after turning on the power Self check terminated normally c Lighting POWER e POWER 9 9 of Q Blinking SAFE PA aox c2 ERROR ec wx SA sums or an SYSTEM mu S ERROR LED lights SYSTEM STATUS ERROR POWER ec POR CA SAFE o c ERROR ES wx 9 STATUS OF RUN e SYSTEM HALT e SAFE and ERROR LEDs blink TARGET STATUS ERROR Figure 4 4 Self check procedure 52 76 Chapter 5 Specifications This chapter describes specifications of this product e AP GR Gn dda tn dd Ff ad HU Cd DG Od 54 5 2 Operation Timing in Memory Expansion and Microprocessor Modes 5 V 55 I Separate Bus UOI Sesionin era eu o eu od a a a O ON den Lr ME 55 2 Multiplex Bus TIO rl tota Dn 57 B Timing Re guir men sio aeb nn a E E YC a RE SS 59 DOMME CHOU A CA E ee 60 5 4 External Dimensions eto Y Hoe Lots etes yu ass 62 1 External Dimensions of the Emulation POd oooocccnnoccccnononcnononononononononnncnononnncnnonnnnnnnonnnnnncnnns 62 2 External Dimensions of the Converter Board M30800T PTC ssseseseeeree 63 53 76 Chapter 5 Specifications 5 1 Specifications Table 5 1 lists the specifications of the M306N4T3 RPD E Table 5 1 Specifications of the M306N4T3 RPD E Emulators PC4701 excluding PC4701L and PC4700L Applicable MCU M16C 6N Group M16C 6N4 6N5 Evaluation MCU
37. T 100LCC DMS Tip of emulation pod probe Tip of pitch converter board CN2 side 8 M30800T PTC 4 M3T 100LCC DMS not included Onboard evaluation M3T DUMMY100S not included Target system Figure 3 15 Connecting to a 100 pin 0 65 mm pitch foot pattern part 2 NCAUTION 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 PTC are guaranteed for only 50 insertion removal iterations e The connectors of the M3T 100LCC DMS and M3T DUMMY 100S are guaran teed for only 20 insertion removal iterations 44176 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 Here follows how to connect the emulation pod probe to a 100 pin 0 65 mm pitch foot pattern on the target system with the M3T FLX 100NRB not included For details on the M3T 100LCC DMS not included and M3T FLX 100NRB not included refer to each user s manual 1 Mount the NOPACK100RB to the target system 2 Attach the YOPACK100RB to the NOPACK100RB and secure it with the included YO GUIDE s 3 Attach the M3T FLX 100NRB to the YQPACK100RB 4 Attach the M3T 100LCC DMS to the M3T FLX 100NRB 5 Attach the CN2 side of the M30800T PTC to the tip CN2 side of the pitch converter board connected to the emulation pod probe 6 Attach the M30800T PTC to the M3T 100LC
38. This means a software tool M3T PD30 for the M16C 60 M16C730 M16C 20 and M16C710 Series MCUs The M3T PD30 controls the emulator from the host machine through various interfaces Host machine This means a personal computer used to control the emulator and emulation pod Firmware Program that analyzes contents of communication with the emulator debugger and controls the emulator hardware This program is installed in the EEPROM This program is downloadable from the emulator debugger to upgrade the firmware or to support other MCUs 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 User program This means an application program to be debugged Evaluation MCU This means the microcomputer mounted on the emulation pod which is operated in the specific mode for tools In this user s manual this symbol is used to show active LOW e g RESET Reset signal 7 76 MEMO 8 76 Chapter 1 Precautions for Safety This chapter describes precautions for using this product safely and properly For precautions for the emulator main unit and the emulator debugger refer to each user s manual included with your product 1 1 Satety Symbols and Meanings A A eM NCF A 10 Was ora dE eS 11 Warnings for Use Environment sessi enne nennen enne sten nns 11 Caution to Be Taken for Modifying This Product LL iini
39. a other than the areas listed below And the top address of the work area should be an even numbered address 1 SFR area 0000h 003FFh 2 External area of multiplex bus setting 3 Reserved area of 27000h 27FFFh 4 Stack area used by the emulator for reset command execution OFFF9h OFFFFh The area used as a work area 32 bytes is specified in the F W and Work Area tab of the INIT dialog box of the emulator debugger M3T PD30 And set the work area as MAP INT 25 76 3 Downloading Firmware The download procedure is given in Figure 2 3 Before attempting to download the firmware check that the emulator is connected to the host machine Connect the PC4701 and this product See 3 7 Connecting the PC4701 page 39 gt x Within 2 seconds of turning the power ON press the system reset switch of the PC4701 and check it is in See 4 2 Downloading Firmware maintenance mode page 50 y Set the following in the Init dialog Download the firmware using the emulator debugger 0x when starting up the emulator debugger CM MCU file Work area etc End the emulator debugger and shut the power of the PC4701 OFF 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 check procedure is given in Figure 2 4 Within 2 seconds of turni
40. ance 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 reguired 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 reguired to take adeguate measures For inguiries 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 nameYSUPPORT TXT Renesas Tools Homepage http www renesas com en tools 2 76 Preface The M306N4T3 RPD E is an emulation pod for the MI6C 6N Group M16C 6N4 6N5 of 16 bit MCUs It is used with a PC4701 emulator This user s manual mainly describes specifications of the M306N4T3 RPD E emulation pod and how to setup it For details on the following products which are used with the M306N4T3 RPD E refer to each product s user s manual Emulator PC4701 User s Manual Emulator debugger M3T PD30 User s Manual All the components of this product are shown in 2 1 Package Components page 22 of this user s manual If there is any question or doubt about this product contact your local distributor To use the product properly Precautions for Safety n both this user s manual and on the pro
41. ator Debugger Does Not Start Up Properly 1 When the LED Display of the PC4701 is Abnormal Table 6 1 LED s abnormal display and its checkpoints LEDs do not light up Connection to the target system Checkpoint Check that the power cable is connected to the PC4701 See Ihe PC4701 users manual All LEDs remain lit Check the connection between the PC4701 and this product See 2 7 Connecting the PC4701 page 39 The POWER LED of STATUS OF TARGET does not light up Connected Check that power Vcc and GND is properly supplied to the target system The CLOCK LED of STATUS OF TARGET does not light up 1 Check that an oscillator circuit board is installed in the emulation pod See 3 2 Each Setting page 29 2 Check that the oscillation circuit in the emulation pod is oscillating See 3 3 Selecting Clock Supply ana Replacing Oscillator Circuit Boards page 30 The RESET LED of STATUS OF TARGET does not go out Connected 67 76 Check the reset pin of the target system is held high 2 Program Window is Not Displaye d at Debugger Startup Target Connected Table 6 2 Checkpoints of errors when starting up the emulator debugger target connected Error Checkpoint ERROR 16005 Can t connect with the target 1 Check the connection between the PC4701 and host machine See the PC4701 User s Manual 2 Check that the PC4701 is powered on See the PC470
42. circuit board included with this product package 24 76 2 4 When Using This Product for the First Time 1 Making the MCU File It is necessary to make an MCU file to use this product with the emulator debugger M3T PD30 According to the MCU you use change the contents of the MCU file Make the MCU file following the description below using a text editor and store it in the mcufiles folder in the directory where the emulator debugger is installed The MCU file contains information such as SFR area internal RAM area internal ROM area firmware file name The contents of the MCU file when using the M306N4FGTFP 10KB RAM 256KB ROM are as follows 0 SFR area Start address 3FF End address 400 Internal RAM Start address 2BFF End address C0000 Internal ROM Start address FFFFF End address M30620P Firmware name Do not change 0 Expansion No M3T PD30 V 4 00 or later reguired 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 With this product the emulator uses 32 bytes as a work area in emulation memory Therefore according to the memory mapping of the MCU you use specify the work area addresses In single chip mode set the work area address at 10000h In memory expansion or microprocessor mode the areas listed below cannot be used as a work area specify a work are
43. duct 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 and the emulation pod which meet local standards EMI standards are not met when o When using in Europe the United States or Canada be sure to use both the emulator the M306N4T3 RPD E is used with the PC4700H emulator 3 76 Contents Chapter A AAA tete pite e treten p dei DWF 9 1 1 Safety Symbols and Meanings esses nennen nennen nennen nnne 10 WARNINGS Warning tor Installation iii eit tte voce dede e e sue ri e be eau 11 Warnings for Use Environment seeeseesseeeee eene ener ennt rennen 11 CAUTIONS Caution to Be Taken for Modifying This Product 11 Cautions to Be Taken for Handling This Product sse 11 Cautions to Be Taken for Turning On the Power sese 11 IMPORTANT Note on Malfunctions in the PC4701 System sse 12 Notes on Downloading Firmware essere eene enne nennen nennen 12 Notes on the Self check iu eee et eet ete ter rn 12 Note on Quitting the Emulator Debugger esee 12 Note on Final Evaluar 12 Notes on Power Supply to the Target System sse 1
44. eeececeecseeeeceeeecseeeeeaeeeeseeeenaeeees 37 3 6 A D Conversion Bypass Capacitors 0 cccecccccssscecsscecssececssccecssececssccecnccscsccesssceessscessaeeeenseeees 38 22 Connecting th OA O A E Ou GR A a i 39 I Connecting the Cable to the PC470 Loa dio 39 2 Connecting the Cable to the Emulation Pod sees 40 3 5 Connecting the Target System uos s Re tet dee Gi GC a TAN A nab Fd ND MEUS ee ENS 41 1 Connecting to a 100 pin LCC Socket torte trate t taret dune hoe GWYDN ANO Mdo dB dy 42 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 esses 43 3 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 2 eee 44 4 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 3 sess 45 27176 Chapter 3 Setting Up To use this emulation pod with your target system it is necessary to set as follows Set the following after removing the upper cover Oscillation freguency Switches Pullup resistors A D conversion bypass capacitor 3 1 Removing and Closing the Upper Cover 1 To open the upper cover remove the four screws of both sides of this product and lift off the upper 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 Figure 3 1 Removing the upper cover N CAUTION When Removing and Closing the
45. emulation pod OSC 3 16 0 MHz Intemal XiN Xour Target system External Internal oscillator circuit of emulation pod 32 768 kHz Internal XciN Xcour Target system External IMPORTANT Note on Changing the Clock Supply e For pins Xcinx Xcour it is necessary to set the switches in the emulation pod For details refer to 3 4 Switch Settings page 34 30 76 2 Using the Oscillator Circuit on the Target System To operate this product with an external clock construct the oscillator circuit as shown in Figure 3 3 in the target system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into pin Xin And pin Xout should be open To use the external clock on the target system set in 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 Evaluation MCU Open Oscillator circuit Oscillation output Figure 3 3 External oscillator circuit Make note that in the oscillator circuit shown in Figure 3 4 where a resonator is connected between pins Xm and Xovr oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the target system It is same for sub clock oscillator circuits Xcin and Xcour Evaluation MCU h Figure 3 4 Circuit in which oscillation does not occur same
46. et system to pin CNVss of the MCU LE L OPEN H 34 76 Sets pin CNVss of the MCU to H when the target system is unconnected Pulls up pin CNVss of the MCU with a resistance of 1 ko Table 3 3 Switch settings of the M306N4T3 RPD E 2 4 Switch Setting Description Does not connect pin Xout of the MCU to the target system OP Xout Q Factory setting Sw3 Connects pin Xout of the MCU to the target system OP Xout Connects pin P86 Xcout of the MCU to the target System to use it as port P86 or Xcout P86 Xcout o 2 P86 XC OP Factory setting P86 Xcout Does not connect pin P86 Xcout of the MCU to the target system P86 Xcout LE P86 XC OP z BR Uses pin P87 Xcin of the MCU as port P87 P87 Xcin Q P87 Xcin SW5 Factory setting P87 Xcin Uses pin P87 Xcin of the MCU as Xcin P87 Xcin P87 Xcin N CAUTION Note on Switch Settings o Always shut OFF power before changing switch settings IMPORTANT Note on BYTE and CNVss Switch Settings Switch settings of the BYTE and CNVss are for debugging without the target system connected 35 76 2 Jumper Switches JP1 and JP2 on the M30620T3 PRT Board MCU dependent 1 Table 3 4 Switch settings of the M306N4T3 RPD E 3 4 Switch Setting Description Factory setting Use this setting A18_SEL A18_SEL Do not use this setting im C C 4v
47. exible cable FLX120 RPD for connecting to the emulator main unit or the flexible cable FLX64 FLX100 FLX160 or M3T FLX160C for connecting the target system The cable may cause a break Flexible cable FLX120 RPD for connecting to the emulator main unit and the flexible cable FLX64 FLX100 FLX160 or M3T FLX160C for connecting the target system 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 equipped before Cautions to Be Taken for Turning On the Power Turn off the power of the emulator and target system as simultaneously as possible Q Turn on the power of the emulator and target system 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 shutting off the power wait about 10 seconds 11 76 IMPORTANT Note on Malfunctions in the PC4701 System If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the system reset switch on the emulator front panel 2 If normal operation is not restored after step 1 shut OFF power to the emulator once and then reactiva
48. he M306N4T3 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 this product If any of these items are missing or found faulty please contact your local distributor Tf there is any question or doubt about the packaged product contact your local distributor For purchasing the IC61 1004 051 or for technical information contact Yamaichi Electronics Co Ltd 2 2 Other Tool Products Required for Development To bring forward programs development on M16C 6N4 6N5 MCUs of the M16C 6N Group the products listed below are necessary in addition to those contained package above Get them separately Table 2 2 Other tool products Emulator main unit PC4701 excluding PC4701L and PC4700L Emulator debugger M3T PD30 Converter board For 100 pin 0 65 mm pitch QFP 100P6S A M3T 100LCC DMS M3T DIRECT100S M3T 100LCC DMS M3T DUMMY100S M3T 100LCC DMS M3T FLX 100NRB Required according to the foot pattern of the target system see 3 8 Connecting the Target System on page 41 To purchase these products contact your local distributor 22 76 2 3 Name of Each Part 1 System Configuration 7 Emulator debugger pa B Interface cable Host machine 2 Flexible cable for connecting PC4701 o 1 Emulation pod main unit Emulator main
49. hecK quam 51 Ly self check Proecdirc see A A A E 51 2 If an Error is Detected m the Self check aus rede o 51 47 76 Chapter 4 Usage 4 1 Turning On the Power 1 Checking Connections of the Emulator System Before turning the power ON check the connections of the PC4701 emulation pod converter board and target system 2 Turning On the Power Turn on the power of the emulator and target system as simultaneously as possible Turn off the power of the emulator and target system 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 shutting off the power wait about 10 seconds CAUTION Notes on Power Supply o e Pins Vcc1 and Vcc2 of the emulator are connected to the target system to observe the voltage of the target system Therefore design your system so that the target system is powered by an external power supply Do not change target system power supply voltage after power has been activated 48 76 3 LED Display When the PC4701 Starts Up Normally After the emulator starts up check the status of the LEDs on the front panel to see whether emulation pod operation is enabled or not Figure 4 1 shows front panel LED lighting status when the emulator is turned ON When this does not light check the power supply of
50. ion 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 window Note on Accessing Address 00000h When a maskable interrupt is generated the interrupt data interrupt No and interrupt reguest level stored in address 00000h is read out Also the interrupt reguest bit is cleared when address 00000h is read out Conseguently when the address 00000h readout instruction is executed or when address 00000h is read out in the cause of a program runaway a malfunction occurs in that the interrupt is not executed despite the interrupt reguest because the reguest bit of the highest priority interrupt factor enabled is cleared For this malfunction when the reading out to the address 00000h is generated excluding the interrupt the yellow LED lights up to alarm When this LED lights there is a possibility of wrong access to address 00000h therefore check the program This LED is turned off by the system reset switch of the emulator main unit 17 76 IMPORTANT Note on Differences Between the Actual MCU and Emulator Operation of the emulator differs from that of the actual MCU as listed below 1 Reset condition Set the time for starting up 0 2 Vec to 0 8 Vcc 1 us or less 2 Initial values of MCU S internal resources at power on 3 Internal memories ROM and RAM capacities etc With this emulator system regardless of ROM and
51. n Vector table addresses Data read DBC FFFF4h FFFF7h Indefinite Single step FFFECh FFFEFh Indefinite BRK instruction FFFE4h FFFE7h Indefinite 1 Interruption for the emulator only 8 Address and status of BHE When the internal RAM or ROM area of the MCU is accessed during user program execution the actual MCU retains a preceding address and status of BHE while this product does not 9 Status of a data bus In stop or wait mode the actual MCU retains a preceding status of a data bus while with this product a data bus is floating 10 ALE signal When the internal RAM or SFR area of the MCU is accessed during user program execution with the actual MCU ALE output is fixed to Low while this product outputs ALE signal 18 76 IMPORTANT Note on Debugging Operations After Releasing a Reset from the Target Do not execute debugging operations 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 External Area To emulate the external area using emulation memory in this product set O wait 8 MHz or less or 1 wait or more 19 76 MEMO 20 76 Chapter 2 Preparation This chapter describes the package components the system configuration and the preparation for using this product for the first time 2 1 Package CompoHnellsc de tt a NU utu
52. n and products Renesas 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 development
53. ng the power ON press the system reset switch of the PC4701 and check it is in maintenance mode e Push the system reset switch of the PC4701 again to start the self check See 4 3 Self check page 51 gt After about 40 seconds check that the self check is complete normally and shut off the PC4701 Figure 2 4 Self check procedure 26 76 Chapter 3 Setting Up This chapter describes switch settings reguired for using this product and how to connect this product to the PC4701 and the target system 3 1 Removing and Closing the Upper Cover o GM os 28 3 2 Pachi iS 29 3 3 Selecting Clock Supply and Replacing Oscillator Circuit Boards ooonooccnnoncccnoncnononccinnncnnnnncnnns 30 I Clock Supply to the MCU isso aiii CSGA CG cian anal XU RES PREIS ER 30 2 Using the Oscillator Circuit on the Target System esses 31 3 Changing the Internal Oscillator Circuit of the Emulation Pod sess 32 4 Replacing Oscillator Circuit Boards oooocccnnncccnonccinonaccnonanononcnonnncnonnncnnnnnnnoonnncnnnncnnonnncnnnncnnns 33 A y UU HO y toques Desde ves vr gues E O GY o eU ede i Fd 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 5 Installing and Removing Pullup Resistors 0 0 0 0 ceeseecesscecesececee
54. opping may cause a malfunction of the emulator Note on HOLD Input You cannot use the hold function with this product Be sure to input H to pin HOLD of the target system when you use a processor mode other than single chip mode If L is input to pin HOLD this product will not work normally Notes on Setting the Work Area When Starting Up the Emulator Debugger With this product the emulator uses 32 bytes as a work area in emulation memory In single chip mode set the work area address at 10000h In memory expansion or microprocessor mode set the work area address in an area other than SFR area 0000h 003FFh external area of multiplex bus setting reserved area of 27000h 27FFFh and stack area used by the emulator for reset command execution OFFF9h OFFFFh For more details see 2 4 2 Setting the Work Area page 25 The top address of the work area should be an even numbered address Set the work area as MAP INT For example if the work area is set at 02C00h the emulator uses 32 byte area of 02C00h 02C1Fh 13 76 IMPORTANT Note on Stack Area With this product a maximum 7 bytes of the user stack is consumed Therefore ensure the 7 bytes maximum capacity used by the user program as the user stack area If the user stack does not have enough area do not use areas which cannot be used as stack SFR area RAM area which stores data or ROM area as a work area Using areas like this is a cause of
55. reguency Voltage Main clock no dividing Actual MCU f Xin operating max frequency MHz 54 76 1 Separate Bus Timing Vccl Vcc2 2 5V 5 2 Operation Timing in Memory Expansion and Microprocessor Modes 5 V Table 5 2 and Figure 5 1 show the bus timing in memory expansion and microprocessor modes 3 wait accessing external area Table 5 2 Memory expansion and microprocessor modes 3 wait accessing external area Actual MCU d BCLK AD Address output delay time ns This product ns Max Min h BCLK AD Address output hold time BCLK standard See left h RD AD Address output hold time RD standard See left h WR AD Address output hold time WR standard 3 d BCLK CS Chip select output delay time h BCLK CS Chip select output hold time BCLK standard See left d BCLK ALE ALE signal output delay time h BCLK ALE ALE signal output hold time See left RD signal output delay time h BCLK RD RD signal output hold time See left d BCLK WR WR signal output delay time h BCLK WR WR signal output hold time See left d BCLK DB Data output delay time BCLK standard h BCLK DB Data output hold time BCLK standard See left d DB WR Data output delay time WR standard See left d BCLK RD th WR DB Data output hold time
56. ruction at a specified address as a break event The program will break after the instruction at the specified address is executed The software break generates BRK interrupts by substituting the proper instruction to the BRK instruction Therefore when referencing the result of a trace in bus mode 00h is displayed for the instruction fetch address where a software break is set and when referencing in disassemble mode BRK instruction is displayed It is not possible to use a software break and a hardware break at the same time If doing so it may not operate normally In the area where the MAP setting is EXTERNAL software breaks cannot be 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 only while programs are being executed To use it otherwise disable the watchdog timer Note on DMA Transfer With this product the program is stopped with a loop program to a specific address Therefore if a DMA reguest is generated by a timer or other source while the program is stopped a DMA transfer is executed However make note of the fact that a DMA transfer while the program is stopped may not be performed correctly Also note that the below registers have been changed to generate a DMA transfer as explained here even when the program is stopped DMAO and DMA transfer coun
57. se 48 2 Turning On tlie Po Wer terna 48 3 LED Display When the PC4701 Starts Up Normally eee 49 4 2 Downloading Firmware AA etre epe eG eiie nico 50 1 When It is Necessary to Download Firmware esee 50 2 Downloading Firmware in Maintenance Mode eere 50 O A rte bie ERE ERES GY GY GN 51 lySelt check Procedure 2 deoa centre e ht 51 2 If an Error is Detected in the Self check ooooooocconocccnnononononcnnononcnononnnccnncnncnnnnnnnno 51 5 76 Chapter 5 Specifications 1 5 ene DWR Tu dud ar Bie ees 53 A neu ddd ino Mes in pede en be vae een 54 5 2 Operation Timing in Memory Expansion and Microprocessor Modes 5 V 55 I Separate Bus Dining eue eite ri Pete t epe 55 2 Multiplex Bus Timing eese ennemi en nennen trennen 57 3 Timing Requirements eie oe bee ere Rete Hr peine 59 3 3 Connection Diagram tre He b ERE SP FA FD rene ls ERE GYG Fe FO 60 DA External Dimensions isisisi egoiedbetesepere eor iore erbe RD 62 1 External Dimensions of the Emulation Pod 0 cccccecssscesesseeceeeceeesseecesneeeseeeeeees 62 2 External Dimensions of the Converter Board M30800T PTC 63 Chapter 6 Tro blesho otimng ici ri DUI FD FU Y CF 65 6 1 Flowchart to Remedy the Troubles sess 66 6 2 When the Emulator Debugger Does Not Start Up Properly
58. t Connected 68 3 Program Window is Not Displayed at Debugger Startup Target Not Connected 69 6 3 Howio R cynest TOF SUDDOEL as Y Fd 69 65 76 Chapter 6 Troubleshooting 6 1 Flowchart to Remedy the Troubles Figure 6 1 shows the flowchart to remedy troubles from when power to the emulator is activated until the emulator debugger starts up Check this while the target system is disconnected For the latest FAOs visit the Renesas Tool Homepage http www renesas com eng products mpumcu toolhp faq m16c m16c_e htm Turning on the power of PC4701 PC4701 Front panel LEDs Not normal 1 Check emulator system connections See 3 7 Connecting the PC4701 page 39 2 Redownload the firmware See 4 2 Downloading Firmware page 50 3 Restart the PC4701 system 1 Check the operating environment etc of the emulator debugger See the emulator debugger user s manual 2 Reinstall the emulator debugger Normal Init dialog box of emulator debugger displayed Not normal or error displayed Normal Error displayed See 6 2 2 Program Window is Not Displayed at Debugger Startup Target Connected page 68 See 6 2 3 Errors Occur at Debugger Startup Target Not Connected page 69 M Program window of emulator debugger displayed Figure 6 1 Flowchart to remedy troubles 66 76 6 2 When the Emul
59. t in coated or plated portions Flaw or cracks in plastic portions Faults or breakage caused by improper use or unauthorized repair or modification Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply Cracks in the printed circuit board or burnt down patterns Wide range of faults that makes replacement less expensive than repair Unlocatable or unidentified faults 3 Expiration of the repair period When a period of twelve months elapses after the model was dropped from production repairing products of the model may become impossible 4 Transportation fees at sending your product for repair Please send your product to us for repair at your expense 72 76 7 4 How to Reguest for Repair If your M306N4T3 RPD E is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Reguest 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 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 NCAUTION Note on Transporting the Product o
60. te it Notes on Downloading Firmware Before using this product for the first time it is necessary to download the dedicated firmware Please note that to do this it is necessary to start up the emulator main unit in maintenance mode For firmware download procedures see 4 2 Downloading Firmware page 50 Once the firmware has been downloaded the product can be used by simply turning on the power Do not shut off the power while downloading the firmware If this happens the product will not start up properly If power is shut off unexpectedly redownload the firmware in maintenance mode Be sure to disconnect the target system before downloading the firmware Notes on the Self check If the self check does not result normally except target status errors the product may be damaged Then contact your local distributor Be sure to disconnect the target system before executing the self check For details on the self check see 4 3 Self check on page 51 Note on Guitting the Emulator Debugger e To restart the emulator debugger after it ends always shut power to the emulator module off once and then on again Note on Final Evaluation Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with a CS Commercial Sample version MCU Notes on Power Supply to the Target System Pins Vccl and Vcc2 of the emulator are connected
61. te on Watchdog Function a O deer qe EC DOL O Y NON CF 16 Note on DMA Transfer ee ueu noh is 16 Note om Pullip Control seis EU GL tege qud taedis nd GG NL d Ut ddd 16 Note on Reading Internal Resources of the MCU see 17 Note On Protect Register PRG ola co atis an dd ny Add ND s iba seii ciet ian 17 Note on Accessing Address 00000h ici i 17 Note on Differences Between the Actual MCU and Emulator 18 Note on Debugging Operations After Releasing a Reset from the Target 19 Note on Emulating External Ara oasis tod vor oc as 19 9 76 Chapter 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 reguirements shown in the WARNING AN WARNING sentences are ignored the equipment may cause serious personal injury or death If the requirements shown in the CAUTION N CAUTION sentences are ignored the equipment may malfunction IMPORTANT dps important information on using this In addition to the three above the following are also used as appropriate Z means WARNING or CAUTION
62. ter registers TCRO and TCR1 Note on Pullup Control With this product ports PO to P5 are not pulled up by the pullup control register To pull up the ports PO to P5 apply a resistance to the inside of the emulator How to apply it refer to 3 5 Installing and Removing Pullup Resistors page 37 Note Ports P6 to P10 are pulled up by the pullup control registers Note Pullup control registers themselves can be read and written into properly 16 76 IMPORTANT Note on Reading Internal Resources of the MCU When the registers that are listed in Table 1 1 are read with an emulator those results will be the following the data in the MCU are not effected 1 Results of real time trace The data values of the cycles read are not displayed correctly 2 Real time RAM monitor The data values read are not displayed correctly Table 1 1 Resisters and symbols not displayed normally Resister Symbol DMA source pointers O 1 SARO SAR1 DMA destination pointers O 1 DARO DAR 1 DMA transfer counters O 1 TCRO TCR1 DMA control resisters O 1 DMOCON DM1CON Note on Protect Register PRC2 Make note of the fact that the protect is not canceled when protect register PRC2 which enables writing in the port P9 direction register and the SI Oi control register is changed with the below procedure 1 Step execution of the instruction for setting 1 PRC2 2 Setting the break point from the instruct
63. the target system STATUS OF Check that power is supplied to all the terminals TARGET This does not light when the target system is not connected POWER c When this lights check the reset pin of the target s 2 system ERROR e STATUS OF SYSTEM PC4701U On M off HIGH PERFORMANCE EMULAT I ON BENCH Figure 4 1 LED display when the power turned on IMPORTANT Note on Memory Expansion and Microprocessor Modes To use memory expansion or microprocessor mode be sure to set pins RDY and HOLD so that they are not active at startup Otherwise the emulator system will not start up correctly Note on the Target Status POWER LED 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 After powering on the PC4701 before starting up the emulator debugger Make sure that the oscillator circuit board is properly installed in the PC4701 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are complete Make sure that the oscillator selected in the Init dialog box is oscillating normally 49 76 4 2 Downloading Firmware 1 When It is Necessary to Download Firmware It is necessary to download the firmware in the cases listed below Normally the following are automatically detected
64. to a 100 pin LCC Socket To connect the M30800T PTC included to the 100 pin LCC socket IC61 1004 051 by Yamaichi Electronics Co Ltd on the target system following the procedure below 1 Attach the CN2 side of the M30800T PTC to the tip CN2 side of the pitch converter board connected to the emulation pod probe 2 Attach the M30800T PTC to the 100 pin LCC socket Tip of emulation pod probe Tip of pitch converter board CN2 side 1 M30800T PTC 2 100 pin LCC socket Target system Figure 3 13 Connecting to a 100 pin LCC socket NCAUTION 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 PTC are guaranteed for only 50 insertion removal iterations The IC61 1004 51 included with this product is guaranteed for only 20 insertion removal iterations For purchasing the IC61 1004 51 or for technical information contact Yamaichi Electronics Co Ltd http www yamaichi co jp e index shtml 42 76 2 Connecting to a 100 pin 0 65 mm pitch Foot Pattern Part 1 Here follows how to connect the emulation pod probe to a 100 pin 0 65 mm pitch foot pattern on the target system with the M3T DIRECT100S not included For details on the M3T 100LCC DMS not included and M3T DIRECT100S not included refer to each user s manual 1 Mount the M3T DIRECT100
65. to the target system to observe the voltage of the target system Therefore design your system so that the target system is powered by an external power supply Do not change the voltage of the target system after turning on the power 12 76 IMPORTANT Note on Clock Supply to the MCU Clock can be supplied to the evaluation MCU in one of the following two ways This is determined by emulator debugger clock selection 1 When Internal is selected A clock generated by the oscillation circuit in the emulation pod is supplied to the evaluation MCU The clock is continually supplied to the evaluation MCU regardless of target system clock status and user program execution status 2 When External is selected Clock supply to the evaluation MCU depends on oscillation status oscillate off of the target system Note on RESET Input L input from the target system to pin RESET is accepted only while a user program is being executed only while the RUN status LED on the PC4701 s front panel is lit Note on NMI Input L input from the target system to pin NMI is accepted only while a user program is being executed only while the RUN status LED on the PC4701 s front panel is lit Note on RDY Input e Be sure to input L to pin RDY of the target system during the user program executing only while the RUN status LED on the PC4701 s front panel is lit Inputting L to pin RDY during the user program st
66. tor See 3 4 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 ERROR 16014 Check that the PC4701 LEDs at startup show normal Communication ERROR operation Can t accept data See 4 1 3 LED Display When the PC4701 Starts Up Normally page 49 ERROR 16231 Check that the emulator debugger has not been started There was sent undefined data from up without shutting down the PC4701 PC4700 See IMPORTANT Note on Quitting the Emulato Debugger page 12 6 3 How to Request for Support 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 For prompt response please specify the following information 1 Operating environment Operating voltage X X V e Operating frequency XX X MHz Operating mode Single chip memory expansion or microprocessor mode 2 Problem 69 76 MEMO 70 76 Chapter 7 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to reguest for repair INSERIRE AA 12 TDA SWAB AICS RM M c ET Dae 12 TS Repair Provisions s sonnan a Fyd GON O Y NF AG DN aien 12 7 4 Howto Request for ReDlE au cas ete yN Fd Y e e eA Y a E ea FD 73 71 76 Chapter 7 Maintenance and Guarantee
67. ty s rights originating 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 informatio
68. user program crashes and destabilized emulator control Notes on MAP References and Settings For details on referencing and setting MAP information see the emulator debugger M3T PD30 user s manual Make settings as follows 1 MAP INT The emulation memory inside this product becomes effective Set this at MCU internal ROM debugging 2 MAP EXT The emulation memory inside this product is not used Set this where the MCU internal resource SFR RAM or resources on the target system are used Be sure to set the SFR area and RAM area of the MCU to EXT and the reserved area of the MCU to INT Be sure to set mappings in word units e When setting OFFF9h 0FFFFh to EXT This product uses the 7 byte area OFFF9h through OFFFFh as the stack area If this 7 byte memory cannot be read or written to reset cannot be properly effected As a result you need to alter the map settings if the condition given below is met 1 With the system which shifts from the single chip mode to memory expansion or micropro cessor mode using the 7 byte area of OFFF9h OFFFFh set to EXT 2 With the system which starts up in microprocessor mode using the 7 byte area of OFFF9h OFFFFh set to EXT and there is not enough memory to read or write The procedures to alter the MAP settings when the conditions 1 or 2 above are met 1 Set the 7 byte area of OFFF9h OFFFFh to INT 2 Execute the RESET command by use of the emulator debugger M3T
69. ut td DB YR th WR DB NS Figure 5 1 Memory expansion and microprocessor modes 3 wait accessing external area 56 76 2 Multiplex Bus Timing Vcc1 Vcc2 5V Table 5 3 and Figure 5 2 show the bus timing in memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus Table 5 3 Memory expansion and microprocessor modes 2 wait accessing external area using multiplex bus Actual MCU td BCLK AD Address output delay time ns This product ns Max Min Max h BCLK AD Address output hold time BCLK standard See left h RD AD Address output hold time RD standard 4 h WR AD Address output hold time WR standard S d BCLK CS Chip select output delay time h BCLK CS Chip select output hold time BCLK standard See left h RD CS Chip select output hold time RD standard 4 h WR CS Chip select output hold time WR standard ES d BCLK RD h BCLK RD d BCLK WR h BCLK WR d BCLK DB h BCLK DB d DB WR h WR DB d BCLK ALE h BCLK ALE d AD ALE h ALE AD d AD RD td AD WR tdz RD AD RD signal output delay time RD signal output hold time WR signal output delay time WR signal output hold time Data output delay time BCLK standard Data output hold time BCLK standard See left Data output delay time WR standard See left 6

Download Pdf Manuals

image

Related Search

Related Contents

出版物のご案内 - 日本エステティック工業会  Schnarch-Stopper mit Bio-Feedback-Impuls    

Copyright © All rights reserved.
Failed to retrieve file