Home
M30290T-EPB User`s Manual
Contents
1. 32 0 Q I 11 1 15 1 502901 80FPD REV T rll MADE IN JAPAN Jj Y PA Beep ap ER Figure 5 6 External dimensions and a sample foot pattern of the converter board M30290T 80FPD 48 58 Chapter 6 Troubleshooting Chapter 6 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 6 1 Flowchart to Remedy the Troubles sse nennen ener nennen 50 6 2 When the Emulator Debugger Does Not Start Up Properly sese 51 49 58 M30290T EPB User s Manual 6 1 Flowchart to Remedy the Troubles Figure 6 1 shows the flowchart to remedy the troubles from when power to the emulator is activated until the emulator debugger starts up Check this while the user system is disconnected For the latest FAQs visit the Renesas Tool Homepage http www renesas com en tools Turning on PC7501 Front panel LED of PC7501 Not normal 1 Check emulator system connections See 3 3 Connecting the PC7501 page 30
2. ennenen 50 6 2 When the Emulator Debugger Does Not Start Up 51 Chapter 7 Maintenance and Guarantee sese ee ee n nennen nsn 53 NANCE PEE 54 E ETT Ta 54 Z Ge Repair Provisions uu uum er cua EB ER eee e set 54 7 4 How to Request for Repailr a 55 5 58 M30290T EPB User s Manual Terminology Some specific words used in this user s manual are defined as follows PC7501 system This means an emulator system built around the PC7501 emulator The PC7501 emulator system is configured with an emulator main unit PC7501 emulation probe M30290T EPB emulator debugger M3T PD30F and host machine Emulator main unit PC7501 This means an emulator for the M16C Family MCUs You can configure your emulator system by changing emulation probes according to your target MCU Emulation probe M30290T EPB This means the emulation probe this product for M16C 26A 28 29 Group MCUs It is used with the emulator main unit PC7501 Emulator debugger M3T PD30F This means a software tool for the M16C 60 and M16C Tiny Series You can control the emulator from a host machine through various interfaces Firmware This means a program stored in the flash ROM of the emulator main unit PC7501 It analyzes content
3. Figure 3 9 Connecting the user system according to user systems N CAUTION Note on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system 31 58 M30290T EPB User s Manual 3 4 1 Connecting to a 42 pin 0 8 mm pitch Foot Pattern Here following is a procedure of connecting to a 42 pin 0 8 mm pitch foot pattern on the user system using the M30263T 42SSB included with the M30263T EPB FP For details on the M30263T 42SSB refer to its user s manual 1 Mount the socket main unit included with the M30263T 42SSB to the user system 2 Attach the M3T SSOP42B 450 included with the M30263T 42SSB and the socket frame to the socket main unit 3 Attach the J1 and J2 of the M30290T PTCB to the J3 and J4 of the M30290T EPB 4 Attach the M30263T 42SSB to the M3T SSOP42B 450 1 Debuggin 1 dab M8T FLX160 EPB 2 M30290T EPB M30263T 42SSB 2 On board evaluation Socket frame MCU with on chip flash memory etc Socket main unit 42 pin 0 8 mm pitch 42P2R E foot pattern No 1 pin These products are included with the M30263T 42SSB package Figure 3 10 Connecting to a 42 pin 0 8 mm pitch foot pattern N CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emula
4. Whether the proper firmware has been downloaded IMPORTANT Note on Self check If the self check do not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor 42 58 Chapter 5 Specifications Chapter 5 Specifications This chapter describes specifications of this product b Specification Sp ia rn i edi h udi d a a du mr du d a e daas 44 5 2 Connection Diagram auth dde eda oap Eder duas 45 External Dimensions tt ettet t tue ect bt ce Rua 46 5 3 1 External Dimensions of the Emulation Probe 46 5 3 2 External Dimensions of the Converter Board M30263T 42SSB 47 5 3 3 External Dimensions of the Converter Board M30260T 48FPD 47 5 3 4 External Dimensions of the Converter Board M30291T 64FPD 48 5 3 5 External Dimensions of the Converter Board M30290T 80FPD 48 43 58 M30290T EPB User s Manual 5 1 Specifications Table 5 1 lists the specifications of the M30290T EPB Table 5 1 Specifications of the M30290T EPB Emulator PC7501 Applicable MCU M16C 26A 28 29 Group MCUs Evaluation MCU M30290FCWP ROM 128 KB 4 KB RAM 1
5. o Ld ias ata asa 24 Bells GIOCKS umu bet tte tet se 24 3 1 2 Using an Internal Oscillator Circuit Board U L L enne 24 3 1 3 Using the Oscillator Circuit on the User eee eee 27 3 1 4 Using the Internal Generator Circuit I enne trennen nnns 28 A D Conversion Bypass Capacitors I I entren rennen 29 Gonnectng thie PG7503 gusta a a aaa t eet E cette tette da te eee 30 Connecting the User System U enin entrent stet enne 31 3 4 1 Connecting to a 42 pin 0 8 mm pitch Foot Pattern 32 3 4 2 Connecting to 48 pin 0 5 mm pitch Foot Pattern eee 33 3 4 3 Connecting to 64 pin 0 5 mm pitch Foot 34 3 4 4 Connecting to an 80 pin 0 5 mm pitch Foot Paier sese ee eee 35 23 58 M30290T EPB User s Manual 3 1 Selecting Clock Supply 3 1 1 Clocks You can choose a clock supplied to the evaluation MCU by the Emulator tab in the Init dialog box of the emulator debugger Table 3 1 shows the clocks and their initial settings Table 3 1 Clock supply to the MCU Display of Default Clock emulator debugger setting nternal Internal oscillator circuit board Yes OSC 3 or OSC 2 Main Xm Xour External Oscillator circuit on the user system Generate Internal generator circuit _ 1 0 20 0
6. 2 Redownload the firmware See 4 2 Downloading Firmware page 40 3 Restart the PC7501 system Init dialog box of Not normal Error displayed emulator debugger displayed 1 Check the operating environment etc of the emulator debugger See the user s manual of the emulator debugger 2 Reinstall the emulator debugger Normal MCU Setting dialog box Not normal Error displayed of emulator debugger displayed See 6 2 2 MCU Setting Dialog Box Does Not Appear at Debugger Startup page 52 Program window of Error displayed emulator debugger displayed Normal See 6 2 3 Errors Occur at Debugger Startup page 52 Emulator debugger startup completed Figure 6 1 Flowchart to remedy the troubles 50 58 Chapter 6 Troubleshooting 6 2 When the Emulator Debugger Does Not Start Up Properly 1 When the LEDs of the PC7501 Shows an Error Table 6 1 Errors LEDs show and their checkpoints Connection to Error Checkpoint the user system LEDs do not light up Check that the power cable is connected to the PC7501 See the PC7501 user s manual All LEDs remain lit Check that the connection between the PC7501 and this product See 3 3 Connecting the PC7501 page 30 TARGET STATUS POWER Connected Check that power is properly supplied to the user system and LED does not light up that the user system
7. Note on Display of MCU Status eene entente nennen 13 Note on Br aks ouai ei UP EMEN M e ees 13 Notes on Address Match Breaks U U ener enne 13 Notes on Address Match Interrupts U nennen nnne nnns 14 Notes on Software Breaks ente ia d ders e diua du d rana ad Fa 14 Note on Differences between the Actual MCU and Emulator sse 14 Note on the Watchdog 000 10 14 Note 0n DMA Transfer uenti ER REL 15 Note on Protect Register seen eene nsns tenens 15 Note on Operating Frequency due e en ial D C o de ce eee 15 Notes on Internal Flash ROM of the n rentrer nnns 15 Notes on Debugging in CPU Rewrite Mode U nnne nnne 16 Note on the Version of the M3T PD30F U L L ennt nre nnne 16 7 58 M30290T EPB User s Manual 1 1 Safety Symbols and Meanings 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 c
8. or you will be advised to purchase new one depending on the severity of the fault Faulty or broken mechanical portions Flaw separation or rust 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 one year 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 54 58 Chapter 7 Maintenance and Guarantee 7 4 How to Make Request for Repair If your product is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Request Sheet included with this product then send it along with this product for repair to your local distributor Make sure 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 Solutions Corp Ren
9. 4 Package Components cite datae e Lei m date e dug e Ee ded a de eae gt dee atn pda 18 Other Tool Products Required for Development sss sese ee ee nennen nnne nens 18 Name ot Each Parts eu tet ett ricos v s Ec oL t 19 2 9 1 System v pee ec dee aera a dau aS e va da deu eua 19 2 3 2 Names and Functions of the PC7501 Upper Panel 20 When Using the Emulator for the First Time sees eee eee ener nns 22 2 4 4 Downloading gla T T eee tied erede dte bd gi E 22 2 4 2 Selt Checlcu i eie tt uci o euo n etait ani inus 22 17 58 M30290T EPB User s Manual 2 1 Package Components The M30290T EPB package consists of the following items When unpacking it check to see if your M30290T EPB contains all of these items Table 2 1 Package components Item Quantity M30290T EPB emulation probe OSC 3 20 MHz oscillator circuit board OSC 2 oscillator circuit bare board Hardware tool user registration FAX sheet English Hardware tool user registration FAX sheet Japanese M30290T EPB user s manual this manual M30290T EPB user s manual Japanese Please keep the M30290T EPB 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 boxes and cushion material when transporting this product Ifthere is any question or doubt
10. M30290T PTCB are guaranteed for only 50 insertion removal iterations 35 58 M30290T EPB User s Manual MEMO 36 58 Chapter 4 Usage Chapter 4 Usage This chapter describes from turning on the power of this product to starting up the emulator debugger 4 1 4 2 4 3 TURING On the POWOTE eia Ite at ade ER EIU aad e au d e eade 38 4 1 1 Checking Connections of the Emulator System seen 38 4 1 2 Turning ON OFF th Powel x eh eee iced ban a LP ehe ei ente 38 4 1 3 Power Supply to the User System nennen nennen 38 4 1 4 LED Display When the PC7501 Starts Up Normally sese ee 39 Downloading Firmware iss ire dae e eed ce ete i bac e ge MAH bade 40 4 2 1 When It is Necessary to Download Firmware esee enne 40 4 2 2 Downloading Firmware in Maintenance Mode ee eee 40 Tele upa fce reote emus coat astu t m amu e eoe kay am s 41 4 31 Self check Proced re visini aiiai dre te ai ee e u die es dd a dac d np ue d a aci 41 4 3 2 If an Error is Detected in the U 42 37 58 M30290T EPB User s Manual 4 1 Turning On the Power 4 1 1 Checking Connections of the Emulator System Before turning the power ON check the connection of the interface cable to the host machine PC7501 emulation probe and user system 4 1 2 Turning ON OFF the Power Tur
11. emulator debugger M3T PD30F and the PC7501 Install oscillator circuit board OSC 3 20 MHz 3 1 Select lock ly 24 included with this product to the PC7501 u Clock Supply Connect this product and the PC7501 See 3 3 Connecting the PC7501 page 30 i Within 2 seconds of turning the power ON press the system reset switch of the PC7501 See 4 2 Downloading Firmware page 40 and check it is in maintenance mode l Startup emulator debugger M3T PD30F and download the firmware Quit the emulator debugger and shut down the PC7501 Figure 2 3 Firmware download procedure 2 4 2 Self check Execute the self check after downloading the firmware to check that the emulation probe operates properly Figure 2 4 shows the self check procedure Within 2 seconds of turning the power ON press the system reset switch of the PC7501 and check it is in maintenance mode Press the system reset switch of the PC7501 lO start ION Festa See 4 3 Self check page 41 M After about 30 seconds check that the self check is terminated normally and shut down the PC7501 Figure 2 4 Self check procedure 22 58 Chapter 3 Setup Chapter 3 Setup This chapter describes switch settings required for using this product and how to connect this product to the PC7501 and the user system 3 1 3 2 3 3 3 4 Selecting Clock Supply 2 edi e iced eode eg fe Ee doge i RR Le Fe
12. eure t tbt 54 7 4 How to Request for Repair eee ee eee 55 53 58 M30290T EPB User s Manual 7 1 Maintenance If dust or dirt collects on any equipment of your emulation system wipe it off with a dry soft cloth Do not use thinner or other solvents because these chemicals can cause the equipment s surface coating to separate 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 Inadequate user s system or misuse of it Fires earthquakes 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
13. in Figure 3 6 where a resonator is connected between pins Xw and Xour oscillation does not occur because a converter board and other devices are used between the evaluation MCU and the user system It is same for sub clock oscillator circuits and Evaluation MCU Figure 3 6 Circuit in which oscillation does not occur 27 58 M30290T EPB User s Manual 3 1 4 Using the Internal Generator Circuit The dedicated circuit in the PC7501 can generate any arbitrary frequency specified by the emulator debugger and it can be supplied as a main clock It does not depend on either the oscillator circuit board in the PC7501 or the oscillator circuit on the user system If you want to debug programs without the user system or change a frequency temporarily you can check its operation before purchasing an oscillator If you want to use the internal generator circuit in the PC7501 as a main clock choose Generate in the emulator debugger and specify a frequency you like to use this clock Although you can change a frequency between 1 0 and 99 9 MHz by 0 1 MHz for the PC7501 do not specify a value exceeding the maximum input frequency of the Xw of an MCU IMPORTANT Note on Using the Internal Generator Circuit The internal generator circuit is equipped for temporary debugging purposes Temperature characteristics of frequencies are not guaranteed 28 58 Chapter 3 Setup 3 2 A D Conversion Bypass Cap
14. the PC7501 to the LPT side and connect the LPT parallel interface cable to the PC7501 and the host machine 2 Within 2 seconds of activating power to the emulator press the system reset switch on the PC7501 front panel to start maintenance mode When the emulator is switched to maintenance mode the System Status SAFE LED begins to flash 3 Start up the emulator debugger When settings in the Init dialog box are complete the dialog which urges to download the firmware will appear Download firmware following messages Required time for downloading the firmware is about 60 seconds SYSTEM STATUS Downloading firmware started Q ON e OFF Flashing SYSTEM STATUS Download complete Figure 4 2 LEDs during firmware download IMPORTANT Note on Downloading Firmware Do not shut OFF power while 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 40 58 Chapter 4 Usage 4 3 Self check 4 3 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 3 1 Ifthe user system is connected disconnect it 2 Within 2 seconds of activating power to the emulator press the system reset switch on the emulator front panel to switch the emulator to
15. 2 KB Usable MCU mode Single chip mode Emulation memory 1 Internal flash ROM 128 KB 4 KB 0F000h 0FFFFh E0000h FFFFFh maximum operating frequency 20 MHz 0 wait When Disable the Internal Flash ROM is checked in the MCU tab of the emulator debugger s MCU Setting dialog box 10 MHz 0 wait 2 Internal RAM 12 KB 00400h 033FFh maximum operating frequency 20 MHz 0 wait Maximum operating frequency 20 MHz Operating voltage 3 0 to 5 5 V 10 MHz Operating voltage 2 7 to 5 5 V Clock oscillator 1 to 20 MHz Internal oscillator circuit board Switchable to external oscillator input or internal generator circuit Xcwn Xcout 32 768 kHz Internal oscillator circuit Switchable to external oscillator input Operating frequency 2 7 to 5 5 V Operating temperature 5 to 35 C no dew Storage temperature 10 to 60 C no dew Power supply to emulator Supplied from DC power supply of the emulator main unit Connection to user system see 3 4 Connecting the User System on page 31 For 42 pin 0 8 mm pitch SSOP 42P2R E M30263T 42SSB included with the M30263T EPB FP For 48 pin 0 5 mm pitch LQFP 48P6Q A M30260T 48FPD included with the M30260T EPB GP For 64 pin 0 5 mm pitch LQFP 64P6Q A M30291T 64FPD included with the M30291T EPB HP For 80 pin 0 5 mm pitch LQFP 80P6Q A M30290T 80FPD included with the M30290T EPB HP 44 58 Chapter 5 Spe
16. 24 NE S AS M30290T EPB Emulation Probe for M16C 26A 28 29 Group MCUs User s Manual Rev 1 00 August 16 2004 Renesas Technology REJ10J0388 0100Z www renesas com NQPACK YQPACK YOSOCKET YQ GUIDE HQPACK TQPACK and TQSOCKET 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 party s rights originating in the use of any product da
17. 48FPD 47 58 M30290T EPB User s Manual 5 3 4 External Dimensions of the Converter Board M30291T 64FPD Figure 5 5 shows external dimensions and a sample foot pattern of the converter board M30291T 64FPD included with the M30291T EPB HP for a 64 pin 0 5 mm pitch LQFP 36 0 lt gt ss 2 RENESAS 4 0 25 T 1 08 0200 So 1 950 00 095 9500 8 o ooo 099 098 59 09059 000 1 Be OO OOO us 2 CHER PER REV A IN JAPAN j Y NI Zi Rod as RORY DA E NEE ede cee 4 J a 10 0 un 14 0 lt gt Unit mm Figure 5 5 External dimensions and a sample foot pattern of the converter board M30291T 64FPD 5 8 5 External Dimensions of the Converter Board M30290T 80FPD Figure 5 6 shows external dimensions and a sample foot pattern of the converter board M30290T 80FPD included with the M30290T EPB HP for an 80 pin 0 5 mm pitch LQFP
18. 63T 42SSB included with the M30263T EPB FP for a 42 pin 0 8 mm pitch SSOP Mn Tannin Figure 5 3 External dimensions and a sample foot pattern of the converter board M30263T 42SSB 5 3 3 External Dimensions of the Converter Board M30260T 48FPD Figure 5 4 shows external dimensions and a sample foot pattern of the converter board M30260T 48FPD included with the M30260T EPB GP for a 48 pin 0 5 mm pitch LQFP 3402 wa aaa vss lt gt _ RENESAS UU UUU jose e 4 0 25 QRO zog 095 o9 iei Rt 5 GOOD ejg oodo i OOO I I SE e J MS ior 48FPD REV A 1 ADE IN JAPAN Y A gt 0 5 Ey 2 a n ER V Y J Y WU Ae Umi E CE 7 0 10 0 lt N Unit mm Figure 5 4 External dimensions and a sample foot pattern of the converter board M30260T
19. 90T PTCB are guaranteed for only 50 insertion removal iterations 34 58 Chapter 3 Setup 3 4 4 Connecting to an 80 pin 0 5 mm pitch Foot Pattern Here following is a procedure of connecting to an 80 pin 0 5 mm pitch foot pattern on the user system using the M30290T 80FPD included with the M30290T EPB HP For details on the M30290T 80FPD refer to its user s manual 1 Mount the NQPACK080SD ND included with the M30290T 80FPD to the user system 2 Attach the 805 included with the M30290T 80FPD to the NOPACKO080SD ND and secure it with the YQ GUIDE s 3 Attach the and J2 of the M30290T PTCB to the J3 and of the M30290T EPB 4 Attach the M30290T 80FPD to the YOPACKO080SD 1 Debugging gt M3T FLX160 EPB M30290T EPB M30290T 80FPD M30290T PTCB 3 2 On board evaluation 4 HQPACKO80SD Y not included IN YQ GUIDE x4 1 MCU with on chip flash memory etc YQPACKO80SD E 1 gt 2 Y NQPACKO80SD ND 1 1 Y Z UE 80 0 5 mm pitch 80P6Q A foot pattern e No 1 pin These products are included with the M30290T 80FPD package Figure 3 13 Connecting to an 80 pin 0 5 mm pitch foot pattern N CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30290T EPB and
20. AARRE ERRAR RERE Rod 22 4 58 Contents Chapter 9 Setup 2 dct tee e bu tee E b habitu edi ect tr d ect a 23 3 1 Selecting Clock Supply 24 Bilis Tl GIOCKS rM 24 3 1 2 Using an Internal Oscillator Circuit 24 3 1 3 Using the Oscillator Circuit on the User 27 3 1 4 Using the Internal Generator Circuit esses 28 3 2 A D Conversion Bypass 2 L L nennen enne 29 3 3 Connecting the 7501 00000 eaea a ean aad a eaa aias 30 3 4 Connecting the User System U entente snnt entente 31 3 4 1 Connecting to a 42 pin 0 8 mm pitch Foot 32 3 4 2 Connecting to a 48 0 5 mm pitch Foot 33 3 4 3 Connecting to a 64 pin 0 5 mm pitch Foot 34 3 4 4 Connecting to an 80 pin 0 5 mm pitch Foot Pattern 35 Ghapter 4 Te t eee e ete e eta A 37 4 1 Turning On the Power L L nist tenni nnns nsns nnne nene 38 4 1 1 Checking Connections of the Emulator System see ee eee eee ee eee eee 38 4 1 2 Turning ON OFF the 38 4 1 3 Power Supply to the User S
21. B connected with the M30290T PTCB 85 0 11 0 k Ka gt 1 O RENESAS 2 g O NM S SL 2 ENS EB B BE eels dad S0 _ 40b 408 SS S41 C D BH 72 9 d X CL 55 r000 B VB Biz S d E Sass o 805 B o8 LE E BB 3g j 688 B 9 4 Gage E 5 eo E OP SBA s E B BH F SB Baz ge BH E RE o BE HH Bg S BH RAG zo 6 B US ES BB Alas S 9 S 63 BB BRIZ 8 BH B i B B BAe gt 3 HE vl Bg co SET P Ria l PS lb la SOS Bs qe HHz BB En etel LOY 99 Z 64 i POA7SQ A REV MADE IN JAPAN ON e N Y E Figure 5 2 External dimensions of the emulation probe 46 58 Chapter 5 Specifications 5 3 2 External Dimensions of the Converter Board M30263T 42SSB Figure 5 3 shows external dimensions and a sample foot pattern of the converter board M302
22. M30290T EPB User s Manual IMPORTANT Notes on Debugging in CPU Rewrite Mode When you debug M16C 26A 28 29 Group MCUs in CPU rewrite mode do not change the block 0 area FF000h FFFFFh of the flash ROM Otherwise the emulator will be uncontrollable If you check Debug the program using CPU Rewrite Mode in the MCU tab of the Init dialog box of the emulator debugger you cannot use the following functions 1 Setting software breakpoints in an internal ROM area 2 Executing COME in an internal ROM area Do not stop the program in the CPU rewrite mode or erase suspend mode And do not single step the instruction shifting to these modes The emulator is uncontrollable in these modes To reference data after executing CPU rewrite stop the program at a point which is not a rewrite control program area and use a memory window etc As the following interrupt vectors are used by the emulator system the read data is different from expected value 1 BRK instruction FFFE4h FFFE7h 2 Address match FFFE8h FFFEBh 3 Single step FFFECh FFFEFh 4 DBC FFFF4h FFFF7h Note on the Version of the M3T PD3OF Be sure to use this product with the emulator debugger M3T PD30F V2 20 or later 16 58 Chapter 2 Preparation 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 2 2 2 3 2
23. MHz Internal Internal oscillator circuit Sub Xcm Xcour 32 768 kHz External Oscillator circuit on the user system 3 1 2 Using an Internal Oscillator Circuit Board 1 Kinds of Oscillator Boards The PC7501 comes with an oscillator circuit board OSC 3 30 MHz And an oscillator circuit board OSC 3 20 MHz and an oscillator circuit bare board OSC 2 are included with this product If you use an internal oscillator circuit board of the PC7501 as a main clock choose Internal in the emulator debugger after replacing oscillator circuit boards to change a clock supplied to an MCU 2 Replacing an Oscillator Circuit Board 1 Remove the four screws of both sides of this product and lift off the upper cover see Figure 3 1 Figure 3 1 Removing the upper cover 24 58 Chapter 3 Setup 2 Replace the oscillator circuit board see Figure 3 2 The oscillator circuit board of the PC7501 is in the lower right corner of the board Oscillator circuit board Unscrew the screw securing the oscillator circuit board Lift off the oscillator circuit board Attach another oscillator circuit board to the connector Secure the new oscillator circuit board with the screw Figure 3 2 Replacing the oscillator circuit board 3 Reinstall the upper cover and secure the four screws CAUTION Note on Replacing the Oscillator Circuit Board Always shut OFF power when r
24. Notes Address Match Breaks 2 13 Notes Address Match 14 Notes on Software 14 Note on Differences between the Actual MCU and 14 Note on the Watchdog L nennen n nana 14 Note on DMA Transfer idi and es a dr tlie de Wen eda deve ved aie ea 15 Note on Protect iie eite S Ee ictus 15 Note on Operating Frequency enne n nennt nnn enne 15 Notes on Internal Flash ROM of the 15 Notes on Debugging CPU Rewrite 16 Note on the Version of the 2 16 Chapter 2 o totom oL Mot E atate at atiis ees ue dans 17 2 1 Package Components dicet d dite teda Let de der a u aa 18 2 2 Other Tool Products Required for Development sese sese a 18 2 3 of Each Ta re a a ete e n sae udo cae er levine 19 2 31 System e c e BI e uu u u iere eb ink ee en pese e eR n REED E e oda Fa cus 19 2 3 2 Names and Functions of the PC7501 Upper Panel LEDs 20 2 4 When Using the Emulator for the First 22 2 4 1 Downloading 22 2 4 2 Self check iii iiit iii rk ARRES
25. a cause of user program crashes and destabilized emulator control With this product the interrupt stack pointer ISP is set at 00500h and used as a stack area after a reset Is released Notes on Reset Vector Area Memory in the emulator main unit is always selected as a reset vector area FFFFCh FFFFFh in order to operate the evaluation MCU in the emulator dedicated mode Set the contents of the reset vector area in one of the following ways 1 Download a user program to an area including the reset vector area 2 Setthe reset vector using a memory window of the emulator debugger etc You can change data in the reset vector area only when the user program is stopped Do not access the reset vector area as data It may not be accessed properly and the program may not run properly in the next bus cycle 12 58 Chapter 1 Precautions for Safety IMPORTANT Note on Accessing Addresses 00000h and 00001h With the M16C Tiny Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h or 00001h readout instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that the interrupt 1s not executed despite the inte
26. about the packaged product contact your local distributor 2 2 Other Tool Products Required for Development To bring forward programs development on M16C 26A 28 29 Group MCUs the products listed below are necessary in addition to those contained package above Get them separately Table 2 2 Other tool products required for development Product Product name Notes Emulator main unit PC7501 Required Emulator debugger M3T PD30F V 2 20 or later required 42 pin 0 8 mm pitch SSOP M30263T 42SSB 42P2R E included with M30263T EPB FP 48 pin 0 5 mm pitch LQFP M30260T 48FPD 48P6Q A included with M30260T EPB GP Required according to a 64 pin 0 5 mm pitch LQFP M30291T 64FPD foot pattern of a user system 64P6Q A included with M30291T EPB HP 80 pin 0 5 mm pitch LQFP M30290T 80FPD 80P6Q A included with M30290T EPB HP 4 Pitch converter boards o purchase these tool products contact your local distributor 18 58 Chapter 2 Preparation 2 3 Name of Each Part 2 3 1 System Configuration Figure 2 1 shows a configuration of the PC7501 system Host machine interface LPT parallel USB or LAN 1 Emulation probe M30290T EPB Emulator main unit 2 Converter board User system PC7501 M30290T 80FPD etc Figure 2 1 System configuration 1 Emulation probe M30290T EPB This emulation probe consists of the interface board PCA7501EPBA for the M16C 26A 28 29 Gro
27. acitors There is a foot pattern on the M30290T EPBM board for mounting bypass capacitors for the A D conversion circuit near the MCU Mount suitable bypass capacitors as occasion demands Figure 3 7 shows where they are installed and the configuration of this product Back side of the 30290 M J x amp BI E GQ OGO eps 020 4 E 107 CB OOR p CIE Dore SB L RU RENESAS v a APA N M30290T EPBM REV BN 2 AVcC AVss bypass capacitor AVss AVcc VREF AVSS bypass capacitor AVss VREF c2 0 Figure 3 7 Foot pattern for A D conversion bypass capacitors and the configuration of this product IMPORTANT Note on the A D Converter Function Because a converter board and other devices are used between the evaluation MCU and the user system the A D converter operates differently from that of an actual MCU Make the final evaluation of the A D converter with an actual MCU 29 58 M30290T EPB User s Manual 3 3 Connecting the PC7501 Figure 3 8 shows how to connect the PC7501
28. am development and evaluation stages In mass producing your program you have finished developing be sure to make a judgment on your own risk that it can be put to practical use by performing integration test evaluation or some experiment else In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product Renesas Solutions Corporation strives to renovate or provide a workaround for product malfunction at some charge or without charge However this does not necessarily mean that Renesas Solutions Corporation guarantees the renovation or the provision under any circumstances This product has been developed by assuming its use for program development and evaluation in laboratories Therefore it does not fall under the application of Electrical Appliance and Material Safety Law and protection against electromagnetic interference when used in Japan For inquiries about the contents of this document or product fill in the text file the installer of the emulator debugger generates in the following directory and email to your local distributor SUPPORT Product name SUPPORT TXT Renesas Tools Homepage http www renesas com en tools 2 58 Preface The M30290T EPB is an emulation probe for the M16C 26A 28 29 Group MCUs The M30290T EPB is used by connecting to the PC7501 emulator main unit This user s manual mainly describes specifications of the M30290T EPB emulation probe
29. 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 f 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 supporting unit for use in your progr
30. and how to setup it For details on the following products which are used with the M30290T EPB refer to each product s user s manual Emulator PC7501 User s Manual Emulator debugger M3T PD30F User s Manual All the components of this product are shown in Table 2 1 Package components page 18 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 product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties The icons graphic images and meanings are given in Chapter 1 Precautions for Safety page 7 Be sure to read this chapter before using the product 3 58 M30290T EPB User s Manual Contents Chapter 1 Precautions for Safety n 7 1 1 Safety Symbols and Meanings a a nnne 8 WARNING c MICI 9 Warning for Iristallation 12 Qa h acie ree i Te eR 9 Warning for Use Environment 9 CAUTION iis day ein ie dae 10 Caution to Be Taken for Modifying This 10 Cautions to Be Taken for Turning On the Power sss sese eee eee eee eee eee 10 Cautions to Be Taken for Handling Th
31. and the emulation probe M3T FLX160 EPB Emulation probe Figure 3 8 Connecting the PC7501 and the emulation probe N CAUTION Notes on Connecting the PC7501 When connecting the emulation probe be sure to hold the both sides of the emulation probe horizontally and insert it directly Always shut OFF power before connecting the emulation probe Otherwise internal circuits may be damaged The connectors of the emulation probe are guaranteed for only 50 insertion removal iterations 30 58 Chapter 3 Setup 3 4 Connecting the User System Figure 3 9 shows how to connect this product according to your user system Emulation probe M30290T EPB 42 pin 48 pin 64 pin 80 pin 0 8 mm pitch 0 5 mm pitch 0 5 mm pitch 0 5 mm pitch SSOP M30263T 42SSB LQFP M30260T 48FPD LQFP M30291T 64FPD LQFP M30290T 80FPD feque SS Socket frame 2 1 gt 5 i M3T SSOP42B 450 1 7 NOPACKO48SD NOPACK064SD ND NQPACK080SD ND 5 Socket main unit 7 Z No 1 pin 1 These products are included with the M30263T 42SSB package 2 These products are included with the M30260T 48FPD package 3 These products are included with the M30291T 64FPD package 4 These products are included with the M30290T 80FPD package
32. are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally Note on Accessing Addresses 00000h and 00001h With the M16C Tiny Series MCUs when a maskable interrupt is generated the interrupt data interrupt number and interrupt request level stored in addresses 00000h and 00001h are read out Also the interrupt request bit is cleared when address 00000h or 00001h is read out Consequently when the address 00000h or 00001h readout instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway a malfunction occurs in that the interrupt 1s not executed despite the interrupt request because the request bit of the highest priority interrupt factor enabled is cleared For this malfunction when the reading out to address 00000h or 00001h is generated excluding the interrupt the WARNING LED yellow lights up to alarm When this LED lights there is a possibility of wrong access therefore check the user program 21 58 M30290T EPB User s Manual 2 4 When Using the Emulator for the First Time 2 4 1 Downloading Firmware If you have purchased this emulation probe newly you need to download the firmware The download procedure is given in Figure 2 3 Before downloading the firmware check that emulator debugger M3T PD30F is installed to your host machine and the PC7501 is connected to the host machine For more details see each user s manual of the
33. ch interrupt processing When you single step an address where an address match interrupt occurs the program stops after executing the first instruction after returning from address match interrupt processing Notes on Software Breaks Software breaks change the instruction at a specified address to a BRK 00h Therefore take note that when you reference the result of a trace in bus mode 00h is displayed The BRK instruction can be used for the emulator only You cannot use it in a user program You can neither set nor cancel a software breakpoint in the internal ROM area of an MCU during user program execution while you can set or cancel it in the internal RAM area of an MCU Note on Differences between the Actual MCU and Emulator Operations of the emulator system differ from those of actual MCUs as listed below 1 Reset condition Set the time for starting up 0 2 Vcc to 0 8 Vcc 1 us or less 2 Initial values of internal resource data of an MCU at power on 3 Interrupt stack pointer ISP after a reset is released 4 Capacities of the internal memories ROM and RAM The evaluation MCU of this product has RAM of 12 KB 00400h 033FFh and flash ROM of 4 KB 0F000h 0FFFFh and 128 KB E0000h FFFFFh 5 Oscillator circuit In the oscillator circuit where an oscillator is connected between pins Xw and oscillation does not occur because a converter board is used between the evaluation MCU and the us
34. cifications 5 2 Connection Diagram Figures 5 1 shows a connection diagram of the M30290T EPB This connection diagram mainly shows the interface section The circuits not connected to the user system such as the emulator s control system are omitted The signals not shown in Figure 5 1 connect the evaluation MCU and the user system directly Table 5 2 shows IC electric characteristics of this product for reference purposes IC11 P07 P00 P07 LP17 10 17 27 20 27 37 P30 P37 P67 gt lt P60 P67 P77 P70 P77 P84 P80 P84 P90 P93 P95 P97 P90 P93 P95 P97 P100 P107 P100 P107 510kQ Vcc P85 NMI gt lt P85 NMI 74HC4066 E e gt P86 Xcout B3 gt lt 86 E P87 Xcin 4 gt lt P87 Xcin I 74HC4066 RSI gt 74HC4066 M16C 29 lt CNVss Emulation 510kQ Vcc Mode AN lt RESET 510kQ Vcc lt Xin Connected to the inside of the emulator Figure 5 1 Connection diagram Table 5 2 Electrical characteristics of the 74HC4066 Standard values Standard Condition ON resistor 4 5 ON resistor difference Vcc 4 5V Leak current Off Vcc 12 0V Leak current On output open 12 0 45 58 M30290T EPB User s Manual 5 3 External Dimensions 5 3 1 External Dimensions of the Emulation Probe Figure 5 2 shows external dimensions of the M30290T EP
35. e is being downloaded 2 If the SAFE LED is flashing at the same time or alternately the self check cannot be executed because of malfunction of the user system PC7501 system is operating normally 20 58 Chapter 2 Preparation 2 Target Status LEDs The target status LEDs indicate operating status of the target MCU and power supply of the user system Table 2 4 lists the definition of each target status LED Table 2 4 Definition of the target status LEDs Name Status Meaning POWER Power is supplied to the user system Power is not supplied to the user system CLOCK Target MCU clock is oscillating Target MCU clock is not oscillating RESET Target MCU is being reset Target MCU is not being reset RUN User program is being executed User program has been halted WARNING Address 00000h or 00001h has been read out Address 00000h or 00001h has not been read out IMPORTANT Note on the Target Status POWER LED If your 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 PC7501 before starting up the emulator debugger Make sure that the oscillator circuit board 1s properly installed in the PC7501 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings
36. e preset address will not be executed 3 Hardware break H This is a debugging function which breaks a program by setting the detection of an execution of an instruction at a specified address as a break event The program will break after the instruction at the specified address is executed Notes on Address Match Breaks As the processing speed of setting and canceling address match breaks is relatively fast you can save the times of writing into the internal flash ROM of an MCU Therefore address match breaks precede the other breaks when setting breakpoints in the internal flash ROM area of an MCU Address match breaks can be set only in RAM and ROM areas of an MCU Address match breaks can be set at up to six points The other breaks are set as software breaks Address match breaks can be set or canceled even when the user program is being executed 13 58 M30290T EPB User s Manual IMPORTANT Notes on Address Match Interrupts When you use the address match interrupt function in a user program uncheck Enable the Address Match Interrupt Break Function in the MCU tab of the Init dialog box of the emulator debugger Thus normal software breaks are used for the internal RAM and ROM areas of an MCU Do not set a software break at an address where an address match interrupt occurs Otherwise a user program may be run out of control Set a software or hardware break in the top address in address mat
37. ediately 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 Note on Clock Supply to the MCU A clock supplied to the evaluation MCU is selected by the Emulator tab in the Init dialog box of the emulator debugger 1 When Internal is selected A clock generated by the oscillator circuit board in the PC7501 is supplied It is continually supplied regardless of the status of the user system clock and that of the user program execution 2 When External is selected A clock generated by the oscillator in the user system is supplied It depends on the status of the oscillation on off of the user system 3 When Generate is selected A clock generated by the dedicated circuit in the PC7501 is supplied It is continually supplied regardless of the status of the user system clock and that of the user program execution Note on Access Prohibited Area You cannot use internally reserved areas Write signals to the areas will be ignored and values read will be undefined Notes on Stack Area With this product a maximum 8 bytes of the user stack is consumed as a work area Even if the user stack does not have an enough area do not use areas which cannot be used as a stack SFR area RAM area which stores data or ROM area as a work area Using areas like this 1s
38. emoving the upper cover or replacing oscillator circuit board Otherwise internal circuits may be damaged 25 58 M30290T EPB User s Manual 8 Using the Internal Oscillator Circuit Bare Board To use the emulation probe at a frequency you like build a desired oscillator circuit on the included OSC 2 oscillator circuit bare board Figure 3 3 shows an external view of the OSC 2 oscillator circuit bare board and where the connector pins are located Figure 3 4 shows the circuitry of the oscillator circuit bare board OSC 2 Use the number of oscillator circuits recommended by the oscillator manufacturer J1 4 GND J1 3 Oscillation output J1 2 GND J1 1 VCC X 1 5 08 mm pitch 2 pin oscillator X2 2 54 mm pitch 2 pin oscillator IC1 Inverter Unbuffer X3 2 54 mm pitch 3 pin oscillator Figure 3 4 Circuits of the oscillator circuit bare board OSC 2 26 58 Chapter 3 Setup 3 1 3 Using the Oscillator Circuit on the User System To operate this product with an external clock construct the oscillator circuit as shown in Figure 3 5 in the user system and input the oscillator output at 50 duty within the operating range of the evaluation MCU into pin Xw And pin Xour should be open Choose External in the emulator debugger to use this clock Evaluation MCU Oscillator Oscillation output circuit Figure 3 5 External oscillator circuit Make note that in the oscillator circuit shown
39. er system For notes on when using the oscillator circuit on the user system refer to 3 1 3 Using the Oscillator Circuit on the User System page 27 It is same for pins and Xcour 6 Xm input when resetting the emulator system When resetting the emulator system it is necessary to input a clock to the pin Xw 7 A D conversion The characteristics of the A D converter differ from those of actual MCU because there are a converter board and other devices between the evaluation MCU and the user system 8 Operation after releasing the reset After releasing the reset about max 350 cycle programs to control the emulator will be executed Note that this will be included in the user program execution time and tracing result Note on the Watchdog Function If the reset circuit of the user system has a watchdog timer disable it when using the emulator 14 58 Chapter 1 Precautions for Safety IMPORTANT Note on DMA Transfer With this product the program is stopped with a loop program to a specific address Therefore if a DMA request is generated while the program is stopped DMA transfer 1s executed However make note that DMA transfer while the program is stopped may not be performed correctly Also note that the below registers have been changed to generate DMA transfer as explained here even when the program is stopped 1 DMAO transfer counter TCRO 2 DMAI transfer counter TCR1 Note on Protect Re
40. esas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience N CAUTION Note on Transporting the Product When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision equipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use conductive polyvinyl supplied with this product usually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 55 58 M30290T EPB User s Manual MEMO 56 58 M30290T EPB User s Manual Rev 1 00 August 16 2004 REJ10J0388 0100Z COPYRIGHT 2004 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED 24 NE SAS RenesasTechnology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
41. gister The protect is not canceled when bit 2 of protect register PRCR PRC2 which enables writing into the port P9 direction register and the SI Oi control register is changed with the below procedure 1 Step execution of an instruction setting PRC2 to 1 2 Setting a break point between an instruction setting PRC2 to I and a point where the port P9 direction register or the SI Oi control register is set 3 Setting PRC2 to I by the memory window or script window Note on Operating Frequency You can not use this product with a main clock X y Xour less than 1 MHz To use it with a main clock less than 1 MHz contact your local distributor Notes on Internal Flash ROM of the MCU This product downloads a user program to the flash ROM in an MCU By checking Disable the Internal Flash ROM in the MCU tab of the MCU setting dialog box of the emulator debugger you can disable the operation of the internal flash ROM of the MCU to use the emulation memory However the maximum operating frequency is 10 MHz Because the number of write erase cycles of the internal flash ROM of the MCU is limited it must be replaced at the end of its service life If the following errors occur frequently when downloading a program replace the MCU board 1 Flash ROM erase error occurred ERROR 16258 2 Flash ROM verify error occurred ERROR 16259 To purchase products for replacement contact your local distributor 15 58
42. hapter before using this product WARNING If the requirements shown in the WARNING sentences are ignored the equipment may cause serious personal injury or death CAUTION If the requirements shown in the CAUTION sentences are ignored the equipment may malfunction IMPORTANT It means important information on using this product In addition to the three above the following are also used as appropriate ZN means WARNING or CAUTION Example AN caution AGAINST AN ELECTRIC SHOCK Q means PROHIBITION Example DISASSEMBLY PROHIBITED means FORCIBLE ACTION Example UNPLUG THE POWER CABLE FROM THE RECEPTACLE The following pages describe the symbols WARNING CAUTION and IMPORTANT 8 58 Chapter 1 Precautions for Safety N WARNING Warning for Installation 55 Do not set this product in water or areas of high humidity Make sure that the main unit does not get wet CN Spilling water or some other liquid into the main unit can cause an unrepairable damage Warning for Use Environment This equipment is to be used in an environment with a maximum ambient temperature of 35 C Care should be taken that this temperature is not exceeded 9 58 M30290T EPB User s Manual N CAUTION Caution to Be Taken for Modifying This Products KR Do not modify this product Modifying or disassembling this product will void your warranty Cautions to Be Taken for Turni
43. he terminals Note on the Target Status CLOCK LED If the LED is not turned on check the following 1 After powering on the PC7501 before starting up the emulator debugger Make sure that the oscillator circuit board 1s properly installed in the PC7501 and it is oscillating normally 2 After the emulator debugger is started up after the Init dialog box settings are completed Make sure that the oscillator selected in the Init dialog box is oscillating normally 39 58 M30290T EPB User s Manual 4 2 Downloading Firmware 4 2 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 when the emulator debugger is started up and the firmware is downloaded When you use this product for the first time When the emulator debugger or firmware has been upgraded When you use this product with a PC7501 which was used with another emulation probe before When you use this product for the first time or when the power 1s unexpectedly shut down redownload the firmware in maintenance mode 4 2 2 Downloading Firmware in Maintenance Mode Download firmware in the special mode called maintenance mode as explained here following Figure 4 2 shows LED displays when downloading firmware The user system must not be connected when you download the firmware 1 Set the interface select switch on the rear panel of
44. is Product sss sees 10 Caution to Be Taken for Malfunctions eene nnns 10 Caution to Be Taken for External Trigger Input Voltage 10 ET 11 Notes Downloading Firmware 4 1 AEN t ennt 11 Notes on the Self check U U nnns 11 Note on Quitting the Emulator 11 Note on Final Ie L E eto erem e de Dai ot d intu tes 11 Notes on Power Supply to the User 2 404 00 11 Note on RESET Input s ied eta nee cea eae 11 Note orn NMI le ioi aa bea Maeve 11 Notes on Maskable Interrupts U U 12 Note on Clock Supply to the MCU sese eee 12 Note on Access Prohibited Area seene nenn 12 Notes on Stack Area e lia HR PORE baal iw e t aes 12 Notes on Reset Vector Area 0 nnns 12 Note on Accessing Addresses 00000h and 00001 13 Note on Stop and Wat entente nennen 13 Note on Display of MCU Status sse eee eee eee 13 Note on Breaks u hte e neto um eet ee eae eee ua 13
45. is properly grounded TARGET STATUS CLOCK Not connected 1 Check that both the main and sub clocks of the emulator LED does not light up debugger are not set to EXT See the CLK command of the emulator debugger 2 Check that the oscillator circuit board is properly installed in the emulator and is oscillating See 3 1 Selecting Clock Supply page 24 Connected Check that the oscillator circuit in the user system is oscillating properly TARGET STATUS RESET Connected Check that the reset pin of the user system is pulled up LED does not go out 51 58 M30290T EPB User s Manual 2 MCU Setting Dialog Box Does Not Appear at Debugger Startup Table 6 2 Checkpoints of errors at debugger startup Error Communication error occurred Data was not sent to the target Checkpoint Check that all emulator debugger settings interface cable settings and switches on the rear of the PC7501 match See the user s manuals of the PC7501 and emulator debugger User system cannot be properly built 1 Download the proper firmware See 4 2 Downloading Firmware page 40 2 Check that the connection between the PC7501 and this product See 3 3 Connecting the PC7501 page 30 M3T PD30F version is not the same version as the firmware in the target Target MCU is in the reset state Download the proper firmware See 4 2 Downloading Firmware page 40 1 Check that the reset pin of the user system is p
46. maintenance mode 3 Check the SAFE LED starts flashing and then press the system reset switch again 4 The self check will start If the normal result is displayed in about 30 seconds the self check terminated normally POWER O ON sareO cLock OFF ERROR RESET Flashing O RUN WARNING SYSTEM TARGET SYSTEM STATUS STATUS STATUS Maintenance mode Self check terminated started normally POWERO sareO ERROR When the firmware does not support the emulation probe ERROR 1 When the emulation probe is not connected properly SAFE and ERROR flash SYSTEM STATUS Emulation probe and firmware do not match saFEO ERRORO When the PC7501 system is not working properly ERROR 2 SAFE flashes and ERROR lights SYSTEM STATUS POWERO SarEO ERROR When a clock is not supplied to the emulation probe ERROR 3 422 SAFE and ERROR light alternately SYSTEM error When the emulation probe is not working properly ERROR 4 SAFE goes out and ERROR lights SYSTEM STATUS Emulation probe status error Figure 4 3 LED displays in the self check 41 58 M30290T EPB User s Manual 4 3 2 If an Error is Detected in the Self check If the self check does not result normally ERROR 1 to ERROR 4 in Figure 4 3 check the following Whether the emulation probe and PC7501 are connected properly
47. mulator once and then reactivate 1t Caution to Be Taken for External Trigger Input Voltage Keep an external trigger input voltage of the emulator main unit less than a Vcc voltage Overvoltage may cause damage to the internal circuits 10 58 Chapter 1 Precautions for Safety IMPORTANT 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 downloading firmware see 4 2 Downloading Firmware page 40 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 the power is shut off unexpectedly redownload the firmware Download the firmware with the user system not connected Notes on Self check If the self check does not result normally excluding user system errors the emulation probe may be damaged Then contact your local distributor Run the self check with the user system not connected Note on Quitting the Emulator Debugger To restart the emulator debugger 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 evalua
48. n ON the power of the emulator and user system as simultaneously as possible Turn OFF the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged When turning ON the power again after shutting OFF the power wait for about 10 seconds 4 1 3 Power Supply to the User System Pin Vcc is connected in order to monitor user system voltage For this reason the emulator cannot supply power to the user system Therefore provide the user system with a separate power supply The voltage of the user system should be as follows 2 1 V Vcc lt 5 5 V Do not change the voltage of the user system after turning on the power 38 58 Chapter 4 Usage 4 1 4 LED Display When the PC7501 Starts Up Normally Figure 4 1 shows upper panel LED lighting status when the emulator started up properly Check it when starting up the emulator system If this LED does not light check the voltage of the user system Check that power is supplied to all the power terminals When the user system is not connected this LED does not light O ON OFF Flashing Figure 4 1 LED display of the PC7501 when the power turned on IMPORTANT Note on the Target Status POWER LED If your MCU has two or more Vcc terminals the LED does not light unless power is supplied to all t
49. ng On the Power Turn on the power of the emulator and user system as simultaneously as possible And also turn off the power of the emulator and user system as simultaneously as possible Do not leave either the emulator or user system powered on because of leakage current the internal circuits may be damaged When turning on the power again after shutting off the power wait about 10 seconds Cautions to Be Taken for Handling This Product Use caution when handling the main unit Be careful not to apply a mechanical shock 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 this product by the flexible cable for connecting to the emulator main unit and emulation probe The cable may cause a break Do not flex the flexible cable for connecting to the emulator main unit and emulation probe excessively The cable may cause a break 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 Caution to Be Taken for Malfunctions 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 e
50. ning On the Power eene nennen nennen 10 Cautions to Be Taken for Handling This Product enne 10 Caution to Be Taken for Malfunctions n nennen nnns nnne nnn 10 Caution to Be Taken for External Trigger Input Voltage 10 IMPORTANT jeter ie e ate iit i etes i ae tere leni art betes 11 Notes on Downloading Firmware 2 eee enne 11 Notes orithe Self check iicet i tore eene en kakta 11 Note on Quitting the Emulator Debugger eene nennen tentes 11 Note on Final Evaluation escurina nisiende iiei nie i iiei oii iaie aii i 11 Notes on Power Supply to the User System sss eene nnn 11 Notevon RESET Input a dH e Cay Ht dt d E euh dee vee 11 Note on NME ADUE rmt e trot teme biens gee 11 Notes on Maskable Interrupts eee 12 Note on Clock Supply the 4 02224 aquta q us ashi 12 Note on Access Prohibited Area 12 Notes on Stack Area sanete Wu eleven e aee ate eeu ee ae 12 Notes on Reset Vector Area sees eee eee 12 Note on Accessing Addresses 00000h and 00001 13 Note on Stop and Wait 13
51. ors of the M30290T EPB and M30290T PTCB are guaranteed for only 50 insertion removal iterations 33 58 M30290T EPB User s Manual 3 4 3 Connecting to a 64 pin 0 5 mm pitch Foot Pattern Here following is a procedure of connecting to a 64 pin 0 5 mm pitch foot pattern on the user system using the M30291T 64FPD included with the M30291T EPB HP For details on the M30291T 64FPD refer to its user s manual 1 Mount the NQPACK064SD ND included with the M30291T 64FPD to the user system 2 Attach the YQPACK064SD included with the M30291T 64FPD to the NQPACK064SD ND and secure it with the YQ GUIDE s 3 Attach the and J2 of the M30290T PTCB to the J3 and of the M30290T EPB 4 Attach the M30291T 64FPD to the YQPACK064SD 1 Debugging M3T FLX160 EPB Ja 2 7 30290 M30291T 64FPD M30290T PTCB 3 2 On board evaluation 4 YQ GUIDE x4 MCU with on chip HQPACK064SD not included flash memory etc NQPACKO64SD ND _ e 1 Y Z 2 64 pin 0 5 mm pitch 64P6Q A foot pattern No 1 pin These products are included with the M30291T 64FPD package Figure 3 12 Connecting to a 64 pin 0 5 mm pitch foot pattern CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connectors of the M30290T EPB and M302
52. rrupt request because the request bit of the highest priority interrupt factor enabled is cleared For this malfunction when the reading out to address 00000h or 00001h is generated excluding the interrupt the WARNING LED yellow lights up to alarm When this LED lights there is a possibility of wrong access therefore check the user program Note on Stop and Wait Modes Do not single step an instruction shifting to stop or wait mode It may cause communication errors Note on Display of MCU Status MCU status you can refer to in the MCU tab of the MCU Setting dialog box of the emulator debugger shows pin levels of the user system Make sure that proper pin levels are specified according to the mode you use 1 When single chip mode is used CNVss Low Note on Breaks The area displaying break points in the program window of the emulator debugger shows the following breaks 1 Address match break A This is a debugging function which breaks a program using the address match interrupt function of the MCU immediately before the system executes an instruction at a specified address The instruction at the preset address will not be executed 2 Software break B This is a debugging function which generates a BRK interruption by changing an instruction at a specified address to a BRK instruction 00h to break a program immediately before the system executes an instruction at a specified address The instruction at th
53. s of communication with the emulator debugger and controls the emulator PC7501 This program is downloadable from the emulator debugger to upgrade firmware or to support other MCUs Host machine This means a personal computer used to control the PC7501 emulator system Target MCU This means the microcomputer you are going to debug User system This means a user s application system using the microcomputer to be debugged User program This means a user s application program to be debugged Evaluation MCU This means a microcomputer mounted on the emulation probe which is operated in the special mode for the emulator In this user s manual this symbol is used to show active LOW e g RESET 6 58 Chapter 1 Precautions for Safety 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 Safety Symbols and Meanings U 8 dcm 9 Warning for Installation eiaeiiai aet Rl ite 9 Warning for Use 9 CAUMON maaa 10 Caution to Be Taken for Modifying This Product sss sees eee eee 10 Cautions to Be Taken for Tur
54. ta diagrams charts programs algorithms or circuit application examples contained in these materials All information contained in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means including the Renesas home page http www renesas com When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Renesas Technology Corporation
55. te your system and make final confirmation with a CS Commercial Sample version MCU Notes on Power Supply to the User System Pin Vcc is connected to the user system to observe the voltage Therefore the power is not supplied to the user system from the emulator design your system so that the user system is powered separately The voltage of the user system should be as follows 2 7 V Vcc lt 5 5 V Do not change the voltage of the user system after turning on the power Note on BRESET Input A low input to pin RESET from the user system is accepted only when a user program is being executed when the RUN status LED on the PC7501 s front panel is lit Note on NMI Input A low input to pin NMI from the user system is accepted only when a user program is being executed when the RUN status LED on the PC7501 s front panel is lit 11 58 M30290T EPB User s Manual IMPORTANT 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 requested when the user program is not being executed including when run time debugging is being performed the maskable interrupt request cannot be accepted because the emulator disables interrupts The interrupt request is accepted imm
56. tor and targets system The connectors of the M30290T EPB and M30290T PTCB are guaranteed for only 50 insertion removal iterations 32 58 Chapter 3 Setup 3 4 2 Connecting to a 48 pin 0 5 mm pitch Foot Pattern Here following is a procedure of connecting to a 48 pin 0 5 mm pitch foot pattern on the user system using the M30260T 48FPD included with the M30260T EPB GP For details on the M30260T 48FPD refer to its user s manual 1 Mount NQPACK048SD included with the M30260T 48FPD to the user system 2 Attach the YOPACKO0ASSD included with the M30260T 48FPD to the NQPACK048SD and secure it with the YQ GUIDE s 3 Attach the and J2 of the M30290T PTCB to the J3 and of the M30290T EPB 4 Attach the M30260T 48FPD to the YQPACK048SD 1 Debugging M3T FLX160 EPB M30260T 48FPD M30290T PTCB 3 HQPACKO048SD 2 On board evaluation 4 not included YQ GUIDE x4 S x4 9 M MCU with on chip 2 flash memory etc YQPACKOA8SD E d 2 NQPACKO048SD S 1 s2 48 pin 0 5 mm pitch 48P6Q A foot pattern No 1 pin These products are included with the M30260T 48FPD package Figure 3 11 Connecting to a 48 pin 0 5 mm pitch foot pattern CAUTION Notes on Connecting the User System Take care not to attach a converter board in a wrong direction It may cause a fatal damage to the emulator and targets system The connect
57. ulled up 2 Check that the reset pin of the user system has changed from Low to High level Target MCU cannot be reset 1 If the reset circuit of the user system has a watchdog timer disable the timer 2 Check that power is properly supplied to the user system and that the user system is properly grounded Target is in HOLD state 1 The MCU is either in stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specifications Target clock 1s stopped Check that the oscillator circuit of the user system is oscillating properly Target MCU is not receiving power 3 Errors Occur at Debugger Startup Check that power is properly supplied to the user system and that the user system is properly grounded Table 6 3 Checkpoints of errors at debugger startup Error Checkpoint Target MCU is uncontrollable 1 Check that the NQPACK etc mounted on the user system is soldered properly 2 Check that the connecter is connected properly to the user system 3 Check that pin CNVSS is held Low 52 58 Chapter 7 Maintenance and Guarantee Chapter 7 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair 7 1 Maintenance IEEE 54 7 2 G arantee i ico gea Hi dete He t aptus cae dirt de He Fe d apte He da pas 54 7 3 0 8 00 tenete vn Ub te dele
58. ups and MCU board M30290T EPBM for M16C 26A 28 29 Group MCUs The M30290T EPBM with an evaluation MCU is separately available for replacement 2 Converter board M30290T 80FPD etc This is a converter board for connecting to the MCU foot pattern on the user system For details refer to 3 4 Connecting the User System page 31 19 58 M30290T EPB User s Manual 2 3 2 Names and Functions of the PC7501 Upper Panel LEDs Figure 2 2 shows the names of the LEDs on the upper panel of the PC7501 System status Target status LED LED sareO ERRORO ORESET O WARNING PRERE Figure 2 2 Names of the LEDs on the upper panel of the PC7501 1 System Status LEDs The system status LEDs indicate the emulator PC7501 s power supply firmware operating status etc Table 2 3 lists the definition of each system status LED Table 2 3 Definition of the system status LEDs Status Meaning ON PC7501 system is turned ON OFF PC7501 system is turned OFF ON PC7501 system is operating normally Flashing 1 The self check is being executed 2 Downloaded firmware is being written into memory 3 If the ERROR LED is flashing or turned on at the same time the self check cannot be executed because of malfunction of the user system OFF PC7501 system is not operating normally system status error ON PC7501 system is not operating normally system status error Flashing 1 Firmwar
59. ystem ene eene nnne nnns 38 4 1 4 LED Display When the PC7501 Starts Up 39 4 2 Downloading 40 4 2 1 When It is Necessary to Download Firmware 40 4 2 2 Downloading Firmware in Maintenance 40 AB S6ll CHOCK WR UR 41 4 3 1 Self check Procedure sese 41 4 3 2 If an Error is Detected in the Self check a 42 Ghapter 5Speclficatlohs Pe bic Tr os pre iac 43 b T SpecifiCatioris ooo eec tete e Er d 44 5 2 Connection Diagram u ione cer Pea i DO e RI Rede i ede T er u 45 5 3 External Dimoernsioris s oe e eate t t Ute ta 46 5 3 1 External Dimensions of the Emulation Probe eee 46 5 3 2 External Dimensions of the Converter Board 30263 4255 47 5 3 3 External Dimensions of the Converter Board M30260T 48FPD 47 5 3 4 External Dimensions of the Converter Board 30291 64 48 5 3 5 External Dimensions of the Converter Board 0290 80 48 Chapter 6 Troubleshooting carie Li qu ce a a eua cu a De dene onde tdg aii 49 6 1 Flowchart to Remedy the Troubles
Download Pdf Manuals
Related Search
Related Contents
Garland Master Series User's Manual - Totaline 9kg 11kg 13kg 13/13kg 16kg 24kg 35kg manual insertable de leña idesia MANUAL DE USUSARIO LOOP delay Service Manual cortadora de blocos - Casa do Construtor PDFファイルはこちら NO Brukerveiledning 2 GB User manual 10 DK 1820B RF Mount Heater Instruction and Service Manual Copyright © All rights reserved.