NEC IE-789860-NS-EM1 User Manual

Emulation board

Advertisement

Quick Links

User's Manual
IE-789860-NS-EM1
Emulation Board
Target Devices
µ µ µ µ PD789860 Subseries
µ µ µ µ PD789861 Subseries
µ µ µ µ PD789052 Subseries
µ µ µ µ PD789062 Subseries
Document No. U16499EJ1V0UM00 (1st edition)
Date Published July 2003 N CP(K)
Printed in Japan
2003

Advertisement

Table of Contents
loading

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

  • Page 1 User’s Manual IE-789860-NS-EM1 Emulation Board Target Devices µ µ µ µ PD789860 Subseries µ µ µ µ PD789861 Subseries µ µ µ µ PD789052 Subseries µ µ µ µ PD789062 Subseries Document No. U16499EJ1V0UM00 (1st edition) Date Published July 2003 N CP(K)
  • Page 2 [MEMO] User’s Manual U16499EJ1V0UM...
  • 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 µ PD789062, 78E9861 Target Readers This manual is intended for engineers who will use the IE-789860-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-789860-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-789860-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..............
  • Page 9 LIST OF TABLES Table No. Title Page Correspondence Between Emulation Probe and Conversion Socket ...............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 Mask Option Setting of Port 4..........................28 Differences in Oscillation Stabilization Wait Time .....................29...
  • Page 10: Chapter 1 General

    This chapter describes the IE-789860-NS-EM1’s system configuration and basic specifications. The IE-789860-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.
  • Page 11: System Configuration

    CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the IE-789860-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 µ S××××DF789861: µ PD789860, 789861 Subseries µ S××××DF789062: µ PD789052, 789062 Subseries The device file can be downloaded from the website of NEC Electronics (http://www.necel.com/micro/). 2. The emulation probe NP-20GS 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-789860-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-789860-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-789860-NS-EM1 are listed in Table 1-2. Table 1-2. Basic Specifications Item Description µ PD789860, 789861, 789052, 789062 Subseries Target device 1.0 to 5.0 MHz System clock System clock supply...
  • Page 15: Chapter 2 Part Names

    PART NAMES This chapter introduces the parts of the IE-789860-NS-EM1 main unit. The packing box contains the emulation board (IE-789860-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-789860-NS-EM1. Figure 2-1. IE-789860-NS-EM1 Part Names LVcc (CP12) EXTOUT (CP11) EXTIN X1 system clock socket CN1 probe connector 20GS User’s Manual U16499EJ1V0UM...
  • 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-789860-NS-EM1. For the setting of SW1, refer to 3.5 Mask Option Settings. Table 2-1. Initial Settings of Switches and Jumpers Initial setting User’s Manual U16499EJ1V0UM...
  • Page 18: Chapter 3 Installation

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

    (5 V). 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-789860-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 system 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 board or (2) Clock that is mounted by user.
  • Page 23 (2) Clock that is mounted by user The user can mount any clock supported by the set specifications on the IE-789860-NS-EM1. This feature is effective when debugging at a different frequency than the clock already mounted. 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 24: System Clock Settings

    The pulse that is supplied by the external clock on the target system (encircled in the figure) is used. 3.4.2 System clock settings Table 3-4 shows the system clock settings of the IE-789860-NS-EM1 when the system clocks in (1) to (3) are used. Table 3-4. Main System Clock Settings...
  • Page 25 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 26 INSTALLATION <2> Prepare the IE-789860-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-789860-NS-EM1’s X1 socket. <4> 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.
  • Page 27 Socket Pin No. CLOCK OUT CLOCK OUT <4> Install the IE-789860-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 28: Mask Option Settings

    3.5 Mask Option Settings 3.5.1 Mask option settings By setting the DIP switch (SW1) in the IE-789860-NS-EM1, a 33 kΩ pull-up resistor can be connected to P40 to P43 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 29: Mask Options Of Poc Circuit

    INSTALLATION 3.5.2 Mask options of POC circuit The IE-789860-NS-EM1 includes a “POC switching circuit” that controls the power-on-clear circuit functions by software. Perform the ON/OFF settings using an SFR. When emulating the detection voltage of the low-voltage detection circuit and power-on-clear circuit, the detection...
  • Page 30: External Trigger

    Caution 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-789860-NS-EM1. Input a high-level pulse signal for 2 CPU operation clocks or more.
  • Page 31: 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-789860-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 32 A 33 kΩ pull-up resistor is connected to the following signals by setting the switch. • Signals related to port 4 Figure 4-1. Equivalent Circuit 1 of Emulation Circuit • Probe side • IE system side (Target system) (IE-789860-NS-EM1) 100 Ω Port 0 Port 0 Port 2 Port 2 1 MΩ...
  • Page 33 789860, and 789861 Subseries. Refer to Figure 4-2 Equivalent Circuit 2 of Emulation Circuit. • RESET signal • Signals related to clock input The X2 (CL2) pin is not used in the IE-789860-NS-EM1. Figure 4-2. Equivalent Circuit 2 of Emulation Circuit • Probe side •...
  • Page 34 (LV ) supplied from the power voltage supply pin (TP1) when the target system is connected. In the IE-789860-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 35: Chapter 5 Cautions

    IE system realizes emulation via a configuration of emulation CPU, TTL, CMOS-IC, and other components. Therefore, the target device specifications are different from the IE system specifications. (1) The RC oscillator cannot be emulated in the IE-789860-NS-EM1. For the oscillator, only the functions described in 3.4 Clock Settings can be emulated.
  • Page 36: Appendix Aemulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-20GS Pin Assignments Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. NP-20GS is a product of Naito Densei Machida Mfg. Co., Ltd. 2. The numbers in the “Emulation Probe” column indicate the pin number on the tip of the target system side with NP-20GS and EV-9500GS-20 combined together.
  • Page 37: Appendix B Cautions On Designing Target System

    Distance Between IE System and Conversion Socket NP-20GS EV-9500GS-20 185 mm Figure B-1. Distance Between In-Circuit Emulator and Conversion Socket In-circuit emulator IE-78K0S-NS or IE-78K0S-NS-A Target system Emulation board IE-789860-NS-EM1 185 mm Emulation probe NP-20GS Conversion socket EV-9500GS-20 User’s Manual U16499EJ1V0UM...
  • Page 38 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figure B-2. Connection Conditions of Target System Emulation board IE-789860-NS-EM1 Conversion socket EV-9500GS-20 Emulation probe NP-20GS 30 mm 15 mm 100 mm Target system User’s Manual U16499EJ1V0UM...

Table of Contents