NEC IE-78K0-NS-P04 User manual

Preliminary User’s Manual
IE-780828-NS-EM4
Emulation Board and Probe Board
© NEC Corporation 2000
Document No. U14502EE2V0UM00
Date Published June 2000
IE-78K0-NS-P04
for IE-78K0-NS-A
Target device
µPD780828B(A) Subseries

2
IE-78K0-NS-P04, IE-780828-NS-EM4
This equipment complies with the EMC protection requirements.
Warning
This is a ´Class A´ (EN 55022: 1994) equipment. This equipment can cause radio frequency noise
when used in the residential area. In such cases, the user/operator of the equipment may be required
to take appropriate countermeasures under his responsibility.
Caution
This equipment should be handled like a CMOS semiconductor device. The user must take all
precautions to avoid build-up of static electricity while working with this equipment. All test and
measurement tools including the workbench must be grounded. The user/operator must be grounded
using the wrist strap. The In-Circuit Emulator probe target connector plug and/or its adapter pins should
not be touched with bare hands.

3
IE-78K0-NS-P04, IE-780828-NS-EM4
MS-DOS and MS-Windows are either registered trademarks or trademarks of Microsoft
Corporation in the United States and/or other countries.
PC/AT and PC DOS are trademarks of IBM Corp.
The related documents in this publication may include preliminary versions. However, prelimi-
nary versions are not marked as such.
The export of this product from Japan is regulated by the Japanese government. To export this
product may be prohibited without governmental license, the need for which must be judged by the
customer. The export or re-export of this product from a country other than Japan may also be
prohibited without a license from that country. Please call an NEC sales representative.
M5 2000.03
The information in this document is current as of 26.06.2000. 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 equip-
ment, 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 specifi-
cally designed for life support).
"Specific": Aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems or 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.
Notes: (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).

4
IE-78K0-NS-P04, IE-780828-NS-EM4
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 (Germany) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 02
Fax: 0211-65 03 490
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 (Germany) GmbH
Benelux Office
Eindhoven, The Netherlands
Tel: 040-2445845
Fax: 040-2444580
NEC Electronics (France) S.A.
Vélizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
NEC Electronics (France) S.A.
Spain Office
Madrid, Spain
Tel: 91-504-2787
Fax: 91-504-2860
NEC Electronics (Germany) GmbH
Scandinavia Office
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
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.
United Square, Singapore 1130
Tel: 65-253-8311
Fax: 65-250-3583
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
Fax: 02-2719-5951
NEC do Brasil S.A.
Electron Devices Division
Rodovia Presidente Dutra, Km 214
07210-902-Guarulhos-SP Brasil
Tel: 55-11-6465-6810
Fax: 55-11-6465-6829
J99.1

5
IE-78K0-NS-P04, IE-780828-NS-EM4
Introduction
Product Overview The IE-78K0-NS-P04 and the IE-780828-NS-EM4, when combined with the
IE-78K0-NS-A, are used to debug the following target devices that belong to the
78K/0 Series of 8-bit single-chip microcontrollers.
•µPD780828B(A) Subseries
Target Readers This manual is intended for engineers who will use the IE-78K0-NS-P04 and the
IE-780828-NS-EM4 with the IE-78K0-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-78K0-NS-P04 and the IE-780828-NS-EM4, refer not only
to this manual (supplied with the IE-780828-NS-EM4) but also the manual that
is supplied with the IE-78K0-NS-A.
·Basic specifications ·General
·System configuration ·Parts names
·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-78K0-NS-P04 and the IE-780828-NS-EM4.
IE-78K0-NS-P04
IE-780828-NS-EM4
User's Manual
IE-78K0-NS-A
User's Manual

6
IE-78K0-NS-P04, IE-780828-NS-EM4
Terminology
The meanings of certain terms used in this manual are listed below.
Conventions Data significance weight : 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 indicated in this publication may include preliminary
versions. However, preliminary versions are not marked as such.
Caution: The documents listed above are subject to change without notice. Be sure to use the
latest documents when designing.
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 a device (a µPD780828B(A) Subseries 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-78K0-NS-A,
the IE-78K0-NS-P04 and the IE-780828-NS-EM4.
Document Number
Document Name
English Japanese
IE-78K0-NS-A To be prepared To be prepared
IE-78K0-NS-P04, IE-780828-NS-EM4. This manual To be prepared
ID78K0-NS Integrated Debugger Reference Windows Based U12900E U12900J

7
IE-78K0-NS-P04, IE-780828-NS-EM4
Table of Contents
Introduction ................................................................................................................................................... 5
Chapter 1 General ...................................................................................................................................... 11
1.1 System Configuration .......................................................................................................................... 12
1.2 Hardware Configuration ...................................................................................................................... 14
1.3 Basic Specifications ............................................................................................................................ 15
1.4 Notes on Use of IE-78K0-NS-P04 and IE-780828-NS-EM4 ................................................................ 16
Chapter 2 Part Names ................................................................................................................................ 18
2.1 Package Components ........................................................................................................................... 18
2.2 Parts of the IE-78K0-NS-P04................................................................................................................ 19
2.3 Parts of the IE-780828-NS-EM4 ........................................................................................................... 20
Chapter 3 Installation ................................................................................................................................. 23
3.1 Installation Procedure .......................................................................................................................... 24
3.2 Clock Settings ...................................................................................................................................... 33
3.2.1 Overview of clock settings ............................................................................................................ 33
3.2.2 Main System Clock Selections ..................................................................................................... 34
3.2.3 Subsystem Clock ........................................................................................................................... 35
3.2.4 Main system clock settings ........................................................................................................... 35
3.2.5 Examples of Main System Clock Setting ..................................................................................... 40
3.3 Subsystem Clock Setting ..................................................................................................................... 41
3.4 LCD Resistor Network .......................................................................................................................... 42
3.5 Jumper Settings ................................................................................................................................... 43
3.6 External Trigger .................................................................................................................................... 44
Chapter 4 Differences among Target Devices and Target Interface Circuits ........................................ 46
4.1 Input/Output Signals ............................................................................................................................ 47
4.2 Differences in Port Functions .............................................................................................................. 51
4.3 Differences in SFR-Registers ............................................................................................................... 51
4.4 Target Interface Circuit.......................................................................................................................... 51
Chapter 5 Restrictions ............................................................................................................................... 53
Appendix A IE-78K0-NS-P04, IE-780828-NS-EM4 Product Specifications ............................................ 55
Appendix B Conversion Socket Adapter Package Drawings and recommended
Board Mounting Pattern ........................................................................................................ 57
Appendix C Pin Correspondence Tables of Emulation Probe ............................................................... 60

8
IE-78K0-NS-P04, IE-780828-NS-EM4
List of Figures
Figure 1-1: System Configuration ............................................................................................................ 12
Figure 1-2: Basic Hardware Configuration .............................................................................................. 14
Figure 2-1: IE-78K0-NS-P04 External View and Part Names ................................................................... 19
Figure 2-2: IE-780828-NS-EM4 External View and Part Names ............................................................... 20
Figure 3-1: IE-78K0-NS-A inside ................................................................................................................ 24
Figure 3-2: Main Board (G-780009) Jumper Positioning ......................................................................... 25
Figure 3-3: Emulation Board (IE-78K0-NS-P04) Jumper Positioning ..................................................... 27
Figure 3-4: Emulation Board (IE-780828-NS-EM4) Jumper Positioning ................................................. 30
Figure 3-5: Connection of Boards ............................................................................................................. 32
Figure 3-6: External Circuits Used as System Clock Oscillation Circuit .............................................. 33
Figure 3-7: When Using Clock That Is Already Mounted on Emulation Board..................................... 34
Figure 3-8: When Using User-mounted Clock ......................................................................................... 34
Figure 3-9: When Using an External Clock .............................................................................................. 35
Figure 3-10: Connections on Parts Board ............................................................................................... 36
Figure 3-11: IE-78K0-NS-A side (Emulation Device) ............................................................................... 37
Figure 3-12: Crystal Oscillator .................................................................................................................. 38
Figure 3-13: Pin Alignment of Crystal Oscillator and Socket ................................................................ 38
Figure 3-14: IE-78K0-NS-A side (Emulation Device) ............................................................................... 39
Figure 3-15: LCD-split resistor Network................................................................................................... 42
Figure 3-16: External Trigger Input Position ............................................................................................ 44
Figure 4-1: Equivalent Circuit 1 from Emulation Circuit ........................................................................48
Figure 4-2: Equivalent Circuit 2 from Emulation Circuit ........................................................................49
Figure 4-3: Equivalent Circuit 3 from Emulation Circuit ........................................................................50
Figure B-1: 80GC Package Drawings (Reference) ................................................................................... 58

9
IE-78K0-NS-P04, IE-780828-NS-EM4
List of Tables
Table 1-1: Basic Specifications .................................................................................................................. 15
Table 2-1: Names of IE-78K0-NS-P04 and IE-780828-NS-EM4 Parts ....................................................... 21
Table 3-1: Flash ROM Mode........................................................................................................................ 25
Table 3-2: Internal Mode 1 .......................................................................................................................... 25
Table 3-3: Internal Mode 2 .......................................................................................................................... 26
Table 3-4: Main Clock Selection ................................................................................................................. 26
Table 3-5: Main Clock Doubler Selection .................................................................................................. 26
Table 3-6: Sub Clock Selection .................................................................................................................. 26
Table 3-7: Reference Voltage Pin of AD-Converter ................................................................................... 27
Table 3-8: Ground Voltage Pin of AD-Converter ....................................................................................... 27
Table 3-9: JTAG Mode ................................................................................................................................. 28
Table 3-10: JTAG Mode ............................................................................................................................... 28
Table 3-11: FPGA Mode Selection ............................................................................................................. 28
Table 3-12: JTAG Mode ............................................................................................................................... 28
Table 3-13: Reference Voltage Setting ....................................................................................................... 28
Table 3-14: Reference Voltage Setting ....................................................................................................... 29
Table 3-15: Future Function ....................................................................................................................... 29
Table 3-16: LED Indicator D1, D2, D3 ......................................................................................................... 29
Table 3-17: User RESET mode ................................................................................................................... 31
Table 3-18: DCAN Out Transmit Buffer Selection ..................................................................................... 31
Table 3-19: DCAN in Buffer Type Selection ............................................................................................... 31
Table 3-20: Stepper Motor Power Selection .............................................................................................. 31
Table 3-21: Stepper Motor Power Selection .............................................................................................. 31
Table 3-22: Main System Clock Settings ................................................................................................... 35
Table 3-23: Jumper Settings on IE-78K0-NS-A ......................................................................................... 43
Table 3-24: Jumper Settings on IE-78K0-NS-P04 ..................................................................................... 43
Table 3-25: Jumper Settings on IE-780828-NS-EM4 .................................................................................43
Table C-1: Connector CN11 to Emulation Probe ...................................................................................... 60
Table C-2: Connector CN11 to Emulation Probe ...................................................................................... 61

10
IE-78K0-NS-P04, IE-780828-NS-EM4
[MEMO]

11
IE-78K0-NS-P04, IE-780828-NS-EM4
Chapter 1 General
The IE-78K0-NS-P04 and the IE-780828-NS-EM4 are development tools for efficient debugging of
hardware or software when using one of the following target devices that belong to the 78K/0 Series of
8-bit single-chip microcontrollers.
This chapter describes the emulation board’s and probe board's system configuration and basic
specifications.
- Target device
- µPD780828B(A) Subseries

12
IE-78K0-NS-P04, IE-780828-NS-EM4
1.1 System Configuration
Figure 1-1 illustrates the IE-78K0-NS-P04 / IE-780828-NS-EM4’s system configuration.
Figure 1-1: System Configuration
FG Cable
IE-78K0-NS-A
NS CARD
Cable
MC CARD
Cable
IE-70000-CD-IF-A
Debugger
ID78K0-NS Device file /FPGA Data
Control software
Host machine
PC-9800 Series
or IBM PC/AT™
compatibles
Interface board
IE-70000-98-IF-C
Interface board
or
Interface card
Interface
cable
Interface cable
(NS IF Cable)
In-circuit emulator
IE-78K0-NS-P04
IE-780828-NS-EM4
AC adapter Emulation probe
Conversion socket/conversion adapter
Interface board
IE-70000-PC-IF-CIE-70000-PCI-IF-A
or

13
IE-78K0-NS-P04, IE-780828-NS-EM4
Package Emulation Probe Conversion Socket/
Conversion Adapter
80-pin plastic QFP
(GC-8BT - type) NP-80GC-TQ
NQPACK080SB
YQPACK080SB
HQPACK080SB
YQSOCKET080SBF
The NP-80GC-TQ is a product of Naito Densei Machidaseisakusho Co., Ltd.
The sockets are products of TOKYO ELETECH CORPORATION.
Note: The packages, emulation probes, and conversion sockets/conversion adapters are listed below.

14
IE-78K0-NS-P04, IE-780828-NS-EM4
1.2 Hardware Configuration
Figure 1-2 shows the IE-78K0-NS-P04/IE-780828-NS-EM4’s position in the basic hardware con-
figuration.
Figure 1-2: Basic Hardware Configuration
IE-78K0-NS-A IE-78K0-NS-P04
IE-780828-NS-EM4
Emulation probe
Dedicated bus interface IE system
Host machine Interface board 78K0 Emulator Emulation board
(This product)
Interface card

15
IE-78K0-NS-P04, IE-780828-NS-EM4
1.3 Basic Specifications
The IE-78K0-NS-P04/IE-780828-NS-EM4’s basic specifications are listed in Table 1-1.
Table 1-1: Basic Specifications
Parameter Description
Target device µPD780828B(A) Subseries
System clock Main system clock: 8.38 MHz
Subsystem clock: not available on device
Clock supply External: Pulse input
Internal: Mounted on emulation board
Voltage support 4.0 to 5.5 V (same as target device)

16
IE-78K0-NS-P04, IE-780828-NS-EM4
1.4 Notes on Use of IE-78K0-NS-P04 and IE-780828-NS-EM4
(1) Ensure that the power supply for the IE-78K0-NS-A and the target system is OFF before connecting
or disconnecting to/from the IE-78K0-NS-A and the target device, or changing switch settings, etc.
(2) When carrying out target device emulation using the IE-78K0-NS-P04 and IE-780828-NS-EM4 in
conjunction with the IE-78K0-NS-A, there are certain differences from the operation of the actual device
(see Differences from Target Device).
(3) The target system VDD must be between 4.0 V and 5.5 V.
(4) Power on sequence:
1. Power on IE-78K0-NS-A
2. Power on target hardware
3. Start debugger ID78K0-NS
(5) Power off sequence:
1. Exit from debugger ID78K0-NS
2. Power off target hardware
3. Power off IE-78K0-NS-A.

17
IE-78K0-NS-P04, IE-780828-NS-EM4
[Memo]

18
IE-78K0-NS-P04, IE-780828-NS-EM4
Chapter 2 Part Names
This chapter introduces the parts of the IE-78K0-NS-P04 and the IE-780828-NS-EM4.
The packaging boxes of the IE-78K0-NS-P04 and the IE-780828-NS-EM4 contain the following items:
2.1 Package Components
IE-78K0-NS-P04 Components
The IE-78K0-NS-P04 comprises the following components. Please check that all these items are
included in the package.
(1) IE-78K0-NS-P04 x 1
(2) Parts holder (with cover) x 2
(3) Registration Card x 1
(4) Readme First x 1
(5) List of Contents x 1
IE-780828-NS-EM4 Components
The IE-780828-NS-EM4 comprises the following components. Please check that all these items are
included in the package.
(1) IE-780828-NS-EM4 x 1
(2) LCD-split resistor network x 1
(3) Screws Set x 1
(4) Registration Card x 1
(5) Readme First x 1
(6) List of Contents x 1
(7) Floppy Disk with Device
File and FPGA Data x 1
(8) User's Manual (this manual) x 1

19
IE-78K0-NS-P04, IE-780828-NS-EM4
2.2 Parts of the IE-78K0-NS-P04
Figure 2-1: IE-78K0-NS-P04 External View and Part Names
Main
system
clock (fix
8.00 MHz)
Main system clock
(user defined)

20
IE-78K0-NS-P04, IE-780828-NS-EM4
2.3 Parts of the IE-780828-NS-EM4
Figure 2-2: IE-780828-NS-EM4 External View and Part Names
External
trigger
EXT OUT
EXT IN
Emulation
probe
connector
CN11
USER VDD
LED
Other manuals for IE-78K0-NS-P04
2
This manual suits for next models
1
Table of contents
Other NEC Motherboard manuals

NEC
NEC MultiSync X551UN User manual

NEC
NEC AB-050-FX3-U User manual

NEC
NEC POWERMATE ES Series User manual

NEC
NEC PG-FPL2 User manual

NEC
NEC 78K0R/L 3 Sense it! Series User manual

NEC
NEC MultiSync X462HB User manual

NEC
NEC IE-703081-MC-EM1 User manual

NEC
NEC PowerMate CT User manual

NEC
NEC PG-FP4 User manual

NEC
NEC MultiSync P521 User manual