NEC IE-784225-NS-EM1 User Manual
NEC IE-784225-NS-EM1 User Manual

NEC IE-784225-NS-EM1 User Manual

Emulation board

Advertisement

Quick Links

User's Manual
IE-784225-NS-EM1
Emulation Board
Target devices
µ µ µ µ PD784216A Subseries µ µ µ µ PD784216AY Subseries
µ µ µ µ PD784218A Subseries µ µ µ µ PD784218AY Subseries
µ µ µ µ PD784225 Subseries
Document No. U13742EJ2V0UM00 (2nd edition)
Date Published March 2002 N CP(K)
©
1999
Printed in Japan
µ µ µ µ PD784225Y Subseries

Advertisement

Table of Contents
loading

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

  • Page 1 User’s Manual IE-784225-NS-EM1 Emulation Board Target devices µ µ µ µ PD784216A Subseries µ µ µ µ PD784216AY Subseries µ µ µ µ PD784218A Subseries µ µ µ µ PD784218AY Subseries µ µ µ µ PD784225 Subseries µ µ µ µ PD784225Y Subseries Document No.
  • Page 2 [MEMO] User’s Manual U13742EJ2V0UM...
  • 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 Major Revisions in This Edition Page Description p.12 Modification of figure and description in Figure 1-1 System Configuration p.15 Modification of description in Table 1-1 Basic Specifications p.20 Addition of 3.3 Selection of Emulator Main Unit p.22 Modification of description in 3.4.2 Main system clock settings p.27 Modification of description in 3.4.3 Subsystem clock settings p.46...
  • Page 6 • µ PD784225Y Subseries: µ PD784224Y, 784225Y, 78F4225Y Target Readers This manual is intended for engineers who will use the IE-784225-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 7 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-784225-NS-EM1. Conventions Data significance: Higher digits on the left and lower digits on the right...
  • Page 8: Table Of Contents

    CONTENTS CHAPTER 1 GENERAL..........................11 System Configuration..........................12 Hardware Configuration ..........................14 Basic Specifications ..........................15 CHAPTER 2 PART NAMES........................16 Parts of Main Unit............................17 CHAPTER 3 INSTALLATION ........................18 Connection ..............................19 Target Device Setting ..........................20 Selection of Emulator Main Unit .......................20 Clock Settings ............................20 3.4.1 Overview of clock settings ......................20 3.4.2 Main system clock settings ......................22...
  • Page 9 Figure No. Title Page System Configuration...........................12 Basic Hardware Configuration ........................14 IE-784225-NS-EM1 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........................21 When Using an External Clock ........................22...
  • Page 10 LIST OF TABLES Table No. Title Page Basic Specifications ............................ 15 Main System Clock Settings........................22 Subsystem Clock Settings........................... 27 DIP Switch Setting When Using Slew-Rate Clock Mode................31 DIP Switch Setting for Wait (WAIT) Mask Function..................32 DIP Switch Setting for Wait Display Function....................32 DIP Switch Setting for NMI Interrupt Mask ....................
  • Page 11: Chapter 1 General

    CHAPTER 1 GENERAL The IE-784225-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-784225-NS-EM1’s system configuration and basic specifications.
  • Page 12: System Configuration

    CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the IE-784225-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 13 µ S××××DF784218: µ PD784216A, 784216AY, 784218A, 784218AY Subseries µ S××××DF784225: µ PD784225, 784225Y Subseries The device file can be downloaded from the website of NEC Electron Devices (http://www.ic.nec.co.jp/micro/). 2. The emulation probe is as follows, in accordance with the package.
  • Page 14: Hardware Configuration

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

    CHAPTER 1 GENERAL 1.3 Basic Specifications The IE-784225-NS-EM1’s basic specifications are listed in Table 1-1. Table 1-1. Basic Specifications Parameter Description µ PD784216A, 784218A, 784216AY, 784218AY, 784225, 784225Y Subseries Target device System clock 12.5 MHz Main clock supply External: Input via an emulation probe from the target system...
  • Page 16: Chapter 2 Part Names

    This chapter introduces the parts of the IE-784225-NS-EM1 main unit. The packing box contains the emulation board (IE-784225-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.
  • Page 17: Parts Of Main Unit

    CHAPTER 2 PART NAMES 2.1 Parts of Main Unit Figure 2-1. IE-784225-NS-EM1 Part Names X1 UMCLK Low Volt EXTOUT X2 USCLK EXTIN Probe connector CN1 100GC/GF CN2 80GC/GK USERVDD LED1 SW3 DIP switch IE-784225-NS-EM1 WAIT LED2 User’s Manual U13742EJ2V0UM...
  • Page 18: Chapter 3 Installation

    CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-784225-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-784225-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- 784225-NS-EM1.
  • Page 20: Target Device Setting

    3.3 Selection of Emulator Main Unit SW2 in the IE-784225-NS-EM1 must be set in accordance with the emulator main unit to be used as follows. Using IE-784225-NS-EM1 in combination with IE-78K4-NS: Set SW2 to the 3, 6 pin side (shipment setting) Using IE-784000-R in combination with IE-784225-NS-EM1 and IE-78K4-R-EX2: Set SW2 to the 1, 4 pin side 3.4 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-784225-NS-EM1. First mount the resonator on the parts board, then attach the parts board to the IE-784225-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-784225-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-784225-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-784225-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 CLOCK OUT <Steps> <1> Prepare the IE-784225-NS-EM1. <2> Remove the crystal oscillator that is mounted in the IE-784225-NS-EM1’s socket (the socket marked as UMCLK). <3> Connect the crystal oscillator (from <2> above) to the socket (UMCLK) from which the crystal oscillator was removed.
  • Page 26 CHAPTER 3 INSTALLATION The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device. IE-78K4-NS side (Emulation device) 4.7 kΩ VHC244 Crystal oscillator Multiplier CLK IN ALS157 4.7 kΩ VHC244 HD151015 (3) When using external clock No hardware settings are required for this situation.
  • Page 27: Subsystem Clock Settings

    When the IE-784225-NS-EM1 is shipped, a 32.768 kHz crystal resonator is already mounted on the IE-784225- NS-EM1. Pins 6 and 8 on the parts board (USCLK) are shorted. Short pins 1 and 2 on the IE-784225-NS-EM1’s jumper (JP1). There is no need to make any other settings via the integrated debugger (ID78K4-NS).
  • Page 28 CHAPTER 3 INSTALLATION Figure 3-9. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) Parts board (USCLK) Pin No. Connection 2-13 Capacitor CB 3-12 Capacitor CA 4-11 Ceramic resonator or crystal resonator 5-10 Resistor Rx Short Circuit diagram 10 MΩ...
  • Page 29 <2> Prepare the IE-784225-NS-EM1. <3> Remove the parts board that is mounted in the IE-784225-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 30 <Steps> <1> Prepare the IE-784225-NS-EM1. <2> Remove the parts board that is mounted in the IE-784225-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 31: Slew-Rate Clock Emulation

    3.4.4 Slew-rate clock emulation It is not possible to set the slew-rate clock using the ENMP bit of the CC register after the IE-784225-NS-EM1 has been activated. To use the slew-rate clock mode, switch 4 of the DIP switch (SW3) must be set as shown in Table 3- 3 before power application.
  • Page 32: Pin Mask Function Settings

    3.5 Pin Mask Function Settings 3.5.1 Wait (WAIT) mask function By setting switches 1 and 2 of DIP switch (SW3) in the IE-784225-NS-EM1, it is possible to mask the alternate function (WAIT) of pin P66 in the µ PD784216A, 784218A, and 784225 Subseries.
  • Page 33: Low-Voltage Emulation 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-784225-NS-EM1. Set the target voltage between 3 and 5 V. • Maximum current consumption of TP1...
  • Page 34: External Trigger

    CHAPTER 3 INSTALLATION 3.7 External Trigger To set up an external trigger, connect it to the IE-784225-NS-EM1’s check pin, EXTOUT pin, and EXTIN pin as shown below. See the integrated debugger (ID78K4-NS) User’s Manual (U12796E) for descriptions of related use methods and pin characteristics.
  • Page 35 This chapter describes differences between the target device’s signal lines and the signal lines of the IE-784225- NS-EM1’s target interface circuit. Although the target device is a CMOS circuit, the IE-784225-NS-EM1’s target interface circuit consists of an emulation CPU, TTL, CMOS-IC, and other emulation circuits.
  • Page 36: Chapter 4 Differences Between Target Devices And Target Interface Circuits

    CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-1. Equivalent Circuit 1 of Emulation Circuit Probe side IE-78K4-NS side 22 Ω P00, P01, P03 to P06 1 MΩ ALTERA EPM7128-15 HD151015 PM02 22 Ω 1 MΩ 22 Ω P20 to P27 1 MΩ...
  • Page 37 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-2. Equivalent Circuit 2 of Emulation Circuit Probe side IE-78K4-NS side 22 Ω P70 to P72 1 MΩ P80 to P87 22 Ω HC4066 1 MΩ AD0 to AD7 AC573 HC4049 AC04...
  • Page 38 • Signals related to clock input Figure 4-3. Equivalent Circuit 3 of Emulation Circuit ALTERA 4.7 kΩ HD151015 EPM7128-15 VHC244 RESET RESET 24 Ω ALS157 IE-784225-NS-EM1 X1 mounted clock 4.7 kΩ VHC244 Multiplier CLK IN 4.7 kΩ HD151015 VHC244 ALS157 (multiplier selection) Input...
  • Page 39 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-4. Equivalent Circuit 4 of Emulation Circuit Probe side IE-78K4-NS side 4.7 kΩ VHC244 10 MΩ 4.7 kΩ HCU04 HCU04 IC socket 470 kΩ 32.768 kHz 22 pF 22 pF (Open) HC4053 TEST/V...
  • Page 40: Appendix A Emulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-80GC/GK Pin Assignments (1/2) Emulation Probe CN2 Pin No. Emulation Probe CN2 Pin No. Remarks 1. The NP-80GC/GK are products 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 41 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. NP-80GC/GK Pin Assignments (2/2) Emulation Probe CN2 Pin No. Emulation Probe CN2 Pin No. Remarks 1. The NP-80GC/GK are products 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 42 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-2. NP-100GC Pin Assignments (1/2) Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. The NP-100GC 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 43 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-2. NP-100GC Pin Assignments (2/2) Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. The NP-100GC 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 44 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-3. NP-100GF Pin Assignments (1/2) Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. The NP-100GF 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 45 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-3. NP-100GF Pin Assignments (2/2) Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Remarks 1. The NP-100GF 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 46: 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 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 47 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 48: Appendix C Revision History

    APPENDIX C REVISION HISTORY The history of revisions up to this edition is shown below. The “Applied to:” column indicates the chapters in each edition to which the revision was applied. Edition Major Revisions from Previous Edition Applied to: 2nd edition Change of debugger supply medium to CD-ROM, addition of (-A) to CHAPTER 1 GENERAL IE-70000-PCI-IF, addition of website address for downloading device...
  • Page 49 [MEMO] User’s Manual U13742EJ2V0UM...
  • Page 50 [MEMO] User’s Manual U13742EJ2V0UM...
  • Page 51 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