Advertisement

Quick Links

User's Manual
IE-789306-NS-EM1
Emulation Board
Target Devices
µ µ µ µ PD789306 Subseries
µ µ µ µ PD789316 Subseries
Document No. U16115EJ2V0UM00 (2nd edition)
Date Published September 2002 N CP(K)
2002
©
1991
Printed in Japan

Advertisement

Table of Contents
loading

Summary of Contents for NEC IE-789306-NS-EM1

  • Page 1 User’s Manual IE-789306-NS-EM1 Emulation Board Target Devices µ µ µ µ PD789306 Subseries µ µ µ µ PD789316 Subseries Document No. U16115EJ2V0UM00 (2nd edition) Date Published September 2002 N CP(K) 2002 © 1991 Printed in Japan...
  • Page 2 [MEMO] User’s Manual U16115EJ2V0UM...
  • Page 3 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 under any patents, copyrights or other intellectual property rights of NEC or others.
  • Page 4 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: •...
  • Page 5 µ PD789314, 789316, 78F9316 Target Readers This manual is intended for engineers who will use the IE-789306-NS-EM1 with the IE- 78K0S-NS or IE-78K0S-NS-A 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.
  • Page 6 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-78K0S-NS or IE-78K0S-NS-A and the IE-789306-NS-EM1. Conventions Data significance: Higher digits on the left and lower digits on the right...
  • Page 7: Table Of Contents

    CONTENTS CHAPTER 1 GENERAL...........................10 System Configuration..........................11 Hardware Configuration ..........................13 Basic Specifications ..........................14 CHAPTER 2 PART NAMES ........................15 Parts of Main Unit ............................16 2. 2 Initial Settings of Switches and Jumpers ....................17 CHAPTER 3 INSTALLATION........................18 Connection ..............................19 Switch and Jumper Settings on Main Unit ....................
  • Page 8 Title Page System Configuration ............................11 Basic Hardware Configuration .......................... 13 IE-789306-NS-EM1 Part Names........................16 Connection of Emulation Probe ........................19 Connecting TP1 and Target System Power Supply Voltage ................21 External Circuits Used as System Clock Oscillator ..................22 When Using Clock That Is Already Mounted on Emulation Board (Main System Clock) .........
  • Page 9 LIST OF TABLES Table No. Title Page Correspondence Between Emulation Probes and Convension Socket/Convension Adapters ......12 Basic Specifications ............................14 Initial Settings of Switches and Jumpers ......................17 Switch and Jumper Settings on IE-78K0S-NS....................20 Switch and Jumper Settings on IE-78K0S-NS-A ....................20 Setting Power Supply of Target Interface......................21 Main System Clock Settings..........................25 Subsystem Clock Settings..........................29 Mask Option Setting ............................32...
  • Page 10: Chapter 1 General

    CHAPTER 1 GENERAL The IE-789306-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/0S Series of 8-bit single-chip microcontrollers. This chapter describes the IE-789306-NS-EM1’s system configuration and basic specifications.
  • Page 11: System Configuration

    CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the IE-789306-NS-EM1’s system configuration. Figure 1-1. System Configuration Note 1 Debugger Device file ID78K0S-NS (obtain separately) (sold separately) Control software Host machine PC-9800 Series, IBM PC/AT™ or compatibles Interface board Interface board...
  • Page 12 Notes 1. The device file is as follows, in accordance with the subseries. µ S××××DF789306: µ PD789306, 789316 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 probes NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ are products of Naito Densei Machida Mfg.
  • Page 13: Hardware Configuration

    CHAPTER 1 GENERAL 1.2 Hardware Configuration Figure 1-2 shows the IE-789306-NS-EM1’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration Dedicated bus interface IE system IE-78K0S-NS or IE-789306-NS-EM1 IE-78K0S-NS-A Interface board Emulation board 78K0S main board Host machine...
  • Page 14: Basic Specifications

    CHAPTER 1 GENERAL 1.3 Basic Specifications The basic specifications of the IE-789306-NS-EM1 are listed in Table 1-2. Table 1-2. Basic Specifications Parameter Description µ PD789306, 789316 Subseries Target device System clock Main system clock: 1.0 to 5.0 MHz Subsystem clock: 32.768 kHz...
  • Page 15: Chapter 2 Part Names

    PART NAMES This chapter introduces the parts of the IE-789306-NS-EM1 main unit. The packing box contains the emulation board (IE-789306-NS-EM1), packing list, user’s manual, and guarantee card. If there are any missing or damaged items, please contact an NEC sales representative.
  • Page 16: Parts Of Main Unit

    CHAPTER 2 PART NAMES 2.1 Parts of Main Unit Figure 2-1 shows the part names of the IE-789306-NS-EM1. Figure 2-1. IE-789306-NS-EM1 Part Names X1 main system clock socket XT1 subsystem clock socket EXTOUT (CP14) EXTIN (CP13) XTC1 subsystem clock CN1 probe connector...
  • Page 17: Initial Settings Of Switches And Jumpers

    CHAPTER 2 PART NAMES 2.2 Initial Settings of Switches and Jumpers Table 2-1 shows the initial settings of the switches and jumpers on the IE-789306-NS-EM1. For the setting of JP1, refer to 3.4 Clock Settings. For the setting of SW1, refer to 3.5 Mask Option Settings.
  • Page 18: Chapter 3 Installation

    CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-789306-NS-EM1 to the IE-78K0S-NS or IE-78K0S-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.
  • Page 19: Connection

    INSTALLATION 3.1 Connection (1) Connection with IE-78K0S-NS or IE-78K0S-NS-A main unit See the IE-78K0S-NS User’s Manual (U13549E) for a description of how to connect the IE-789306-NS-EM1 to Note the IE-78K0S-NS Note When using the IE-78K0S-NS-A, see the IE-78K0S-NS-A User’s Manual (U15207E).
  • Page 20: Switch And Jumper Settings On Main Unit

    3.2 Switch and Jumper Settings on Main Unit (1) Settings on the IE-78K0S-NS When using the IE-789306-NS-EM1, set the switches and jumpers on the IE-78K0S-NS as shown in Table 3-1. For details of these switch and jumper settings, refer to the IE-78K0S-NS User’s Manual (U13549E).
  • Page 21: Setting Power Supply Voltage Of Target Interface

    When debugging with a voltage that is the same level as that of the target system, supply the same voltage as that of the target system to the TP1 terminal pin of the IE-789306-NS-EM1 (the same applies when the voltage is 5 V).
  • Page 22: Clock Settings

    CHAPTER 3 INSTALLATION 3.4 Clock Settings 3.4.1 Overview of clock settings The main system clock and subsystem clock 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) Pulse input from target system If the target system includes a clock oscillator, select either (1) Clock that is already mounted on emulation...
  • Page 23 Clock oscillator or external clock (not used) Remark The clock that is supplied by the oscillator of the IE-789306-NS-EM1 (encircled in the figure) is used. (b) Subsystem clock A crystal resonator (XTC1) is already mounted on the emulation board. Its frequency is 32.768 kHz Figure 3-5.
  • Page 24 INSTALLATION (2) Clock that is mounted by user The user can mount any clock supported by the set specifications on the IE-789306-NS-EM1. This feature is effective when debugging at a different frequency than the clock already mounted. (a) Main system clock Remove the crystal oscillator (X1) that is already mounted on the emulation board, and mount the parts board on which the resonator to be used is mounted or mount the oscillator to be used.
  • Page 25: Main System Clock Settings

    The pulse that is supplied by the external clock on the target system (encircled in the figure) or the oscillator is used. 3.4.2 Main system clock settings Table 3-4 shows the settings of the IE-789306-NS-EM1 when the main system clocks in (1) to (3) are used. Table 3-4. Main System Clock Settings Frequency of Main System Clock...
  • Page 26 CHAPTER 3 INSTALLATION (2) When using clock mounted by user Perform the settings described under either (a) or (b), depending on the type of clock to be used. When starting the integrated debugger (ID78K0S-NS), open the configuration dialog box and select “Internal” in the area (Clock) for selecting the CPU’s clock source (this selects the emulator’s internal clock).
  • Page 27 INSTALLATION <2> Prepare the IE-789306-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-789306-NS-EM1’s X1 socket. <4> Connect the parts board (from <1> above) to the X1 socket from which the crystal oscillator was removed. Check the pin 1 mark to make sure the board is mounted in the correct direction.
  • Page 28 Socket Pin No. CLOCK OUT CLOCK OUT <4> Install the IE-789306-NS-EM1 in the IE-78K0S-NS or IE-78K0S-NS-A. (3) When inputting pulse from target system No hardware settings are required for this situation. When starting the integrated debugger (ID78K0S-NS), open the configuration dialog box and select “External” in the area (Clock) for selecting the CPU’s clock source (this selects the user’s clock).
  • Page 29: Subsystem Clock Setting

    When the IE-789306-NS-EM1 is shipped, a 32.768 kHz crystal resonator (XTC1) and a parts board on which pins 6 and 8 are shorted are already mounted on the IE-789306-NS-EM1. Short 2 and 3 of the jumper (JP1) on the IE-789306-NS-EM1. No settings are required on the integrated debugger (ID78K0S-NS).
  • Page 30 Remark The sections enclosed in broken lines indicate parts that are attached to the parts board. <3> Make sure that the parts board is wired as shown in Figure 3-12 above. <4> Install the IE-789306-NS-EM1 in the IE-78K0S-NS or IE-78K0S-NS-A. User’s Manual U16115EJ2V0UM...
  • Page 31 <Steps> <1> Prepare the IE-789306-NS-EM1. <2> Remove the parts board that is mounted in the XT1 socket of the IE-789306-NS-EM1. <3> Connect a crystal oscillator to the XT1 socket from which the parts board was removed (in <2> above). Insert the crystal oscillator pins into the socket aligning the pins as shown in the figure below.
  • Page 32: Mask Option Settings

    INSTALLATION 3.5 Mask Option Settings By setting the DIP switch (SW1) in the IE-789306-NS-EM1, a 33 kΩ pull-up resistor can be connected to P50 to P53 by mask option. Use the mask option setting dialog box of the integrated debugger (ID78K0S-NS) to set the mask option. When reading a project file, however, setting is not required.
  • Page 33: External Trigger

    Connect a pull-up resistor on the target system because this is an open drain output. (2) EXTIN An event signal can be input from the EXTIN pin on the IE-789306-NS-EM1. Input a high-level pulse signal for 2 CPU operation clocks or more.
  • Page 34: Chapter 4 Differences Between Target Device And Target Interface Circuit

    (2) Signals input from the target system via a gate (3) Other signals The circuits of the IE-789306-NS-EM1 are used as follows for signals listed in (1) to (3) above. The same applies to handling alternate-function pins, for which no circuit is provided in the IE system.
  • Page 35 A 33 kΩ pull-up resistor is connected to the following signals by setting the switch. • Signals related to port 5 Figure 4-1. Equivalent Circuit 1 of Emulation Circuit • Probe side • IE system side (Target system) (IE-789306-NS-EM1) S0 to S23 S0 to S23 COM0 to COM3 COM0 to COM3 CAPH, CAPL...
  • Page 36 789316 Subseries. Refer to Figure 4-2 Equivalent Circuit 2 of Emulation Circuit. • RESET signal • Signals related to clock input The X2 (CL2) and XT2 pins are not used in the IE-789306-NS-EM1. Figure 4-2. Equivalent Circuit 2 of Emulation Circuit • Probe side •...
  • Page 37 The power supply of the emulation CPU operates on the internal power supply voltage (5 V) when the target system is not connected, and on the voltage supplied from the power voltage supply pin (TP1) ) when the target system is connected. In the IE-789306-NS-EM1, the V pin of the target system is exclusively used for controlling LED1 (USER VDD), which monitors whether the power of the target system is on.
  • Page 38: Appendix Aemulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, NP-H64GK-TQ Pin Assignments Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ are products of Naito Densei Machida Mfg. Co., Ltd. 2.
  • Page 39: Appendix B Cautions On Designing Target System

    NP-H64GK-TQ 370 mm Figure B-1. Distance Between In-Circuit Emulator and Conversion Socket/Conversion Adapter (When 64GC Is Used) In-circuit emulator IE-78K0S-NS or IE-78K0S-NS-A Target system Emulation board IE-789306-NS-EM1 Note 170 mm Emulation probe Conversion adapter: TGC-064SAP NP-64GC-TQ NP-H64GC-TQ Note Distance when NP-64GC-TQ is used. When NP-H64GC-TQ is used, the distance is 370 mm.
  • Page 40 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figure B-2. Connection Conditions of Target System (When NP-64GC-TQ Is Used) Emulation board IE-789306-NS-EM1 Emulation probe NP-64GC-TQ 23 mm Conversion adapter TGC-064SAP 11 mm 25 mm 20.65 mm Pin 1 20.65 mm 40 mm...
  • Page 41 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figure B-4. Distance Between In-Circuit Emulator and Conversion Socket/Conversion Adapter (When 64GK Is Used) In-circuit emulator IE-78K0S-NS or IE-78K0S-NS-A Target system Emulation board IE-789306-NS-EM1 Note 170 mm Emulation probe Conversion adapter NP-64GK, NP-H64GK-TQ TGK-064SBW Note Distance when NP-64GK is used.
  • Page 42 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figure B-6. Connection Conditions of Target System (When NP-H64GK-TQ Is Used) Emulation board IE-789306-NS-EM1 Emulation probe NP-H64GK-TQ 21.95 mm Conversion adapter 11 mm TGK-064SBW 23 mm 18.4 mm Pin 1 18.4 mm 42 mm...
  • Page 43 Facsimile Message 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 From: errors may occur. Despite all the care and precautions we've taken, you may Name encounter problems in the documentation.

Table of Contents