Home

Renesas M16C/80 User's Manual

image

Contents

1. 34 74 2 Connecting the Cable to the Emulation Pod Figure 3 10 shows how to connect the FLX120 RPD and the emulation pod r Emulation pod FLX120 RPD Secure with the screws Figure 3 10 Connecting emulation pod and FLX120 RPD A CAUTION Note on Connecting the Cable e Always shut OFF power before connecting the cable The power ON state could destroy internal circuits Note on Securing the Screws e After connecting the emulator main unit to the cable be sure to secure the screws 35 74 3 6 Connecting the Target System There are seven ways available to connect the emulation pod to target systems as shown in Figure 3 11 Emulator probe 100 pin Y 144 pin 0 5 mm pitch 0 5 mm pitch 0 65 mm pitch i a M30800T PTC ee Y included Y 5 included 100LCC DMS lt S M30800T PTC L PTC 2 not included A included included HB DOLCC DMS not included not included not included Y FLX100 T FLX100 R gt not included not included 1 1 Y E lt D BPD EZ DE RA A e gt O LCC socket DIRECT100S DUMMY 100S FLX 100NRB 100LCC QSD FLX 100NSD FLX 144NSD 100 pin LCC 100 pin QFP 100 pin QFP 100 pin QFP 100 pin LQFP 100 pin LQFP 144 pin LQFP not included not included not included not included not included not included not included indicates
2. not included When making evaluation FLX 100NRB S not included with actual MCU 1 eS YQSOCKETIOORBF HQPACK100RB168 not included oe gt WU YQPACK100RB cutis flash memory etc J 100 pin 0 65 mm pitch 100P6S foot pattern User s target These 4 products are available in one package Figure 3 15 Connecting emulation pod probe and 100 pin 0 65 mm pitch foot pattern part 3 N CAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of 100LCC DMS and FLX 100NRB are guaranteed for only 20 insertion removal iterations e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations 40 74 5 Connecting 100 pin 0 5 mm pitch Foot Pattern Part 1 Figure 3 16 shows how to connect the emulation pod probe to the 100 pin 0 5 mm pitch foot pattern on the target system with the 100LCC QSD not included and here following is its procedure For details on the 1O0LCC QSD refer to its user s manual 1 Attach the 100LCC QSD to the target system For details on how to attach the 100LCC QSD to the target system see the user s manual of the 100LCC QSD 2 Attach the M30800T PTC to the FLX160 PRB 3 Attach the M30800T PTC to the 100LCC QSD FLX160 PRB attached to FLX160 400LCC
3. IMPORTANT Note on Downloading Firmware e 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 48 74 4 3 Starting Up the Emulator Debugger Setting EMEM Dialog The EMEM dialog will appear after setting the Init dialog by starting up the emulator debugger or completing downloading the firmware Here explains how to set the processor mode of the target MCU allocate the emulation memory and set the emulator work area Figure 4 3 shows the EMEM dialog display 1 Debug monitor bank address g 2 Processor mode 3 Allocation of the internal ROM area Emulation Memory Allocation Bank Length Map BYTE Area 1 pp 256KB No Use y CNYss En alia Area 2 10 256K6 INTERNAL apy Area 8 Co 25ok8 E EXTERNAL HOLD Area d JED 256KB INTERNAL NMI 5 Allocations of the expansion emulation memory Figure 4 3 EMEM dialog 1 Setting the Debug Monitor Bank Address With this product 64 consecutive KB of the emulator s work area are allocated to the debug monitor When FO is specified 64 KB starting from address FO0000h are allocated for use by the debug monitor Specify an unused area IMPORTANT Notes on Setting Debug Monitor Bank Address e It is not possible to view or set the content of the sp
4. Rev 1 00 July 1 2003 REJ10J0197 0100Z ENESAS M308031 RPD E Emulation Pod for M16C 80 Group MCUs User s Manual Renesas Technology www renesas com 1C61 1004 051 is a product of Yamaichi Electronics Co Ltd NQPACK YQPACK YQSOCKET YQ Guide HQPACK TQPACK and TQSOCKET are products 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 origin
5. 100LCC DMS to the DIRECT100S 3 Attach the M30800T PTC to the FLX160 PRB 4 Attach the M30800T PTC to the 100LCC DMS lt lt LX 100LCC DMS 5 not included d DIRECT100S not included 100 pin 0 65 mm pitch of 100P6S foot pattern Pai Position of No 1 pin User s target Figure 3 14 Connecting emulation pod probe and 100 pin 0 65 mm pitch foot pattern part 2 NCAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of 100LCC DMS and DIRECT100S are guaranteed for only 20 insertion removal iterations e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations 39 74 4 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 3 Figure 3 15 shows how to connect the emulation pod probe to the 100 pin 0 65 mm pitch foot pattern on the target system with the FLX 100NRB not included and here following is its procedure For details on the 1OOLCC DMS and FLX 100NRB refer to each user s manual 1 Attach the FLX 100NRB to the target system For details on how to attach the FLX 100NRB to the target system see the user s manual of the FLX 100NRB 2 Attach the 100LCC DMS to the FLX 100NRB 3 Attach the M30800T PTC to the FLX160 PRB 4 Attach the M30800T PTC to the 100LCC DMS lt lt i 100LCC DMS
6. 20 MHz Operating voltage 5 0 to 5 5 V divide by 1 10 MHz Operating voltage 2 7 to 5 5 V divide by 1 Clock oscillator Xin Xout Internal oscillator circuit board OSC 3 Switchable to external oscillator input Xcin Xcout Internal oscillator circuit board 32 768 kHz fixed 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 emulation pod Supplied from PC4701 Connection to target system see 3 6 Connecting the Target System on page 36 For 144 pin 0 5 mm pitch LQFP 144P6Q A FLX 144NSD not included For 100 pin 0 5 mm pitch LQFP 100P6Q A 1 M30800T PTC included 100LCC QSD not included 2 M30800T PTC included 100LCC DMS not included FLX 100NSD not included For 100 pin 0 65 mm pitch QFP 100P6S A 1 M30800T PTC included 100LCC DMS not included DUMMY100S not included 2 M30800T PTC included 100LCC DMS not included DIRECT100S not included 3 M30800T PTC included 100LCC DMS not included FLX 100NRB not included For 100 pin LCC socket M30800T PTC included Overseas standards U S EMI standards FCC part 15 Class A e CE marking EN55022 EN50082 1 For M30802 and M30805 the FLX 144NSD not included is required 56 74 5 2 Connection Diagram Figures 5 1 and 5 2 show the connection di
7. 4 1 shows front panel LED lighting status when the emulator is turned ON STATUS OF TARGET When not lighting check the voltage of the target system This does not light when the target system is not connected POWER ZE A When not lighting check if the RESET pin of the target SAFE system is at L level ERROR 2 STATUS OF SYSTEM PC4701 HS lt 2 Lighting e of HIGH PERFORMANCE EMULATION BENCH Figure 4 1 LED display when the power turned on IMPORTANT Note on Memory Expansion Mode and Microprocessor Mode e To use the memory expansion or microprocessor mode be sure to set the RDY HOLD and NMI pins so that they are not active at startup Otherwise the emulator system will not function correctly Note on CLOCK LED e If CLOCK LED does not turn on check the following points 1 Immediately after starting PC4701 before starting the emulator debugger gt Check if the oscillation circuit within the emulation pod oscillates normally 2 After starting the emulator debugger after setting the Init dialog gt Check the oscillation circuit set in the Init dialog oscillates normally 47 74 4 2 Downloading Firmware 1 When It is Necessary to Download Firmware It is necessary to download firmware when 1 you use this product for the first time 2 the firmware is upgraded 3 the emulator debugger is upgraded 4 use this product with the PC4701 which was used wit
8. QSD not included 100 pin 0 5 mm pitch o 100P6Q foot pattern Position of No 1 pin 4a p User s target Figure 3 16 Connecting emulation pod probe and 100 pin 0 5 mm pitch foot pattern part 1 NCAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations 41 74 6 Connecting 100 pin 0 5 mm pitch Foot Pattern Part 2 Figure 3 17 shows how to connect the emulation pod probe to the 100 pin 0 5 mm pitch foot pattern on the target system with the FLX 100NSD not included and here following is its procedure For details on the 1OOLCC DMS and FLX 100NSD refer to each user s manual 1 Attach the FLX 100NSD to the target system For details on how to attach the FLX 100NSD to the target system see the user s manual of FLX 100NSD 2 Attach the 100LCC DMS to the FLX 100NSD 3 Attach the M30800T PTC to the FLX160 PRB 4 Attach the M30800T PTC to the 100LCC DMS FLX160 PRB attached to FLX160 KI L 100LCC DMS not included EE FLX 100NSp When making evaluation UA not included with actual MCU L gt eS is ees HOPACK1008D a YQSOCKET100SDF not included YQPACK100SD MCU with Il tlash memory etc 5 j 100 pin 0 5 mm pitch 100P6Q foot p
9. S W breaks generate break interruptions by forcibly inserting a BRK instruction 08h instead of a instruction code Therefore when referencing the result of a trace in bus mode 08h is displayed for the instruction fetch address where a S W break is set 13 74 IMPORTANT Note on Differences between Actual MCU and Emulator e Operations of the emulator differs from those of mask MCUs as listed below 1 Reset condition 2 Initial values of internal resource data at power on 3 Interrupt stack pointer ISP after releasing reset 4 Internal memories ROM and RAM capacities etc This emulator system has an MCU with 24KB RAM 0400h 63FFh In single chip mode or memory expansion mode emulation memory for internal ROM is automatically allocated in the area between FCO000h through FFFFFFh and it can be read and written into 5 Oscillator circuit e Make note of the fact that in the oscillator circuit where a resonator is connected between the Xm and Xour pins 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 e For notes on when using the oscillator circuit on the target system refer to 3 3 1 Using the Oscillator Circuit on the Target System page 30 6 A D conversion As a flexible cable a pitch converter board and other devices are used between the evaluation MCU and the
10. not included and here following is its procedure For details on the 1OOLCC DMS and DUMMY 100S refer to each user s manual 1 Attach the DUMMY 100S to the target system 2 Attach the 100LCC DMS to the DUMMY 100S 3 Attach the M30800T PTC to the FLX160 PRB 4 Attach the M30800T PTC to the 100LCC DMS FLX160 oa When making evaluation SS 100LCC DMS with actual MCU not included SS LA DUMMY100S not included i flash pet etc 100 pin 0 65 mm pitch 100P6S foot pattern P Position of No 1 pin User s target Figure 3 13 Connecting emulation pod probe and 100 pin 0 65 mm pitch foot pattern part 1 AN CAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of 100LCC DMS and DUMMY 100S are guaranteed for only 20 insertion removal iterations e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations 38 74 3 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 2 Figure 3 14 shows how to connect the emulation pod probe to the 100 pin 0 65 mm pitch foot pattern on the target system with the DIRECT100S not included and here following is its procedure For details on the 1OOLCC DMS and DIRECT100S refer to each user s manual 1 Attach the DIRECT10OS to the target system 2 Attach the
11. page 19 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 e In both this user s manual and on the product itself several icons are used to insure proper handling of this product and also to prevent injuries to you or other persons or damage to your properties e The icons graphic images and meanings are given in Chapter 1 Precautions for Safety Be sure to read this chapter before using the product When using outside Japan and the emulation pod which meet local standards EMI standards are not met when O e When using in Europe the United States or Canada be sure to use both the emulator the M30803T RPD E is used with the PC4700H or PC4700L emulator 3 74 Contents Chapter 1 1 1 Chapter 2 2 1 2 2 2 3 2 4 2 5 Chapter 3 3 1 3 2 3 3 3 4 3 5 3 6 Chapter 4 4 1 4 2 4 3 Precautions LOLS AL ety eeen aerae esse e aee ees tin 7 Safety Symbols and Meanings 0 eee ceecseceeeeceseeseceeceseceeeeeeeeeeseseeeeaeeeeeeas 8 Preparati n A bah a at 17 Termos ia 18 Package Components mistral 19 Other Tool Products Required for Development oooconnnnocnnocconconoconcnnncnnnnnncnnnnno 19 Name of Each Pait orrien aa E tati espiar 20 1 System Configuration seseeesseeeseeeseessesressteersteesertsesensererseeersrenrsrenresesst 20 2 Inside of Emulation Pod ocooocnnnncccnon
12. supporting unit for use in your program development and evaluation stages In mass producing your program you have finished developing be sure to make a judgment on your own risk that it can be put to practical use by performing integration test evaluation or some experiment else In no event shall Renesas Solutions Corporation be liable for any consequence arising from the use of this product Renesas Solutions Corporation strives to cope with the issues given below at some charge or without charge 1 Repairing or replacing a flawed product There can be instances in which a product cannot be repaired if more than one year have passed since the discontinuance of its marketing 2 Renovating or providing a workaround for product malfunction 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 equipment If modified your authority to operate this equipment might be voided by FCC Note This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protect
13. target system some characteristics are slightly different from those of the actual MCU Perform final evaluations of the A D converter with the actual MCU 7 Port P10 As a part of I O port P10 is connected to the target system through the analog switch circuit electric characteristics slightly differ from those of actual MCU 8 Voltage When using this product with the operating frequency at 20 MHz the voltage of the target system should be 5 0 to 5 5 V Notes on Watchdog Function e The MCU s watchdog timer can be used only while programs are being executed To use it otherwise disable the watchdog timer And take note that when the following two conditions are satisfied programs can not be executed 1 The watchdog timer function selection bit CM06 of the system clock control register 0 is set to W 1 W y 2 The HOLD function is used while the watchdog timer is operating e If the reset circuit of the target system has a watchdog timer disable it when using the emulator 14 74 IMPORTANT Notes on A D Input Selection Function e To use A D input group selection it is necessary to set the direction register of port P10 to input Port 10 corresponds to the pin that performs A D conversion Example To select A D input for POO P07 set the direction register of P100 P107 and POO P07 to input Also when the port PO group and port P2 group are selected for A D input port P10 cannot be used as an I O por
14. the foot patterns AVcc AVss bypass capacitor AVcc AVss Vrer AVss bypass capacitor VREF AVss Figure 3 8 Foot patterns of A D conversion bypass capacitor IMPORTANT Note on the A D Converter Because a flexible board and other devices are used between the evaluation MCU and the target system the A D converter operates differently from the actual MCU Make the final evaluation of the A D converter from the actual MCU 33 74 3 5 Connecting the PC4701 and Emulation Pod To connect the emulation pod to the PC4701 use the FLX120 RPD 120 pin flexible cable included in this product package Connect the PC4701 side connector of FLX120 RPD to the cable connector of the PC4701 then secure with screws 1 Connecting the Cable to the PC4701 Figure 3 9 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 9 Connecting PC4701 and FLX120 RPD CAUTION Note on Connecting the Cable e Always shut OFF power before connecting the cable The power ON state could destroy internal circuits e To connect the FLX120 RPD be sure to hold the both sides of the PC4701 side connector horizontally with the UPSIDE facing up Note on Securing the Screws e After connecting the emulator main unit to the cable be sure to secure the screws
15. 2 768 kHz on the emulation pod E P86 a SW2 Factory setting Connects the P86 Xcour pin of MCU to the target system uses the P86 Xcour pin as Port P86 fl eo P861 Xeour Sw2 P86 Xcour pin of MCU is unconnected LL po P86 Xcour sw2 Connects the P86 Xcour pin of MCU to the target system uses the P86 Xcour pin as Xcour OPEN Xour Factory setting Xour pin of MCU is unconnected Connects the Xour pin of MCU to the target system H OPEN E RDY HOLD Factory setting Pulls up the RDY and HOLD pins of MCU with a resistance of 33 kQ Be sure to set this when using the emulation pod while not connecting the target system O m H ae OPEN SW4 RDY HOLD 26 74 Connects the RDY and HOLD pins of MCU to the target system Table 3 2 Switch settings of the M30803T RPD E 2 3 Switch Setting NS LL Ju SWS CNVss Factory setting Description Pulls down the CNVss pin with a resistance of 33 kQ when target system is unconnected and using in single chip mode or memory expansion mode Be sure to set this when using the emulation pod while not connecting the target system Connects the CNVss pin to the target system Pulls up the CNVss pin with a resistance of 33 kQ when target system is unconnected and using in microprocessor mode Be sure to set this when using the emulation pod while not connecting the
16. Chapter 7 7 1 T2 7 3 7 4 Ne A O ee 53 1 Selfecheck Procedure ocooonncccooonoooncooncconnnonncconncoononanncnnn E a a 53 2 If an Error is Detected in the Self check ooooocccnnocccnonocncnoncccoonnncnnnnnos 53 S PECifCAtONS rato opta 55 Specifications wrer i Rea a Ban Me 56 Connection Dia gains acess cies aee a Eae EAEN EE seston ERES EEEE 57 Operation Timing in Memory Expansion Mode and Microprocessor Mode 59 1 Timing Requirements eiretier ie reren eer EErEE EEE EEEE E EE SEKE Ek 59 Electrical Characteristics ssiri neraino i E acs ob E EEE 59 External DIMENSIONS aires eataa a erica Moca E aai 60 1 External Dimensions of Emulation Pod ocoocncocccocnconnnononcnonccononinnncnnnnon 60 2 External Dimensions of Converter Board M30800T PTC 0006 61 3 External Dimensions of Converter Board FLX 144NSD ooocccoccccccinnos 62 Troubleshooting anrea eines eeii tiene rsi cus ca Rass diia das bet A sectors 63 Flowchart to Remedy the Troubles oonconcnnnnncnnccnoccnonconccononnconoconocnncnnonccnnnnns 64 When the Emulator Debugger Does Not Start Up Properly 0 0 65 1 When the LED Display of PC4701 is Abnormal 0 eee eee eeeeeee 65 2 EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up When the target system is connected eee eect eeteeeees 66 3 EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up When the target system is not connected e
17. FFFh is allocated automatically Emulation memory for expansion area Cannot be used Memory Expansion Mode The area FCOO00h FFFFFFh is allocated automatically Possible to specify the desired area between Area 1 and 4 Microprocessor Mode Cannot be used Possible to specify the desired area between Area 1 and 4 4 Emulation Memory Allocation as Expansion Area This section explains about setting emulation memory for expansion purposes in the memory expansion mode and microprocessor mode To use emulation memory as expansion area set memory allocation as indicated here below Emulation memory specifications are given in Table 4 3 1 Setting bank address Bank Specify the bank address of the area to be allocated for expansion as a hexadecimal number For example specifying CO allocates the bank from address C00000h When 256 KB is specified as the Length bank addresses can be specified in 256KB blocks up to 00 04 08 and FC When 1 MB is specified as the Length bank addresses can be specified in 1MB blocks up to 00 10 20 and FO 50 74 2 Specifying area size Length Specify the size of the specified expansion area The area from the specified address to the size specified here is allocated as external area or internal area Length can be specified as 256 KB or 1 MB 3 Specifying area map Map Select whether the specified area is to be allocated as internal area used as e
18. MCU To use the external clock on the target system change the clock by the CLK command or the Init dialog on the emulator debugger For details refer to the user s manual of the emulator debugger Evaluation MCU Oscillator Oscillation output circuit Figure 3 3 External oscillator circuit Evaluation MCU h Figure 3 4 Circuit in which oscillation does not occur same for Xcin Xcour IMPORTANT Notes on External Clock e To operate the emulation pod 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 the Xin pin And the Xour pin should be open e Make note of the fact that in the oscillator circuit shown in Figure 3 4 where a resonator is connected between the Xin and Xour pins 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 oscillator circuits Xcin and Xcour 30 74 2 Changing the Internal Oscillator Circuit of Emulation Pod An oscillator circuit board OSC 3 for 20 MHz is mounted on this product To use the emulation pod at a frequency other than 20 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 f
19. Set the target MCU to the processor mode e To set the single chip mode and memory expansion mode the CNVSS pin used with MCU status must be L MCU status indicates pin level of the target system e To set the microprocessor mode the CNVSS pin used with MCU status must be H e To set the memory expansion mode and microprocessor mode the RDY and HOLD pins used with MCU status must be H 3 Emulation Memory Allocation e The 1 5MB memory mounted in the product can be allocated out e When the single chip mode and memory expansion mode are set by specifying the processor mode emulation memory is automatically allocated to the ROM area Therefore it is not necessary to deliberately specify emulation memory as expansion area in order to allocated ROM area e Except for the SFR RAM ROM and internally reserved areas all areas other than the set area are externally accessible e MCU internal resources are automatically selected as SFR and RAM areas regardless of settings e Even when 00 is specified as the expansion area internally reserved areas 006400h 007FFFh cannot be used e Be careful that the specified areas do not overlap one another e Set memory allocation so that the total of the 4 length values does not exceed the emulation memory size 1 5 MB e Do not set unusable areas for memory allocation e Emulation pod memory is automatically selected as reset vector area regardless of settings Note on S W Break e
20. 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
21. a O ee CI Emulator main unit PC4701 Required Emulator debugger M3T PD308 Required 144 pin 0 5 mm pitch LQFP 144P6Q A FLX 144NSD Required according to the foot pattern of the target system 100LCC QSD see 3 6 Connecting the Target System on page 36 100 pin 0 5 mm pitch LQFP 100P6Q A 100LCC DMS FLX 100NSD 100LCC DMS DUMMY100S 100 pin 0 65 mm pitch QFP 100P6S A 100LCC DMS DIRECT100S n O S Q O pa D D gt lt Q O 100LCC DMS FLX 100NRB 100 pin LCC socket 1C51 1004 051 etc To purchase these products contact your nearest distributer For details on the IC51 1004 51 contact Yamaichi Electronics Co Ltd 19 74 2 4 Name of Each Part 1 System Configuration TAS Interface cable 2 Flexible cable FLX120 RPD 1 Emulation pod main unit Emulator Figure 2 1 System configuration 1 to 4 in Figure 2 1 are included in this product package 1 Emulation pod M30803T RPD E This emulation pod contains an evaluation MCU emulation memory and circuit to feature the debugging function 2 Flexible cable FLX120 RPD This 120 pin flexible cable connects the PC4701 emulator and the emulation pod 3 Flexible cable FLX160 This 160 pin flexible cable connects the emulation pod and the target syst
22. accnoncccnnonncnonnnonoonnnconnnocoonnnnonnnaccnnnnoos 21 When Using the Emulator for the First Time oooonncnicniccnocnnonnonnnanonnnonnccnncnnconoo 22 Setting Upa aiii 23 Removing the Upper Cover coccococccccconanononnnonononcnancnnncononn non nono non ncono cn nooo ncnnnnnncnnnnns 24 S WICH SCUHIDGS certain 25 Selecting Clock Supply 0 eee csessecssesseceeceseceeceseesseeseesecesessseeseseaecaaeeaeeaee 29 1 Using the Oscillator Circuit on the Target System 0 eee 30 2 Changing the Internal Oscillator Circuit of Emulation Pod 31 3 Replacing the Oscillator Circuit Boards 00 eee cece ceteeeeeeseeeeeeeeees 32 A D Conversion Bypass Capacitor 0 cece ecesecssessecseceseceeceseeecsseeeeeeeeeeseeeeees 33 Connecting the PC4701 and Emulation Pod 0 eee cee ceseeeeceseeeeeeeeeeeeeeeees 34 1 Connecting the Cable to the PC4701 oo ee eeeeeseeeseeeeeecneceeeeceereesaeeeeeers 34 2 Connecting the Cable to the Emulation Pod coooooocononocinccconccnonnnnonccnnnno 35 Connecting the Target System 0 0 eee ee eeseeseeeseeeecsecesecaecaeesecsseteeeeeeeeeeeeees 36 1 Connecting 100 pin LCC Socket cooooccniccnocinonconcnanonnccononnconoconocnncononccnnnono 37 2 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 1 eee 38 3 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 2 eee 39 4 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 3 eee 40 5 Connecting 100 pin 0 5 mm pitch Foot Pattern Par
23. afety 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 e Misuse abuse or use under extraordinary conditions Unauthorized repair remodeling maintenance and so on e Inadequate user s system or misuse of it e 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 twelve months 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 e Faulty or broken mechanical portions e Flaw separation or rust in coated or plated portions e Flaw or cracks in plastic portions e Faults or breakage caused by improper use or unauthorized repair or modification e Heavily damaged electric circuits due to overvoltage overcurrent or shorting of power supply e Cracks in the printed circuit board or burnt down patterns e Wide range of faults that makes replacement less expensive than repair e Unl
24. agram of the M30803T RPD E This connection diagram mainly shows the interface section and the circuits which are not connected to the target system such as the emulator s control system are omitted AVcc Vref AVss 100 My P85 NMI x P86 sy NS O Lo Cl P86 Xcoyr O P87 Xcin M30805SGP 1 0 Emulate MCU R13 100k 3 o M ua RESET E CNVss BYTES P55 RDY P57 HOLD OPEN 104 SW3 4 e416 y IA 7AVHC541 Yom 5 ee ae TOL Figure 5 1 Connection diagram 1 2 57 74 p4 P04 p lt P05 p lt POG p lt P07 X to 104 to 104 M30800_1 0 Emulate mou M30800_1 0 Emulate mcu p lt P24 p lt P25 p lt P26 p4 P27 to 104 M30800_1 0 Emulate mcu pq P104 paq P105 p lt P106 p lt P107 74HC4066 74HC4066 to 1C4 M30800_1 0 Emulate mcu to 104 M30800_1 0 Emulate mcu indicates a control signal in the emulation pod X Figure 5 2 Connection diagram 2 2 58 74 5 3 Operation Timing in Memory Expansion Mode and Microprocessor Mode As there are a flexible cable and other devices between this product and the target system I O timing will differ from that of the actual MCU Use the following as a reference when using the emulation pod 1 The output signal address RD WR etc of the evaluation MCU mounted on this product is output delayed by about 4 ns 2 It takes longer time to setup the data than actual MCU by approx 8 ns 1 Tim
25. al device e Install the A D conversion bypass capacitor 3 1 Removing the Upper Cover The procedure of removing the upper cover is shown below 1 Remove the four screws of both sides of this product and lift off the upper cover see Figure 3 1 2 Set the jumper switches 3 Replace the upper cover and secure the four screws Figure 3 1 Removing the upper cover CAUTION When Removing the Upper Cover e Always shut OFF power when removing the upper cover or setting the switches 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 24 74 3 2 Switch Settings Figure 3 2 shows the positions of switches and Tables 3 1 3 2 and 3 3 show each switch setting C11 Vref AVss bypass capacitor C12 AVcc AVss bypass capacitor SW6 BYTE L SW5 CNVss LO SW4 RDY HOLD H OPEN SW3 Xour OPEN Xout SW2 P86 Xcour P86 Xcour SW1 P87 Xen P87 Xan Factory setting Figure 3 2 Positions of switches and their factory settings 25 74 Table 3 1 Switch settings of the M30803T RPD E 1 3 P87 Xcin P86 Xcout Switch Setting A PS L Xon SW1 Factory setting Description Connects the P87 Xc pin of MCU to the target system uses the P87 Xcin pin as Port P87 D 4 perl Xcin SW1 Connects the P87 Xcin pin of MCU to the sub clock oscillator circuit 3
26. ating in the use of any product data diagrams charts programs algorithms or circuit application examples contained in these materials All information contained in these materials including product data diagrams charts programs and algorithms represents information on products at the time of publication of these materials and are subject to change by Renesas Technology Corporation and Renesas Solutions Corporation without notice due to product improvements or other reasons It is therefore recommended that customers contact Renesas Technology Corporation Renesas Solutions Corporation or an authorized Renesas Technology product distributor for the latest product information before purchasing a product listed herein The information described here may contain technical inaccuracies or typographical errors Renesas Technology Corporation and Renesas Solutions Corporation assume no responsibility for any damage liability or other loss rising from these inaccuracies or errors Please also pay attention to information published by Renesas Technology Corporation and Renesas Solutions Corporation by various means including the Renesas home page http www renesas com When using any or all of the information contained in these materials including product data diagrams charts programs and algorithms please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products Renesas
27. ation pod are correctly set See 3 2 Switch Settings page 25 The RESET LED of STATUS OF TARGET does not go out Connected 65 74 Check if the reset pin of the target system is pulled up 2 EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up When the target system is connected Table 6 2 Checkpoints of errors when starting up the emulator debugger target is connected Error Checkpoint Communication error occurred Check all emulator debugger settings interface cable Data was not sent to the target settings and switches on the rear of the PC4701 match See the instruction manuals of the PC4701 and emulato debugger Target system cannot be properly built 1 Download the proper firmware See 4 2 Downloading Firmware page 48 2 Recheck the connection between the PC4701 and this product See 3 5 Connecting the PC4701 and Emulation Pod page 34 PD308 version is not the same version as Download the proper firmware the firmware in the target See 4 2 Downloading Firmware page 48 Target MCU is in the reset state 1 Check if the reset pin of the target system is pulled up 2 Check if the reset pin of the target system has changed from L to H level Target MCU cannot be reset 1 Check the NMI pin is H level 2 If in memory expansion mode or microprocessor mode check the RDY pin and HOLD pin are H level 3 If the reset circuit of the ta
28. attern a NAL Position of No 1 pin A i r s target These 4 products are available in one package User s targe Figure 3 17 Connecting emulation pod probe and 100 pin 0 5 mm pitch foot pattern part 2 AAN ON Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of 100LCC DMS and FLX 100NSD are guaranteed for only 20 insertion removal iterations e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations 42 74 7 Connecting 144 pin 0 5 mm pitch Foot Pattern Figure 3 18 shows how to connect the emulation pod probe to the 144 pin 0 5 mm pitch foot pattern on the target system with the FLX 144NSD not included and here following is its procedure 1 Attach the NQPACK144SD NQPACK hereafter included with the FLX 144NSD to the target system 2 Attach the YQPACK144SD YQPACK hereafter included with the FLX 144NSD to the NQPACK matching three holes of NQPACK and YQPACK 3 Insert the YQ GUIDE s included with the YQPACK to the YQPACK using the screwdriver included with the NQPACK 4 Attach the FLX160 PRB to the FLX 144NSD 5 Attach the FLX 144NSD to the YQSOCKET144SDF FLX160 FLX160 PRB attached to FLX160 CN2 side When making evaluation with actual MCU Q gt A all HQPACK144SD 3 not inclu
29. ded YQ GUIDE x4 y al This corner is not round UKo a S t YQPACK144SD Pat flash memory etc Y 144 pin 0 5 mm pitch 144P6Q foot pattern E oe NAL Position of No 1 pin User s target These 4 products are available in one package Figure 3 18 Connecting emulation pod probe and 144 pin 0 5 mm pitch foot pattern NCAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of FLX 144NSD are guaranteed for only 50 insertion removal iterations 43 74 MEMO 44 74 Chapter 4 Usage This chapter describes from turning on the power of this product to starting up the emulator debugger Ail Daring On the Power Suppl A endian eae a ets 46 1 Checking the Connection Of the System ai A faleteet en tiaieakaeed 46 2 Turning On the Power Supply sy cis waovecouacs ii ati 46 3 LED Display When PC4701 Starts Up Normally 0 0 ceececeesceceeeeceseeeceeeeecseeeeeneeeenaeeees 47 42 Downloading PI ends 48 1 When It is Necessary to Download Firmware oooococcconnconnononcnoncnonnnonnncnn cnn ncnnnnnnnn cr non nnnncnnnnos 48 2 Downloading Firmware in Maintenance Mode eee eeseceseceeeeesneeceneceseceeeeesaeecsaeeneensees 48 4 3 Starting Up the Emulator Debugger Setting EMEM Dialog cooconcoccccnncccnnoncnononcconnnccnnn
30. e the instruction manuals of the PC4701 and emulato debugger Target system cannot be properly built 1 Download the proper firmware See 4 2 Downloading Firmware page 48 2 Recheck the connection between the PC4701 and this product See 3 5 Connecting the PC4701 and Emulation Pod page 34 PD308 version is not the same version as Download the proper firmware the firmware in the target See 4 2 Downloading Firmware page 48 Target MCU cannot be reset The program may be uncontrollable in areas where memory is not allocated Recheck the map setting See 4 3 Starting Uo the Emulator Debugger Setting EMEM Dialog page 49 Target is in HOLD state 1 The MCU is either in the stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specitications 2 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting See 4 3 Starting Up the Emulator Debugger Setting EMEM Dialog page 49 Target clock is stopped Check the switches in the emulation pod are correctly set See 3 2 Switch Settings page 25 4 Errors Occur When the Emulator Debugger Starts Up When the target system is connected Table 6 4 Checkpoints of errors when starting up the emulator debugger target is connected Error Checkpoint Target MCU is uncontrollable 1 Check the NMI pin is H level 2 If in memory expansion mode or microproces
31. ecified area Even on the dump window or in the reverse assemble area of the program source windows the content of this area is not displayed correctly though it can be displayed e The below bank addresses cannot be set for the debug monitor 1 MCU internal resources RAM SFR area 2 DRAM area or multiplex area 3 Interrupt vector area 49 74 2 Selecting the Processor Mode Here explains about the setting of processor mode Selectable modes are listed in Table 4 1 Table 4 1 Selecting the processor mode Processor mode Select from the list Single chip mode Single chip Mode Memory expansion mode Memory Expansion Mode Microprocessor mode Microprocessor Mode IMPORTANT Notes on Selecting the Processor Mode e When setting single chip mode and memory expansion mode the level of the CNVss pin of the target system should be L e When setting microprocessor mode the level of the CNVss pin of the target system should be H e When setting memory expansion mode or microprocessor mode the RDY and HOLD pins of the target system should be H 3 Setting the Emulation Memory This product has two emulation memory and how to allocate is different depending on which processor mode is selected Table 4 2 shows how to set the emulation memory for each processor mode Table 4 2 Setting the emulation memory Processor mode Single chip Mode Emulation memory for internal ROM The area FCOO00h FFF
32. ee 67 4 Errors Occur When the Emulator Debugger Starts Up When the target system is connected eee eeeeeeeetees 67 Operation Differs from That of Actual MCUS oooonccnnccicnconcnnnconconocononnnonnnnnncnnnnn 67 1 When the A D Conversion Values are Different from Expected Values 67 Maintenance and Guarantee 0 0 0 eceececssecececeeceesceesecessecececeseecsaeceeeecereseaeenees 69 Maintenance rada ion 70 GUaradte io ias 70 Repalr PLOVISIONS suciedad cities 70 How to Request for Repair eeeseesceceeceeseceeecessecesceceeecsaeeeeeeceeeeaeceeeeeaeceaeees 71 5 74 MEMO 6 74 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 LAS AY Symbols and MERMA cca Weis bese neta Be eee 8 Warning for Installation A IN 9 Warnings for Use Environment ssi ecc9sc0ytesesaseatenscasuntsseed guesses hoes save shodeanesecesavdeeadtenvioadst 9 Caution to Be Taken for Modifying This Product c ccccccccssssscsesessssescscscscsesesscacsesees 9 Cautions to Be Taken for Handling This Producto eee ceeeeseeeeneeceeecneeeneeeeeneees 9 Note on Malfunctions in the PC4701 System ccccccccccscsssssseseseseseescececsesesesscacsesees 9 Notes on Downloading Firmware 2 5143 puis rada 10 Note on When the Emulator Debugger Ends ooooocccnonccccoccccn
33. em 4 Converter board This is a converter board for connecting to the target system For details refer to 3 6 Connecting the Target System page 36 20 74 2 Inside of Emulation Pod r 4 MCU dependent board 1 Base board 3 Oscillator circuit board Figure 2 2 Internal view of emulation pod 1 Base board Base board for the M16C 80 Group MCUs which controls the interface with the PC4701 and the evaluation MCU 2 Memory board Board on which the 1 5MB emulation memory is mounted 3 Oscillation circuit board Board on which the internal oscillation circuit of the emulation pod is mounted Operating frequency can be changed by replacing this board with other available oscillation circuit boards 4 MCU dependent board Board grouping parts number of pins or added functions which vary according to MCU model 5 MCU board Board on which the MCU and the emulation memory for the MCU s internal ROM are mounted It is planned to enable customers to use future M16C 80 Group models Max 20 MHz applicable frequency by changing the MCU dependent board and MCU board 21 74 2 5 When Using the Emulator for the First Time If you have purchased this emulation pod newly it is necessary to download the firmware The download procedure is given in Figure 2 3 Before attempting to download the firmware check the emulator debugger is installed and the emulator is connected to the host machine For m
34. essary to set the direction register of port P10 to input Port P10 corresponds to the pin that performs A D conversion Example To select A D input for P00 P07 set the direction registers of P100 P107 and P00 P07 to input Also when the port PO group and port P2 group are selected for A D input port P10 cannot be used as an I O port 28 74 3 3 Selecting Clock Supply 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 4 shows the factory settings of each clock supply Table 3 4 Clock supply to the MCU Description Display of emulator debugger Internal oscillator circuit of emulation pod Internal OSC 3 20 MHz Factory setting Xin XouT Target system External Internal oscillator circuit of emulation pod 32 768 KHz Internal Xcin Xcout Target system External IMPORTANT Notes on Changing the Clock Supply e The clock supply can be set by the Init dialog when starting up the emulator debugger or inputting CLK command on the script window e For Xcin Xcour pins it is necessary to set switches in the emulation pod when using the clock on the target system For details refer to 3 2 Switch Settings page 25 29 74 1 Using the Oscillator Circuit on the Target System When turning on the power supply the internal clock of emulation pod is selected to supply the clock to the
35. ftware break 2 Immediately after stopping the program when a software break is set 5 Referring MCU STATUS It is possible to confirm each level of BYTE CNVss RDY HOLD NMI pins on the target system IMPORTANT Notes on MCU STATUS e The status of pins of MCU is displayed in the MCU STATUS of the EMEM dialog Confirm if it matches with the processor mode e Check that RDY HOLD and NMI are set to H If they are set to the L level the MCU itself is in the standby state The emulator debugger displays an error message because it receives no response from the MCU 52 74 4 4 Self check 1 Self check Procedure To run the emulator self check do so as explained here below While the self check is in progress LEDs will change as shown in Figure 4 5 1 Set the switches in the emulation pod same as the factory setting see Figure 4 4 2 When the target system is connected disconnect the target system 3 Within 2 seconds of activating power to the emulator press the RESET button on the emulator front panel to switch the emulator to maintenance mode 4 Check the SAFE LED starts flashing and then press the RESET button again 5 The self check will start If the normal result is displayed in about 1 minute the self check has terminated normally SW6 BYTE SWS LQ O lt a a i SW4 RDY HO Co i o vu m SW3 x lt S nm AO o E o m Oz
36. h other emulation pod before 2 Downloading Firmware in Maintenance Mode Download the firmware in maintenance mode as explained here following The target system must not be connected when downloading the firmware 1 Within 2 seconds of activating power to the emulator press the RESET button on the emulator front panel This will switch the emulator to maintenance mode 2 Start up the emulator debugger When the Init dialog box setup is completed the dialog which urges to download the firmware will appear Download the firmware following messages Required time for downloading the firmware depends on the connection of the interface e For serial interface approx 7 minutes e For parallel interface approx 30 seconds POWER BZ power amp POWER A per POWER A per SAFE A CLOCK A SAFE 2 CLOCK E SAFE A CLOCK A ERROR A RESET 20 ERROR e RESET 20 gt ERROR Z RESET ESA o gt stants or an 2 vans oF Rn 2 rms or w 2 SYSTEM SYSTEM SYSTEM HALT A HALT 2 SAFE LED lights All the LEDs light ERROR LED lights Immediately after turning on the power When maintenance mode started When downloading firmware started or A Per SAFE Z CLOCK A SAFE E ao e SAFE A ERROR e RESET EA O gt ERROR A Reser A E gt ERROR A sinus ar e ee an e uit SYSTEM SYSTEM SYSTEM mr e mr 2 lt 2 Lighting SAFE LED blinks All the LEDs light P on When download terminated e Blinking Figure 4 2 Downloading firmware in maintenance mode
37. hen reactivate it 9 74 IMPORTANT Notes on Downloading Firmware e Before using this product for the first time it is necessary to download the dedicated firmware control software for the emulation pod built into the PC4701 Please note that to do this it is necessary to start up the PC4701 in maintenance mode For firmware download procedures see 4 2 Downloading Firmware page 48 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 Except when a target status error occurs if the self check is not completed successfully there may be trouble with the product In such case contact your sales representative However perform the self check in the below setup 1 Target system Not connected 2 Emulation pod internal switches At their factory settings Note on When the Emulator Debugger Ends 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 e Be sure to evaluate your system with an evaluation MCU Before starting mask production evaluate your system and make final confirmation with an CS Commercial Sample version MCU Notes on Target System e The Vcc pin of emulator is connected to the target system
38. ing Requirements Tables 5 2 and 5 3 list the timing requirements Table 5 2 Timing requirements VCC 5 V tsu DB BCLK Data input setup time Actual MCU This product Max Max tsu RDY BCLK RDY input setup time tsu HOLD BCLK HOLD input setup time th RD DB Data input hold time Data input hold time th CAS DB th BCLK RDY RDY input hold time th BCLK HOLD HOLD input hold time td BCLK HLDA Table 5 3 Timing tsu DB BCLk HLDA output delay time requirements VCC 3 V Data input setup time Actual MCU This product Max Max tsu RDY BCLK RDY input setup time tsu HOLD BCLK HOLD input setup time th RD DB Data input hold time Data input hold time th CAS DB th BCLK RDY RDY input hold time th BCLK HOLD HOLD input hold time td BCLK HLDA HLDA output delay time 5 4 Electrical Characteristics Table 5 4 shows IC electrical characteristics of the user interface Use this as a reference when using the emulator Table 5 4 Electrical characteristics of port P10 TC74HC4066 Parameter High level control input voltage Measuring condition Standard values Vcc Min Standard Low level control input voltage Input current 59 74 5 5 External Dimensions 1 External Dimensions of Em
39. ion against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy ana if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Warning This is a Class A product In a domestic environment this product may cause radio interference in which case the user may be required to take adequate measures 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 74 Preface The M30803T RPD E is an emulation pod for the M16C 80 Group of Renesas 16 bit MCUs It s used with a PC4701 emulator This user s manual mainly describes specifications of the M30803T RPD E emulation pod and how to setup it For details on the following products which are used with M30803T RPD E refer to each product s user s manual e Emulator PC4701 User s Manual e Emulator debugger M3T PD308 User s Manual All the components of this product are shown in Table 2 1 Package components
40. less of the setting of EMEM dialog Therefore when setting the microprocessor mode to use a ROM of the target system etc as an area including a reset vector area set a reset vector using a dump window etc e The reset vector area can be changed only when a program is stopped When a program is executed the area can not be changed Note on Debugging MCUs with RAM over 24 KB e This product has an MCU with 24 KB of RAM Therefore it cannot debug MCUs with more than 24 KB of RAM Also internally reserved areas 006400h 007FFFh cannot be used Note on Debugging M16C 80T Group MCUs e With this product the M16C 80T Group MCUs cannot be debugged Prepare the emulation pod for the M16C 80T Group MCUs 12 74 IMPORTANT Notes on EMEM Dialog Observe the following when setting up EMEM dialog of the emulator debugger 1 Debug Monitor Bank Address e When FO is specified 64 KB of area starting from FO0000h are allocated for use by the debug monitor e The 64 KB allocated to the debug monitor cannot be used e The below areas cannot be set for the debug monitor 1 MCU internal resources RAM SFR area 2 DRAM area or multiplex area 3 Interrupt vector area e It is not possible to view or set the content of the specified area Even on the dump window or in the reverse assemble area of the program source windows the content of this area is not displayed correctly though it can be displayed 2 Processor Mode e
41. mulation memory or external area used by external device etc e When INTERNAL is specified This bank is allocated as internal area and used for expan sion e When EXTERNAL is specified This bank is allocated as external area and used by the target system as an external resource e When No Use is specified This bank is allocated as external area and used by the target system as an external resource Areas not specified here are allocated as external area The only difference from the area specified as EXTERNAL area is download speed Download to the area specified as EXTERNAL area is faster than to other areas IMPORTANT Notes on Using Emulation Memory for Expansion e When the single chip mode and memory expansion mode are set by specifying the processor mode emulation memory is automatically allocated to the internal ROM area Therefore it is not necessary to deliberately specify emulation memory as expansion area in order to allocate the internal ROM area The 1 5MB memory mounted in the product can be allocated out Set memory allocation so that the total of the 4 length values does not exceed the emulation memory size 1 5 MB Be careful that the specified areas do not overlap one another Even when 00 is specified as the expansion area internally reserved areas 006400h 0O7FFFh cannot be used Do not set the following areas for memory allocation of the MCU Set these areas referring the specificatio
42. nal computer used to control the emulator and emulation pod Emulator debugger This means a software tool M3T PD308 to control the emulator from the host machine through an interface 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 Software break A software break is a function to break the program before the system executes an instruction at the specified address The instruction at the preset address will not be executed Hardware break A hardware break is a function to break the program when the system detects a write read of data to from memory or a rise fall edge of the signal entered from the external trace cable The former break function is called address break and the latter break function is called trigger break While the instruction at the address where the software break is set is not executed a hardware break is performed after the specified instruction is executed Evaluation MCU This means the microcomputer mounted on the emulation pod which is operated in the specific mode for tools 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 x In this user s manual this symbol is used to sho
43. nccnnnnnos 49 1 Setting the Debug Monitor Bank Address visi ic eee ee ae eee ened 49 2 Selecting the Processor Mode it eadsst 50 3 Setting the Emulation Med isidro iio 50 4 Emulation Memory Allocation as Expansion Area c oooccnnccnnonononononnnonnncnnnccncnnncnnnn ccoo anno ncnnnnos 50 gt Refere MEU STA Vs oss cise vesev A a e 52 OO 53 C1 Seli check Procedure ii is 53 2 If an Error is Detected in the Sell checK cuisine ici 53 45 74 Chapter 4 Usage 4 1 Turning On the Power Supply 1 Checking the Connection of the System Before turning the power ON check the connection of the PC4701 emulation pod converter board and target system 2 Turning On the Power Supply Power ON OFF the target system and the PC4701 as simultaneously as possible AAN ON Notes on Power Supply e The emulator s Vcc pin is connected to the target system in order to monitor target system voltage For this reason the emulator cannot supply power to the target system Therefore provide the target system with a separate power supply from that of the emulator e Keep target system power supply voltage within the MCU s specified range 2 7 and 5 5 V e Do not change target system power supply voltage after power has been activated 46 74 3 LED Display When 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
44. nonnnanononononnncnnnnnncnnnnccnnnnnnnns 34 1 Connecting the Cable to the PET can etcettat anccaceasuaenalpecontagumeactueccates seecsasnceacs 34 2 Connecting the Cable to the Emulation Pod 00 0 0 cee ceecceceencecsseeeceeeeeceeeeecseeeecseeesseeeenaeeees 35 3 0 Connecting the Target System iia cide es aaeasbased E ELE E 36 1 Connecting 100 pin LCC Socket wiiciisccesdescgeathaasaeatestaseaaredensactsssagadeansconaselbeadevasasenseseasedbeates 37 2 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 1 ooononnnnccninoninccnononaccnonanonancconcnnnno 38 3 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 2 oooonnocccnnucccnonacononcconanaconnnaconnncc no 39 4 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 3 oonooonnccnonanincccononancnonancnrncnoncnnnnos 40 5 Connecting 100 pin 0 5 mm pitch Foot Pattern Part 1 ooooonnnoccnnnocccooncccnnaccnnoncnonnnccnnnnncnns 41 6 Connecting 100 pin 0 5 mm pitch Foot Pattern Part 2 ooooonnnococinocccionccononcnonananonnnacnnnncnnn 42 7 Connecting 144 pin 0 5 mm pitch Foot Pattern oooonnccnnncnnonononnnonnnonnnonnncnonononcnnnn con n cnn ncnnnno 43 23 74 Chapter 3 Setting Up To use this emulation pod with your application system it is necessary to set as follows Set the following after removing the upper cover e Change the oscillation frequency e Set the Xcin and Xcour pins for the target system e Set the signals such as HOLD RDY to control the extern
45. ns of the MCU 1 Area allocated for DRAM connection 2 Area allocated for multiplex bus 3 Unusable area Emulation pod memory is automatically selected as reset vector area regardless of settings Except for the SFR RAM ROM and internally reserved areas all areas other than the set area are externally accessible MCU internal resources are automatically selected as SFR and RAM areas regard less of settings 51 74 Table 4 3 Specifications of expansion emulation memory Maximum operating frequency 20 MHz 1 wait Number of area which can be set Max 4 areas Area size Successive 256 KB or 1 MB Emulation memory size Total of 4 areas 1 5 MB Possible bank to be set 1 For area size 256 KB XOh X4h X8h XCh bank e g 20 bank 64 bank A8 bank EC bank etc 2 For area size 1 MB XOh bank e g 20 bank 40 bank 80 bank AO bank etc Possible combination of areas 1 2 256 KB 256KB 3 256 KB 256KB 256KB 4 256KB 256KB 256KB 256KB 5 1 MB 6 7 8 1 MB 256 KB 1 MB 256 KB 256 KB IMPORTANT Note on Memory Access e When setting the processor mode to the memory expansion mode it may be changed to the memory expansion mode temporarily before the user program itself changes from the single chip mode to the memory expansion mode Take due consideration on this phenomenon in the following cases 1 Immediately before executing the program after setting a so
46. ocatable 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 70 74 7 4 How to Request for Repair If your product is found faulty follow the procedure below to send your product for repair Customer Fill in the Repair Request Sheet included with this product then send it along with this product for repair to your local distributor Make sure that information in the Repair Request Sheet is written in as much detail y as possible to facilitate repair Distributor After checking the contents of fault the distributor should please send the faulty product along with the Repair Request Sheet to Renesas y Solutions Corp Renesas Solutions When the faulty product is repaired it will be returned to the customer at the earliest convenience N CAUTION Note on Transporting the Product Q e When sending your product for repair use the packing box and cushion material supplied with this product when delivered to you and specify handling caution for it to be handled as precision equipment If packing of your product is not complete it may be damaged during transportation When you pack your product in a bag make sure to use conductive polyvinyl supplied with this product us
47. onccononcnonnncnonancnnnnnccnnnnnos 10 Note on Final Evaltation tan eerd e E N An 10 Notes on Target System idene A oe eae ee a 10 Note On RESETS Tip ut vies iii 10 Note on DY IU 11 Note on HOLD IPUR cos 11 Note Omi MA a o 11 Notes On Interruplion sindicalistas 11 Note on Clock Supply to the MCU vecino nin iii tics 11 Notes on Access Prohibited Area micicaricin ici id 11 Notes OSEA A A pied ede 12 Note OR ESC Vector Area a 12 Note on Debugging MCUs with RAM over 24 KB ooo eee ceseceeeeeeeeeeneecnneeneeneees 12 Note on Debugging M16C 80T Group MCUS cocooocccoccnoccconnnononcnoncnoncnnnncnnn ccoo ncnoncnnnnos 12 Notes on EMEM Dial iS 13 Note On 9 Wo Breaks nia eee Bee Cie ek A Ces BE 13 Note on Differences between Actual MCU and Emulator ooooonnccnnccnnoconacnnonncnoncnannss 14 Notes on Watchdog Function miii reine henares ndo 14 Notes on A D Input Selection FunctiON cooconnccnnonnnonoconnnonnnonnonnnccnnnnnnn nono cono nccnnnnnnnos 15 N te On DMA Odo a nO 15 Note on Address Match Interrupt usina iii di ines 15 Note or Protest Resist nio ls etnia aiii do enced ans Feed 15 7 74 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
48. ore information see each user s manual of the emulator debugger and the PC4701 Connect the PC4701 and this product See 3 5 Connecting the PC4701 and Emulation Pod page 34 x Within 2 seconds of turning the power ON press the sj h RESET button of the PC4701 and check maintenance See F2 Downoadmg Eimware oage 48 mode is accessed Download the firmware using the emulator debugger Quit the emulator debugger and shut down the PC4701 Figure 2 3 Firmware download procedure when emulator is used for the first time To make sure the emulation pod works properly run the self check For self check procedures see 4 4 Self check page 53 22 74 Chapter 3 Setting Up This chapter describes switch settings required for using this product and how to connect this product to the PC4701 and the target system SL Removing the Upper C Over scare Go GAG e ee LE 24 3 2 SWIteh Setting S ii A ed 25 3 3 Selecting Clock Supply ii AE e ROE T E AE A EAE R ETER 29 1 Using the Oscillator Circuit on the Target System oooonnocccnnocccconcccnoncnonnnanonnnncnnnnaconnncnonnncnnns 30 2 Changing the Internal Oscillator Circuit of Emulation Pod ooooonnnccnnncninncnonononcnonancnoncnoncnnnno 31 3 Replacing the Oscillator Circuit Boards as 32 3 4 A D Conversion Bypass Capacitor sra TS dan a ini aida deba 33 3 5 Connecting the PC4701 and Emulation Pod ooococonococonocuconucncoonanononc
49. past ES x lt 5 8 Swi gt OO ERE o p d Ue Y x lt gt 8 S me fos gt lt 2 z Figure 4 4 Switch settings when running the self check 2 If an Error is Detected in the Self check If the self check does not result normally ERROR 1 or ERROR 2 in Figure 4 5 check the following e Check the connection of the emulation pod and the PC4701 e Redownload the proper firmware e Check if the switches in this product is set same as the factory setting Figure 3 2 Positions of switches and their factory settings page 25 IMPORTANT Note on Self check e If the self check does not result normally excluding target system errors the emulation pod may be damaged Contact your local distributor 53 74 POWER cA ponER A POWER ZA poner A POWER A poer SAFE A aok e SAFE ao 2 SAFE Z ao e ERROR A ET 2 E gt ERROR A RESET e ERROR e RESET e2 Sram OF WN e status or an e sTATUS OF RN A SYSTEM SYSTEM SYSTEM wat 2 wat A mor 1 2 All the LEDs are lighting SAFE LED blinks Immediately after turning on the power Self checks terminated normally Lighting POWER ZA POWER e e on e gt Blinking SAFE PA clock 2 ERROR 2 RESET ee STATUS oF en e SYSTEM mr A ERROR LED lights ERROR 1 BZ POWER a SAFE 2 clock e ERROR Res Sari an A SYSTEM wat 2 SAFE and ERROR LEDs blink ERROR 2 Figure 4 5 Self check procedure 54 74 Chapte
50. r 5 Specifications This chapter describes specifications of this product Dil PCCM ICAHN OMS a a A A Get waite an Saeed coat hana seed 56 5 2 Comection Diagrames AA ss 57 5 3 Operation Timing in Memory Expansion Mode and Microprocessor Mode c esseceeeseeees 59 CL Timing Reguirements til 59 Ons Electrical Eran st ds ta o 59 5 External BITETO aA E a E 60 1 External Dimensions of Emulation Pod cocccnnonononanoncnonnonnananonononoccononnnnononnnnnccnonnann nacos 60 2 External Dimensions of Converter Board M30800T PTC onnoccocononnnncccononnnnanancnoncononnananonoss 61 3 External Dimensions of Converter Board FLX 144NSD ooccconccoconnnonocconcnonnananononocnonaann nacos 62 55 74 Chapter 5 Specifications 5 1 Specifications Table 5 1 lists the specifications of the M30803T RPD E Table 5 1 Specifications of the M30803T RPD E Emulator PC4701 Applicable MCUs 10KB RAM M30800 100 pin 128KB ROM M30802 144 pin 24KB RAM M30803 100 pin 256KB ROM M30805 144 pin Evaluation MCU M30805SGP two pieces Usable modes Single chip mode Memory expansion mode Microprocessor mode Emulation memory 1 256 KB for internal ROM of MCU Fixed FC0000h FFFFFFh maximum operating frequency 20 MHz 0 wait 2 1 5 MB changeable for expansion area Possible to allocate by 256 KB or 1 MB maximum operating frequency 20 MHz 1 wait Maximum operating frequency
51. r Debugger Starts Up When the target system is not connected stas il 67 4 Errors Occur When the Emulator Debugger Starts Up When the target system is connected ascii 67 6 3 Operation Differs from That of Actual MCUS 0oooonnocccnoccccnonnononcncnnncnononaconnnonononcnnnnnncnnnnccnnnncnns 67 1 When the A D Conversion Values are Different from Expected Values ooooonocccnnonccinncnc nn 67 63 74 Chapter 6 Troubleshooting 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 target system is disconnected For the latest FAQs visit the following URL http www renesas com en tools l Turning on the power of PC4701 Not normal Front panel LED of PC4701 1 Check emulator system connections See 3 5 Connecting the PC4701 and Emulation Pod Normal page 34 2 Redownload the firmware See 4 2 Downloading Firmware page 48 3 Restart the PC4701 system Init dialog box of emulator Not normal Error displayed 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 EMEM dialog box of emulator debugger displayed Not normal Error displayed See 6 2 3 EMEM Dialog is Not Displayed When the Emulator Debugger Star
52. read this chapter before using this product 1 1 Safety Symbols and Meanings If the requirements 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 AN CAUTION sentences are ignored the equipment may malfunction IMPORTANT EE important information on using this In addition to the three above the following are also used as appropriate Z means WARNING or CAUTION Example CAUTION AGAINST AN ELECTRIC SHOCK 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 8 74 NWARNING Warning for Installation e Do not set this product in water or areas of high humidity Make sure that the main unit does not iS get wet Spilling water or some other liquid into the main unit can cause an unrepairable damage Warnings for Use Environment e The emulation pod is air cooled with the ventilation slot Therefore do not block the ventilation Q slot When heated to high temperatures the emulation pod may not work properly e 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 PAN ey Uh ON Caution to Be Taken for Modifying This Product e Do no
53. rget system has a watchdog timer disable the timer 4 Check power is properly supplied to the target system and that the target system is properly grounded 5 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting See 4 3 Starting Uo the Emulator Debugger Setting EMEM Dialog page 49 Target is in HOLD state 1 The MCU is either in the stop mode or wait mode Either reset the MCU or cancel the mode with an interrupt See MCU specitications 2 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting See 4 3 Starting Uo the Emulator Debugger Setting EMEM Dialog page 49 Target clock is stopped 1 Check the oscillation circuit of the target system is oscillating properly 2 Check the switches in the emulation pod are correctly set See 3 2 Switch Settings page 25 Target MCU is not receiving power Check power is properly supplied to the target system and that the target system is properly grounded 66 74 3 EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up When the target system is not connected Table 6 3 Checkpoints of errors when starting up the emulator debugger target is not connected Error Checkpoint Communication error occurred Check all emulator debugger settings interface cable Data was not sent to the target settings and switches on the rear of the PC4701 match Se
54. rom 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 J1 4 GND J1 3 Oscillator output J1 2 GND J1 1 Vcc rc 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 Circuit of oscillator board OSC 2 31 74 3 Replacing the Oscillator Circuit Boards Figure 3 7 shows how to replace the oscillator circuit boards For the position of the oscillator circuit board see Figure 2 2 1 Unscrew the screw connecting the oscillator circuit board 9 2 Lift off the oscillator circuit board 3 Attach the J1 connector of another oscillator circuit board f for replacement to the connector of the MCU dependent board 4 Secure the oscillator circuit board with the screw Figure 3 7 Replacing the oscillator circuit boards 32 74 3 4 A D Conversion Bypass Capacitor The emulation pod has foot patterns on the board for mounting a bypass capacitor Mount a suitable bypass capacitor as occasion demands Figure 3 2 shows where the bypass capacitors are mounted whereas Figure 3 8 shows an enlargement of
55. sor mode check the RDY pin and HOLD pin are H level 3 The program may be uncontrollable in areas where memory is not allocated Recheck the map setting See 4 3 Starting Up the Emulator Debugger Setting EMEM Dialog page 49 6 3 Operation Differs from That of Actual MCUs 1 When the A D Conversion Values are Different from Expected Values Because a flexible board and other devices are used between the evaluation MCU and the target system the A D converter operates differently from the actual MCU Make the final evaluation of the A D converter from the actual MCU 67 74 MEMO 68 74 Chapter 7 Maintenance and Guarantee This chapter describes how to maintenance repair provisions and how to request for repair A cade sane Donate oli Daaah na geld em ato sea aeons Gham Sa ea Roe 70 T 2 MUAL AICS ncaa Fn State e a eth e ts oh eed tt Races ae outa ass ed Ried Seth nesta haiti Get tia Pace 70 Ta Repair PLOMO A IA A AS A ae 70 TA Howto Requestior REP init adas ai dadas 71 69 74 Chapter 7 Maintenance and Guarantee 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 twelve months after its purchase while being used under good conditions by observing Precautions for S
56. status LED on the PC4701 s front panel is lit Inputting L to the RDY pin during the user program stopping may cause a malfunction of the emulator Note on HOLD Input e Be sure to input L to the HOLD pin 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 the HOLD pin during the user program stopping may cause a malfunction of the emulator Note on NMI Input e NMI input from the target system is accepted only while a user program is being executed only while the RUN status LED on the PC4701 s front panel is lit Notes on Interruption e Even while the user program is not being executed when the user program is paused or while debug programs are running the evaluation MCU is operating for controlling debug programs Therefore take note that timers and other functions are not stopped while the user program is not being executed When a maskable interrupt is generated in user program execution when the user program is paused or while debug programs are running the interrupt cannot be accepted because the emulator disables interrupts If an interrupt is requested while a user program is not being executed and the user program allow the interrupt the interrupt is accepted immediately after the user program execution is started Note on Clock Supply to the MCU e Clock can be supplied to the evaluation MCU in one of the following two
57. t e Because a flexible board and other elements exist between the evaluation MCU and target system the A D converter operates differently than the actual MCU Perform final evaluations of the A D converter with the actual MCU Note on DMA Transfer e With this product the program is stopped with a loop program to a specific address Therefore if a DMA request is generated by a timer or other source while the program is stopped DMA transfer 1s executed However make note of the fact 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 DMA2 transfer counter register DCT2 RO DMA3 transfer counter register DCT3 R1 DMA2 memory address register DMA2 A0 DMA3 memory address register DMA3 A1 Note on Address Match Interrupt e To debug with the address match interrupt set the S W and H W breaks in the top address used in address match interrupt processing Note on Protect Resistor e Make note of the fact that the protect is not canceled when protect register 3 PRC2 which enables writing in the port P9 direction register and the pin output function select register is changed with the below procedure 1 Step execution of the instruction for setting 1 PRC2 2 Setting the break point from the instruction for setting 1 PRC2 to when the port P9 direction regis
58. t 1 0 eee 41 6 Connecting 100 pin 0 5 mm pitch Foot Pattern Part 2 0oooccconoccnnccconnns 42 7 Connecting 144 pin 0 5 mm pitch Foot Pattern oes eeeeee 43 Us Pia A Bh ee ec le hehe 45 Turning On the Power Supply ooooocccnnccnccnnocconnnoncnnnonncnn nono ono cnncono coronan co nonnncnnnnns 46 1 Checking the Connection of the System oooooonccnonioncnnnconccnncononancononnonnnon 46 2 Turning On the Power Supply oooccnccnoccnonononinnconocanonnnonnconocononnccnncnnncnnnono 46 3 LED Display When PC4701 Starts Up Normally oooonoconccnicnoccccnnonnncnnnn 47 Downloading Firmware cocooocccccconcooncononononnnonnnonnnancnnnonnonnnonnc nn non nc ono cono sesno ke restren 48 1 When It is Necessary to Download Firmware cooconoccconononcnconcconnnnconacnnonos 48 2 Downloading Firmware in Maintenance Mode cooconcccconcconcccoccconnnononannnonns 48 Starting Up the Emulator Debugger Setting EMEM Dialog ee 49 1 Setting the Debug Monitor Bank Address oooooncnnncccncconconccononncnnnonnnnnnon 49 2 Selecting the Processor Mode eeesseesseceececeeeeesceeeneesaeceeeeceeecaeeeneees 50 3 Setting the Emulation Memory coccoccccccnonnnoncnnncononnnonncnnnonncono cono cnncononnncnnnons 50 4 Emulation Memory Allocation as Expansion Area cece eeeeeeeees 50 5 Referring MCU STATU S cocoa dont EEN EEEE EEEE EEEE EE E oN 52 4174 4 4 Chapter 5 5 1 5 2 5 3 5 4 53 Chapter 6 6 1 6 2 6 3
59. t 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 A e 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 e Do not pull the emulation pod main unit by the flexible cable FLX 120 RPD for connecting to the emulator main unit or the flexible cable FLX64 FLX100 or FLX160 for connecting the target system The cable may cause a break e Flexible cable FLX120 RPD for connecting to the emulator main unit and the flexible cable FLX64 FLX100 or FLX160 for connecting the target system are different from earlier models The slits make them more flexible However excessive flexing or force may break conductors e 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 IMPORTANT Note on Malfunctions in the PC4701 System e If the emulator malfunctions because of interference like external noise do the following to remedy the trouble 1 Press the RESET button on the emulator front panel 2 If normal operation is not restored after step 1 shut OFF power to the emulator once and t
60. target system Pulls down the BYTE pin with a resistance of 33 kQ when target system is unconnected and using in 16 bit bus mode Be sure to set this when using the emulation pod while not connecting the target system Connects the BYTE pin to the target system Pulls up the BYTE pin with a resistance of 33 kQ when target system is unconnected and using in 8 bit bus mode Be sure to set this when using the emulation pod while not connecting the target system A D input Select group OFF iO SW7 Factory setting Set when not using the A D input group selection function Use this product with this setting ea G A lorh 27174 Set when using the A D input group selection function This product cannot be used with this setting Table 3 3 Switch settings of the M30803T RPD E 3 3 Switch Setting Description Set when using at the range of the voltage within JP 1 O 4 2 to 5 5 V Factory setting Voltage JP1 M30803T RPDM Board 3V 5V Set when using at the range of the voltage within JP1 m 2 7 to 4 2 V IMPORTANT Note on Switch Setting e Switch settings of RDY HOLD CNVss and BYTE are provided to enable debugging without connecting to the target system When using the emulator debugger in connection with the target system set SW4 to the OPEN position and SWS and SW6 to the center position Note on Using A D Input Group Selection e It is nec
61. ter or pin output function select register 3 is set 3 Setting 1 PRC2 from the dump window or script window during user program execution 15 74 MEMO 16 74 Chapter 2 Preparation This chapter describes the package components the system configuration and the preparation for using this product for the first time A e ER POSE MON i ONT NEE REPEAT ICEL ENE eee 18 2 2 Package COMPONEMtS inea n eiea a seaead cade veaned EE aa E E AER EIEE ETER E 19 2 3 Other Tool Products Required for Development ssssessssssesessesssesresseseresrersesseerresserseesrresresese 19 2 4 Name of Each Partuiunsnaroad lidad aii dades 20 CP System Configuration A ES 20 2 Inside OF Emulation POR a dio 21 2 5 When Using the Emulator for the First TIM 22 17 74 Chapter 2 Preparation 2 1 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 8 and 16 bit MCUs For details on specific models of PC4701 visit Renesas Tools Homepage Homepage URL http www renesas com en tools Emulation pod This means the M30803T RPD E this product This emulation pod is for M16C 80 Group MCUs Host machine This means a perso
62. the posision of No 1 pin 1 These 3 products are available in one package Figure 3 11 Connecting emulation pod and target systems PAN ey en ile Note on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod 36 74 1 Connecting 100 pin LCC Socket When connecting the emulation pod probe to the 100 pin LCC socket Yamaichi Electronics Co Ltd IC51 1004 051 etc on the target system following the procedure below 1 Attach the CN2 side of the FLX160 PRB to the CN2 side of the M30800T PTC 2 Attach the M30800T PTC to the 100 pin LCC socket FLX160 FLX160 PRB attached to FLX160 100 pin LCC socket Position of No 1 pin User s target Figure 3 12 Connecting emulation pod and 100 pin LCC socket NCAUTION Notes on Connecting the Target System e Take care not to attach the converter board in a wrong direction It may cause a fatal damage to the emulation pod e The small connectors of M30800T PTC are guaranteed for only 50 insertion removal iterations e For purchasing the IC51 1004 051 or for technical information contact Yamaichi Electronics Co Ltd 37 74 2 Connecting 100 pin 0 65 mm pitch Foot Pattern Part 1 Figure 3 13 shows how to connect the emulation pod probe to the 100 pin 0 65 mm pitch foot pattern on the target system with the DUMMY 100S
63. to observe the voltage of the target system Therefore design your system so that the emulator MCU is powered by the target system e The voltage of the target system should be within the range of the MCU specification 2 7 to 5 5 V When using this product with the operating frequency at 20 MHz the voltage of the target system should be 5 0 to 5 5 V e Do not change the voltage of the target system after turning on the power e Before powering on your emulator system check that the host machine the emulator main unit the converter board and target system are all connected correctly Next turn on the power to each equipment following the procedure below 1 Turn ON OFF the target system and the PC4701 emulator as simultaneously as possible 2 When the PC4701 and emulator debugger start up check the target status LEDs on the emulator main unit s front panel to see if this product is ready to operate e Is the power supplied Check that target status LED POWER is ON e Is the reset released Check that target status LED RESET is OFF For details see Chapter 4 Usage page 45 Note on RESET Input e The reset input from the target system is accepted only while a user program is being executed only while the RUN status LED on the PC4701 s front panel is lit 10 74 IMPORTANT Note on RDY Input e Be sure to input L to the RDY pin of the target system during the user program executing only while the RUN
64. ts Up When the target system is not connected page 67 Normal Error displayed See 6 2 4 Errors Occur When the Emulator Debugger Starts Program window of emulator debugger displayed Up When the target system Is connected page 67 N Figure 6 1 Flowchart to remedy the troubles 64 74 6 2 When the Emulator Debugger Does Not Start Up Properly 1 When the LED Display of PC4701 is Abnormal Table 6 1 LED s abnormal display and its checkpoints LEDs do not light up Connection to the target system Checkpoint Recheck the power cable is connected to the PC4701 See the instruction manual of the PC4701 All LEDs remain lit Recheck the connection between the PC4701 and this product See 3 5 Connecting the PC4701 and Emulation Pod page 34 The POWER LED of STATUS OF TARGET does not light up Connected Check power is properly supplied to the target system and that the target system is properly grounded The CLOCK LED of STATUS OF TARGET does not light up Disconnected 1 Check that both the main and sub clocks of the emulator debugger are not set to EXT See the CLK command of the emulato debugger 2 Check the oscillation circuit in the emulation pod is oscillating See 3 3 Selecting Clock Supply page 29 Connected 1 Check the oscillation circuit in the target system is oscillating 2 Check the switches in the emul
65. ually a blue bag When you use other bags they may cause a trouble on your product because of static electricity 71 74 MEMO 72 74 M30803T RPD E User s Manual Rev 1 00 July 1 2003 REJ10J0197 0100Z COPYRIGHT 2003 RENESAS TECHNOLOGY CORPORATION AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED ENESAS Renesas Technology Corp 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan
66. ulation Pod Unit mm Figure 5 3 External dimensions of emulation pod 60 74 2 External Dimensions of Converter Board M30800T PTC Figure 5 4 shows the external dimensions of the converter board M30800T PTC for 100 pin QFP 100P6N cr no omo mmm awd a Za O 30 MADE IN JAPAN Unit mm X Figure 5 4 External dimensions of converter board M30800T PTC 61 74 3 External Dimensions of Converter Board FLX 144NSD Figure 5 5 shows the external dimensions and the foot pattern of the converter board FLX 144NSD for 144 pin LQFP 144P6Q je m zZ m 3 2 Sample foot pattern W 025 19 00 m 0 50 23 00 gt gt A a23 00 Y Unit mm U Figure 5 5 External dimensions of converter board FLX 144NSD 62 74 Chapter 6 Troubleshooting This chapter describes how to troubleshoot when this product does not work properly 6 1 Flowchart to Remedy the Troubles enren lot A 64 6 2 When the Emulator Debugger Does Not Start Up Properly ooooonnococnoccccnoncnononcconnnccnnnnccnnnncnnns 65 1 When the LED Display of PC4701 is Abnormal ooonccnnnoninnnnonononnnonnnonnnconnnnannnona cono nccnncnnnnos 65 2 EMEM Dialog is Not Displayed When the Emulator Debugger Starts Up When the target system is connected cooooccccoocccconcccnoncnononanonnncnnnoncnnnn nc cnn nccnnnnccnnnnss 66 3 EMEM Dialog is Not Displayed When the Emulato
67. w active LOW e g RESET Reset signal 18 74 2 2 Package Components The M30803T RPD E package consists of the following items When unpacking check to see if your M30803T RPD E contains all of these items Table 2 1 Package components Quantity M30803T RPD E emulation pod main unit FLX120 RPD flexible cable for connecting emulator main unit FLX160 PRB converter board for connecting FLX160 to M30800T PTC mounted on FLX160 M30800T PTC converter board for 100 pin LCC package OSC 2 oscillator circuit board bare board Hardware tool user registration FAX sheet English Hardware tool user registration FAX sheet Japanese M30803T RPD E user s manual this manual M30803T RPD E user s manual Japanese Please keep the M30803T 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 M30803T RPD E If any of these items are missing or found faulty please contact your local distributor Also if there is any question or doubt about the packaged product contact your local distributor 2 3 Other Tool Products Required for Development To bring forward programs development on the M16C 80 Group MCUs the products listed below are necessary in addition to those contained package above Get them separately Table 2 2 Other tool products O a
68. ways This is determined by emulator debugger clock selection 1 When Internal is selected The 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 Notes on Access Prohibited Area e The emulator control register 000020h 00003Fh in the SFR is read and write protected When this register is accessed emulator control cannot be utilized e With this product address FFFFFFh cannot be read or written in correctly 11 74 IMPORTANT Notes on Stack Area e With this product a maximum 20 bytes of the user stack is consumed as work area e 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 work area Using areas like this is a cause of user program crashes and destabilized emulator control Therefore ensure the 20 byte maximum capacity used by the user program as the user stack area e With this product the interrupt stack pointer ISP is set to 0500h and used as stack area after the reset is released Notes on Reset Vector Area e For a reset vector area memory of the emulation pod is always selected regard

Download Pdf Manuals

image

Related Search

Related Contents

LC-MALDI Analysis of a ICPL-labeled Protein Digest Mixture  Sony KV-29LS30U User's Manual  Manual de montagem e utilização  Mesures pour la prévention et la maîtrise de la diffusion de la gale    Pyle Miscellaneous Parts User Manual  Samsung Galaxy TabPro (8.4", 4G) Brugervejledning  Intel Pentium 4  DP-4100-Manual Español  KeyStrokes 4.1 manual final  

Copyright © All rights reserved.
Failed to retrieve file