Home

NEC uPD780318 Subseries User's Manual

image

Contents

1. M I 18 2 2 Settings E E E 20 3 2 1 Overview of clock settings a aes aaas 20 3 222 Main system clock settings 2 cnet detta bitin eee eet 23 32 3 Subsystem clock settings opo iere UR RE EUM TER RE RE MAREA 28 3 3 Mask Option Setting m 33 3 3 1 LOD bOOSte As IPM 33 XP EEEJIQJCOLUMEIP le 34 3 5 Jumper Settings on 78 0 5 4 1 eee nnnnenn nnne nnne nnn nnsninn n nnnm sn enn sse nn snis nnne 35 3 6 Jumper Settings on 78 0 5 1 1 nennen nenne nnns nnne tnnt nasi nnns enn s innen nnnm nnne 35 3 7 Low Voltage Emulation 5 36 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS 37 CHAPTER 5 RESTRICTIONS AND CAUTIONS ON 06 22 22 1 40 APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE 2 2 2 2 2444 2222 2 41 APPENDIX CAUTIONS ON DESIGNING TARGET SYSTEM 2 2 2 22 43 User s Manual U16214EJ1VOUM 7 LIST OF FIGURES Figure No Title Page 1 1 System Gonfiguration neon bui osse 11 1 2 Basic Hardware Configuration Using 78 0
2. Interface board Interface board Interface board IE 70000 98 IF C 70000 IE 70000 PCHF A sold separately sold separately sold separately Interface card IE 78K0 NS or IE 78K0 NS A sold separately I Fer IT Interface cable Interface cable NS IF Cable NS CARD MC CARD In circuit emulator I Cable mn Cable 2 IE 70000 CD IF A sold separately FG Cable IE 780338 NS EM1 FG Cable this product 2 7 AC adapter Emulation probeNete 2 IE 70000 MC PS B sold separately sold separately 4 Conversion connectorNete 3 sold separately User s Manual U16214EJ1VOUM 11 CHAPTER 1 GENERAL Notes 1 The device file is as follows LSxxxxDF780338 uPD780318 780328 780338 Subseries The device file can be downloaded from the web site of NEC Electron Devices http www ic nec co jp micro 2 The emulation probe SWEX 120SE 1 and conversion connectors NQPACK120SE YOPACK120SE and YQ 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 120 pin plastic
3. Caution The same applies to the connection of alternate function pins as no circuits exist in the IE system User s Manual U16214EJ1VOUM 37 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4 1 Equivalent Circuit of Emulation Circuit 1 Probe side IE system side 1000 P47 to P400 1MO TIT 100 Q P57 to 5 1 77 1000 P67 to P640 780009 1 Emulation CPU 77 EE 1000 Photocoupler P63 to 6 1MQ Figure 4 2 Equivalent Circuit of Emulation Circuit 2 Probe side IE system side 1000 P05 to POO 1MQ 1000 77 P25 to P20O 1MQ 100Q 77 P34 to P30 t 1MQ 1000 77 uPD78F0338 P73 to P70O Emulation CPU 1 MQ 7 7 P17to P10O P87 to P80 P97 to P90 P1200 ANI8 9 AVner AVrero AVsso S23 to S0 O to COMO 38 User s Manual U16214EJ1V0UM CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4 3 Equivalent Circuit of Emulation Circuit 3 Probe side IE system side Vcc 3 3 1 5 KQ Vbpo 1000 Current detection a iita 1 uPD393G Vsso Vssi o X2 XT2 Open Ver Open CAPH CAPL Vicpc Vic2 to Vico O Open LVcc HC4066 1000 4 7 RESET O L Voc LVcc 155123 470 1000 uPD780009A X10 Emulation CPU 155123 77 LVcc nob 155123 4 7 kQ XT1
4. 10 g I 1 ens 13 1 CB Ts 124222222222 2 1 Remark The sections enclosed in broken lines indicate parts that are attached to the parts board 24 User s Manual U16214EJ1V0UM CHAPTER 3 INSTALLATION 2 lt 3 gt lt 4 gt Prepare the IE 780338 NS EM1 Remove the crystal oscillator that is mounted in the IE 780338 NS EM1 s X1 socket Connect the parts board from 1 above to the X1 socket from which the crystal oscillator was removed in 3 above Check the pin 1 mark to make sure the board is mounted in the correct direction 5 6 Make sure that the parts board is wired as shown in Figure 3 10 above Connect the IE 780338 NS EM1 to the IE 78KO 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 emulat ion device 78 0 5 or IE 78K0 NS A side Emulation device OX1 1 THEE qm 9 8 HCU04 HCU04 A DOS 5 1 A Y 1 Rx B X 10 P2 VHC157 4 11 LVcc lt 120 8 18 CAZ CB t 12 2 Remark sections enclosed in broken lines indicate parts that are attached to the parts board User s Manual U16214EJ1VOUM 25 CHAPTER 3 INSTALLATION b When using a crystal oscillator items to be prepared Crystal oscillat
5. 155123 TIT User s Manual U16214EJ1VOUM 39 1 40 CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE This chapter lists the restrictions and cautions on use of the 780338 5 Connect the in circuit emulator to products with the following control code In Circuit Emulator Corresponding Control Code IE 78K0 NS L or higher IE 78K0 NS A E or higher Switching the number of the key returns KRSEL register FF8FH cannot be emulated To emulate port 8 of the uPD780316 780318 780326 780328 780336 or 780338 set PF8 and 8 as follows only once after reset in the same way as to port 8 of the uPD78F0338 SFR Name Set Value PM8 00H PF8 To emulate port 9 of the PD780316 780318 780326 780328 780336 or 780338 set PF9 and as follows only once after reset in the same way as to port 9 of the uPD78F0338 SFRName Setvabe 00H PF9 The ROM correction function cannot be emulated User s Manual U16214EJ1VOUM APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE Table A 1 SWEX 120SE 1 Pin Assignments 1 2 Emulation Probe CN5 Pin No Emulation Probe CN5 Pin No Remarks 1 The SWEX 120SE 1 is product of TOKYO ELETECH CORPORATION 2 The numbers in the Emulation Probe column indicate the corresponding pin number on the emulation probe tip User s Manual U16214EJ1VOUM 41 APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE 42 Table A 1 SWEX 120SE 1 Pin Assign
6. 3 1 Connection 1 Connection with IE 78K0 NS or IE 78K0 NS A main unit See the IE 78K0 NS User s Manual U13731E for a description of how to connect the IE 780338 NS EM1 to the IE 78KO NS See the IE 78K0 NS A User s Manual U14889E for a description of how to connect the IE 780338 NS EM1 to the 78 0 5 2 Connection with emulation probe The following shows how to 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 connect and screw on the tip of the FG cable Figure 3 1 Connection Between FG Cable and Emulation Probe FG cable supplied with IE 780338 NS EM1 Connection connector to IE 780338 NS EM1 Emulation probe SWEX 120SE 1 sold separately 18 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION 2 Connect the emulation probe SWEX 120SE 1 to CN5 of the IE 780338 NS EM1 Figure 3 2 Emulation Probe Connection Emulation probe SWEX 120SE 1 sold separately FG cable supplied with 780338 5 1 Emulation board Main board of IE 78KO NS sold separately IE 780338 NS EM1 or IE 78K0 NS A sold separately 3 Unfasten
7. 5 13 1 3 Basic Hardware Configuration Using 78 0 5 13 2 1 IE 780338 NS EM1 Part Natmies 1 quete epe et dee e gestr p a uto de depu t ge ot e oa eae 16 3 1 Connection Between FG Cable and Emulation 18 3 2 Emu latiori Probe Gornnection tendente cie o i Aan date na Ae eats 19 3 3 Connection Between FG Cable and In Circuit Emulator eese 19 3 4 External Circuits Used as System Clock Oscillator ssseseeeneeeeeennen nennen 20 3 5 When Using Clock That Is Already Mounted on Emulation Board Main System Clock 21 3 6 When Using Clock That Is Already Mounted on Emulation Board Subsystem Clock 21 3 7 When Using User Mounted Clock Main System Clock sseeeeeeeeneneenneen nennen 22 3 8 When Using User Mounted Clock Subsystem Clock sese 22 3 9 When Using an External nennen 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 sese nnne nnn 26 3 13 Connection
8. 2 13 5 10 6 9 GND CLOCKOUT 7 8 4 Connect the IE 780338 NS EM1 to the IE 78KO NS or IE 78KO NS A User s Manual U16214EJ1VOUM 31 CHAPTER 3 INSTALLATION The above steps configure the following circuit and enable supply of the clock from the mounted oscillator to the emulation device IE 78K0 NS or IE 78KO NS A side Emulation device 1 JP8 Target System OO A Remarks 1 The sections enclosed in broken lines indicate the parts that are attached to the parts board 2 There is JP8 on the IE 78KO NS or IE 78K0 NS A 3 When using an external clock Short the to 4 side on the jumper JP8 of the IE 78KO NS or IE 78K0 NS A There is no need to make any settings via the integrated debugger ID78K0 NS 32 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION 3 3 Mask Option Setting 3 3 1 LCD booster When shipped an LCD drive booster is mounted on the parts board in the LCD MOPT IC2 socket of the IE 780338 NS EM1 To change the LCD drive booster mount the resistors or capacitors necessary for the parts board 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 Socket 2 CAPL N C Vicpc Vice N C GND GND GND 22220 s owe User s Manua
9. one of the screws on the metal board on the probe side of the IE 78K0 NS 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 FG cable supplied with IE 780338 NS EM1 2 O 2 E 780338 NS EM1 or IE 78K0 NS 78 0 5 Emulation probe SWEX 120SE 1 sold separately User s Manual U16214EJ1VOUM 19 CHAPTER 3 INSTALLATION 3 2 Clock Settings 3 2 1 Overview of clock settings The main system and subsystem clocks to be used during debugging can be selected from 1 to 3 below 1 Clock that is already mounted on emulation board 2 Clock that is mounted by user 3 External clock If the target system includes an internal clock select either 1 Clock that is already mounted on emulation board or 2 Clock that is mounted by user For an internal clock a resonator is connected to the target device and the target device s internal oscillator is used An example of the external circuit is shown in part a of Figure 3 4 During emulation the resonator that is mounted on the target system is not used Instead the clock that is mounted on the emulation board connected to the IE 78KO NS or IE 78KO 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 t
10. refer to the IE 78K0 NS A User s Manual U14889E when using the IE 78K0 NS A There is no need to make any other settings via the integrated debugger ID78K0 NS a When using a ceramic resonator or crystal resonator items to be prepared e Parts board e Capacitor CA e Ceramic resonator or crystal resonator Capacitor CB Resistor Rx Solder kit Steps 1 Prepare the 780338 5 2 Solder the ceramic resonator or crystal resonator resistor Rx capacitor CA and capacitor CB all with suitable oscillation frequency onto the parts board X2 as shown below 28 User s Manual U16214EJ1V0UM CHAPTER 3 INSTALLATION Figure 3 13 Connections on Parts Board When Using Subsystem Clock or User Mounted Clock Parts board X2 Capacitor CA Capacitor CB Ceramic resonator or crystal resonator oc fF m Circuit diagram 10 MQ HCUO4 HCU04 __ Doe Doaa CLOCK OUT ZR 10 ig 1 3 13 ideo 325222 2 Remark The sections enclosed in broken lines indicate parts that are attached to the parts board User s Manual U16214EJ1VOUM 29 CHAPTER 3 INSTALLATION 30 lt 3 gt lt 4 gt 5 6 Make sure that the parts board X2 is wired as shown in Figure 3 13 Remove the parts board that is mounted in the IE 780338 NS EM1 s X2 socket Conne
11. 3 INSTALLATION 3 2 3 Subsystem clock settings Table 3 2 Subsystem Clock Settings Frequency of Subsystem Clock to Be Used IE 780338 NS EM1 IE 78K0 NS or 78 0 5 When using clock XT1 32 768 kHz 6 to 8 shorted 1 to 2 side shorted that is already mounted on emulation board When using clock Other than Oscillator assembled on cus user mounted by user 32 768 kHz When using external 3 to 4 side shorted clock Caution Jumper JP8 which is used to select the board s clock or an external clock should be set only after turning off the power of the IE 78KO NS or IE 78K0 NS A Remark When the IE 780338 NS EM1 is shipped the settings for when using clock that is already mounted on emulation board are preset 1 When using clock that is already mounted on emulation board When the IE 780338 NS EM1 is shipped a 32 768 kHz crystal resonator XT1 and 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 78KO NS or IE 78K0 NS A There is no need to make any other settings via the integrated debugger ID78KO 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 2 side on the jumper JP8 of the IE 78KO NS or IE 78KO NS A For the jumper position refer to the IE 78K0 NS User s Manual U13731E when using the IE 78KO NS and
12. 322 Subsystem Clock Settings 8 ne ete eerta p A gir ean end 28 3 3 Jumper Settings IE 78KO0 NS 2 cd e td puit e a expe ER i 35 3 4 Jumper Settings on 78 0 5 G 780009 eene nennen 35 3 5 Jumper Settings on 78 0 5 G 78KOH Option 35 3 6 Supply Voltage and Maximum Current Consumption at Low Voltage 36 A 1 SWEX 120SE 1 Pin Assignments 0 40 42 10010 enne nnne nnnen nne nennen entr nnns enne 41 User s Manual U16214EJ1VOUM 9 CHAPTER 1 GENERAL The IE 780338 NS EM1 is a development tool for efficient debugging 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 e uPD780318 Subseries e puPD780328 Subseries e uPD780338 Subseries 10 User s Manual U16214EJ1VOUM CHAPTER 1 GENERAL 1 1 System Configuration Figure 1 1 illustrates the IE 780338 NS EM1 s system configuration Figure 1 1 System Configuration Debugger ID78K0 NS Device 1 sold separately available separately Control software Host machine J PC 9800 series or IBM PC AT TM or compatibles
13. A Therefore as necessary read IE 78K0 NS IE 78K0 NS PA for IE 78K0 NS A in this document IE 78KO NS or IE 78KO NS A IE 780338 NS EM1 User s Manual User s Manual Basic specifications General e System configuration e Part names e External interface functions e Installation e Differences between target devices and target interface circuits Restrictions and cautions on use This manual is intended to give users an understanding of the various debugging functions that can be performed when using the IE 780338 NS EM1 User s Manual U16214EJ1VOUM 5 Terminology The meanings of certain terms used in this manual are listed below Emulation device This is a general term that refers to the device in the emulator that is used to emulate the target device It includes the emulation CPU Emulation Emulation CPU This is the CPU block in the emulator that is used to execute user generated programs Target device This is the device that is the target for emulation Target system This includes the target program and the hardware provided by the user When defined narrowly it includes p DES the hardware IE iEsysem 000 This refers to the combination of the 78 0 This refers to the combination of the IE 78K0 NS or IE 8KO NS A and the IE 780338 NS EM1 or IE 78KO 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
14. EM1 is shipped 10 0 MHz crystal oscillator is already mounted in the IE 780338 NS EM1 s X1 socket When using the factory set mode settings there is no need to make any other hardware settings When starting the integrated debugger ID78K0 NS open the configuration dialog box and select Internal in the area Clock for selecting the CPU clock source this selects the emulator internal clock User s Manual U16214EJ1VOUM 23 CHAPTER 3 INSTALLATION 2 When using clock mounted by user Execute the settings described under either a or b depending on the type of clock to be used When starting the integrated debugger 78 0 5 open the configuration dialog box and select Internal in the area Clock for selecting the CPU clock source this selects the emulator internal clock a When using a ceramic resonator or crystal resonator 9 items to be prepared Parts board e Capacitor CA e Ceramic resonator or crystal resonator Capacitor CB Resistor Rx e Solder kit lt Steps gt lt 1 gt 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 Ceramic resonator or crystal resonator oc fF I Circuit diagram 1 MQ HCU04 HCU04 pee tot D CLOCK OUT 5 ZR
15. 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 3583 J02 4 Product Overview Target Readers Organization Purpose INTRODUCTION The IE 780338 NS EM1 is designed to be used with the IE 78K0 NS or IE 78KO NS A to debug the following target devices that belong to the 78K 0 Series of 8 bit single chip microcontrollers uPD780318 Subseries uPD780316 780318 780328 Subseries 0780326 780328 uPD780338 Subseries 780336 780338 78F0338 This manual is intended for engineers who will use the IE 780338 NS EM1 with the IE 78KO NS or IE 78KO NS A to perform system debugging Engineers who use this manual are expected to be thoroughly familiar with the target device s functions and usage methods and to be knowledgeable about debugging 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 78KO NS or 78 0 NS A The IE 78K0 NS used in combination with the 78 0 5 is functionally equivalent to the IE 78KO NS
16. NIEC User s Manual 780338 5 1 Emulation Board Target Devices uPD780318 Subseries uPD780328 Subseries uPD780338 Subseries Document U16214EJ1VOUMOO 1st edition Date Published August 2002 N CP K NEC Corporation 2002 Printed in Japan MEMO 2 Users Manual U16214EJ1VOUM Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and or other countries PC AT is a trademark of International Business Machines Corporation The information in this document is current as of May 2002 The information is subject to change without notice For actual design in refer to the latest publications of NEC s data sheets or data books etc for the most up to date specifications of NEC semiconductor products Not all products and or types are available in every country Please check with an NEC sales representative for availability and additional information No part of this document may be copied or reproduced in any form or by any means without prior written consent of NEC NEC assumes no responsibility for any errors that may appear in this document NEC does not assume any liability for infringement of patents copyrights or other intellectual property rights of third parties by or arising from the use of NEC semiconductor products listed in this document or any other liability arising from the use of such products No license express implied or otherwise is granted und
17. QFP GC type SWEX 120SE 1 1205 Probe length 303 mm YQPACK120SE YQ GUIDE 12 User s Manual U16214EJ1VOUM CHAPTER 1 GENERAL 1 2 Hardware Configuration Figures 1 2 and 1 3 show the IE 780338 NS EM s position in the basic hardware configuration Figure 1 2 Basic Hardware Configuration Using IE 78K0 NS Dedicated bus interface IE system IE 78K0 NS IE 780338 NS EM1 Interface board Emulation board sold separately OO this product Interface card sold separately Emulation probe sold separately Figure 1 3 Basic Hardware Configuration Using IE 78K0 NS A IE system 78 0 5 IE 780338 NS EM1 Dedicated bus Interface interface board Poa sold separately 78 0 Emulation board this product Interface card sold separately i 3 i machine performance board External sense Emulation probe probe sold separately User s Manual U16214EJ1VOUM 13 CHAPTER 1 GENERAL 1 3 Basic Specifications The IE 780338 NS EM1 s basic specifications are listed in Table 1 2 Table 1 2 Basic Specifications 1P0780618 780328 780338 Subseries System 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 Subsyst
18. Resonator not used Remark clock that is supplied by the IE 780338 NS EM1 s resonator or oscillator encircled in the figure is used 22 Users Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION 3 External clock An external clock connected to the target system can be used via an emulation probe Figure 3 9 When Using an External Clock IE 78KO NS or 78 0 5 IE 780338 NS EM1 Target system Emulation probe Clock generator to be used Remark The clock supplied by the target system s clock generator encircled in the figure is used 3 2 2 Main system clock settings Table 3 1 Main System Clock Settings Frequency of Main System Clock IE 780338 NS EM1 CPU Clock Source X1 Socket Selection ID78K0 NS When using clock that is 10 0 MHz Oscillator used Internal already mounted on emulation board When using clock mounted Other than 10 0 MHz Oscillator assembled by user by user When using external clock Oscillator not used 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 780338 5 is shipped the settings for when using clock that is already mounted on emulation board are preset 1 When using clock that is already mounted on emulation board When the IE 780338 NS
19. ct the parts board from 2 above to the socket from which the parts board was removed from 4 above Check the pin 1 mark to make sure the board is mounted in the correct direction Connect the IE 780338 NS EM1 to the IE 78KO 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 78 0 5 or IE 78KO NS A side Emulation device T1 3 5 Oloo JP8 arget system 246 Remarks 1 sections enclosed in broken lines indicate parts that are attached to the parts board 2 There is JP8 on the IE 78KO NS or 78 0 5 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION b When using a crystal oscillator items to be prepared Crystal oscillator see pinouts shown in Figure 3 14 Figure 3 14 Crystal Oscillator When Using Subsystem Clock or User Mounted Clock GND CLOCK OUT Steps 1 Prepare the IE 780338 NS EM1 2 Remove the parts board that is mounted in the IE 780338 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 Crystal Oscillator Pin Socket Pin No
20. em Clock IE 78KO NS or IE 78K0 NS A IE 780338 NS EM1 Target system Emulation probe Mounted resonator to be used Resonator not used Remark clock that is supplied by the IE 780338 NS EM1 s resonator encircled the figure is used User s Manual U16214EJ1VOUM 21 CHAPTER 3 INSTALLATION 2 Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE 780338 NS EM1 a For main system clock Remove the crystal oscillator X1 that is already mounted on the emulation board and mount either the parts board on which the resonator to be used is mounted or an oscillator This method is useful when using a different frequency from that of the pre mounted clock Figure 3 7 When Using User Mounted Clock Main System Clock IE 78KO NS or IE 78K0 NS A 1E 780338 NS EM1 Target system Parts board 4 resonator oscillator Resonator not used Emulation probe Remark 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 board and mount an oscillator Figure 3 8 When Using User Mounted Clock Subsystem Clock IE 78K0 NS or IE 78K0 NS A IE 780338 NS EM1 Target system Parts board Emulation probe 4 resonator oscillator
21. em 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 support 1 8 to 5 5 V same as the target device 14 User s Manual U16214EJ1VOUM CHAPTER 2 PART NAMES This chapter introduces the parts of the IE 780338 NS EM1 main unit The packing box contains the emulation board 780338 5 1 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 User s Manual U16214EJ1V0UM 15 CHAPTER 2 PART NAMES 2 1 Parts of Main Unit Figure 2 1 IE 780338 NS EM1 Part Names EXTOUT External trigger EXTIN Probe connector CN5 120GC LCD mask option LCD MOPT USER VDD Main system clock UMCLK Subsystem clock USCLK 16 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE 780338 NS EM1 to the 78 0 5 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 User s Manual U16214EJ1VOUM 17 CHAPTER 3 INSTALLATION
22. er any patents copyrights or other intellectual property rights of NEC or others Descriptions of circuits software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples The incorporation of these circuits software and information in the design of customer s equipment shall be done under the full responsibility of customer NEC assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits software and information While NEC endeavours to enhance the quality reliability and safety of NEC semiconductor 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 products are classified into the following three quality grades Standard Special and Specific The Specific quality grade applies only to semiconductor products developed based a customer designated quality assurance program for a specific application recommended applications of a semiconductor product depend on its quality grade as indicated below Customers must check the quality g
23. he target device and the target device s internal oscillator is not used An example of the external circuit is shown in part b of Figure 3 4 Caution The IE system will be hung up if the main system clock is not supplied normally Moreover be sure to input a rectangular wave as the clock from the target The IE system does not operate if the crystal resonator is directly connected to X1 main system clock and XT1 subsystem clock Figure 3 4 External Circuits Used as System Clock Oscillator a Internal clock b External clock Target device Target device External clock X1 or XT1 X1 or XT1 X2 or XT2 X2 or XT2 r JE 20 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION 1 Clock that is already mounted on emulation board a For main system clock A crystal oscillator X1 is already mounted on the emulation board Its frequency is 10 0 MHz Figure 3 5 When Using Clock That Is Already Mounted on Emulation Board Main System Clock IE 78KO NS or 78 0 5 IE 780338 NS EM1 Target system Mounted oscillator to be used Emulation probe Resonator not used Remark clock that is supplied by the IE 780338 NS EM1 s oscillator 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 Subsyst
24. l U16214EJ1VOUM 33 CHAPTER 3 INSTALLATION 3 4 External Trigger Connect the external trigger to the IE 780338 NS EM1 s check pins EXTOUT and EXTIN as shown below See the IE 78K0 NS User s Manual 013731 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 External trigger EXTIN 34 User s Manual U16214EJ1VOUM CHAPTER 3 INSTALLATION 3 5 Jumper Settings on IE 78K0 NS When using the IE 780338 NS EM1 in combination with the IE 78K0 NS set the jumper on the IE 78K0 NS as shown below For details of these jumper positions refer to the IE 78K0 NS User s Manual U13731E Caution If the jumpers are set incorrectly the board may be damaged Table 3 3 Jumper Settings on IE 78K0 NS 2 to 3 shorted 1 to 2 shorted 1 to 2 shorted 3 to 4 shorted 1 to 2 shorted Noe Note The settings for the JP8 are as follows 1 2 shorted Internal selection 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 78KO 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 incorrect
25. ly the board may be damaged Table 3 4 Jumper Settings on IE 78K0 NS A G 780009 Board r e e 2 to 3 shorted 1 to 2 shorted 1 to 2 shorted 3 to 4 shorted 1 to 2 shorted Note Note The settings for the JP8 are as follows 1 2 shorted Internal selection of subsystem clock 3 4 shorted External selection of subsystem clock Table 3 5 Jumper Settings on IE 78K0 NS A G 78K0H Option Board JP2 User s Manual U16214EJ1VOUM 35 CHAPTER 3 INSTALLATION 3 7 Low Voltage Emulation Settings When the target system is operating on low voltage supply the same supply voltage as the target system to the TP1 terminal pin on the main board of the 78 0 5 or IE 78K0 NS A G 780009 Board this processing is not necessary 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 Figure 3 18 Main Board of 78 0 5 or IE 78K0 NS A G 780009 Board Dedicated bus interface connector HOST I F 36 User s Manual U16214EJ1VOUM CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS This chapter describes differences between the target device s sig
26. ments 2 2 Emulation Probe CN5 Pin No Emulation Probe CN5 Pin No Remarks 1 The SWEX 120SE 1 is product of TOKYO ELETECH CORPORATION 2 The numbers in the Emulation Probe column indicate the corresponding pin number on the emulation probe tip User s Manual U16214EJ1VOUM APPENDIX CAUTIONS ON DESIGNING TARGET SYSTEM Figures B 1 and B 2 show the conditions when connecting the emulation probe to the conversion connector Follow the configuration below and consider the shape of parts to be mounted on the target system when designing a system In the product names described in this appendix SWEX 120SE 1 NOPACK120SE YOPACK120SE and YQ GUIDE are products of TOKYO ELETECH CORPORATION Figure B 1 Distance Between In Circuit Emulator and Conversion Socket In circuit emulator IE 78KO NS or IE 78K0 NS A Target system Emulation board 780338 5 1 CN5 j Emulation probe SWEX 120SE 1 Conversion connector NQPACK120SE YQPACK120SE YQ GUIDE User s Manual U16214EJ1VOUM 43 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM 44 Figure B 2 Connection Conditions of Target System Emulation board IE 780338 NS EM1 Emulation probe SWEX 120SE 1 Conversion connector NQPACK120SE YQPACK120SE YQ GUIDE 33 mm User s Manual U16214EJ1VOUM MEMO User s Manual U16214EJ1VOUM 45 MEMO 46 User s Manual U16214EJ1VOUM Although NEC hastaken all pos
27. nal lines and the signal lines of the 780338 NS EM1 s target interface circuit Although the target device is CMOS circuit the IE 780338 NS EM1 s target interface circuit consists of emulation circuits such as an emulation CPU TTL and CMOS IC When the IE system is connected with the target system for debugging the IE system performs emulation so as to operate as the actual target device would operate in the target system However some minor differences exist since the operations are performed via the IE system s emulation 1 Signals input or output from the emulation CPU uPD780009A 2 Signals input or output from the emulation CPU uPD78F0338 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 uPD780009A See Figure 4 1 Equivalent Circuit of Emulation Circuit 1 e P47 to P40 e P57 to P50 P67 to P60 2 Signals input or output from the emulation CPU uPD78F0338 See Figure 4 2 Equivalent Circuit of Emulation Circuit 2 e P05 to POO e P17 to P10 e P25 to P20 e P34 to P30 e P73 to P70 e P87 to P80 e P97 to P90 e P120 ANI8 ANI9 AVnEro AVsso e 523 to SO e COMS to COMO 3 Other signals See Figure 4 3 Equivalent Circuit of Emulation Circuit e Vpp1 e Vss1 Vsso e X2 XT2 e VpP CAPH Vice Vico e RESET e X1 e
28. or see pinouts shown in Figure 3 11 Figure 3 11 Crystal Oscillator When Using Main System Clock or User Mounted Clock NC Vcc GND CLOCK OUT Steps 1 Prepare the IE 780338 NS EM1 2 Remove the crystal oscillator that is mounted in the IE 780338 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 N Socket Crystal Oscillator Pin Name Socket Pin No NC Voc 1 14 2 13 5 10 6 9 GND CLOCKOUT 7 8 4 Connect the IE 780338 NS EM1 to the IE 78KO NS or IE 78KONS A 26 User s Manual U16214EJ1V0UM CHAPTER 3 INSTALLATION The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device Voc IE 78KO NS or IE 78K0 NS A side Emulation device Crystal oscillator O X1 LVcc A Y 5 120 VHC157 i 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 Users Manual U16214EJ1VOUM 27 CHAPTER
29. rade of each semiconductor product before using it in a particular application Standard Computers office equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots Special Transportation equipment automobiles trains ships etc traffic control systems anti disaster systems anti crime systems safety equipment and medical equipment not specifically designed for life support Specific Aircraft aerospace equipment submersible repeaters nuclear reactor control systems life support systems and medical equipment for life support etc The quality grade of NEC semiconductor products is Standard unless otherwise expressly specified in NEC s data sheets or data books etc If customers wish to use NEC semiconductor products in applications not intended by NEC they must contact an NEC sales representative in advance to determine NEC s willingness to support a given application Note 1 NEC as used in this statement means NEC Corporation and also includes its majority owned subsidiaries 2 NEC semiconductor products means any semiconductor product developed or manufactured by or for NEC as defined above 8 00 4 User s Manual U16214EJ1VOUM 3 Regional Information Some information contained in this document may vary from country to country Before using any NEC product in
30. s on Parts Board When Using Subsystem Clock or User Mounted Clock 29 3 14 Crystal Oscillator When Using Subsystem Clock or User Mounted Clock 31 3 15 Pin Alignment of Crystal Oscillator and Socket ssssssssseseeeeneeeeneen eene nennen nennen 31 3 16 ECD MOPT SOCKeETIG2 decr dette mt e com e oto ceteri ite tota 33 3 17 External Trigger Input Position an ect e Ene Me EO e N eR YER 34 3 18 Main Board of IE 78KO NS or IE 78K0 NS A G 780009 36 4 1 Equivalent Circuit of Emulation Circuit 1 nnne nennen nenne nenne nennen nennen 38 4 2 Equivalent Circuit of Emulation Circuit 2 nennen nennen nenne nnne nennen nnne 38 4 3 Equivalent Circuit of Emulation Circuit 3 sess nennen nnn entren nennen enne 39 B 1 Distance Between In Circuit Emulator and Conversion 43 B 2 Connection Conditions of Target System 44 8 Users Manual U16214EJ1VOUM LIST OF TABLES Table No Title Page 1 1 Correspondence Between Emulation Probe and Conversion 12 1 2 Basic Specifications 5 tre ede eroe e cU Rue ete Pe da ele veg voca didi dee De ua Ep odds 14 3 1 Main System Clock Settihigs 5 3 3 B B RA RR Rein etin ett 23
31. sible steps essage to ensure that the documentation supplied to our customers is complete bug free and up to date we readily accept that From errors may occur Despite all the care and precautions we ve taken you may Name encounter problems in the documentation Please complete this form whenever Company you d like to report errors or suggest improvements to us Tel FAX Address Thank you for your kind support North America Hong Kong Philippines Oceania Taiwan NEC Electronics Inc NEC Electronics Hong Kong Ltd NEC Electronics Taiwan Ltd Corporate Communications Dept Fax 852 2886 9022 9044 Fax 886 2 2719 5951 Fax 1 800 729 9288 1 408 588 6130 Europe Korea Asian Nations except Philippines NEC Electronics Europe GmbH NEC Electronics Hong Kong Ltd NEC Electronics Singapore Pte Ltd Seoul Branch Fax 65 250 3583 ication Dept Market Communication Dep Fax 482 2 528 4411 Fax 49 211 6503 274 South America P R China Japan NEC do Brasil S A NEC Electronics Shanghai Ltd NEC Semiconductor Technical Hotline Fax 455 11 6462 6829 Fax 86 21 6841 1137 Fax 81 44 435 9608 would like to report the following error make the following suggestion Document title Document number Page number If possible please fax the referenced page or drawing Document Rating Excellent Acceptable Clarity m Technical Accuracy Organization d
32. the text Caution Information requiring particular attention Remark Supplementary information Related Documents The related documents users manuals indicated in this publication may include preliminary versions However preliminary versions are not marked as such 78 0 5 In Circuit Emulator U13731E IE 78K0 NS A In Circuit Emulator E nE IE 780338 NS EM1 Emulation Board 00 manual ID78K Series Integrated Debugger Ver 2 30 or Later Operation Windows U15185E Based 780318 780328 780338 Subseries UMTME E Caution documents listed above are subject to change without notice Be sure to use the latest documents when designing 6 User s Manual U16214EJ1VOUM CONTENTS CHAPTER 1 GENERAL ea bu sent 10 1 1 EY EUM np cu mE 11 1 2 Hardware Configuration nnn 13 1 3 Basic Specification S s cosu M aS 14 CHAPTER 2 PART NAMES eere annata hae atin a cee a E aa 15 2 1 Parts Of Main Unit 16 CHAPTER 3 INSTALLA HON 5 tees cen at dates ee 17 3 1 eelan reto Lol EEIT ETT D
33. your application please contact the NEC office in your country to obtain a list of authorized representatives and distributors They will verify Device availability Ordering information Product release schedule Availability of related technical literature Development environment specifications for example specifications for third party tools and components host computers power plugs AC supply voltages and so forth Network requirements In addition trademarks registered trademarks export restrictions and other legal issues may also vary from country to country NEC Electronics Inc U S Santa Clara California Tel 408 588 6000 800 366 9782 Fax 408 588 6130 800 729 9288 NEC do Brasil S A Electron Devices Division Guarulhos SP Brasil Tel 11 6462 6810 Fax 11 6462 6829 NEC Electronics Europe GmbH Duesseldorf Germany Tel 0211 65 03 01 Fax 0211 65 03 327 Sucursal en Espana Madrid Spain Tel 091 504 27 87 Fax 091 504 28 60 Succursale Francaise V lizy Villacoublay France Tel 01 30 67 58 00 Fax 01 30 67 58 99 Filiale Italiana Milano Italy Tel 02 66 75 41 Fax 02 66 75 42 99 Branch The Netherlands Eindhoven The Netherlands Tel 040 244 58 45 Fax 040 244 45 80 Branch Sweden Taeby Sweden Tel 08 63 80 820 Fax 08 63 80 388 United Kingdom Branch Milton Keynes UK Tel 01908 691 133 Fax 01908 670 290 User s Manual U16214EJ1VOUM

Download Pdf Manuals

image

Related Search

Related Contents

Yazoo/Kees PTO-KM 23 User's Manual  FY-9DCT17X の取付工事説明書  AI Suite 3 Manual de usuario FM2+ Series  Samsung GT-C3110 manual de utilizador  Bedienungsanleitung  1 Getting started  USER MANUAL - obserwuj.pl    E-M5DVR-3 - EAGLE Technology  EMAS en Belgique  

Copyright © All rights reserved.
Failed to retrieve file