background image

User’s Manual

Target Devices

µµµµ

PD780318 Subseries

µµµµ

PD780328 Subseries

µµµµ

PD780338 Subseries

IE-780338-NS-EM1

Emulation Board

1991

©

Document No. U16214EJ1V0UM00 (1st edition)
Date Published August 2002 N  CP(K)

Printed in Japan

2002

Содержание IE-780338-NS-EM1

Страница 1: ...t Devices µ µ µ µPD780318 Subseries µ µ µ µPD780328 Subseries µ µ µ µPD780338 Subseries IE 780338 NS EM1 Emulation Board 1991 Document No U16214EJ1V0UM00 1st edition Date Published August 2002 N CP K Printed in Japan 2002 ...

Страница 2: ...User s Manual U16214EJ1V0UM 2 MEMO ...

Страница 3: ...miconductor products customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC semiconductor products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC semiconductor...

Страница 4: ... NEC Electronics Hong Kong Ltd Hong Kong Tel 2886 9318 Fax 2886 9022 9044 NEC Electronics Hong Kong Ltd Seoul Branch Seoul Korea Tel 02 528 0303 Fax 02 528 4411 NEC Electronics Shanghai Ltd Shanghai P R China Tel 021 6841 1138 Fax 021 6841 1137 NEC Electronics Taiwan Ltd Taipei Taiwan Tel 02 2719 2377 Fax 02 2719 5951 NEC Electronics Singapore Pte Ltd Novena Square Singapore Tel 253 8311 Fax 250 3...

Страница 5: ... and to be knowledgeable about debugging Organization When using the IE 780338 NS EM1 refer to not only this manual supplied with the IE 780338 NS EM1 but also the manual that is supplied with the IE 78K0 NS or IE 78K0 NS A The IE 78K0 NS used in combination with the IE 78K0 NS PA is functionally equivalent to the IE 78K0 NS A Therefore as necessary read IE 78K0 NS IE 78K0 NS PA for IE 78K0 NS A i...

Страница 6: ... NS or IE 78K0 NS A and the IE 780338 NS EM1 Conventions Data significance Higher digits on the left and lower digits on the right Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Related Documents The related documents user s manuals indicated in this publication may include preliminary versions However prelimi...

Страница 7: ...ttings 20 3 2 2 Main system clock settings 23 3 2 3 Subsystem clock settings 28 3 3 Mask Option Setting 33 3 3 1 LCD booster 33 3 4 External Trigger 34 3 5 Jumper Settings on IE 78K0 NS 35 3 6 Jumper Settings on IE 78K0 NS A 35 3 7 Low Voltage Emulation Settings 36 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS 37 CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE 40 APPENDIX A...

Страница 8: ...nted Clock Subsystem Clock 22 3 9 When Using an External Clock 23 3 10 Connections on Parts Board When Using Main System Clock or User Mounted Clock 24 3 11 Crystal Oscillator When Using Main System Clock or User Mounted Clock 26 3 12 Pin Alignment of Crystal Oscillator and Socket 26 3 13 Connections on Parts Board When Using Subsystem Clock or User Mounted Clock 29 3 14 Crystal Oscillator When Us...

Страница 9: ...Specifications 14 3 1 Main System Clock Settings 23 3 2 Subsystem Clock Settings 28 3 3 Jumper Settings on IE 78K0 NS 35 3 4 Jumper Settings on IE 78K0 NS A G 780009 Board 35 3 5 Jumper Settings on IE 78K0 NS A G 78K0H Option Board 35 3 6 Supply Voltage and Maximum Current Consumption at Low Voltage Emulation 36 A 1 SWEX 120SE 1 Pin Assignments 41 ...

Страница 10: ...ging of hardware or software when using one of the following target devices that belong to the 78K 0 Series of 8 bit single chip microcontrollers This chapter describes the IE 780338 NS EM1 s system configuration and basic specifications Target devices µPD780318 Subseries µPD780328 Subseries µPD780338 Subseries ...

Страница 11: ...on probe sold separately Conversion connectorNote 3 sold separately IE 780338 NS EM1 this product IE 70000 CD IF A sold separately Interface card NS CARD Cable Control software Host machine PC 9800 series or IBM PC AT or compatibles Debugger ID78K0 NS sold separately Device file available separately Note 1 TM Interface cable Note 2 Interface board IE 70000 98 IF C sold separately Interface board I...

Страница 12: ...GUIDE are products of TOKYO ELETECH CORPORATION For further information contact Daimaru Kogyo Ltd Tokyo Electronics Department TEL 81 3 3820 7112 Osaka Electronics Department TEL 81 6 6244 6672 The correspondence between the emulation probe and conversion connectors that are sold separately is shown in the Table 1 1 Table 1 1 Correspondence Between Emulation Probe and Conversion Connectors Package...

Страница 13: ...rately Dedicated bus interface IE system Host machine Interface board sold separately 78K0 main board Emulation board this product Interface card sold separately Figure 1 3 Basic Hardware Configuration Using IE 78K0 NS A Host machine 78K0 main board 78K0 performance board External sense probe Interface board sold separately Interface card sold separately Emulation board this product Emulation prob...

Страница 14: ...tem clock 10 0 MHz Main system clock supply External Clock input from the target system via an emulation probe Internal Clock mounted on the emulation board 10 0 MHz or mounted on the parts board by the user Subsystem clock supply External Input from the target system via an emulation probe Internal Mounted on the emulation board 32 768 kHz or mounted on the parts board by the user Low voltage sup...

Страница 15: ...E 780338 NS EM1 main unit The packing box contains the emulation board IE 780338 NS EM1 FG cable packing list user s manual and guarantee card If there are any missing or damaged items please contact an NEC sales representative Fill out and return the guarantee card that comes with the main unit ...

Страница 16: ...l U16214EJ1V0UM 16 2 1 Parts of Main Unit Figure 2 1 IE 780338 NS EM1 Part Names EXTOUT EXTIN CN5 USER VDD X2 Probe connector CN5 120GC IC2 X1 LED1 Main system clock UMCLK Subsystem clock USCLK LCD mask option LCD MOPT External trigger ...

Страница 17: ...EM1 to the IE 78K0 NS or IE 78K0 NS A emulation probe etc Mode setting methods are also described Caution Connecting or removing components to or from the target system or making switch or other setting changes must be carried out after the power supply to both the IE system and the target system has been switched OFF ...

Страница 18: ...connect the emulation probe to the IE 780338 NS EM1 On this board connect the emulation probe SWEX 120SE 1 to CN5 Caution Incorrect connection may damage the IE system Be sure to read the emulation probe s user s manual for a detailed description of the connection method 1 Unfasten one of the screws at the bottom of the connector on the IE system side of the emulation probe SWEX 120SE 1 and connec...

Страница 19: ...or IE 78K0 NS A and connect and screw on the tip of the FG cable Figure 3 3 Connection Between FG Cable and In Circuit Emulator Main board of IE 78K0 NS sold separately or IE 78K0 NS A sold separately Emulation board IE 780338 NS EM1 Emulation probe SWEX 120SE 1 sold separately CN5 FG cable supplied with IE 780338 NS EM1 IE 780338 NS EM1 IE 78K0 NS or IE 78K0 NS A FG cable supplied with IE 780338 ...

Страница 20: ...ed on the target system is not used Instead the clock that is mounted on the emulation board connected to the IE 78K0 NS or IE 78K0 NS A is used If the target system includes an external clock select 3 External clock For an external clock a clock signal is supplied from outside the target device and the target device s internal oscillator is not used An example of the external circuit is shown in ...

Страница 21: ... encircled in the figure is used b For subsystem clock A crystal resonator XT1 is already mounted on the emulation board Its frequency is 32 768 kHz Figure 3 6 When Using Clock That Is Already Mounted on Emulation Board Subsystem Clock Remark The clock that is supplied by the IE 780338 NS EM1 s resonator encircled in the figure is used IE 78K0 NS or IE 78K0 NS A IE 780338 NS EM1 Resonator not used...

Страница 22: ... IE 78K0 NS or IE 78K0 NS A IE 780338 NS EM1 Resonator not used Target system Emulation probe Parts board resonator or oscillator Remark The clock that is supplied by the IE 780338 NS EM1 s resonator or oscillator encircled in the figure is used b For subsystem clock Mount the resonator to be used on the parts board X2 that is already mounted on the emulation board Alternatively remove the parts b...

Страница 23: ...nternal When using external clock Other than 10 0 MHz Oscillator not used External Caution When using an external clock open the configuration dialog box when starting the integrated debugger ID78K0 NS and select External in the area Clock for selecting the CPU clock source this selects the user clock Remark When the IE 780338 NS EM1 is shipped the settings for when using clock that is already mou...

Страница 24: ... Ceramic resonator or crystal resonator Capacitor CB Resistor Rx Solder kit Steps 1 Solder the target ceramic resonator or crystal resonator and resistor Rx capacitor CA and capacitor CB all with suitable oscillation frequency as shown below Figure 3 10 Connections on Parts Board When Using Main System Clock or User Mounted Clock Parts board X1 Pin No Connection 2 13 Capacitor CA 3 12 Capacitor CB...

Страница 25: ...mounted in the correct direction 5 Make sure that the parts board is wired as shown in Figure 3 10 above 6 Connect the IE 780338 NS EM1 to the IE 78K0 NS or IE 78K0 NS A The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device Remark The sections enclosed in broken lines indicate parts that are attached to the parts board 1 M...

Страница 26: ...0338 NS EM1 s X1 socket 3 Mount the crystal oscillator prepared by the user in the X1 socket from which the crystal oscillator was removed in 2 above Insert the crystal oscillator pin into the socket aligning the pins as shown in the figure below Figure 3 12 Pin Alignment of Crystal Oscillator and Socket Crystal Oscillator Pin Name Socket Pin No NC 1 GND 7 CLOCK OUT 8 VCC 14 4 Connect the IE 78033...

Страница 27: ...ion device 3 When using external clock No hardware settings are required for this situation When starting the integrated debugger ID78K0 NS open the configuration dialog box and select External in the area Clock for selecting the CPU clock source this selects the user clock VHC157 A Y B X1 IE 78K0 NS or IE 78K0 NS A side Emulation device VCC Crystal oscillator HSK120 LVCC ...

Страница 28: ...the parts board X2 on which pins 6 and 8 are shorted are already mounted on the IE 780338 NS EM1 Short the 1 to 2 side on the jumper JP8 of the IE 78K0 NS or IE 78K0 NS A There is no need to make any other settings via the integrated debugger ID78K0 NS 2 When using the clock mounted by user Execute the settings described under either a or b depending on the type of clock to be used Short the 1 to ...

Страница 29: ...arts board X2 Pin No Connection 2 13 Capacitor CA 3 12 Capacitor CB 4 11 Ceramic resonator or crystal resonator 5 10 Resistor Rx 8 9 Short Circuit diagram Remark The sections enclosed in broken lines indicate parts that are attached to the parts board 1 2 3 4 5 6 7 14 13 12 11 10 9 8 10 MΩ 11 4 3 12 CB CA 13 2 5 10 Rx 9 8 CLOCK OUT HCU04 HCU04 ...

Страница 30: ... make sure the board is mounted in the correct direction 6 Connect the IE 780338 NS EM1 to the IE 78K0 NS or IE 78K0 NS A The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device Remarks 1 The sections enclosed in broken lines indicate parts that are attached to the parts board 2 There is JP8 on the IE 78K0 NS or IE 78K0 NS A...

Страница 31: ...38 NS EM1 s X2 socket 3 Mount the crystal oscillator prepared by the user in the X2 socket from which the parts board was removed in 2 above Insert the crystal oscillator pin into the socket aligning the pins as shown in the figure below Figure 3 15 Pin Alignment of Crystal Oscillator and Socket Crystal Oscillator Pin Name Socket Pin No NC 1 GND 7 CLOCK OUT 8 VCC 14 4 Connect the IE 780338 NS EM1 ...

Страница 32: ... broken lines indicate the parts that are attached to the parts board 2 There is JP8 on the IE 78K0 NS or IE 78K0 NS A 3 When using an external clock Short the 3 to 4 side on the jumper JP8 of the IE 78K0 NS or IE 78K0 NS A There is no need to make any settings via the integrated debugger ID78K0 NS Crystal oscillator 5 V 8 7 14 Parts board IE 78K0 NS or IE 78K0 NS A side Emulation device Target sy...

Страница 33: ...or others provided with this product in the LCD MOPT socket Figure 3 16 shows the LCD drive booster Caution The booster on the target system cannot be used Figure 3 16 LCD MOPT Socket IC2 Connection Pins Part Used Parts Board at Shipment 1 16 Capacitor C1 0 47 µ F 3 14 Resistor R2 2 MΩ 4 13 Resistor R1 1 MΩ 6 11 Capacitor C2 0 47 µ F 7 10 Capacitor C3 0 47 µ F 8 9 Capacitor C4 0 47 µ F 1 2 3 4 5 6...

Страница 34: ... and EXTIN as shown below See the IE 78K0 NS User s Manual U13731E or IE 78K0 NS A User s Manual U14889E for pin characteristics and the ID78K Series Integrated Debugger Ver 2 30 or Later Operation Windows Based User s Manual U15185E for the usage methods Figure 3 17 External Trigger Input Position EXTOUT EXTIN CN5 X2 IC2 X1 LED1 External trigger ...

Страница 35: ...n of subsystem clock 3 4 shorted External selection of subsystem clock 3 6 Jumper Settings on IE 78K0 NS A When using the IE 780338 NS EM1 in combination with the IE 78K0 NS A set the jumper on the IE 78K0 NS A as shown below For details of these jumper positions refer to the IE 78K0 NS A User s Manual U14889E Caution If the jumpers are set incorrectly the board may be damaged Table 3 4 Jumper Set...

Страница 36: ...when the target system is operating at 5 V At that time set the voltage supplied to the target system to between 1 8 and 5 5 V Caution When emulating at 4 5 V or lower first start up at 5 V and then lower the target system voltage Table 3 6 Supply Voltage and Maximum Current Consumption During Low Voltage Emulation Voltage Supplied to TP1 Maximum Current Consumption of TP1 1 8 to 5 5 V 300 mA Figu...

Страница 37: ...ulation 1 Signals input or output from the emulation CPU µPD780009A 2 Signals input or output from the emulation CPU µPD78F0338 3 Other signals The IE 780338 NS EM1 s circuit is used as follows for signals listed in 1 to 3 above 1 Signals input or output from the emulation CPU µ µ µ µPD780009A See Figure 4 1 Equivalent Circuit of Emulation Circuit 1 P47 to P40 P57 to P50 P67 to P60 2 Signals input...

Страница 38: ...uit 2 P25 to P20 P34 to P30 P17 to P10 P87 to P80 P05 to P00 100 Ω 100 Ω 100 Ω 1 MΩ 1 MΩ 1 MΩ IE system side Probe side P73 to P70 100 Ω 1 MΩ P97 to P90 P120 ANI8 ANI9 AVREF1 AVREF0 AVSS0 S23 to S0 COM3 to COM0 PD78F0338 Emulation CPU µ P57 to P50 P67 to P64 P47 to P40 100 Ω 100 Ω 100 Ω 1 MΩ 1 MΩ 1 MΩ PD780009A Emulation CPU IE system side Probe side P63 to P60 100 Ω 1 MΩ HSK120 30 kΩ Photocoupler...

Страница 39: ...rcuit of Emulation Circuit 3 IE system side Probe side 0 1 F Current detection VCC 100 Ω 3 3 kΩ 1 MΩ 1 5 kΩ Open VDD0 VDD1 VSS0 VSS1 X2 XT2 HC4066 PD780009A Emulation CPU LVCC LVCC LVCC 4 7 kΩ 100 Ω 100 Ω 100 Ω 1SS123 1SS123 1SS123 1SS123 RESET X1 XT1 LVCC 4 7 kΩ LVCC 4 7 kΩ Open VPP Open CAPH CAPL VLCDC VLC2 to VLC0 PD393G µ µ µ ...

Страница 40: ...hing the number of the key returns KRSEL register FF8FH cannot be emulated 3 To emulate port 8 of the µPD780316 780318 780326 780328 780336 or 780338 set PF8 and PM8 as follows only once after reset in the same way as to port 8 of the µPD78F0338 SFR Name Set Value PM8 00H PF8 FFH 4 To emulate port 9 of the µPD780316 780318 780326 780328 780336 or 780338 set PF9 and PM9 as follows only once after r...

Страница 41: ...0 44 44 11 11 45 45 12 12 46 46 13 13 47 47 14 14 48 48 15 15 49 49 16 16 50 50 17 17 51 51 18 18 52 52 19 19 53 53 20 20 54 54 21 21 55 55 22 22 56 56 23 23 57 57 24 24 58 58 25 25 59 59 26 26 60 60 27 27 61 61 28 28 62 62 29 29 63 63 30 30 64 64 31 31 65 65 32 32 66 66 33 33 67 67 34 34 68 68 Remarks 1 The SWEX 120SE 1 is product of TOKYO ELETECH CORPORATION 2 The numbers in the Emulation Probe ...

Страница 42: ... 75 101 101 76 76 102 102 77 77 103 103 78 78 104 104 79 79 105 105 80 80 106 106 81 81 107 107 82 82 108 108 83 83 109 109 84 84 110 110 85 85 111 111 86 86 112 112 87 87 113 113 88 88 114 114 89 89 115 115 90 90 116 116 91 91 117 117 92 92 118 118 93 93 119 119 94 94 120 120 Remarks 1 The SWEX 120SE 1 is product of TOKYO ELETECH CORPORATION 2 The numbers in the Emulation Probe column indicate th...

Страница 43: ... mounted on the target system when designing a system In the product names described in this appendix SWEX 120SE 1 NQPACK120SE YQPACK120SE and YQ GUIDE are products of TOKYO ELETECH CORPORATION Figure B 1 Distance Between In Circuit Emulator and Conversion Socket 303 mm In circuit emulator IE 78K0 NS or IE 78K0 NS A Emulation board IE 780338 NS EM1 Conversion connector NQPACK120SE YQPACK120SE YQ G...

Страница 44: ...M User s Manual U16214EJ1V0UM 44 Figure B 2 Connection Conditions of Target System Emulation probe SWEX 120SE 1 Emulation board IE 780338 NS EM1 33 mm 48 5 mm 38 5 mm Target system Conversion connector NQPACK120SE YQPACK120SE YQ GUIDE 23 mm 23 mm ...

Страница 45: ...User s Manual U16214EJ1V0UM 45 MEMO ...

Страница 46: ...User s Manual U16214EJ1V0UM 46 MEMO ...

Страница 47: ...Fax 86 21 6841 1137 Address North America NEC Electronics Inc Corporate Communications Dept Fax 1 800 729 9288 1 408 588 6130 Europe NEC Electronics Europe GmbH Market Communication Dept Fax 49 211 6503 274 South America NEC do Brasil S A Fax 55 11 6462 6829 Taiwan Asian Nations except Philippines NEC Electronics Singapore Pte Ltd Fax 886 2 2719 5951 Fax 65 250 3583 Japan NEC Semiconductor Technic...

Отзывы: