NEC IE-789882-NS-EM1 User manual

User’s Manual
Target Devices
µ
µµ
µ
PD789881 Subseries
IE-789882-NS-EM1
Emulation Board
2003
Document No. U16431EJ1V0UM00 (1st edition)
Date Published March 2003 N CP(K)
Printed in Japan

User’s Manual U16431EJ1V0UM
2
[MEMO]

User’s Manual U16431EJ1V0UM 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.
The information in this document is current as of October, 2002. The information is subject to
change without notice. For actual design-in, refer to the latest publications of NEC Electronics data
sheets or data books, etc., for the most up-to-date specifications of NEC Electronics products. Not
all products and/or types are available in every country. Please check with an NEC Electronics 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 the prior
written consent of NEC Electronics. NEC Electronics assumes no responsibility for any errors that may
appear in this document.
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.
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 a customer's equipment shall be done under the full
responsibility of the customer. NEC Electronics assumes no responsibility for any losses incurred by
customers or third parties arising from the use of these circuits, software and information.
While NEC Electronics endeavors to enhance the quality, reliability and safety of NEC Electronics 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
Electronics products, customers must incorporate sufficient safety measures in their design, such as
redundancy, fire-containment and anti-failure features.
NEC Electronics products are classified into the following three quality grades: "Standard", "Special" and
"Specific".
The "Specific" quality grade applies only to NEC Electronics products developed based on a customer-
designated "quality assurance program" for a specific application. The recommended applications of an NEC
Electronics product depend on its quality grade, as indicated below. Customers must check the quality grade of
each NEC Electronics 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 Electronics products is "Standard" unless otherwise expressly specified in NEC
Electronics data sheets or data books, etc. If customers wish to use NEC Electronics products in applications
not intended by NEC Electronics, they must contact an NEC Electronics sales representative in advance to
determine NEC Electronics' willingness to support a given application.
(Note)
(1) "NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its
majority-owned subsidiaries.
(2) "NEC Electronics products" means any product developed or manufactured by or for NEC Electronics
(as defined above).
•
•
•
•
•
•
M8E 02. 11-1

User’s Manual U16431EJ1V0UM
4
Regional Information
• 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 America, 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 Shanghai, Ltd.
Shanghai, P.R. China
Tel: 021-6841-1138
Fax: 021-6841-1137
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 6253-8311
Fax: 6250-3583
J02.11
NEC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 01
Fax: 0211-65 03 327
•Sucursal en España
Madrid, Spain
Tel: 091-504 27 87
Fax: 091-504 28 60
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
•Succursale Française
•Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
•Branch The Netherlands
Eindhoven, The Netherlands
Tel: 040-244 58 45
Fax: 040-244 45 80
•Tyskland Filial
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
•United Kingdom Branch
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
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:

User’s Manual U16431EJ1V0UM 5
INTRODUCTION
Product Overview The IE-789882-NS-EM1 is designed to be used with the IE-78K0S-NS or IE-78K0S-NS-A
to debug the following target devices that belong to the 78K/0S Series of 8-bit single-chip
microcontrollers.
•
µ
PD789881 Subseries:
µ
PD789881, 78F9882, 789881(A)
Target Readers This manual is intended for engineers who will use the IE-789882-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.
Organization When using the IE-789882-NS-EM1, refer to not only this manual (supplied with the IE-
789882-NS-EM1) but also the manual that is supplied with the IE-78K0S-NS or IE-
78K0S-NS-A.
IE-78K0S-NS IE-789882-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
IE-78K0S-NS-A
User’s Manual
•Basic specifications
•System configuration
•External interface functions
Purpose This manual’s purpose is to explain various debugging functions that can be performed
when using the IE-789882-NS-EM1.

User’s Manual U16431EJ1V0UM
6
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 to be emulated.
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 in-circuit emulator (IE-78K0S-NS or IE-78K0S-NS-A) and the
emulation board (IE-789882-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 Number
IE-78K0S-NS In-Circuit Emulator U13549E
IE-78K0S-NS-A In-Circuit Emulator U15207E
IE-789882-NS-EM1 Emulation Board This manual
ID78K Series Integrated Debugger Ver. 2.30 or Later Operation Windows™ Based U15185E
µ
PD789881 Subseries U15172E
Caution The documents listed above are subject to change without notice. Be sure to use the latest
documents when designing.

User’s Manual U16431EJ1V0UM 7
CONTENTS
CHAPTER 1 GENERAL...........................................................................................................................10
1.1 System Configuration................................................................................................................................ 11
1.2 Hardware Configuration ............................................................................................................................ 13
1.3 Basic Specifications .................................................................................................................................. 14
CHAPTER 2 PART NAMES ....................................................................................................................15
2.1 Parts of Main Unit ...................................................................................................................................... 16
2.2 Initial Settings of Switches and Jumpers ................................................................................................ 17
CHAPTER 3 INSTALLATION..................................................................................................................18
3.1 Connection ................................................................................................................................................. 19
3.2 Switch and Jumper Settings on Main Unit .............................................................................................. 20
3.3 Setting Power Supply Voltage of Target Interface.................................................................................. 21
3.4 Clock Settings ............................................................................................................................................ 22
3.4.1 Overview of clock settings ............................................................................................................. 22
3.4.2 Main system clock settings............................................................................................................ 24
3.4.3 Subsystem clock setting ................................................................................................................ 25
3.5 Mask Option Settings ................................................................................................................................ 27
3.6 External Trigger ......................................................................................................................................... 28
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIRCUIT....29
CHAPTER 5 OPERATIONAL DIFFERENCES BETWEEN TARGET DEVICE
AND EMULATION BOARD.................................................................................................33
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE .......................................................... 34
APPENDIX B NOTES ON TARGET SYSTEM DESIGN ..........................................................................35

User’s Manual U16431EJ1V0UM
8
LIST OF FIGURES
Figure No. Title Page
1-1 System Configuration ....................................................................................................................................... 11
1-2 Basic Hardware Configuration .......................................................................................................................... 13
2-1 IE-789882-NS-EM1 Part Names....................................................................................................................... 16
3-1 Connection of Emulation Probe ........................................................................................................................ 19
3-2 Connecting Power Supply Voltage to Target System....................................................................................... 21
3-3 External Circuits Used as System Clock Oscillator .......................................................................................... 22
3-4 When Using Clock That Is Already Mounted on Emulation Board (Main System Clock) ................................. 23
3-5 When Using Clock That Is Already Mounted on Emulation Board (Subsystem Clock) .................................... 23
3-6 When Using User-Mounted Clock (Subsystem Clock) .................................................................................... 24
3-7 Crystal Oscillator (Subsystem Clock) ............................................................................................................... 26
3-8 Pin Alignment of Crystal Oscillator and Socket (Subsystem Clock) ................................................................. 26
3-9 Mask Option Setting ......................................................................................................................................... 27
3-10 External Trigger Input Position ......................................................................................................................... 28
4-1 Equivalent Circuit 1 of Emulation Circuit........................................................................................................... 30
4-2 Equivalent Circuit 2 of Emulation Circuit........................................................................................................... 31
4-3 Equivalent Circuit 3 of Emulation Circuit........................................................................................................... 32
B-1 Distance Between In-Circuit Emulator and Conversion Socket/Conversion Adapter
(When 64GB Is Used)....................................................................................................................................... 35
B-2 Connection Conditions of Target System (When NP-H64GB-TQ Is Used) ...................................................... 36

User’s Manual U16431EJ1V0UM 9
LIST OF TABLES
Table No. Title Page
1-1 Correspondence Between Emulation Probe and Conversion Adapter..............................................................12
1-2 Basic Specifications ..........................................................................................................................................14
2-1 Initial Settings of Switches and Jumpers...........................................................................................................17
3-1 Switch and Jumper Settings on IE-78K0S-NS...................................................................................................20
3-2 Switch and Jumper Settings on IE-78K0S-NS-A...............................................................................................20
3-3 Setting Power Supply of Target Interface..........................................................................................................21
3-4 Main System Clock Settings..............................................................................................................................24
3-5 Subsystem Clock Settings.................................................................................................................................25
3-6 Mask Option Setting ..........................................................................................................................................27
A-1 NP-H64GB-TQ Pin Assignments.......................................................................................................................34
B-1 Distance Between IE System and Conversion Adapter ....................................................................................35

User’s Manual U16431EJ1V0UM
10
CHAPTER 1 GENERAL
The IE-789882-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.
This chapter describes the IE-789882-NS-EM1’s system configuration and basic specifications.
•Target devices
•
µ
PD789881 Subseries

CHAPTER 1 GENERAL
User’s Manual U16431EJ1V0UM 11
1.1 System Configuration
Figure 1-1 illustrates the IE-789882-NS-EM1’s system configuration.
Figure 1-1. System Configuration
FG Cable
IE-78K0S-NS
or
IE-78K0S-NS-A
(sold separately)
IE-70000-CD-IF-A
(sold separately)
Debugger
ID78K0S-NS
(sold separately)
Device file
Note 1
(available separately)
Control software
Host machine
PC-9800 Series,
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 cable
(NS IF Cable)
In-circuit emulator
IE-789882-NS-EM1
(this product)
AC adapter
IE-70000-MC-PS-B
(sold separately)
Emulation probe
Note 2
(sold separately)
Conversion adapter
Note 3
(sold separately)
NS CARD
Cable MC CARD
Cable
Interface
cable
Interface card

CHAPTER 1 GENERAL
User’s Manual U16431EJ1V0UM
12
Notes 1. The device file is as follows, in accordance with the subseries.
µ
S××××DF789882:
µ
PD789881 Subseries
The device file can be downloaded from the website of NEC Electronics
(http://www.necel.com/micro/)
2. The emulation probe NP-H64GB-TQ is a product 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 adapter TGB-064SDP is a product 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)
Table 1-1. Correspondence Between Emulation Probe and Conversion Adapter
Package Emulation Probe Conversion Adapter
64-pin plastic LQFP
(GB type)
NP-H64GB-TQ (probe length: 400 mm) TGB-064SDP

CHAPTER 1 GENERAL
User’s Manual U16431EJ1V0UM 13
1.2 Hardware Configuration
Figure 1-2 shows the IE-789882-NS-EM1’s position in the basic hardware configuration.
Figure 1-2. Basic Hardware Configuration
IE-78K0S-NS or
IE-78K0S-NS-A IE-789882-NS-EM1
Emulation probe
(sold separately)
Dedicated bus interface
IE system
Host machine Interface board
(sold separately)
78K0S main board
(sold separately)
Emulation board
(This product)
Interface card
(sold separately)

CHAPTER 1 GENERAL
User’s Manual U16431EJ1V0UM
14
1.3 Basic Specifications
The basic specifications of the IE-789882-NS-EM1 are listed in Table 1-2.
Table 1-2. Basic Specifications
Parameter Description
Target device
µ
PD789881 Subseries
System clock Main system clock: 500 kHz
Subsystem clock: 32.768 kHz, 38.4 kHz
Main system clock supply Internal: Mounted on emulation board
Subsystem clock supply Internal: Mounted on the emulation board or mounted on the socket by the user
Target interface voltage VDD = 2.7 to 3.6 V (same as that of target device)
Operates on internal power supply (3.9 V) when target system is not connected

User’s Manual U16431EJ1V0UM 15
CHAPTER 2 PART NAMES
This chapter introduces the parts of the IE-789882-NS-EM1 main unit.
The packing box contains the emulation board (IE-789882-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.
Fill out and return the guarantee card that comes with the main unit.

CHAPTER 2 PART NAMES
User’s Manual U16431EJ1V0UM
16
2.1 Parts of Main Unit
Figure 2-1 shows the part names of the IE-789882-NS-EM1.
Figure 2-1. IE-789882-NS-EM1 Part Names
SW1
USER VDD IE-789882-NS-EM1
JP1
JP2
EXOUT EXIN DONE
TGCN1
X2
Probe connector
64GB
USERVDD LED
DONE LED
EXTIN
EXTOUT
External trigger

CHAPTER 2 PART NAMES
User’s Manual U16431EJ1V0UM 17
2.2 Initial Settings of Switches and Jumpers
Table 2-1 shows the initial settings of the switches and jumpers on the IE-789882-NS-EM1.
For the setting of SW1, refer to 3.5 Mask Option Settings.
Use the IE-789882-NS-EM1 with jumpers JP1 and JP2 set to the initial settings.
Table 2-1. Initial Settings of Switches and Jumpers
SW1
1234
Initial setting OFF OFF OFF OFF
JP1 JP2
Initial setting 1 and 2 shorted
(Fixed)
2 and 3 shorted
(Fixed)

User’s Manual U16431EJ1V0UM
18
CHAPTER 3 INSTALLATION
This chapter describes methods for connecting the IE-789882-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.

CHAPTER 3 INSTALLATION
User’s Manual U16431EJ1V0UM 19
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-789882-NS-EM1 to
the IE-78K0S-NSNote.
Note When using the IE-78K0S-NS-A, see the IE-78K0S-NS-A User’s Manual (U15207E).
(2) Connection with emulation probe
See the IE-78K0S-NS User’s Manual (U13549E) for a description of how to connect an emulation probe to the
IE-789882-NS-EM1Note.
On this board, connect the emulation probe to TGCN1.
Note When using the IE-78K0S-NS-A, see the IE-78K0S-NS-A User’s Manual (U15207E).
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
Main board of
IE-78K0S-NS (sold separately) or
IE-78K0S-NS-A (sold separately)
IE-789882-NS-EM1
TGCN1 64GB
Emulation probe
(sold separately)

CHAPTER 3 INSTALLATION
User’s Manual U16431EJ1V0UM
20
3.2 Switch and Jumper Settings on Main Unit
(1) Settings on the IE-78K0S-NS
When using the IE-789882-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).
Table 3-1. Switch and Jumper Settings on IE-78K0S-NS
SW1 SW3 SW4 JP1 JP4
Setting OFF All switches ON
(Fixed)
All switches ON
(Fixed)
1 and 2 shorted 2 and 3 shorted
Caution Incorrect connection may damage the IE-789882-NS-EM1.
(2) Settings on the IE-78K0S-NS-A
When using the IE-789882-NS-EM1, set the switches and jumpers on the IE-78K0S-NS-A as shown in Table 3-
2. For details of these switch and jumper settings, refer to the IE-78K0S-NS-A User’s Manual (U15207E).
Table 3-2. Switch and Jumper Settings on IE-78K0S-NS-A
SW1 JP1 JP3
Setting OFF 2 and 3 shorted (fixed) Shorted (fixed)
Caution Incorrect connection may damage the IE-789882-NS-EM1.
Table of contents
Other NEC Computer Hardware manuals
Popular Computer Hardware manuals by other brands

ekwb
ekwb EK-Vector RTX Aorus 2080 installation manual

Panasonic
Panasonic 2SA1738 Specification sheet

Pacific Scientific
Pacific Scientific OC950 EPROM Installation & hardware reference manual

Rose electronics
Rose electronics UltraVista Pro VWL-CH-DP02 Installation and operation manual

Intersil
Intersil ISL37305P user manual

Intel
Intel Core i7-980X Product overview