NEC 78K/0 Series User manual

Document No. U13731EJ3V0UM00 (3rd edition)
Date Published May 2003 N CP(K)
Printed in Japan
User’s Manual
IE-78K0-NS
In-Circuit Emulator
Target Devices
78K/0 Series
©

User’s Manual U13731EJ3V0UM
2
[MEMO]

User’s Manual U13731EJ3V0UM 3
V40 Family is a trademark of NEC Electronics Corporation.
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 February, 2003. 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.
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)
•
•
•
•
•
•
M8E 02. 11-1
(1)
(2)
"NEC Electronics" as used in this statement means NEC Electronics Corporation and also includes its
majority-owned subsidiaries.
"NEC Electronics products" means any product developed or manufactured by or for NEC Electronics (as
defined above).
Computers, office equipment, communications equipment, test and measurement equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots.
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).
Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems and medical equipment for life support, etc.
"Standard":
"Special":
"Specific":

User’s Manual U13731EJ3V0UM
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.
[GLOBAL SUPPORT]
http://www.necel.com/en/support/support.html
NEC Electronics America, Inc. (U.S.)
Santa Clara, California
Tel: 408-588-6000
800-366-9782
NEC Electronics Hong Kong Ltd.
Hong Kong
Tel: 2886-9318
NEC Electronics Hong Kong Ltd.
Seoul Branch
Seoul, Korea
Tel: 02-558-3737
NEC Electronics Shanghai, Ltd.
Shanghai, P.R. China
Tel: 021-6841-1138
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 6253-8311
J03.4
N
EC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 01
• Sucursal en España
Madrid, Spain
Tel: 091-504 27 87
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
• Succursale Française
• Filiale Italiana
Milano, Italy
Tel: 02-66 75 41
• Branch The Netherlands
Eindhoven, The Netherlands
Tel: 040-244 58 45
• Tyskland Filial
Taeby, Sweden
Tel: 08-63 80 820
• United Kingdom Branch
Milton Keynes, UK
Tel: 01908-691-133
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 U13731EJ3V0UM 5
Major Revisions in This Edition
Page Description
Throughout Change of interface board for desktop PC from IE-70000-PCI-IF to IE-70000-PCI-IF-A
p.12 Modification of Figure 1-1 IE-78K0-NS System Configuration
p.36 A.1 Introduction
•Deletion of Applicable models
p.38 B.1 Introduction
•Deletion of Applicable models
The mark shows major revised points.

User’s Manual U13731EJ3V0UM
6
INTRODUCTION
Product overview The IE-78K0-NS is used in combination with an emulation board (IE-780×××-NS-EM1,
IE-780×××-NS-EM4), I/O board (IE-78K0-NS-P0×), and performance board (IE-78K0-
NS-PA) to debug products in the 78K/0 Series of 8-bit single-chip microcontrollers.
Target readers This manual is intended for engineers who perform debugging of systems that employ
78K/0 Series 8-bit single-chip microcontrollers with the IE-78K0-NS and an emulation
board (IE-780×××-NS-EM1, IE-780×××-NS-EM4), I/O board (IE-78K0-NS-P0×), and
performance board (IE-78K0-NS-PA).
Purpose The purpose of this manual is to help the user understand the debugging functions that
are available by using the IE-78K0-NS and the emulation board (IE-780×××-NS-EM1,
IE-780×××-NS-EM4), I/O board (IE-78K0-NS-P0×), and performance board (IE-78K0-
NS-PA) together.
Organization When using the IE-78K0-NS, please refer to the manual that comes with the IE-78K0-
NS (this manual) as well as the manual that comes with the emulation board (IE-
780×××-NS-EM1, IE-780×××-NS-EM4), I/O board (IE-78K0-NS-P0×), and performance
board (IE-78K0-NS-PA).
•Basic specifications •Function outline
•System configuration •Target interface differences
•External interface function
How to read this manual To understand the overall functions of the IE-78K0-NS:
→Read this manual in the order of the contents.
To understand the basic specifications:
→Refer to CHAPTER 1 GENERAL and CHAPTER 2 PART NAMES.
For how to connect the IE-780×××-NS-EM1, IE-780×××-NS-EM4, IE-78K0-NS-P0×, IE-
78K0-NS-PA and make settings to debug 78K/0 Series products:
→Refer to CHAPTER 3 INSTALLATION.
IE-78K0-NS
User’s Manual
(This manual)
IE-780×××-NS-EM1
IE-780×××-NS-EM4
IE-78K0-NS-P0×
IE-78K0-NS-PA
User’s Manual

User’s Manual U13731EJ3V0UM 7
Terminology The meanings of the terms used in this manual are described in the table 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 program This is the program to be debugged.
Target system This is the system to be debugged.
This includes the target program and the hardware provided by the user.
When defined narrowly, it includes only the hardware.
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 Please use the following documents in conjunction with this manual.
The related documents listed below may include preliminary versions. However,
preliminary versions are not marked as such.
{Documents Related to Development Tools (User’s Manuals)
Document Name Document Number
IE-78K0-NS In-Circuit Emulator This manual
Operation U14445E
Language U14446E
RA78K0 Assembler Package
Structured Assembly Language U11789E
Operation U14297ECC78K0 C Compiler Package
Language U14298E
Operation (WindowsTM Based) U15373ESM78K Series Ver.2.30 or later System Simulator
External part user open
interface specifications
U15802E
ID78K Series Integrated Debugger Ver.2.30 or
later
Operation (Windows Based) U15185E
ID78K0 Integrated Debugger (EWS Based) Reference −
Basics U11537ERX78K0 Real-Time OS
Installation U11536E
Project Manager Ver. 3.12 or later (Windows Based) U14610E
PG-FP4 Flash Memory Programmer U15260E
Caution The documents listed above are subject to change without notice. Be sure to use the latest
documents for designing, etc.

User’s Manual U13731EJ3V0UM
8
CONTENTS
CHAPTER 1 GENERAL............................................................................................................................11
1.1 System Configuration....................................................................................................................11
1.2 Hardware Configuration ................................................................................................................13
1.3 Basic Specifications ......................................................................................................................15
1.4 Contents in Carton.........................................................................................................................17
CHAPTER 2 PART NAMES.....................................................................................................................19
2.1 Parts of Main Unit ..........................................................................................................................19
2.2 Board Name....................................................................................................................................21
CHAPTER 3 INSTALLATION ...................................................................................................................23
3.1 Connection .....................................................................................................................................23
3.2 External Trigger Functions ...........................................................................................................32
3.3 Jumper Settings (on Main Board (G-780009 Board)) .................................................................33
3.4 Low-Voltage Emulation Settings ..................................................................................................34
APPENDIX A INTERFACE BOARD (IE-70000-PCI-IF-A) FOR DESKTOP PC .................................36
A.1 Introduction ....................................................................................................................................36
A.2 Installation ......................................................................................................................................37
APPENDIX B PC CARD INTERFACE (IE-70000-CD-IF-A) ..................................................................38
B.1 Introduction ....................................................................................................................................38
B.2 Installation ......................................................................................................................................39
APPENDIX C INTERFACE BOARD (IE-70000-98-IF-C) FOR PC-9800 SERIES ...............................40
C.1 Introduction ....................................................................................................................................40
C.2 Installation ......................................................................................................................................41
APPENDIX D INTERFACE BOARD (IE-70000-PC-IF-C) FOR IBM PC/AT COMPATIBLES ............43
D.1 Introduction ....................................................................................................................................43
D.2 Installation ......................................................................................................................................44
APPENDIX E REVISION HISTORY.........................................................................................................46

User’s Manual U13731EJ3V0UM 9
LIST OF FIGURES
Figure Number Title Page
1-1 IE-78K0-NS System Configuration .................................................................................................................... 12
1-2 IE-78K0-NS Basic Hardware Configuration 1.................................................................................................... 13
1-3 IE-78K0-NS Basic Hardware Configuration 2.................................................................................................... 13
1-4 IE-78K0-NS Basic Hardware Configuration 3.................................................................................................... 14
1-5 IE-78K0-NS Basic Hardware Configuration 4.................................................................................................... 14
1-6 Contents in Carton............................................................................................................................................. 17
1-7 Contents in Accessory Bag ............................................................................................................................... 18
2-1 Main Board (G-780009 Board) .......................................................................................................................... 22
3-1 Connecting Emulation Board (IE-780×××-NS-EM1) .......................................................................................... 24
3-2 Connecting Performance Board and Emulation Board (IE-780×××-NS-EM1) .................................................. 25
3-3 Connecting I/O Board and Emulation Board (IE-780×××-NS-EM4) ................................................................... 27
3-4 Connecting Performance Board, I/O Board and Emulation Board ................................................................... 28
3-5 Connecting Emulation Probe............................................................................................................................. 30
3-6 Connecting AC Adapter..................................................................................................................................... 31
3-7 Connecting Dedicated Bus Interface Cable....................................................................................................... 31
3-8 Default Settings of JP2, JP3, JP4, JP6, JP7, and JP8 ...................................................................................... 33
3-9 Part Names of G-780009 Board ........................................................................................................................ 34
3-10 Position of TP1 on IE-78K0-NS ......................................................................................................................... 34
3-11 Position of TP1 on IE-78018-NS-EM1............................................................................................................... 35
A-1 Mounting of PCI Board and Connector Boards ................................................................................................. 37
C-1 INT JP, WAIT JP Settings ................................................................................................................................. 42
D-1 INT JP, WAIT JP Settings ................................................................................................................................. 45

User’s Manual U13731EJ3V0UM
10
LIST OF TABLES
Table Number Title Page
1-1 List of Functions (MAX. Specifications) .............................................................................................................15
3-1 Electrical Specifications .....................................................................................................................................32
C-1 SW1 and SW2 Settings When Setting I/O Address to 01D×H...........................................................................41
D-1 SW1 and SW2 Settings When Setting I/O Address to 020×H ...........................................................................44

User’s Manual U13731EJ3V0UM 11
CHAPTER 1 GENERAL
The IE-78K0-NS is a development tool for effectively debugging hardware and software in which a 78K/0 Series 8-
bit single-chip microcontroller is used.
This chapter describes the system configuration and basic specifications of the IE-78K0-NS.
1.1 System Configuration
Figure 1-1 shows the system configuration of the IE-78K0-NS.

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM
12
Figure 1-1. IE-78K0-NS System Configuration
Integrated debugger
ID78K0-NS
(sold separately)
Device file
Note 4
(available separately)
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
IE-78K0-NS
(this product)
PC card interface
+
++
+
Performance board
IE-78K0-NS-PA
Emulation board
IE-78×××-NS-EM1
(sold separately)
AC adapter
IE-70000-MC-PC-B
(sold separately)
I/O board
IE-78K0-NS-P0×
(sold separately)
Emulation board
IE-780×××-NS-EM4
(sold separately)
Control software
Host machine
PC-9800 series,
IBM PC/AT
TM
compatibles
Interface
cable
NS card
cable
MC card
cable
Note 5
PC card interface
IE-70000-CD-IF-A
(sold separately)
Interface cable
(NS interface cable)
In-circuit emulator
Emulation probe
NP-××××
Note 2
(sold separately)
Convertion socket
EV-×××××-××
TQx-××××××
Note 3
Notes 1. When using the IE-780×××-NS-EM4, it is necessary to connect an I/O board, IE-78K0-NS-P0×. The
IE-780×××-NS-EM4 and IE-78K0-NS-P0×are sold separately.
2. The NP-××××× 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 TQx-xxxxxx 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 U13731EJ3V0UM 13
Notes 4. The device file can be downloaded from the NEC Electronics website
(URL: http://www.necel.com/micro).
5. This is a cable for the V850 Series. This is not used for the IE-78K0-NS.
1.2 Hardware Configuration
The IE-78K0-NS consists of the following hardware units (such as cabinet and boards).
•Cabinet
•78K0 main board
•NS interface cable
•Plastic spacers ×2
Figure 1-2. IE-78K0-NS Basic Hardware Configuration 1
IE-78K0-NS
Host
machine
Interface board
(sold separately)
Interface card
(sold separately)
Dedicated
bus interface
78K0
main board
78K0 Series
EM1 board
Emulation probe
(sold separately)
Figure 1-3. IE-78K0-NS Basic Hardware Configuration 2
IE-78K0-NS
78K0
option board
78K0 Series
EM1 board
Host
machine
Interface board
(sold separately)
Interface card
(sold separately)
Dedicated bus
interface
78K0
main board
External sense
probe
Emulation probe
(sold separately)

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM
14
Figure 1-4. IE-78K0-NS Basic Hardware Configuration 3
IE-78K0-NS
Host
machine
Interface board
(sold separately)
Interface card
(sold separately)
Dedicated bus
interface
78K0
main board
Emulation board 2
(IE-78K0-NS-P0×)
78K0 Series
EM4 board
Emulation probe
(sold separately)
Figure 1-5. IE-78K0-NS Basic Hardware Configuration 4
Host
machine
Interface board
(sold separately)
Interface card
(sold separately)
Dedicated bus
interface
78K0
main board
78K0
option board
Emulation
board 2
(IE-78K0
-NS-P0×)
78K0 Series
EM4 board
Emulation probe
(sold separately)
External sense
probe

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM 15
1.3 Basic Specifications
Table 1-1. List of Functions (MAX. Specifications) (1/2)
Parameter Description
Supervisor V40TM (operating frequency: 16.0 MHZ)
Target device 78K/0 Series (
µ
PD780×××)
System clock According to specification of emulation board (sold separately)
External Pulse inputClock
supply Internal Mounted on emulation board (sold separately)
Substitute memory capacity 64 KB
Internal ROM 4 KB
Internal high-
speed RAM
64 bytes
Internal low-speed
RAM
128 bytes
Mapping
unit
External expansion
memory
8 KB
Emulation function •Real-time execution
•Break execution
•Step execution
Real-time internal RAM monitor 2 KB of memory space
Event detection •Program execution detection
•Bus event detection
•External trigger detection
Trigger output (open drain output (1))
Event integration •Path condition
•Trace qualify condition
•Delay condition
•Trigger condition
Break factor •Event break
•Manual break
•Command break
•Fail-safe break
Trace factor •All traces
•Qualify trace
Trace capacity 32 bits ×8 KB
Real-time trace
Trace content Address, data, and status

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM
16
Table 1-1. List of Functions (MAX. Specifications) (2/2)
Parameter Description
Execution time measurement Up to 4 mins 28 sec, resolution: 62.5 ns
Target interface Emulation probe (sold separately) provided for each target device shape
Host interface Dedicated bus interface
Low-voltage support Based on the emulation board (sold separately)
Host machine PC-9800 series, or IBM PC/AT compatibles
Power supply DC 5 V
Operation temperature range 10°C to 40°C
Dimensions W240 ×D197 ×H73 (mm)

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM 17
1.4 Contents in Carton
The IE-78K0-NS carton contains the main unit, cables, an accessory bag, and a guarantee card.
Make sure that the accessory bag contains a packing list, this user’s manual, spacers, and screws.
In case of missing or damaged items, please contact an NEC Electronics sales representative or NEC Electronics
distributor.
Figure 1-6. Contents in Carton
<2> NS interface cable <3> FG cable
<4> Accessory bag
<1> IE-78K0-NS
<5> Guarantee card
<1> IE-78K0-NS main unit ×1
<2> NS interface cable ×1
<3> FG cable ×1
<4> Accessory bag ×1
<5> Guarantee card ×1

CHAPTER 1 GENERAL
User’s Manual U13731EJ3V0UM
18
Check that the accessory bag contains the following items (refer to Figure 1-7 Contents in Accessory Bag).
<a> Packing list ×1
<b> User’s manual (this manual) ×1
<c> Spacers ×2
<d> Screws ×4
Figure 1-7. Contents in Accessory Bag
<a> Packing list
<b> User's manual
<c> Spacers
<d> Screws

User’s Manual U13731EJ3V0UM 19
CHAPTER 2 PART NAMES
This chapter introduces the parts of the IE-78K0-NS main unit.
The packing box contains the IE-78K0-NS main unit. If there are any missing or damaged items, please contact
an NEC sales representative.
Please make sure to fill out and return the guarantee card that comes with the main unit.
2.1 Parts of Main Unit
(1) Probe end
T V C C
Target system power supply LED
Probe interface
Small: 13 × 158 mm
Large: 16 × 158 mm
(2) Top view
POWER
IN CIRCUIT EMULATOR
Power supply LED

CHAPTER 2 PART NAMES
User’s Manual U13731EJ3V0UM
20
(3) Interface
FG OFF ON RESET HOST-I/F
DC IN
-+
Reset switch
(RESET)
Dedicated bus interface connector
(HOST-I/F)
Power switch
(OFF/ON)
Other manuals for 78K/0 Series
5
This manual suits for next models
1
Table of contents
Other NEC Network Hardware manuals

NEC
NEC N8146-28 User manual

NEC
NEC Univerge SV8100 User manual

NEC
NEC N8141-41 User guide

NEC
NEC N8151-46 User manual

NEC
NEC UX5000 User manual

NEC
NEC NE3203-153 User manual

NEC
NEC Express5800/E120d-M User manual

NEC
NEC Flash Memory Programmer PG-FP3 User manual

NEC
NEC ipasolink 400 User manual

NEC
NEC 200 User manual

NEC
NEC N8804-007 User manual

NEC
NEC A201NE User manual

NEC
NEC Univerge SV8100 User guide

NEC
NEC SIGMABLADE N8406-019 User manual

NEC
NEC N8151-50 User manual

NEC
NEC P/N 0893416 User manual

NEC
NEC Aspire Series User manual

NEC
NEC N8104-213 User manual

NEC
NEC DSX-160 User manual

NEC
NEC NEAX 2400 IMX User manual