NEC IE-789882-NS-EM1 User Manual

Emulation board

Advertisement

Quick Links

User's Manual
IE-789882-NS-EM1
Emulation Board
Target Devices
µ µ µ µ PD789881 Subseries
Document No. U16431EJ1V0UM00 (1st edition)
Date Published March 2003 N CP(K)
Printed in Japan
2003

Advertisement

Table of Contents
loading

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

  • Page 1 User’s Manual IE-789882-NS-EM1 Emulation Board Target Devices µ µ µ µ PD789881 Subseries Document No. U16431EJ1V0UM00 (1st edition) Date Published March 2003 N CP(K) 2003 Printed in Japan...
  • Page 2 [MEMO] User’s Manual U16431EJ1V0UM...
  • Page 3 NEC Electronics 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 Electronics 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 Electronics or others.
  • Page 4 Regional Information Some information contained in this document may vary from country to country. Before using any NEC Electronics product in your application, pIease contact the NEC Electronics office in your country to obtain a list of authorized representatives and distributors. They will verify: •...
  • Page 5 µ PD789881, 78F9882, 789881(A) Target Readers This manual is intended for engineers who will use the IE-789882-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 in-circuit emulator (IE-78K0S-NS or IE-78K0S-NS-A) and the emulation board (IE-789882-NS-EM1). Conventions Data significance: Higher digits on the left and lower digits on the right Note:...
  • 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 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-789882-NS-EM1 Part Names........................16 Connection of Emulation Probe ........................19 Connecting Power Supply Voltage to Target System ..................21 External Circuits Used as System Clock Oscillator ..................22 When Using Clock That Is Already Mounted on Emulation Board (Main System Clock) ......... 23 When Using Clock That Is Already Mounted on Emulation Board (Subsystem Clock) ........
  • Page 9 LIST OF TABLES Table No. Title Page Correspondence Between Emulation Probe and Conversion Adapter..............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..........................24 Subsystem Clock Settings..........................25 Mask Option Setting ............................27...
  • Page 10: Chapter 1 General

    CHAPTER 1 GENERAL The IE-789882-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-789882-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-789882-NS-EM1’s system configuration. Figure 1-1. System Configuration Note 1 Debugger Device file ID78K0S-NS (available 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××××DF789882: µ PD789881 Subseries The device file can be downloaded from the website of NEC Electronics (http://www.necel.com/micro/) 2. The emulation probe NP-H64GB-TQ is a product of Naito Densei Machida Mfg. Co., Ltd.
  • Page 13: Hardware Configuration

    CHAPTER 1 GENERAL 1.2 Hardware Configuration Figure 1-2 shows the IE-789882-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-789882-NS-EM1 IE-78K0S-NS-A Interface board 78K0S main board Emulation board Host machine...
  • Page 14: Basic Specifications

    CHAPTER 1 GENERAL 1.3 Basic Specifications The basic specifications of the IE-789882-NS-EM1 are listed in Table 1-2. Table 1-2. Basic Specifications Parameter Description µ PD789881 Subseries Target device System clock Main system clock: 500 kHz Subsystem clock: 32.768 kHz, 38.4 kHz...
  • Page 15: Chapter 2 Part Names

    PART NAMES This chapter introduces the parts of the IE-789882-NS-EM1 main unit. The packing box contains the emulation board (IE-789882-NS-EM1), packing list, user’s manual, and guarantee card. If there are any missing or damaged items, please contact an NEC Electronics 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-789882-NS-EM1. Figure 2-1. IE-789882-NS-EM1 Part Names DONE LED EXTIN External trigger EXTOUT Probe connector TGCN1 64GB USERVDD LED User’s Manual U16431EJ1V0UM...
  • 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-789882-NS-EM1. For the setting of SW1, refer to 3.5 Mask Option Settings. Use the IE-789882-NS-EM1 with jumpers JP1 and JP2 set to the initial settings.
  • Page 18: Chapter 3 Installation

    CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-789882-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-789882-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-789882-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

    CHAPTER 3 INSTALLATION 3.3 Setting Power Supply Voltage of Target Interface In the IE system, emulation is possible with a voltage of the same level as the power supply voltage of the target system. When the target system is not connected, the IE system automatically operates with the emulator’s internal power supply (3.9 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) and (1) and (2) below, respectively. (1) Clock that is already mounted on emulation board (2) Clock that is mounted by user If the target system includes a clock oscillator, select either (1) Clock that is already mounted on emulation board or (2) Clock that is mounted by user.
  • Page 23 Clock oscillator or external clock (not used) Remark The clock that is supplied by the oscillator of the IE-789882-NS-EM1 (encircled in the figure) is used. (b) Subsystem clock A crystal oscillator (X2) is already mounted on the emulation board. Its frequency is 32.768 kHz.
  • Page 24: Main System Clock Settings

    CHAPTER 3 INSTALLATION (2) Clock that is mounted by user The user can mount any clock supported by the set specifications on the IE-789882-NS-EM1. This feature is effective when debugging at a different frequency than the clock already mounted. Subsystem clock Remove the crystal oscillator (X2) that is already mounted on the emulation board, and mount the crystal oscillator to be used.
  • Page 25: Subsystem Clock Setting

    NS-A. (1) When using clock that is already mounted on emulation board When the IE-789882-NS-EM1 is shipped, a 4.194304 MHz oscillator (X2) is already mounted on the IE-789882- NS-EM1. No settings are required on the integrated debugger (ID78K0S-NS). (2) When using clock mounted by user No settings are required on the integrated debugger (ID78K0S-NS).
  • Page 26 <Steps> <1> Prepare the IE-789882-NS-EM1. <2> Remove the crystal oscillator that is mounted in the X2 socket of the IE-789882-NS-EM1. <3> Connect a crystal oscillator to the X2 socket from which the crystal oscillator was removed (in <2> above). Insert the crystal oscillator pins into the socket aligning the pins as shown in the figure below.
  • Page 27: Mask Option Settings

    INSTALLATION 3.5 Mask Option Settings By setting the DIP switch (SW1) in the IE-789882-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 28: 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-789882-NS-EM1. Input a high-level pulse signal for 2 CPU operation clocks or more.
  • Page 29: Chapter 4 Differences Between Target Device And Target Interface Circuit

    (3) Signals input to or output from the pin emulator ( µ µ µ µ PD7883) (4) Other signals The circuits of the IE-789882-NS-EM1 are used as follows for signals listed in (1) to (4) above. The same applies to handling alternate-function pins, for which no circuit is provided in the IE system.
  • Page 30 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIRCUIT Figure 4-1. Equivalent Circuit 1 of Emulation Circuit Probe side IE system side (target system) (IE-789882-NS-EM1) P00 to P03 µ PD789009A (emulation CPU) P10 and P11 1 MΩ 1 MΩ...
  • Page 31 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIRCUIT Figure 4-2. Equivalent Circuit 2 of Emulation Circuit Probe side IE system side (target system) (IE-789882-NS-EM1) Port pin Analog selector (MAX394) P80/S15 to P84/S19 µ PD7883 P90/S20 to P95/S25 (pin emulator)
  • Page 32 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIRCUIT Figure 4-3. Equivalent Circuit 3 of Emulation Circuit IE system side Probe side (IE-789882-NS-EM1) (target system) Power supply detection – µ PC393 µ 0.1 F 1 MΩ Power supply generation –...
  • Page 33: Chapter 5 Operational Differences Between Target Device And Emulation Board

    CHAPTER 5 OPERATIONAL DIFFERENCES BETWEEN TARGET DEVICE AND EMULATION BOARD This chapter describes the operational differences between the target device and the IE-789882-NS-EM1. (1) There is no wait corresponding to one subsystem clock when HALT is released. Because the clock mounted in the IE system is used, the x4 subsystem clock is supplied to the peripheral functions even during HALT.
  • Page 34: Appendix Aemulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-H64GB-TQ Pin Assignments Emulation Probe TGCN1 Pin No. Emulation Probe TGCN1 Pin No. Remarks 1. NP-H64GB-TQ is a product of Naito Densei Machida Mfg. Co., Ltd. 2. The numbers in the “Emulation probe” column indicate the corresponding pin number on the emulation probe tip.
  • Page 35: Appendix B Notes On Target System Design

    TGB-064SDP 370 mm Figure B-1. Distance Between In-Circuit Emulator and Conversion Socket/Conversion Adapter (When 64GB Is Used) In-circuit emulator IE-78K0S-NS or IE-78K0S-NS-A Target system Emulation board IE-789882-NS-EM1 Note 370 mm TGCN1 Emulation probe Conversion adapter: TGB-064SDP NP-H64GB-TQ User’s Manual U16431EJ1V0UM...
  • Page 36 APPENDIX B NOTES ON TARGET SYSTEM DESIGN Figure B-2. Connection Conditions of Target System (When NP-H64GB-TQ Is Used) Emulation board IE-789882-NS-EM1 Emulation probe NP-H64GB-TQ 21.4 mm Conversion adapter TGB-064SDP 11 mm 16 mm 16 mm 42.6 mm 45 mm Target system...
  • Page 37 This datasheet has been download from: www.datasheetcatalog.com Datasheets for electronics components.

Table of Contents