NEC IE-784225-NS-EM1 User manual

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

User’s Manual U13742EJ2V0UM
2
[MEMO]

User’s Manual U13742EJ2V0UM 3
Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or
other countries.
PC/AT is a trademark of International Business Machines Corporation.
M8E 00. 4
The information in this document is current as of June, 2001. The information is subject to change
without notice. For actual design-in, refer to the latest publications of NEC's data sheets or data
books, etc., for the most up-to-date specifications of NEC semiconductor products. Not all products
and/or types are available in every country. Please check with an NEC sales representative for
availability and additional information.
No part of this document may be copied or reproduced in any form or by any means without prior
written consent of NEC. NEC assumes no responsibility for any errors that may appear in this document.
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.
Descriptions of circuits, software and other related information in this document are provided for illustrative
purposes in semiconductor product operation and application examples. The incorporation of these
circuits, software and information in the design of customer's equipment shall be done under the full
responsibility of customer. NEC assumes no responsibility for any losses incurred by customers or third
parties arising from the use of these circuits, software and information.
While NEC endeavours to enhance the quality, reliability and safety of NEC semiconductor products, customers
agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To minimize
risks of damage to property or injury (including death) to persons arising from defects in NEC
semiconductor products, customers must incorporate sufficient safety measures in their design, such as
redundancy, fire-containment, and anti-failure features.
NEC semiconductor products are classified into the following three quality grades:
"Standard", "Special" and "Specific". The "Specific" quality grade applies only to semiconductor products
developed based on a customer-designated "quality assurance program" for a specific application. The
recommended applications of a semiconductor product depend on its quality grade, as indicated below.
Customers must check the quality grade of each semiconductor product before using it in a particular
application.
"Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster
systems, anti-crime systems, safety equipment and medical equipment (not specifically designed
for life support)
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems and medical equipment for life support, etc.
The quality grade of NEC semiconductor products is "Standard" unless otherwise expressly specified in NEC's
data sheets or data books, etc. If customers wish to use NEC semiconductor products in applications not
intended by NEC, they must contact an NEC sales representative in advance to determine NEC's willingness
to support a given application.
(Note)
(1) "NEC" as used in this statement means NEC Corporation and also includes its majority-owned subsidiaries.
(2) "NEC semiconductor products" means any semiconductor product developed or manufactured by or for
NEC (as defined above).
•
•
•
•
•
•

User’s Manual U13742EJ2V0UM
4
Regional Information
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:
•
Device availability
•
Ordering information
•
Product release schedule
•
Availability of related technical literature
•
Development environment specifications (for example, specifications for third-party tools and
components, host computers, power plugs, AC supply voltages, and so forth)
•
Network requirements
In addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary
from country to country.
NEC Electronics Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 253-8311
Fax: 250-3583
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
NEC do Brasil S.A.
Electron Devices Division
Guarulhos-SP, Brasil
Tel: 11-6462-6810
Fax: 11-6462-6829
J01.12
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 01
Fax: 0211-65 03 327
•
Branch The Netherlands
Eindhoven, The Netherlands
Tel: 040-244 58 45
Fax: 040-244 45 80
•
Branch Sweden
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
NEC Electronics (UK) Ltd.
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
NEC Electronics Italiana S.R.L.
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
NEC Electronics (France) S.A.
Vélizy-Villacoublay, France
Tel: 01-3067-58-00
Fax: 01-3067-58-99
NEC Electronics (France) S.A.
Representación en España
Madrid, Spain
Tel: 091-504-27-87
Fax: 091-504-28-60

User’s Manual U13742EJ2V0UM 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 Modification of title and description in APPENDIX B
p.48 Addition of APPENDIX C REVISION HISTORY
The mark shows major revised points.

User’s Manual U13742EJ2V0UM
6
INTRODUCTION
Product Overview The IE-784225-NS-EM1 is designed to be used with the IE-78K4-NS to debug the
following target devices that belong to the 78K/IV Series of 16-bit single-chip
microcontrollers.
•
µ
PD784216A Subseries:
µ
PD784214A, 784215A, 784216A, 78F4216A
•
µ
PD784216AY Subseries:
µ
PD784214AY, 784215AY, 784216AY, 78F4216AY
•
µ
PD784218A Subseries:
µ
PD784217A, 784218A, 78F4218A
•
µ
PD784218AY Subseries:
µ
PD784217AY, 784218AY, 78F4218AY
•
µ
PD784225 Subseries:
µ
PD784224, 784225, 78F4225
•
µ
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.
Organization When using the IE-784225-NS-EM1, refer to not only this manual (supplied with the IE-
784225-NS-EM1) but also the manual that is supplied with the IE-78K4-NS.
IE-78K4-NS IE-784225-NS-EM1
User’s Manual User’s Manual
•Basic specifications •General
•System configuration •Part names
•External interface functions •Installation
•Differences between target devices
and target interface circuits
Purpose This manual’s purpose is to explain various debugging functions that can be performed
when using the IE-784225-NS-EM1.

User’s Manual U13742EJ2V0UM 7
Terminology The meanings of certain terms used in this manual are listed below.
Term Meaning
Emulation device This is a general term that refers to the device in the emulator that is used to emulate the
target device. It includes the emulation CPU.
Emulation CPU This is the CPU block in the emulator that is used to execute user-generated programs.
Target device This is the device (a real chip) that is the target for emulation.
Target system 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
Note: Footnote for item marked with Note in the text
Caution: Information requiring particular attention
Remark: Supplementary information
Related Documents The related documents (user’s manuals) indicated in this publication may include
preliminary versions. However, preliminary versions are not marked as such.
Document Name Document No.
IE-78K4-NS U13356E
IE-784225-NS-EM1 This manual
ID78K Series Integrated Debugger Ver. 2.30 or Later WindowsTM Based Operation U15185E
µ
PD784216A, 784218A, 784216AY, 784218AY Subseries Hardware U13570E
µ
PD784225, 784225Y Subseries Hardware U12697E
Caution The related documents listed above are subject to change without notice. Be sure to use the
latest version of each document for designing.

User’s Manual U13742EJ2V0UM
8
CONTENTS
CHAPTER 1 GENERAL..............................................................................................................................11
1.1 System Configuration................................................................................................................................12
1.2 Hardware Configuration ............................................................................................................................14
1.3 Basic Specifications ..................................................................................................................................15
CHAPTER 2 PART NAMES........................................................................................................................16
2.1 Parts of Main Unit.......................................................................................................................................17
CHAPTER 3 INSTALLATION .....................................................................................................................18
3.1 Connection .................................................................................................................................................19
3.2 Target Device Setting ................................................................................................................................20
3.3 Selection of Emulator Main Unit ...............................................................................................................20
3.4 Clock Settings ............................................................................................................................................20
3.4.1 Overview of clock settings .............................................................................................................20
3.4.2 Main system clock settings ............................................................................................................22
3.4.3 Subsystem clock settings...............................................................................................................27
3.4.4 Slew-rate clock emulation ..............................................................................................................31
3.5 Pin Mask Function Settings ......................................................................................................................32
3.5.1 Wait (WAIT) mask function ............................................................................................................32
3.5.2 Wait display function setting ..........................................................................................................32
3.5.3 NMI interrupt mask setting .............................................................................................................32
3.6 Low-Voltage Emulation Setting ................................................................................................................33
3.7 External Trigger..........................................................................................................................................34
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS..35
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE..............................................................40
APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN-CIRCUIT EMULATOR.........46
APPENDIX C REVISION HISTORY............................................................................................................48

User’s Manual U13742EJ2V0UM 9
LIST OF FIGURES
Figure No. Title Page
1-1 System Configuration...................................................................................................................................12
1-2 Basic Hardware Configuration .....................................................................................................................14
2-1 IE-784225-NS-EM1 Part Names ..................................................................................................................17
3-1 Connection of Emulation Probe ...................................................................................................................19
3-2 External Circuits Used as System Clock Oscillator......................................................................................20
3-3 When Using Clock That Is Already Mounted on Emulation Board...............................................................21
3-4 When Using User-Mounted Clock................................................................................................................21
3-5 When Using an External Clock ....................................................................................................................22
3-6 Connections on Parts Board (When Using Main System Clock or User-Mounted Clock)............................23
3-7 Crystal Oscillator (When Using Main System Clock or User-Mounted Clock) .............................................25
3-8 Pin Alignment of Crystal Oscillator and Socket............................................................................................25
3-9 Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock)...............................28
3-10 Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock) ................................................30
3-11 External Trigger Input Position.....................................................................................................................34
4-1 Equivalent Circuit 1 of Emulation Circuit......................................................................................................36
4-2 Equivalent Circuit 2 of Emulation Circuit......................................................................................................37
4-3 Equivalent Circuit 3 of Emulation Circuit......................................................................................................38
4-4 Equivalent Circuit 4 of Emulation Circuit......................................................................................................39

User’s Manual U13742EJ2V0UM
10
LIST OF TABLES
Table No. Title Page
1-1 Basic Specifications .................................................................................................................................... 15
3-1 Main System Clock Settings........................................................................................................................ 22
3-2 Subsystem Clock Settings........................................................................................................................... 27
3-3 DIP Switch Setting When Using Slew-Rate Clock Mode............................................................................. 31
3-4 DIP Switch Setting for Wait (WAIT) Mask Function..................................................................................... 32
3-5 DIP Switch Setting for Wait Display Function.............................................................................................. 32
3-6 DIP Switch Setting for NMI Interrupt Mask.................................................................................................. 32
A-1 NP-80GC/GK Pin Assignments ................................................................................................................... 40
A-2 NP-100GC Pin Assignments ....................................................................................................................... 42
A-3 NP-100GF Pin Assignments ....................................................................................................................... 44

User’s Manual U13742EJ2V0UM 11
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.
•Target devices
•
µ
PD784216A Subseries
•
µ
PD784216AY Subseries
•
µ
PD784218A Subseries
•
µ
PD784218AY Subseries
•
µ
PD784225 Subseries
•
µ
PD784225Y Subseries

CHAPTER 1 GENERAL
User’s Manual U13742EJ2V0UM
12
1.1 System Configuration
Figure 1-1 illustrates the IE-784225-NS-EM1’s system configuration.
Figure 1-1. System Configuration
FG Cable
IE-78K4-NS
(sold separately)
NS CARD
Cable
MC CARD
Cable
IE-70000-CD-IF-A
(sold separately)
Debugger
ID78K4-NS
(sold separately)
Device file
Note 1
(sold separately)
Control software
Host machine
PC-9800 Series
or IBM PC/AT™
or compatibles
Interface board
IE-70000-98-IF-C
(sold separately)
Interface board
IE-70000-PC-IF-C
(sold separately)
Interface board
IE-70000-PCI-IF(-A)
(sold separately)
or
Interface card
Interface
cable
Interface cable
(NS IF Cable)
In-circuit emulator
IE-784225-NS-EM1
(This product)
AC adapter
IE-70000-MC-PS-B
(sold separately)
Emulation probe
Note 2
(sold separately)
Conversion socket/conversion adapter
Note 3
(sold separately)

CHAPTER 1 GENERAL
User’s Manual U13742EJ2V0UM 13
Notes 1. The device file is as follows, in accordance with the subseries.
µ
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.
NP-80GC: 80-pin plastic QFP (GC-8BT type)
NP-80GK: 80-pin plastic TQFP (GK-BE9 type)
NP-100GC: 100-pin plastic LQFP (GC-7EA type)
NP-100GF: 100-pin plastic QFP (GF-3BA type)
The NP-80GC, NP-80GK, NP-100GC, and NP-100GF are products of Naito Densei Machida Mfg. Co.,
Ltd.
For further information, contact Naito Densei Machida Mfg. Co., Ltd. (TEL: +81-45-475-4191)
3. The conversion socket/conversion adapter are as follows, in accordance with the package.
EV-9200GK-80: 80-pin plastic TQFP (GK-BE9 type)
EV-9200GF-100: 100-pin plastic QFP (GF-3BA type)
TGC-080SDW: 80-pin plastic LQFP (GC-8BT type)
TGC-100SDW: 100-pin plastic LQFP (GC-7EA type)
The TGC-080SDW and TGC-100SDW are products of TOKYO ELETECH CORPORATION.
For further information, contact Daimaru Kogyo Co., Ltd.
Tokyo Electronics Department (TEL: +81-3-3820-7112)
Osaka Electronics Department (TEL: +81-6-6244-6672)

CHAPTER 1 GENERAL
User’s Manual U13742EJ2V0UM
14
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
IE-78K4-NS (sold separately) IE-784225-NS-EM1
Emulation probe
(sold separately)
Dedicated bus interface
IE system
Host machine Interface board
(sold separately)
78K4 main board
(G-78K4 MAIN Board)
78K4 emulation board
(G-78K4 EM Board)
Emulation board
(This product)
Interface card
(sold separately)

CHAPTER 1 GENERAL
User’s Manual U13742EJ2V0UM 15
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
Target device
µ
PD784216A, 784218A, 784216AY, 784218AY, 784225, 784225Y Subseries
System clock 12.5 MHz
Main clock supply External: Input via an emulation probe from the target system
Internal: Mounted on emulation board (25 MHz), or mounted on the board by the user
Subclock supply External: Input via an emulation probe from the target system
Internal: Mounted on emulation board (32.768 kHz), or mounted on the board by the
user
Low-voltage support 3 V or higher (same as target device)

User’s Manual U13742EJ2V0UM
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.

CHAPTER 2 PART NAMES
User’s Manual U13742EJ2V0UM 17
2.1 Parts of Main Unit
Figure 2-1. IE-784225-NS-EM1 Part Names
GND
Low Volt
TP1
TP3
CN2
CN1
Probe connector
CN1 100GC/GF
CN2 80GC/GK
USERVDD LED1
WAIT LED2
EXTOUT
X1 UMCLK
SW3 DIP switch
JP1
X2 USCLK
IE-784225-NS-EM1
41
63
41
63
OFF
SW1
SW2
TP4
EXTIN

User’s Manual U13742EJ2V0UM
18
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
User’s Manual U13742EJ2V0UM 19
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.
On this board, the probe connector differs depending on the emulation probe used.
•When using NP-100GC or NP-100GF, connect it to CN1.
•When using NP-80GC or NP-80GK, connect it to CN2.
Caution Incorrect connection may damage the IE system.
Be sure to read the emulation probe’s user’s manual for a detailed description of the
connection method.
Figure 3-1. Connection of Emulation Probe
;
;;
;;
;;
;
;;
;;
;
I/O emulation board (IE-784225-NS-EM1)
Main board
(G-78K4 MAIN board)
Emulation board (G-78K4 EM board)
Emulation probe
(sold separately)
CN1 100GC/GF
CN2 80GC/GK

CHAPTER 3 INSTALLATION
User’s Manual U13742EJ2V0UM
20
3.2 Target Device Setting
SW1 in the IE-784225-NS-EM1 must be set in accordance with the target device (the
µ
PD784216A, 784216AY,
784218A, 784218AY, or 784225 Subseries) as follows.
µ
PD784216A, 784218A Subseries: Set SW1 to the 3, 6 pin side
µ
PD784225 Subseries: Set SW1 to the 1, 4 pin side
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
3.4.1 Overview of clock settings
The main system and subsystem clocks 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) External clock
If the target system includes an internal clock, select either “(1) Clock that is already mounted on emulation board”
or “(2) Clock that is mounted by user”. For an internal clock, the target device is connected to a resonator and the
target device’s internal oscillator is used. An example of the external circuit is shown in part (a) of Figure 3-2. During
emulation, the resonator that is mounted on the target system is not used. Instead, it uses the clock that is mounted
on the emulation board, which is installed for the IE-78K4-NS.
If the target system includes an external clock, select “(3) External clock”.
For an external clock, a clock signal is supplied from outside of the target device and the target device’s internal
oscillator is not used. An example of the external circuit is shown in part (b) of Figure 3-2.
Figure 3-2. External Circuits Used as System Clock Oscillator
(a) Internal clock (b) External clock
X2 or XT2 X2 or XT2
Target device Target device
External
clock
X1 or XT1 X1 or XT1
Table of contents
Other NEC Computer Hardware manuals

NEC
NEC PC-8300 User manual

NEC
NEC VR4133 Guide

NEC
NEC IE-703204-G1-EM1 User manual

NEC
NEC IE-70000-MC-NW-A User manual

NEC
NEC V850/SV1 User manual

NEC
NEC NEC Express5800 Series User manual

NEC
NEC NL12880BC20-05 Instruction Manual

NEC
NEC QB-MINI2 User manual

NEC
NEC N8401-032 User manual

NEC
NEC N8105-63 User manual