User’s Manual IE-780018-NS-EM1 Emulation Board Target device µPD780018AY Subseries Document No. U13303EJ1V1UM00 (1st edition) Date Published May 1999 N CP(K) © Printed in Japan 1998 [MEMO] 2 User’s Manual U13303EJ1V1UM00 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 subject to change without notice. Before using this document, please confirm that this is the latest version. • No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which may appear in this document. • NEC Corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. No license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Corporation or of 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 the customer's equipment shall be done under the full responsibility of the customer. NEC Corporation assumes no responsibility for any losses incurred by the customer or third parties arising from the use of these circuits, software, and information. M7A 98. 8 User’s Manual U13303EJ1V1UM00 3 Regional Information Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease 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.) NEC Electronics (Germany) GmbH NEC Electronics Hong Kong Ltd. Santa Clara, California Tel: 408-588-6000 800-366-9782 Fax: 408-588-6130 800-729-9288 Benelux Office Eindhoven, The Netherlands Tel: 040-2445845 Fax: 040-2444580 Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044 NEC Electronics Hong Kong Ltd. Velizy-Villacoublay, France Tel: 01-30-67 58 00 Fax: 01-30-67 58 99 Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411 NEC Electronics (France) S.A. NEC Electronics Singapore Pte. Ltd. Spain Office Madrid, Spain Tel: 91-504-2787 Fax: 91-504-2860 United Square, Singapore 1130 Tel: 65-253-8311 Fax: 65-250-3583 NEC Electronics (France) S.A. NEC Electronics (Germany) GmbH Duesseldorf, Germany Tel: 0211-65 03 02 Fax: 0211-65 03 490 NEC Electronics (UK) Ltd. Milton Keynes, UK Tel: 01908-691-133 Fax: 01908-670-290 NEC Electronics Taiwan Ltd. NEC Electronics Italiana s.r.l. NEC Electronics (Germany) GmbH Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99 Scandinavia Office Taeby, Sweden Tel: 08-63 80 820 Fax: 08-63 80 388 Taipei, Taiwan Tel: 02-2719-2377 Fax: 02-2719-5951 NEC do Brasil S.A. Electron Devices Division Rodovia Presidente Dutra, Km 214 07210-902-Guarulhos-SP Brasil Tel: 55-11-6465-6810 Fax: 55-11-6465-6829 J99.1 4 User’s Manual U13303EJ1V1UM00 INTRODUCTION Product Overview The IE-780018-NS-EM1 is designed to use with the IE-78K0-NS to debug the following target devices that belong to the 78K/0 Series of 8-bit single-chip microcontrollers. • µPD780018AY Subseries : µPD780016AY, 780018AY, 78P0018AY Target Readers This manual is intended for engineers who will use the IE-780018-NS-EM1 with the IE78K0-NS to perform system debugging. Engineers who use this manual are expected to be thoroughly familiar with the target device’s functions and use methods and to be knowledgeable about debugging. Organization When using the IE-780018-NS-EM1, refer to not only this manual (supplied with the IE780018-NS-EM1) but also the manual that is supplied with the IE-78K0-NS. IE-78K0-NS IE-780018-NS-EM1 User's Manual User's Manual • Basic specifications • General • System configuration • Parts names • External interface functions • Installation • Differences between target devices and target interface circuits Purpose This manual’s purpose is to explain various debugging functions that can be performed when using the IE-780018-NS-EM1. User’s Manual U13303EJ1V1UM00 5 Terminology The meanings of certain terms used in this manual are listed below. Term Meaning 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 CPU This is the CPU block in the emulator that is used to execute user-generated programs. Target device This is a device (a µPD780018AY Subseries chip) 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 only the hardware. IE system This refers to the combination of the IE-78K0-NS and the IE-780018-NS-EM1. Conventions Data significance weight: 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 indicated in this publication may include preliminary versions. However, preliminary versions are not marked as such. Document Number Document Name English IE-78K0-NS To be prepared U13731J IE-780018-NS-EM1 This manual U13303J ID78K0-NS Integrated Debugger Reference Windows™ Based U12900E U12900J µPD780018AY Subseries To be prepared To be prepared Caution The documents listed above are subject to change without notice. Be sure to use the latest documents when designing. 6 Japanese User’s Manual U13303EJ1V1UM00 CONTENTS CHAPTER 1 GENERAL ....................................................................................................................... 11 1.1 System Configuration ............................................................................................................................12 1.2 Hardware Configuration .........................................................................................................................14 1.3 Basic Specifications...............................................................................................................................15 CHAPTER 2 2.1 PART NAMES ................................................................................................................. 17 Parts of Main Unit ...................................................................................................................................18 CHAPTER 3 INSTALLATION .............................................................................................................. 19 3.1 Connection ..............................................................................................................................................20 3.2 Clock Settings.........................................................................................................................................21 3.2.1 Overview of clock settings ..........................................................................................................21 3.2.2 Main system clock settings.........................................................................................................23 3.2.3 Subsystem clock settings ...........................................................................................................28 3.3 External Trigger ......................................................................................................................................33 3.4 Jumper Settings......................................................................................................................................34 3.4.1 Jumper settings on IE-78K0-NS .................................................................................................34 3.4.2 Jumper settings on IE-780018-NS-EM1 .....................................................................................34 CHAPTER 4 DIFFERENCES AMONG TARGET DEVICES AND TARGET INTERFACE CIRCUITS ......................................................................... 35 APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE............................................................ 39 User’s Manual U13303EJ1V1UM00 7 LIST OF FIGURES Figure No. Title Page 1-1. System Configuration .....................................................................................................................................12 1-2. Basic Hardware Configuration........................................................................................................................14 2-1. IE-780018-NS-EM1 Part Names ....................................................................................................................18 3-1. Connection of Emulation Probe......................................................................................................................20 3-2. External Circuits Used as System Clock Oscillation Circuit ...........................................................................21 3-3. When Using Clock That Is Already Mounted on Emulation Board .................................................................22 3-4. When Using User-mounted Clock ..................................................................................................................22 3-5. When Using an External Clock.......................................................................................................................23 3-6. Connections on Parts Board (When Using Main System Clock or User-Mounted Clock)..............................24 3-7. Crystal Oscillator (When Using Main System Clock or User-mounted Clock)................................................26 3-8. Pin Alignment of Crystal Oscillator and Socket ..............................................................................................26 3-9. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock).................................29 3-10. Crystal Oscillator (When Using Subsystem Clock or User-mounted Clock)...................................................31 3-11. External Trigger Input Position .......................................................................................................................33 4-1. Equivalent Circuit 1 from Emulation Circuit ....................................................................................................36 4-2. Equivalent Circuit 2 from Emulation Circuit ....................................................................................................37 8 User’s Manual U13303EJ1V1UM00 LIST OF TABLES Table No. Title Page 1-1. Basic Specifications .......................................................................................................................................15 3-1. Main System Clock Settings...........................................................................................................................23 3-2. Subsystem Clock Settings..............................................................................................................................28 3-3. Jumper Settings on IE-78K0-NS ....................................................................................................................34 3-4. Jumper Settings on IE-780018-NS-EM1 ........................................................................................................34 A-1. NP-100GF Pin Assignments...........................................................................................................................39 User’s Manual U13303EJ1V1UM00 9 [MEMO] 10 User’s Manual U13303EJ1V1UM00 CHAPTER 1 GENERAL The IE-780018-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-780018-NS-EM1’s system configuration and basic specifications. • Target device • µPD780018AY Subseries User’s Manual U13303EJ1V1UM00 11 CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the IE-780018-NS-EM1’s system configuration. Figure 1-1. System Configuration Device file Note 1 (sold separately) Debugger ID78K0-NS (sold separately) Control software Host machine PC-9800 Series or IBM PC/AT™ compatibles Interface board IE-70000-98-IF-C (sold separately) Interface board IE-70000-PC-IF-C (sold separately) Interface board IE-70000-PCI-IF (sold separately) Interface card or Interface cable (NS IF Cable) IE-78K0-NS (sold separately) Interface cable In-circuit emulator NS CARD Cable MC CARD Cable IE-70000-CD-IF-A (sold separately) FG Cable IE-780018-NS-EM1 (This product) AC adapter IE-70000-MC-PS-B (sold separately) Emulation probe Note 2 (sold separately) Conversion socket/conversion adapter Note 3 (sold separately) 12 User’s Manual U13303EJ1V1UM00 CHAPTER 1 GENERAL Notes 1. The device file is as follows, in accordance with the subseries. µ SxxxxDF780018: µ PD780018AY Subseries 2. The emulation probe is as follows, in accordance with the package. NP-100GF: 100-pin plastic QFP (GF-3BA type) The NP-100GF is a product of Naito Densei Machidaseisakusho Co., Ltd. For further information, contact Naito Densei Machidaseisakusho Co., Ltd. (TEL: +81-44-822-3813) 3. The conversion socket is as follows, in accordance with the package. EV-9200GF-100: 100-pin plastic QFP (GF-3BA type) User’s Manual U13303EJ1V1UM00 13 CHAPTER 1 GENERAL 1.2 Hardware Configuration Figure 1-2 shows the IE-780018-NS-EM1’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration Dedicated bus interface IE system IE-78K0-NS Host machine Interface board (sold separately) 78K0 main board (G-780009 BOARD) Interface card (sold separately) 14 User’s Manual U13303EJ1V1UM00 IE-780018-NS-EM1 Emulation board (This product) Emulation probe (sold separately) CHAPTER 1 GENERAL 1.3 Basic Specifications The IE-780018-NS-EM1’s basic specifications are listed in Table 1-1. Table 1-1. Basic Specifications Parameter Description Target device µPD780018AY Subseries System clock Main system clock: 5 MHz Subsystem clock: 32.768 kHz Clock supply External: Input via an emulation probe from the target system Internal: Mounted on emulation board, or mounted on the board by the user Low-voltage support 2.7 to 5.5 V (same as target device) User’s Manual U13303EJ1V1UM00 15 [MEMO] 16 User’s Manual U13303EJ1V1UM00 CHAPTER 2 PART NAMES This chapter introduces the parts of the IE-780018-NS-EM1 main unit. The packing box contains the emulation board (IE-780018-NS-EM1). If there are any missing or damaged items, please contact an NEC sales representative. Fill out and return the guarantee document that comes with the main unit. User’s Manual U13303EJ1V1UM00 17 CHAPTER 2 PART NAMES 2.1 Parts of Main Unit Figure 2-1. IE-780018-NS-EM1 Part Names Jumper IE-780018-NS-EM1 JP1 IC6 EXTOUT EXTIN External trigger µ PD78P054 IC5 CN5 100GF µ PD78P0018AY X1 X2 SUB CLOCK MAIN CLOCK Probe connector CN5 100GF USER VDD LED1 18 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-780018-NS-EM1 to the IE-78K0-NS, emulation probe, etc. Mode setting methods are also described. User’s Manual U13303EJ1V1UM00 19 CHAPTER 3 INSTALLATION 3.1 Connection (1) Connection with IE-78K0-NS main unit See the IE-78K0-NS User’s Manual for a description of how to connect the IE-780018-NS-EM1 to the IE-78K0NS. (2) Connection with emulation probe Connect the emulation probe NP-100GF to CN5. See the IE-78K0-NS User’s Manual for a description of how to connect an emulation probe to the IE-780018NS-EM1. Caution Use of incorrect connection methods may damage the IE system. Be sure to read the emulation probe’s user’s manual for a detailed description of the correct connection method. Figure 3-1. Connection of Emulation Probe Emulation probe (sold separately) CN5 100GF IE-780018-NS-EM1 Main board (IE-78K0-NS) 20 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION 3.2 Clock Settings 3.2.1 Overview of clock settings Select from (1) to (3) below as the main system clock and subsystem clock to be used during debugging. (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”. An internal clock connects the target device to an oscillator and uses the target device’s internal oscillation circuit. An example of an external circuit is shown in part (a) of Figure 3-2. During emulation, the oscillator that is mounted on the target system is not used. Instead, it uses the clock that is mounted on the emulation board which is installed for the IE-78K0-NS. If the target system includes an external clock, select “(3) External clock”. An external clock supplies a clock signal from outside of the target device and does not use the target device’s internal oscillation circuit. An example of an external circuit is shown in part (b) of Figure 3-2. Figure 3-2. External Circuits Used as System Clock Oscillation Circuit (a) Internal clock (b) External clock Target device X1 or XT1 Target device External clock X2 or XT2 User’s Manual U13303EJ1V1UM00 X1 or XT1 X2 or XT2 21 CHAPTER 3 INSTALLATION (1) Clock that is already mounted on emulation board A crystal resonator is already mounted on the emulation board. Its frequency is 5 MHz. Figure 3-3. When Using Clock That Is Already Mounted on Emulation Board IE-78K0-NS Target system IE-780018-NS-EM1 Mounted oscillator (to be used) Emulation probe Oscillator (not used) Remark The clock that is supplied by the IE-780018-NS-EM1’s oscillator (encircled in the figure) is used. (2) Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE-780018-NS-EM1. First mount the oscillator on the parts board, then attach the parts board to the IE-780018-NS-EM1. This method is useful when using a different frequency from that of the pre-mounted clock. Figure 3-4. When Using User-mounted Clock IE-78K0-NS IE-780018-NS-EM1 Parts board Target system Emulation probe Oscillator (to be used) Oscillator (not used) Remark The clock that is supplied by the IE-780018-NS-EM1’s oscillator (encircled in the figure) is used. 22 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION (3) External clock An external clock connected to the target system can be used via an emulation probe. Figure 3-5. When Using an External Clock IE-78K0-NS IE-780018-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 When using clock that is already mounted on emulation board When using clock mounted by user CPU Clock Source Parts board (X1) Selection (ID) 5 MHz Oscillator Internal Other than 5 MHz Includes oscillation circuit When using external clock Caution IE-780018-NS-EM1 Oscillator (not used) External When using an external clock, open the configuration dialog when starting the integrated debugger (ID78K0-NS) and select “External” in the area (Clock) for selecting the CPU’s clock source (this selects the user’s clock). Remark The IE-780018-NS-EM1’s factory settings are those listed above under “when using clock that is already mounted on emulation board”. (1) When using clock that is already mounted on emulation board When the IE-780018-NS-EM1 is shipped, a 5-MHz crystal resonator is already mounted in the IE-780018-NSEM1’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 and select “Internal” in the area (Clock) for selecting the CPU’s clock source (this selects the emulator’s internal clock). User’s Manual U13303EJ1V1UM00 23 CHAPTER 3 INSTALLATION (2) When using clock mounted by user The settings described under either (a) or (b) are required, depending on the type of clock to be used. When starting the integrated debugger (ID78K0-NS), open the configuration dialog and select “Internal” in the area (Clock) for selecting the CPU’s clock source (this selects the emulator’s internal clock). (a) When using a ceramic oscillator or crystal resonator • Items to be prepared • Parts board (supplied with IE-78K0-NS) • Capacitor CA • Ceramic oscillator or crystal resonator • Capacitor CB • Resistor Rx • Solder kit <Steps> <1> Solder onto the supplied parts board (as shown below) the target ceramic oscillator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB (all with suitable oscillation frequency). Figure 3-6. Connections on Parts Board (When Using Main System Clock or User-Mounted Clock) Parts board (X1) 1 14 2 13 3 12 4 11 5 10 6 9 7 8 Pin No. Connection 2-13 Capacitor CB 3-12 Capacitor CA 4-11 Ceramic oscillator or crystal resonator 5-10 Resistor Rx 8-9 Short Circuit diagram 1 MΩ HCU04 HCU04 5 Rx 10 4 3 CA 12 Remark 24 98 CLOCK OUT 11 13 CB 2 The sections enclosed in broken lines indicate parts that are attached to the parts board. User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION <2> Prepare the IE-780018-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-780018-NS-EM1’s socket (the socket marked as “X1”). <4> Connect the parts board (from <1> above) to the socket (X1) from which the crystal oscillator was removed. Check the pin 1 mark to make sure the board is mounted in the correct direction. <5> Make sure that the parts board mounted in the X1 socket on the emulation board is wired as shown in Figure 3-6 above. <6> Install the IE-780018-NS-EM1 in the IE-78K0-NS. The above steps configure a circuit and enable clock output to be supplied from the mounted oscillator to the emulation device. IE-78K0-NS side (Emulation device) 1 MΩ 6 HCU04 HCU04 9 X1 8 5 A B Rx 10 X 4 LVCC 11 Y VHC157 HKS120 3 CA 12 Remark 13 CB 2 X1 The sections enclosed in broken lines indicate parts that are attached to the parts board. User’s Manual U13303EJ1V1UM00 25 CHAPTER 3 INSTALLATION (b) When using a crystal oscillator • Items to be prepared • Crystal oscillator (see pinouts shown in Figure 3-7) Figure 3-7. Crystal Oscillator (When Using Main System Clock or User-mounted Clock) VCC NC GND CLOCK OUT <Steps> <1> Prepare the IE-780018-NS-EM1. <2> Remove the crystal oscillator that is mounted in the IE-780018-NS-EM1’s socket (the socket marked as “X1”). <3> Connect the parts board (from <2> above) to the socket (X1) from which the crystal oscillator was removed. Insert the crystal oscillator into the socket so as to align the pins as shown in the figure below. Figure 3-8. Pin Alignment of Crystal Oscillator and Socket Crystal oscillator Crystal Oscillator Pin Name Socket NC NC GND VCC CLOCK OUT 1 14 2 13 3 12 4 11 5 10 6 9 7 8 1 GND 7 CLOCK OUT 8 VCC 14 <4> Install the IE-780018-NS-EM1 in the IE-78K0-NS. 26 Socket Pin No. User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION The above steps configure a circuit and enable clock output to be supplied from the mounted oscillator to the emulation device. VCC IE-78K0-NS side (Emulation device) Crystal oscillator X1 LVCC HKS120 A Y B VHC157 (3) When using an external clock No hardware settings are required for this situation. When starting the integrated debugger (ID78K0-NS), open the configuration dialog and select “External” in the area (Clock) for selecting the CPU’s clock source (this selects the user’s clock). User’s Manual U13303EJ1V1UM00 27 CHAPTER 3 INSTALLATION 3.2.3 Subsystem clock settings Table 3-2. Subsystem Clock Settings Subsystem Clock Frequency to be Used IE-780018-NS-EM1 IE-78K0-NS Parts board (X2) When using clock that is already mounted on emulation board 32.768 kHz Short 6 and 8 When using user-mounted clock Other than 32.768 kHz Includes oscillator When using external clock Caution Not used JP8 Short 1 and 2 Short 3 and 4 Jumper JP8, which is used to select the board’s clock or an external clock, should be set only after turning off the IE-78K0-NS’s power. Remark When the IE-780018-NS-EM1 is shipped, the settings for “when using clock that is already mounted on emulation board” are pre-set. (1) When using clock that is already mounted on emulation board When the IE-780018-NS-EM1 is shipped, a 32.768-kHz crystal oscillator is already mounted in the IE-780018NS-EM1. Pins 6 and 8 on the parts board (X2) are shorted. Short pins 1 and 2 on the IE-78K0-NS’s jumper (JP8). There is no need to make any other settings via the integrated debugger (ID78K0-NS). (2) When using the user-mounted clock The settings described under either (a) or (b) are required, depending on the type of clock to be used. Short pins 1 and 2 on the IE-78K0-NS’s jumper (JP8). There is no need to make any other settings via the integrated debugger (ID78K0-NS). (a) When using a ceramic oscillator or crystal resonator • Items to be prepared • Parts board (supplied with IE-78K0-NS) • Capacitor CA • Ceramic oscillator or crystal resonator • Capacitor CB • Resistor Rx • Solder kit <Steps> <1> Solder onto the supplied parts board (as shown below) the target ceramic oscillator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB (all with suitable oscillation frequency). 28 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION Figure 3-9. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) Parts board (X2) 1 14 Pin No. Connection 2 13 2-13 Capacitor CB 3 12 3-12 Capacitor CA 4 11 4-11 Ceramic oscillator or crystal resonator 5 10 5-10 Resistor Rx 6 9 7 8 8-9 Short Circuit diagram 10 MΩ HCU04 HCU04 5 Rx 10 4 3 CA 12 Remark 98 CLOCK OUT 11 13 CB 2 The sections enclosed in broken lines indicate parts that are attached to the parts board. User’s Manual U13303EJ1V1UM00 29 CHAPTER 3 INSTALLATION <2> Prepare the IE-780018-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-780018-NS-EM1’s socket (the socket marked as “X2”). <4> Connect the parts board (from <1> above) to the socket (X2) from which the crystal oscillator was removed (see <3> above). Check the pin 1 mark to make sure the board is mounted in the correct direction. <5> Install the IE-780018-NS-EM1 in the IE-78K0-NS. The above steps configure a circuit and enable clock output to be supplied from the mounted oscillator to the emulation device. IE-78K0-NS side (Emulation probe) 10 MΩ HCU04 1 3 5 HCU04 JP8 98 5 Rx 10 4 3 CA 12 Target system 2 4 6 11 13 CB 2 Remarks 1. The section enclosed in broken lines indicates parts that are attached to the parts board. 2. Jumper JP8 is in the IE-78K0-NS. 30 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION (b) When using a crystal oscillator • Items to be prepared • Crystal oscillator (see pinouts shown in Figure 3-10) Figure 3-10. Crystal Oscillator (When Using Subsystem Clock or User-mounted Clock) VCC NC GND CLOCK OUT <Steps> <1> Prepare the IE-780018-NS-EM1. <2> Remove the crystal oscillator that is mounted in the IE-780018-NS-EM1’s socket (the socket marked as “X2”). <3> Connect the parts board (from <2> above) to the socket (X2) from which the crystal oscillator was removed. Insert the crystal oscillator into the socket so as to align the pins as shown below. Crystal oscillator NC GND Socket VCC CLOCK OUT Crystal Oscillator Pin Name Socket Pin No. NC 1 GND 7 1 14 2 13 3 12 CLOCK OUT 8 4 11 VCC 14 5 10 6 9 7 8 <4> Install the IE-780018-NS-EM1 in the IE-78K0-NS. User’s Manual U13303EJ1V1UM00 31 CHAPTER 3 INSTALLATION The above steps configure a circuit and enable clock output to be supplied from the mounted oscillator to the emulation device. IE-78K0-NS side (Emulation device) +5V 14 Parts board 1 3 5 Crystal oscillator 8 JP8 Target system 2 4 6 7 Remarks 1. The section enclosed in broken lines indicates parts that are attached to the parts board. 2. Jumper JP8 is in the IE-78K0-NS. (3) When using an external clock Short pins 3 and 4 on the IE-78K0-NS’s jumper (JP8). There is no need to make any settings via the integrated debugger (ID78K0-NS). 32 User’s Manual U13303EJ1V1UM00 CHAPTER 3 INSTALLATION 3.3 External Trigger To set up an external trigger, connect the IE-780018-NS-EM1’s check pin, EXTOUT, and EXTIN as shown below. See the in-circuit emulator (IE-78K0-NS) User’s Manual and integrated debugger (ID78K0-NS) User’s Manual for description of related use methods and pin characteristics. Figure 3-11. External Trigger Input Position JP1 CN5 100GF EXTOUT EXTIN External trigger User’s Manual U13303EJ1V1UM00 33 CHAPTER 3 INSTALLATION 3.4 Jumper Settings 3.4.1 Jumper settings on IE-78K0-NS When using the IE-780018-NS-EM1, set the jumpers on the IE-78K0-NS as shown below. For details of these jumper settings, see the IE-78K0-NS’s User’s Manual (U13731E). Table 3-3. Jumper Settings on IE-78K0-NS Short Caution JP2 JP3 JP4 JP6 JP7 JP8 2-3 1-2 1-2 3-4 5-6 1-2 For the setting of JP8, see Table 3-2 Subsystem Clock Settings. 3.4.2 Jumper settings on IE-780018-NS-EM1 Set the jumper on the IE-780018-NS-EM1 as shown below. Table 3-4. Jumper Settings on IE-780018-NS-EM1 JP1 Short 34 None User’s Manual U13303EJ1V1UM00 CHAPTER 4 DIFFERENCES AMONG TARGET DEVICES AND TARGET INTERFACE CIRCUITS This chapter describes differences between the target device’s signal lines and the signal lines of the IE780018-NS-EM1’s target interface circuit. Although the target device is a CMOS circuit, the IE-780018-NS-EM1’s target interface circuit consists of an emulation chip, TTL, CMOS-IC, and other components. When connected the IE system with the target system for debugging, the IE system performs emulation so as to operate as the actual target device would operate on the target system. However, some minor differences exist since the operations are performed via the IE system’s emulation. (1) Signals input to or output from the µPD780009 emulation CPU (2) Signals input to or output from the µPD78P0018AY emulation CPU (3) Signals input to or output from the µPD78P054 emulation CPU (4) Other signals The IE system’s circuit is used as follows for signals listed in (1) to (4) above. (1) Signals input to or output from the µPD780009 emulation CPU • Signals related to port 4 • Signals related to port 5 • Signals related to port 6 (2) Signals input to or output from the µPD78P0018AY emulation CPU • Signals related to port 8 • Signals related to port 9 • Signals related to port 10 • Signals related to port 11 • Signals related to port 15 (3) Signals input to or output from the emulation CPU and the µPD78P054 • Signals related to port 0 • Signals related to port 2 • Signals related to port 3 • Signals related to port 1 • AVDD, AVREF, AVSS (4) Other signals • VDD0, VDD1, VSS0, VSS1, X1, X2, XT1, XT2, RESET, IC User’s Manual U13303EJ1V1UM00 35 CHAPTER 4 DIFFERENCES AMONG TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-1. Equivalent Circuit 1 from Emulation Circuit Probe side IE-78K0-NS side 100 Ω P40 to P47 1 MΩ 100 Ω µPD780009 Emulation CPU P50 to P57 1 MΩ 100 Ω P60 to P67 1 MΩ P80 to P87 P90 to P95 P100 to P103 P110 to P117 P150 to P156 µPD78P0018AY Emulation CPU 100 Ω P00 to P06 1 MΩ 100 Ω P20 to P27 1 MΩ 100 Ω P30 to P37 1 MΩ P10 to P17 AVDD, AVREF, AVSS 36 User’s Manual U13303EJ1V1UM00 µPD78P054 Emulation CPU CHAPTER 4 DIFFERENCES AMONG TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-2. Equivalent Circuit 2 from Emulation Circuit Probe side IE-78K0-NS side LVCC 4.7 kΩ LVCC VCC HC4066 100 Ω µ PD780009 RESET HD151015 LVCC LVCC ISS123 VCC 100 Ω µ PD780009 X1 1 MΩ ISS123 HD151015 LVCC LVCC ISS123 VCC 100 Ω µ PD780009 XT1 1 MΩ ISS123 HD151015 VCC 3.3 kΩ 1.8 kΩ 100 Ω – + VDD0 VDD1 + 22 µ F VCC 1 MΩ Power detection circuit µ PD339 VSS0, VSS1 XT2, X2 Leave open IC User’s Manual U13303EJ1V1UM00 37 [MEMO] 38 User’s Manual U13303EJ1V1UM00 APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-100GF Pin Assignments (1/2) Emulation Probe CN5 Pin No. Emulation Probe CN5 Pin No. 1 116 26 86 2 115 27 89 3 87 28 90 4 88 29 118 5 83 30 117 6 84 31 114 7 77 32 113 8 78 33 108 9 73 34 107 10 74 35 104 11 69 36 103 12 70 37 100 13 63 38 99 14 64 39 94 15 61 40 93 16 62 41 30 17 65 42 29 18 66 43 24 19 71 44 23 20 72 45 20 21 75 46 19 22 76 47 16 23 79 48 15 24 80 49 10 25 85 50 9 Remarks 1. The NP-100GF is a product of Naito Densei Machidaseisakusho Co., Ltd. 2. The numbers in the “Emulation probe” column indicate the corresponding pin number on the emulation probe tip. User’s Manual U13303EJ1V1UM00 39 APPENDIX EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-100GF Pin Assignments (2/2) Emulation Probe CN5 Pin No. Emulation Probe CN5 Pin No. 51 6 76 36 52 5 77 31 53 33 78 32 54 34 79 4 55 37 80 3 56 38 81 8 57 43 82 7 58 44 83 14 59 47 84 13 60 48 85 18 61 51 86 17 62 52 87 22 63 57 88 21 64 58 89 28 65 59 90 27 66 60 91 92 67 55 92 91 68 56 93 98 69 49 94 97 70 50 95 102 71 45 96 101 72 46 97 106 73 41 98 105 74 42 99 112 75 35 100 111 Remarks 1. The NP-100GF is a product of Naito Densei Machidaseisakusho Co., Ltd. 2. The numbers in the “Emulation probe” column indicate the corresponding pin number on the emulation probe tip. 40 User’s Manual U13303EJ1V1UM00 [MEMO] User’s Manual U13303EJ1V1UM00 41 [MEMO] 42 User’s Manual U13303EJ1V1UM00 Facsimile Message From: Name Company Tel. Although NEC has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that errors may occur. Despite all the care and precautions we've taken, you may encounter problems in the documentation. Please complete this form whenever you'd like to report errors or suggest improvements to us. FAX Address Thank you for your kind support. North America Hong Kong, Philippines, Oceania NEC Electronics Inc. NEC Electronics Hong Kong Ltd. Corporate Communications Dept. Fax: +852-2886-9022/9044 Fax: 1-800-729-9288 1-408-588-6130 Korea Europe NEC Electronics Hong Kong Ltd. NEC Electronics (Europe) GmbH Seoul Branch Technical Documentation Dept. Fax: 02-528-4411 Fax: +49-211-6503-274 South America NEC do Brasil S.A. Fax: +55-11-6465-6829 Asian Nations except Philippines NEC Electronics Singapore Pte. Ltd. Fax: +65-250-3583 Japan NEC Semiconductor Technical Hotline Fax: 044-548-7900 Taiwan NEC Electronics Taiwan Ltd. Fax: 02-2719-5951 I 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 Good Acceptable Poor Clarity Technical Accuracy Organization CS 99.1