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...
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 ....................
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.
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.
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...
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...
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.
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.
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.
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.
(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.
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.
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.
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.
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...
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.
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.
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...
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 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.