NEC IE-784937-NS-EM1 User Manual
NEC IE-784937-NS-EM1 User Manual

NEC IE-784937-NS-EM1 User Manual

Emulation board

Advertisement

Quick Links

User's Manual
IE-784937-NS-EM1
Emulation Board
Target devices
µ µ µ µ PD784938A Subseries
Document No. U16556EJ1V0UM00 (1st edition)
Date Published May 2003 N CP(K)
Printed in Japan
2003

Advertisement

Table of Contents
loading

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

  • Page 1 User’s Manual IE-784937-NS-EM1 Emulation Board Target devices µ µ µ µ PD784938A Subseries Document No. U16556EJ1V0UM00 (1st edition) Date Published May 2003 N CP(K) 2003 Printed in Japan...
  • Page 2 [MEMO] User’s Manual U16556EJ1V0UM...
  • 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 µ PD784935A, 784936A, 784937A, 784938A, 78F4938A Target Readers This manual is intended for engineers who will use the IE-784937-NS-EM1 with the IE- 78K4-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.
  • 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-78K4-NS and the IE-784937-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 CHAPTER 3 INSTALLATION........................18 Connection ..............................19 Selection of Emulator Main Unit ....................... 20 Clock Settings ............................20 3.3.1 Overview of clock settings ......................
  • Page 8 Title Page System Configuration ..........................11 Basic Hardware Configuration........................13 IE-784937-NS-EM1 Part Names ......................... 16 4937 PROBE Board Part Names ........................ 17 Connection of Emulation Probe........................19 External Circuits Used as System Clock Oscillator ..................20 When Using Clock That Is Already Mounted on Emulation Board .............. 21 When Using User-Mounted Clock .......................
  • Page 9 LIST OF TABLES Table No. Title Page Correspondence Between Emulation Probes and Conversion Adapters.............12 Basic Specifications .............................14 Main System Clock Settings ........................22 Subsystem Clock Settings ...........................26 DIP Switch Setting for NMI Interrupt Mask....................29 DIP Switch Setting for Wait (WAIT)/Hold (HOLD) Mask Function..............29 DIP Switch Setting for Wait Display Function ....................29 DIP Switch Setting for Hold Display Function ....................30 SW1 Setting When Using IE-784000-R .......................37...
  • Page 10: Chapter 1 General

    CHAPTER 1 GENERAL The IE-784937-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/IV Series of 16-bit single-chip microcontrollers. This chapter describes the IE-784937-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-784937-NS-EM1’s system configuration. Figure 1-1. System Configuration Note 1 Debugger Device file ID78K4-NS (sold separately) (sold separately) Control software Host machine PC-9800 Series or IBM PC/AT™ or compatibles Interface board...
  • Page 12 Notes 1. The device file is as follows. µ S××××DF784937: µ PD784938A Subseries The device file can be downloaded from the website of NEC Electronics (http://www.necel.com/micro/). 2. The emulation probes NP-100GF, NP-100GF-TQ, and NP-H100GF-TQ are products of Naito Densei Machida Mfg. Co., Ltd.
  • Page 13: Hardware Configuration

    CHAPTER 1 GENERAL 1.2 Hardware Configuration Figure 1-2 shows the IE-784937-NS-EM1’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration Dedicated bus interface IE system IE-78K4-NS (sold separately) IE-784937-NS-EM1 Interface board Emulation board 78K4 main board Host machine...
  • Page 14: Basic Specifications

    CHAPTER 1 GENERAL 1.3 Basic Specifications The IE-784937-NS-EM1’s basic specifications are listed in Table 1-1. Table 1-2. Basic Specifications Parameter Description µ PD784935A, 784936A, 784937A, 784938A, 78F4938A Subseries Target device System clock 12.58 MHz Main system clock supply External: Input via an emulation probe from the target system Internal: Mounted on emulation board (12.58 MHz), or mounted on the board by the user...
  • Page 15: Chapter 2 Part Names

    CHAPTER 2 PART NAMES This chapter introduces the parts of the IE-784937-NS-EM1 main unit. The packing box contains the emulation board (IE-784937-NS-EM1), 4937 PROBE Board (GC), and 4937 PROBE Board (GF). 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. IE-784937-NS-EM1 Part Names WAIT LED2 HOLD LED3 LowVolt EXTOUT External sense EXTIN Probe connector ACN2 (for expansion) Probe connector ACN1 100GF UMCLK Connector for IE-784000-R RCN3 USCLK USER VDD IE-784937-NS-EM1 User’s Manual U16556EJ1V0UM...
  • Page 17 RCN3 ACN1 ACN2 Caution The 4937 PROBE Board (GF) is used when the IE-784937-NS-EM1 and IE-78K4-R-EX3 are combined to connect to the IE-784000-R. The 4937 PROBE Board (GF) is not used for connection with the IE-78K4-NS, the 4937 PROBE Board (GC) is used for expansion.
  • Page 18: Chapter 3 Installation

    CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-784937-NS-EM1 to the IE-78K4-NS, 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

    CHAPTER 3 INSTALLATION 3.1 Connection (1) Connection with IE-78K4-NS main unit See the IE-78K4-NS User’s Manual (U13356E) for a description of how to connect the IE-784937-NS-EM1 to the IE-78K4-NS. (2) Connection with emulation probe See the IE-78K4-NS User’s Manual (U13356E) for a description of how to connect an emulation probe to the IE- 784937-NS-EM1.
  • Page 20: Selection Of Emulator Main Unit

    CHAPTER 3 INSTALLATION 3.2 Selection of Emulator Main Unit JP3 in the IE-784937-NS-EM1 must be set in accordance with the emulator main unit to be used as follows. Using IE-784937-NS-EM1 in combination with IE-78K4-NS: Short 1 and 2 (shipment setting) Using IE-784000-R in combination with IE-784937-NS-EM1 and IE-78K4-R-EX3: Short 2 and 3 3.3 Clock Settings...
  • Page 21 (2) Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE-784937-NS-EM1. First mount the resonator on the parts board, then attach the parts board to the IE-784937-NS-EM1. This method is useful when using a different frequency from that of the pre-mounted clock.
  • Page 22: Main System Clock Settings

    (ID78K4-NS) and select “External” in the area (Clock) for selecting the CPU’s clock source (this selects the user’s clock). Remark The IE-784937-NS-EM1’s factory settings are those listed above under “when using clock that is already mounted on emulation board”.
  • Page 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 (ID78K4-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 24 CHAPTER 3 INSTALLATION <2> Prepare the IE-784937-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-784937-NS-EM1’s socket (the socket marked as UMCLK). <4> Connect the parts board (from <1> above) to the socket (UMCLK) from which the crystal oscillator was removed (see <3>...
  • Page 25 Crystal oscillator Socket CLOCK OUT CLOCK OUT <4> Connect the IE-784937-NS-EM1 to the IE-78K4-NS. The above steps configure the circuit and enable supply of the clock from the mounted resonator to the emulation device. (3) When using external clock No hardware settings are required for this situation.
  • Page 26: Timer Clock Settings

    When using clock mounted by user Other than 32.768 kHz Oscillator assembled by user Remark The IE-784937-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-784937-NS-EM1 is shipped, a 32.768 kHz crystal resonator is already mounted on the IE-784937-...
  • Page 27 <2> Prepare the IE-784937-NS-EM1. <3> Remove the parts board that is mounted in the IE-784937-NS-EM1’s socket (the socket marked as USCLK). <4> Connect the parts board (from <1> above) to the socket (USCLK) from which the parts board was removed (see <3>...
  • Page 28 <Steps> <1> Prepare the IE-784937-NS-EM1. <2> Remove the parts board that is mounted in the IE-784937-NS-EM1’s socket (the socket marked as USCLK). <3> Connect the crystal oscillator (from <2> above) to the socket (USCLK) from which the parts board was removed.
  • Page 29: Pin Mask Function Settings

    3.4.2 Wait (WAIT)/hold (HOLD) mask function By setting switches 2 to 4 of the DIP switch (SW1) in the IE-784937-NS-EM1, it is possible to mask the wait (WAIT) and hold (HOLD) alternate functions of the P66 pin in the µ PD784938A Subseries.
  • Page 30: Hold Display Function Setting

    When the target system is operating on low voltage, supply the same voltage as the target system to the TP1 terminal pin of the IE-784937-NS-EM1. Set the target voltage between 2.7 and 5.5 V during 6.29 MHz operation and between 4.5 and 5.5 V during 12.58 MHz operation.
  • Page 31: External Trigger

    CHAPTER 3 INSTALLATION 3.6 External Trigger To set up an external trigger, connect it to the IE-784937-NS-EM1’s check pin, EXTOUT pin, and EXTIN pin as shown below. For pin characteristics, refer to the IE-78K4-NS User’s Manual (U13356E). For usage details, refer to the ID78K Series Ver.2.30 or Later Windows Based Operation User’s Manual (U15185E).
  • Page 32: Chapter 4 Differences Between Target Devices And Target Interface Circuits

    This chapter describes differences between the target device’s signal lines and the signal lines of the IE-784937- NS-EM1’s target interface circuit. Although the target device is a CMOS circuit, the IE-784937-NS-EM1’s target interface circuit consists of an emulation CPU, TTL, CMOS-IC, and other emulation circuits.
  • Page 33 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-1. Equivalent Circuit 1 of Emulation Circuit Prove side IE system side 22 Ω P00 to P07 22 Ω P10 to P17 1 MΩ 4.7 kΩ 22 Ω ALTERA EPM7064-10 1 MΩ...
  • Page 34 ALS157 IE-784937-NS-EM1 Multiplier UMCLK mounted clock Input Output ACT86 RZT025P ALS157 4.7 kΩ VHC244 CLK IN Multiplier Input Output ACT86 RZT025P Open Remark When using the IE-784937-NS-EM1 with the IE-78K4-NS, set JP3 with 1 and 2 shorted. User’s Manual U16556EJ1V0UM...
  • Page 35 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-3. Equivalent Circuit 3 of Emulation Circuit Probe side IE system side 10 MΩ 4.7 kΩ VHC244 HCU04 HCU04 IC socket USCLK 470 kΩ 32.768 kHz 22 pF 22 pF XT1, XT2, IC/V Open (3) Other signals...
  • Page 36: Chapter 5 Restrictions

    • The specification of the STOP mode of the watch timer function is different from that of the target device. When the count clock is selected as the main clock, the timer stops in the target device in STOP mode, however, the timer does not stop in the IE-784937-NS-EM1. User’s Manual U16556EJ1V0UM...
  • Page 37: Chapter 6 Cautions

    When using the IE-784937-NS-EM1, observe the cautions below. • Set the IE-784937-NS-EM1 as follows when using it in combination with the IE-78K4-R-EX3 in the IE-784000-R. Note that the setting described in 3.1 Installation Procedure (2) of the IE-78K4-R-EX3 User’s Manual (U16346E) is not required.
  • Page 38: Appendix A Emulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-100GF, NP-100GF-TQ, NP-H100GF-TQ Pin Assignments (1/2) Emulation Probe ACN1 Pin No. Emulation Probe ACN1 Pin No. Remarks 1. The NP-100GF, NP-100GF-TQ, and NP-H100GF-TQ are products of Naito Densei Machida Mfg. Co., Ltd. 2.
  • Page 39 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-100GF, NP-100GF-TQ, NP-H100GF-TQ Pin Assignments (2/2) Emulation Probe ACN1 Pin No. Emulation Probe ACN1 Pin No. Remarks 1. The NP-100GF, NP-100GF-TQ, and NP-H100GF-TQ are products of Naito Densei Machida Mfg. Co., Ltd. 2.
  • Page 40: Appendix B Program Wait Control Register Settings In In-Circuit Emulator

    APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN-CIRCUIT EMULATOR When performing programmable debugging using the in-circuit emulator, wait control must be performed by setting programmable wait control register 1 (PWC1) and programmable wait control register 2 (PWC2). If an external wait is set for the internal ROM area, the CPU becomes deadlocked. The deadlock status is cleared only by reset input.
  • Page 41 APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN-CIRCUIT EMULATOR (1) Program wait control register 1 (PWC1) of in-circuit emulator Address: 0FFC7H After reset: AAH Symbol PWC1 PW31 PW30 PW21 PW20 PW11 PW10 PW01 PW00 (n = 0 to 3) Wait Target 00C000H 008000H...
  • Page 42: Appendix C Notes On Target System Design

    155 mm NP-H100GF-TQ 355 mm Figure C-1. Distance Between IE System and Conversion Adapter In-circuit emulator IE-78K4-NS Target system Emulation board IE-784937-NS-EM1 Note 155 mm ACN1 Emulation probe Conversion adapter: TGF-100RBP NP-100GF-TQ, NP-H100GF-TQ Note Distance when NP-100GF-TQ is used. When NP-H100GF-TQ is used, the distance is 355 mm.
  • Page 43 APPENDIX C NOTES ON TARGET SYSTEM DESIGN Figure C-2. Connection Conditions of Target System (When NP-100GF-TQ Is Used) Emulation board IE-784937-NS-EM1 Emulation probe NP-100GF-TQ Conversion adapter TGF-100RBP 11 mm 27.5 mm Pin 1 21 mm 40 mm 34 mm Target system Figure C-3.

Table of Contents