User’s Manual
Target Devices
µ
PD780078 Subseries
µ
PD780078Y Subseries
IE-780078-NS-EM1
Emulation Board
Document No. U16226EJ3V0UM00 (3rd edition)
Date Published January 2005 N CP(K)
2002
Printed in Japan
User’s Manual U16226EJ3V0UM
2
[MEMO]
User’s Manual U16226EJ3V0UM 3
PC/AT is a trademark of International Business Machines Corporation.
The information in this document is current as of June, 2004. 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 U16226EJ3V0UM
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-5888-5400
NEC Electronics Taiwan Ltd.
Taipei, Taiwan
Tel: 02-2719-2377
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore
Tel: 6253-8311
J04.1
N
EC Electronics (Europe) GmbH
Duesseldorf, Germany
Tel: 0211-65030
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 U16226EJ3V0UM 5
General Precautions for Handling This Product
1. Circumstances not covered by product guarantee
If the product was disassembled, altered, or repaired by the customer
If it was dropped, broken, or given another strong shock
Use at overvoltage, use outside guaranteed temperature range, storing outside guaranteed
temperature range
If power was turned on while connection to the power supply, PC interface cable, or target system
was in an unsatisfactory state
If the cable of the power supply, the PC interface cable, the emulation probe, or the like was bent or
pulled excessively
If a power supply other than the product described in the system configuration was used
If the product got wet
If this product is connected to the target system when there is a potential difference between the
GND of this product and GND of the target system.
If the connectors or cables are plugged/unplugged while this product is in the power-on state.
If excessive load is applied to the connectors or sockets.
2. Safety precautions
If used for a long time, the product may become hot (50°C to 60°C). Be careful of low temperature
burns and other dangers due to the product becoming hot.
Be careful of electrical shock. There is a danger of electrical shock if the product is used as
described above in 1 Circumstances not covered by product guarantee.
User’s Manual U16226EJ3V0UM
6
INTRODUCTION
Product Overview The IE-780078-NS-EM1 is designed to be used with the IE-78K0-NS or IE-78K0-NS-A to
debug the following target devices that belong to the 78K/0 Series of 8-bit single-chip
microcontrollers.
µ
PD780078 Subseries:
µ
PD780076, 780078, 78F0078
µ
PD780078Y Subseries:
µ
PD780076Y, 780078Y, 78F0078Y
Target Readers This manual is intended for engineers who will use the IE-780078-NS-EM1 with the IE-
78K0-NS or 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-780078-NS-EM1, refer to not only this manual (supplied with the IE-
780078-NS-EM1) but also the manual that is supplied with the IE-78K0-NS or IE-78K0-
NS-A.
The IE-78K0-NS used in combination with the IE-78K0-NS-PA is functionally equivalent
to the IE-78K0-NS-A. Therefore, as necessary, read IE-78K0-NS + IE-78K0-NS-PA for
IE-78K0-NS-A in this document.
IE-78K0-NS or IE-78K0-NS-A IE-780078-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-780078-NS-EM1.
User’s Manual U16226EJ3V0UM 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 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 in-circuit emulator (IE-78K0-NS or IE-78K0-NS-A) and the
emulation board (IE-780078-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
How to Read This Manual It is assumed that the readers of this manual have general knowledge in the fields of
electrical engineering, logic circuits, and microcontrollers.
To understand the overall functions and usages of the IE-780078-NS-EM1
Read this manual according to the CONTENTS.
The mark shows major revised points.
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-78K0-NS In-Circuit Emulator U13731E
IE-78K0-NS-A In-Circuit Emulator U14889E
IE-780078-NS-EM1 Emulation Board This manual
ID78K0-NS Ver. 2.52 Integrated Debugger Operation U16488E
µ
PD780078, 780078Y Subseries U14260E
Caution The documents listed above are subject to change without notice. Be sure to use the latest
documents when designing.
User’s Manual U16226EJ3V0UM
8
CONTENTS
CHAPTER 1 GENERAL..............................................................................................................................9
1.1 System Configuration ................................................................................................................................10
1.2 Hardware Configuration ............................................................................................................................12
1.3 Basic Specifications ..................................................................................................................................13
CHAPTER 2 PART NAMES ....................................................................................................................14
2.1 Parts of Main Unit.......................................................................................................................................15
CHAPTER 3 INSTALLATION...................................................................................................................16
3.1 Connection .................................................................................................................................................17
3.2 Clock Settings ............................................................................................................................................18
3.2.1 Overview of clock settings..............................................................................................................18
3.2.2 Main system clock settings.............................................................................................................21
3.2.3 Subsystem clock settings ...............................................................................................................26
3.3 Mask Option Setting...................................................................................................................................31
3.3.1 Pull-up resistor ...............................................................................................................................31
3.4 External Trigger..........................................................................................................................................32
3.5 Jumper Settings on IE-78K0-NS................................................................................................................33
3.6 Jumper Settings on IE-78K0-NS-A............................................................................................................33
3.7 Low-Voltage Emulation Setting ................................................................................................................34
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES
AND TARGET INTERFACE CIRCUITS
.............................................................................35
CHAPTER 5 CAUTIONS ON USE .........................................................................................................38
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE .......................................................39
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM................................................................40
APPENDIX C REVISION HISTORY ........................................................................................................45
User’s Manual U16226EJ3V0UM 9
CHAPTER 1 GENERAL
The IE-780078-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/0 Series of 8-bit single-chip microcontrollers.
This chapter describes the IE-780078-NS-EM1’s system configuration and basic specifications.
Target devices
µ
PD780078 Subseries
µ
PD780078Y Subseries
CHAPTER 1 GENERAL
User’s Manual U16226EJ3V0UM
10
1.1 System Configuration
Figure 1-1 illustrates the IE-780078-NS-EM1’s system configuration.
Figure 1-1. System Configuration
FG Cable
IE-78K0-NS
(sold separately)
or
IE-78K0-NS-A
(sold separately) NS CARD
Cable
MC CARD
Cable
IE-70000-CD-IF-A
(sold separately)
Debugger
ID78K0-NS
(sold separately)
Device fileNote 1
(available separately)
Control software
Host machine
PC-9800 Series,
IBM PC/AT™
or compatibles
Interface board
IE-70000-98-IF-C
(phased out product)
Interface board
IE-70000-PC-IF-C
(phased out product)
Interface board
IE-70000-PCI-IF-A
(sold separately)
or
Interface card
Interface cable
Interface cable
(NS IF Cable)
In-circuit emulator
IE-780078-NS-EM1
(This product)
AC adapter
IE-70000-MC-PS-B
(sold separately)
Emulation probeNote 2
(sold separately)
Conversion socket/conversion adapterNote 3
(sold separately)
CHAPTER 1 GENERAL
User’s Manual U16226EJ3V0UM 11
Notes 1. The device file is as follows, in accordance with the subseries.
µ
S××××DF780078:
µ
PD780078, 780078Y Subseries
Obtain device files from the NEC Electronics website.
(http://www.necel.com/micro/index_e.html)
2. The emulation probes NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ 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 adapters TGC-064SAP and TGK-064SBW 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)
Table 1-1 shows the correspondence between the emulation probes and conversion sockets/conversion adapters
that are sold separately.
Table 1-1. Correspondence Between Emulation Probes and Conversion Socket/Conversion Adapters
Package Emulation Probe Conversion Socket/Conversion Adapter
NP-64GC (probe length: 200 mm) EV-9200GC-64 64-pin plastic QFP
NP-64GC-TQ (probe length: 200 mm)
NP-H64GC-TQ (probe length: 400 mm)
TGC-064SAP
64-pin plastic TQFP NP-64GK (probe length: 200 mm)
NP-H64GK-TQ (probe length: 400 mm)
TGK-064SBW
CHAPTER 1 GENERAL
User’s Manual U16226EJ3V0UM
12
1.2 Hardware Configuration
Figures 1-2 shows the IE-780078-NS-EM1’s position in the basic hardware configuration.
Figure 1-2. Basic Hardware Configuration
IE-78K0-NS or IE-78K0-NS-A IE-780078-NS-EM1
Emulation probe
(sold separately)
Dedicated bus interface
IE system
Host machine Interface board
(sold separately)
In-circuit emulator
(sold separately)
Emulation board
(this product)
Interface card
(sold separately)
CHAPTER 1 GENERAL
User’s Manual U16226EJ3V0UM 13
1.3 Basic Specifications
The IE-780078-NS-EM1’s basic specifications are listed in Table 1-2.
Table 1-2. Basic Specifications
Parameter Description
Target device
µ
PD780078, 780078Y Subseries
System clock 12.0 MHz
Main system clock supply External: Input via an emulation probe from the target system
Internal: Mounted on the emulation board (8.38 MHz) or mounted on the board by the user
Subsystem clock supply External: Input via an emulation probe from the target system
Internal: Mounted on the emulation board (32.768 kHz) or mounted on the board by the user
Low voltage support VDD = 1.8 to 5.5 V (same as the target device)
User’s Manual U16226EJ3V0UM
14
CHAPTER 2 PART NAMES
This chapter introduces the parts of the IE-780078-NS-EM1 main unit.
The packing box contains the emulation board (IE-780078-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 U16226EJ3V0UM 15
2.1 Parts of Main Unit
Figure 2-1. IE-780078-NS-EM1 Part Names
PD78F0078CW
MASK OPTION
1234
P
3
0
P
3
3
P
3
2
P
3
1
SW1
X2
X1
CN6 64GC/64GK
G-780078 EM1 Board
EXTOUT
EXTIN
USER VDD
Mask option
Subsystem clock
X2
Main system clock
X1
Connector for
emulation probe
CN6 64GC/64GK
External trigger
µ
User’s Manual U16226EJ3V0UM
16
CHAPTER 3 INSTALLATION
This chapter describes methods for connecting the IE-780078-NS-EM1 to the IE-78K0-NS or IE-78K0-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 U16226EJ3V0UM 17
3.1 Connection
(1) Connection with IE-78K0-NS or IE-78K0-NS-A main unit
See the IE-78K0-NS User’s Manual (U13731E) for a description of how to connect the IE-780078-NS-EM1 to the
IE-78K0-NS.
See the IE-78K0-NS-A User’s Manual (U14889E) for a description of how to connect the IE-780078-NS-EM1 to
the IE-78K0-NS-A.
(2) Connection with emulation probe
See the IE-78K0-NS User’s Manual (U13731E) or IE-78K0-NS-A User’s Manual (U14889E) for a description of
how to connect an emulation probe to the IE-780078-NS-EM1.
Connect the emulation probe (NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ) to CN6.
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-78K0-NS (sold separately) or
IE-78K0-NS-A (sold separately)
IE-780078-NS-EM1
CN6 64GC/64GK
Emulation probe
(sold separately)
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
18
3.2 Clock Settings
3.2.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, a resonator is connected to the target device and
the target device’s internal oscillation circuit 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, the clock that is
mounted on the emulation board connected to the IE-78K0-NS or IE-78K0-NS-A is used.
If the target system includes an external clock, select (3) External clock.
For an external clock, a clock signal is supplied from outside the target device and the target device’s internal
oscillation circuit is not used. An example of the external circuit is shown in part (b) of Figure 3-2.
Caution The IE system will be hung-up if the main system clock is not supplied normally. Moreover, be
sure to input a rectangular wave as the clock from the target. The IE system does not operate if
the crystal resonator is connected to X1 (main system clock) and XT1 (subsystem clock).
Figure 3-2. External Circuits Used as System Clock Oscillation Circuit
(a) Internal clock
(b) External clock
X2 or XT2 X2 or XT2
Target device Target device
External
clock
X1 or XT1 X1 or XT1
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 19
(1) Clock that is already mounted on emulation board
(a) For main system clock
A crystal oscillator (X1) is already mounted on the emulation board. Its frequency is 8.38 MHz.
Figure 3-3. When Using Clock That Is Already Mounted on Emulation Board (Main System Clock)
IE-78K0-NS or IE-78K0-NS-A
IE-780078-NS-EM1
Resonator
(not used)
Mounted
oscillator
(to be used)
Emulation probe
Target system
Remark The clock that is supplied by the IE-780078-NS-EM1’s oscillator (encircled in the figure) is
used.
(b) For subsystem clock
A crystal resonator (XT1) is already mounted on the emulation board. Its frequency is 32.768 kHz.
Figure 3-4. When Using Clock That Is Already Mounted on Emulation Board (Subsystem Clock)
IE-78K0-NS or IE-78K0-NS-A
IE-780078-NS-EM1
Mounted
resonator
(to be used)
Emulation probe
Target system
Resonator
(not used)
Remark The clock that is supplied by the IE-780078-NS-EM1’s resonator (encircled in the figure) is
used.
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
20
(2) Clock that is mounted by user
The user is able to mount any clock supported by the set specifications on the IE-780078-NS-EM1.
(a) For main system clock
Remove the crystal oscillator (X1) that is already mounted on the emulation board, and mount either the
parts board on which the resonator to be used is mounted or an oscillator. This method is useful when using
a different frequency from that of the pre-mounted clock.
Figure 3-5. When Using User-Mounted Clock (Main System Clock)
IE-78K0-NS or IE-78K0-NS-A
IE-780078-NS-EM1
Resonator
(not used)
Target system
Emulation probe
Parts board
+ resonator
or
oscillator
Remark The clock that is supplied by the IE-780078-NS-EM1’s resonator or oscillator (encircled in the
figure) is used.
(b) For subsystem clock
Mount the resonator to be used on the parts board (X2) that is already mounted on the emulation board.
Alternatively, remove the parts board and mount an oscillator.
Figure 3-6. When Using User-Mounted Clock (Subsystem Clock)
IE-78K0-NS or IE-78K0-NS-A
Target system
Emulation probe
IE-780078-NS-EM1
Parts board
+ resonator
or
oscillator Resonator
(not used)
Remark The clock that is supplied by the IE-780078-NS-EM1’s resonator or oscillator (encircled in the
figure) is used.
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 21
(3) External clock
An external clock connected to the target system can be used via an emulation probe.
Figure 3-7. When Using External Clock
IE-78K0-NS or IE-78K0-NS-A
Clock generator
(to be used)
Emulation probe
Target system
IE-780078-NS-EM1
Remark The clock supplied by the target system’s clock generator (encircled in the figure) is used.
3.2.2 Main system clock settings
Table 3-1. Main System Clock Settings
IE-780078-NS-EM1 Frequency of Main System Clock
X1 Socket
CPU Clock Source
Selection (ID78K0-NS)
When using clock that is
already mounted on
emulation board
8.38 MHz Oscillator used
When using clock mounted
by user
Oscillation circuit assembled
by user
Internal
When using external clock
Other than 8.38 MHz
Oscillator (not used) External
Caution When using an external clock, open the configuration dialog box when starting the integrated
debugger (ID78K0-NS) and select “External” in the area (Clock) for selecting the CPU’s clock
source (this selects the user’s clock).
Remark When the IE-780078-NS-EM1 is shipped, the settings for “when using clock that is already mounted on
emulation board” are preset.
(1) When using clock that is already mounted on emulation board
When the IE-780078-NS-EM1 is shipped, an 8.38 MHz crystal oscillator is already mounted in the IE-780078-NS-
EM1’s X1 socket. When using the factory-set mode settings, there is no need to make any other hardware
settings.
When starting the integrated debugger (ID78K0-NS), open the configuration dialog box and select “Internal” in the
area (Clock) for selecting the CPU’s clock source (this selects the emulator’s internal clock).
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
22
(2) When using clock mounted by user
Perform the settings described under either (a) or (b), depending on the type of clock to be used.
When starting the integrated debugger (ID78K0-NS), open the configuration dialog box and select “Internal” in the
area (Clock) for selecting the CPU’s clock source (this selects the emulator’s internal clock).
(a) When using a ceramic resonator or crystal resonator
Items to be prepared
Parts board Capacitor CA
Ceramic resonator or crystal resonator Capacitor CB
Resistor Rx Solder kit
<Steps>
<1> Solder the target ceramic resonator or crystal resonator and resistor Rx, capacitor CA, and capacitor
CB (all with suitable oscillation frequency) as shown below.
Figure 3-8. Connections on Parts Board (When Using Main System Clock or User-Mounted Clock)
Parts board (X1)
Pin No. Connection
2-13 Capacitor CA
3-12 Capacitor CB
4-11 Ceramic resonator or crystal resonator
5-10 Resistor Rx
8-9 Shorted
(Top view)
Circuit diagram
Remark The sections enclosed in broken lines indicate parts that are attached to the parts board.
1
2
3
4
5
6
7
14
13
12
11
10
9
8
1 M
11
4
3
12
CB CA
13
2
5
10
Rx
98CLOCK OUT
HCU04 HCU04
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 23
<2> Prepare the IE-780078-NS-EM1.
<3> Remove the crystal oscillator that is mounted in the IE-780078-NS-EM1’s X1 socket.
<4> Connect the parts board (from <1> above) to the X1 socket from which the crystal oscillator was
removed. Check the pin 1 mark to make sure the board is mounted in the correct direction.
<5> Make sure that the parts board is wired as shown in Figure 3-8 above.
<6> Connect the IE-780078-NS-EM1 to the IE-78K0-NS or IE-78K0-NS-A.
The above steps configure the following circuit and enable supply of the clock from the mounted resonator to
the emulation device.
1 M
11
4
3
12
CB CA
13
2
5
10
Rx
98
6
HCU04HCU04
XVHC157
AY
B
HSK120
X1
LV
CC
X1
IE-78K0-NS or IE-78K0-NS-A side
(Emulation device)
Remark The sections enclosed in broken lines indicate parts that are attached to the parts board.
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
24
(b) When using a crystal oscillator
Items to be prepared
Crystal oscillator (pins are as shown in Figure 3-9, VCC: +5 V, CLOCK OUT: CMOS level)
Figure 3-9. Crystal Oscillator (When Using Main System Clock or User-Mounted Clock)
(Top view)
<Steps>
<1> Prepare the IE-780078-NS-EM1.
<2> Remove the crystal oscillator that is mounted in the IE-780078-NS-EM1’s X1 socket.
<3> Mount the crystal oscillator prepared by the user in the X1 socket from which the crystal oscillator was
removed in <2> above. Insert the crystal oscillator pin into the socket aligning the pins as shown in the
figure below.
Figure 3-10. Pin Alignment of Crystal Oscillator and Socket
Crystal Oscillator Pin Name Socket Pin No.
NC 1
GND 7
CLOCK OUT 8
VCC 14
(Top view)
<4> Connect the IE-780078-NS-EM1 to the IE-78K0-NS or IE-78K0-NS-A.
V
CC
CLOCK OUTGND
NC
14
13
12
11
10
9
8
V
CC
CLOCK OUT
GND
NC 1
2
3
4
5
6
7
Crystal oscillator Socket
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 25
The above steps configure the following circuit and enable supply of the clock from the mounted resonator to
the emulation device.
VHC157
AY
B
X1
IE-78K0-NS or IE-78K0-NS-A side
(Emulation device)
V
CC
Crystal oscillator
HSK120
LV
CC
(3) When using external clock
No hardware settings are required for this situation.
When starting the integrated debugger (ID78K0-NS), open the configuration dialog box and select “External” in
the area (Clock) for selecting the CPU’s clock source (this selects the user’s clock).
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
26
3.2.3 Subsystem clock settings
Table 3-2. Subsystem Clock Settings
IE-780078-NS-EM1 IE-78K0-NS or IE-78K0-NS-AFrequency of Subsystem Clock to Be Used
X2 Socket JP8
When using clock (XT1) that
is already mounted on
emulation board
32.768 kHz 6 and 8 shorted
When using clock mounted
by user
Oscillation circuit assembled
by user
1 and 2 shorted
When using external clock
Other than 32.768 kHz
Not used 3 and 4 shorted
Caution Jumper JP8, which is used to select the board’s clock or an external clock, should be set only
after turning off the power of the IE-78K0-NS or IE-78K0-NS-A.
Remark When the IE-780078-NS-EM1 is shipped, the settings for “when using clock that is already mounted on
emulation board” are preset.
(1) When using clock that is already mounted on emulation board
When the IE-780078-NS-EM1 is shipped, a 32.768 kHz crystal resonator (XT1) and the parts board (X2) on which
pins 6 and 8 are shorted are already mounted on the IE-780078-NS-EM1. Short the 1 to 2 side of the jumper
(JP8) on the IE-78K0-NS or IE-78K0-NS-A. There is no need to make any other settings via the integrated
debugger (ID78K0-NS).
(2) When using the clock mounted by user
The settings described under either (a) or (b) are required, depending on the type of clock to be used. Short 1
and 2 of the jumper (JP8) on the IE-78K0-NS or IE-78K0-NS-A.
For the jumper position, refer to the IE-78K0-NS User’s Manual (U13731E) when using the IE-78K0-NS, and
refer to the IE-78K0-NS-A User’s Manual (U14889E) when using the IE-78K0-NS-A.
There is no need to make any other settings via the integrated debugger (ID78K0-NS).
(a) When using a ceramic resonator or crystal resonator
Items to be prepared
Parts board Capacitor CA
Ceramic resonator or crystal resonator Capacitor CB
Resistor Rx Solder kit
<Steps>
<1> Prepare the IE-780078-NS-EM1.
<2> Solder the ceramic resonator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB (all with
suitable oscillation frequency) onto the parts board (X2) (as shown below).
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 27
Figure 3-11. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock)
Parts board (X2)
Pin No. Connection
2-13 Capacitor CA
3-12 Capacitor CB
4-11 Ceramic resonator or crystal resonator
5-10 Resistor Rx
8-9 Shorted
(Top view)
Circuit diagram
Remark The sections enclosed in broken lines indicate parts that are attached to the parts board.
1
2
3
4
5
6
7
14
13
12
11
10
9
8
10 M
11
4
3
12
CB CA
13
2
5
10
Rx
98CLOCK OUT
HCU04 HCU04
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
28
<3> Make sure that the parts board (X2) is wired as shown in Figure 3-11.
<4> Remove the parts board that is mounted in the IE-780078-NS-EM1’s X2 socket.
<5> Connect the parts board from <2> above to the socket from which the parts board (from <4> above)
was removed. Check the pin 1 mark to make sure the board is mounted in the correct direction.
<6> Connect the IE-780078-NS-EM1 to the IE-78K0-NS or IE-78K0-NS-A.
The above steps configure the following circuit and enable supply of the clock from the mounted resonator to
the emulation device.
10 M
HCU04 HCU04
9 8
5
Rx
10
114
13
CA
2
3
CB
12
IE-78K0-NS or IE-78K0-NS-A side
(Emulation device)
Target
system
135
246
JP8
Remarks 1. The sections enclosed in broken lines indicate parts that are attached to the parts board.
2. There is JP8 on the IE-78K0-NS or IE-78K0-NS-A.
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 29
(b) When using a crystal oscillator
Items to be prepared
Crystal oscillator (pins are shown in Figure 3-12, VCC: +5 V, CLOCK OUT: CMOS level)
Figure 3-12. Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock)
(Top view)
<Steps>
<1> Prepare the IE-780078-NS-EM1.
<2> Remove the parts board that is mounted in the IE-780078-NS-EM1’s X2 socket.
<3> Mount the crystal oscillator prepared by the user in the X2 socket from which the parts board was
removed in <2> above. Insert the crystal oscillator pin into the socket aligning the pins as shown in the
figure below.
Figure 3-13. Pin Alignment of Crystal Oscillator and Socket
Crystal Oscillator Pin Name Socket Pin No.
NC 1
GND 7
CLOCK OUT 8
VCC 14
(Top view)
<4> Connect the IE-780078-NS-EM1 to the IE-78K0-NS or IE-78K0-NS-A.
V
CC
CLOCK OUT
GND
NC
14
13
12
11
10
9
8
V
CC
CLOCK OUT
GND
NC 1
2
3
4
5
6
7
Crystal oscillator Socket
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
30
The above steps configure the following circuit and enable supply of the clock from the mounted oscillator to
the emulation device.
Crystal oscillator
+5 V
8
7
14 Parts board
IE-78K0-NS or IE-78K0-NS-A side
(Emulation device)
Target
system
135
246
JP8
Remarks 1. The sections enclosed in broken lines indicate the parts that are attached to the parts board.
2. There is JP8 on the IE-78K0-NS or IE-78K0-NS-A.
(3) When using an external clock
Short 3 and 4 of the jumper (JP8) on the IE-78K0-NS or IE-78K0-NS-A. There is no need to make any settings
via the integrated debugger (ID78K0-NS).
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 31
3.3 Mask Option Setting
3.3.1 Pull-up resistor
By setting the DIP switch (SW1) in the IE-780078-NS-EM1, a 30 k pull-up resistor can be connected to P30 to
P33 as specified by the mask option.
For ports that do not exist in the IE-780078-NS-EM1, set the DIP switch to OFF.
The pull-up resistor is pulled up by the VDD pin of the target socket.
Figure 3-14. Pull-up Resistor
Target V
DD
Emulation CPU
30 k
100
P30 P31 P32 P33
SW1
Initial setting is OFF
Probe
P30
P31
P32
P33
P30
P31
P32
P33
O
F
F
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
32
3.4 External Trigger
Connect the external trigger to the IE-780078-NS-EM1’s check pins EXTOUT and EXTIN as shown below.
See the ID78K0-NS Ver. 2.52 Integrated Debugger Operation User’s Manual (U16488E) for descriptions of
related use methods, and see the IE-78K0-NS User’s Manual (U13731E) or IE-78K0-NS-A User’s Manual
(U14889E) for pin characteristics.
Figure 3-15. External Trigger Input Position
External trigger
EXTOUT
EXTIN
PD78F0078CW
1234
P
3
0
P
3
3
P
3
2
P
3
1
MASK OPTION
SW1
X2
X1
CN6 64GC/64GK
G-780078 EM1 Board
µ
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM 33
3.5 Jumper Settings on IE-78K0-NS
When using the IE-780078-NS-EM1 in combination with the IE-78K0-NS, set the jumpers on the IE-78K0-NS as
shown below.
For details of these jumper positions, refer to the IE-78K0-NS User’s Manual (U13731E).
Caution Incorrect jumper settings may damage the devices.
Table 3-3. Jumper Settings on IE-78K0-NS
JP2 JP3 JP4 JP6 JP7 JP8
Setting 2 and 3 shorted 1 and 2 shorted 1 and 2 shorted 3 and 4 shorted 1 and 2 shorted 1 and 2 shorted
3.6 Jumper Settings on IE-78K0-NS-A
When using the IE-780078-NS-EM1 in combination with the IE-78K0-NS-A, set the jumpers on the IE-78K0-NS-A
as shown below.
For details of these jumper positions, refer to the IE-78K0-NS-A User’s Manual (U14889E).
Caution Incorrect jumper settings may damage the devices.
Table 3-4. Jumper Settings on IE-78K0-NS-A G-780009 Board
JP2 JP3 JP4 JP6 JP7 JP8
Setting 2 and 3 shorted 1 and 2 shorted 1 and 2 shorted 3 and 4 shorted 1 and 2 shorted 1 and 2 shorted
Table 3-5. Jumper Settings on IE-78K0-NS-A G-78K0H Option Board
JP2
Setting 2 and 3 shorted
CHAPTER 3 INSTALLATION
User’s Manual U16226EJ3V0UM
34
3.7 Low-Voltage Emulation Setting
When the target system is operating on low voltage, supply the same voltage as the target system to the TP1
terminal pin on the main board (G-780009 board) of the IE-78K0-NS or IE-78K0-NS-A (this is also necessary when
target system is operating on 5 V).
Set the supply voltage of the target system to between 1.8 to 5.5 V.
Table 3-6. Supply Voltage and Maximum Current Consumption
Supply Voltage to TP1
Maximum Current
Consumption of TP1
1.8 to 5.5 V 300 mA
Figure 3-16. Main Board (G-780009 Board) of IE-78K0-NS or IE-78K0-NS-A
GND LV
CC
Dedicated bus interface connector
(HOST-I/F)
TP1
User’s Manual U16226EJ3V0UM 35
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
This chapter describes differences between the target device’s signal lines and the signal lines of the IE-780078-
NS-EM1’s target interface circuit.
Although the target device is a CMOS circuit, the IE-780078-NS-EM1’s target interface circuit consists of emulation
circuits such as an emulation CPU, TTL, and CMOS-IC.
When the IE system is connected with the target system for debugging, the IE system performs emulation so as to
operate as the actual target device would operate in the target system.
However, some minor differences exist since the operations are performed via the IE system’s emulation.
(1) Signals input or output from the emulation CPU and
µ
PD780009
(2) Signals input or output from the emulation CPU and
µ
PD78F0078
(3) Other signals
The IE-780078-NS-EM1’s circuit is used as follows for signals listed in (1) to (3) above.
(1) Signals input or output from the emulation CPU and
µ
PD780009
See Figure 4-1 Equivalent Circuit of Emulation Circuit (1).
P47 to P40
P57 to P50
P67 to P64
(2) Signals input or output from the emulation CPU and
µ
PD78F0078
See Figure 4-2 Equivalent Circuit of Emulation Circuit (2).
P03 to P00
P25 to P20
P36 to P30
P75 to P70
P17 to P10
AVREF, AVSS
P80
(3) Other signals
See Figure 4-3 Equivalent Circuit of Emulation Circuit (3).
VDD0, VDD1, VSS0, VSS1, X1, X2, XT1, XT2, RESET, IC
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
User’s Manual U16226EJ3V0UM
36
Figure 4-1. Equivalent Circuit of Emulation Circuit (1)
P57 to P50
P67 to P64
P47 to P40
100
100
100
1 M
1 M
1 M
PD780009
Emulation CPU
IE-780078-NS-EM1 sideProbe side
µ
Figure 4-2. Equivalent Circuit of Emulation Circuit (2)
P25 to P20
P75 to P70
P33 to P30
P36 to P33
P17 to P10
AV
REF
, AV
SS
P03 to P00
100
100
100
100
100
1 M
1 M
1 M
30 k
LV
CC
1 M
1 M
P80
100
1 M
PD78F0078
Emulation CPU
IE-780078-NS-EM1 sideProbe side
µ
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
User’s Manual U16226EJ3V0UM 37
Figure 4-3. Equivalent Circuit of Emulation Circuit (3)
4066
PD780009
IE-780078-NS-EM1 sideProbe side
PD780009
PD780009
0.1 F
Current detection
LV
CC
LV
CC
LV
CC
LV
CC
4.7 k
100
100
100
100
1 M
ISS123
ISS123
1 MISS123
ISS123
3.3 k
1 M
1.6 k
Leave open
RESET
X1
XT1
V
DD0
V
DD1
V
SS0
V
SS1
XT2, X2
IC
µ
µ
µ
µ
User’s Manual U16226EJ3V0UM
38
CHAPTER 5 CAUTIONS ON USE
Observe the following when using the IE-780078-NS-EM1.
(1) In the external diffusion mode, the read data in address xx24H of the external memory becomes undefined.
Measures: Use IE-78K0-NS control code L or later, or IE-78K0-NS-A control code E or later. When using
products with control codes earlier than the above, set the PM4 register to 00H (port 4 set to
output mode).
(2) The value of the interrupt request flag register IF1L (FFE2H) after reset is 04H.
Measures: After reset, set the IF1L register to 00H.
User’s Manual U16226EJ3V0UM 39
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE
Table A-1. NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, NP-64GK-TQ Pin Assignments
Emulation Probe CN6 Pin No. Emulation Probe CN6 Pin No.
1 108 33 14
2 107 34 13
3 104 35 18
4 103 36 17
5 100 37 22
6 99 38 21
7 94 39 28
8 93 40 27
9 30 41 92
10 29 42 91
11 24 43 98
12 23 44 97
13 20 45 102
14 19 46 101
15 16 47 106
16 15 48 105
17 43 49 77
18 44 50 78
19 47 51 73
20 48 52 74
21 51 53 69
22 52 54 70
23 57 55 63
24 58 56 64
25 59 57 61
26 60 58 62
27 55 59 65
28 56 60 66
29 49 61 71
30 50 62 72
31 45 63 75
32 46 64 76
Remarks 1. The NP-64GC, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ are products of Naito
Densei Machida Mfg. Co., Ltd.
2. The numbers in the “Emulation Probe” column indicate the corresponding pin number on the
emulation probe tip.
User’s Manual U16226EJ3V0UM
40
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM
The following shows the conditions when connecting the emulation probe and conversion adapter. Consider the
shape of the components to be mounted on the target system and follow the configurations below when designing the
system.
Among the products described in this appendix, NP-64GC-TQ, NP-H64GC-TQ, NP-64GK, and NP-H64GK-TQ are
products of Naito Densei Machida Mfg. Co., Ltd. and TGC-064SAP and TGK-064SBW are products of TOKYO
ELETECH CORPORATION.
Table B-1. Distance Between IE System and Conversion Adapter
Emulation Probe Conversion Adapter Distance Between IE System and Conversion Adapter
NP-64GC-TQ 170 mm
NP-H64GC-TQ
TGC-064SAP
370 mm
NP-64GK 170 mm
NP-H64GK-TQ
TGK-064SBW
370 mm
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM
User’s Manual U16226EJ3V0UM 41
Figure B-1. Distance Between In-Circuit Emulator and Conversion Adapter (64GC)
170 mmNote
In-circuit emulator
IE-78K0S-NS or IE-78K0S-NS-A
Emulation board
IE-780078-NS-EM1
Conversion adapter: TGC-064SAP
Target system
Emulation probe
NP-64GC-TQ, NP-H64GC-TQ
Note The above distance shows when the NP-64GC-TQ is used. When the NP-H64GC-TQ is used, the distance
is 370 mm.
Figure B-2. Connection Conditions of Target System (NP-64GC-TQ)
Emulation probe
NP-64GC-TQ
Emulation board
IE-780078-NS-EM1
23 mm
25 mm
40 mm 34 mm
Target system
20.65 mm Pin 1
11 mm
20.65 mm
Conversion adapter
TGC-064SAP
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM
User’s Manual U16226EJ3V0UM
42
Figure B-3. Connection Conditions of Target System (NP-H64GC-TQ)
Emulation probe
NP-H64GC-TQ
Emulation board
IE-780078-NS-EM1
23 mm
23 mm
42 mm 45 mm
20.65 mm
Target system
20.65 mm Pin 1
11 mm
Conversion adapter
TGC-064SAP
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM
User’s Manual U16226EJ3V0UM 43
Figure B-4. Distance Between In-Circuit Emulator and Conversion Adapter (64GK)
170 mmNote
In-circuit emulator
IE-78K0S-NS or IE-78K0S-NS-A
Emulation board
IE-780078-NS-EM1
Conversion adapter TGK-064SBW
Target system
Emulation probe
NP-64GK, NP-H64GK-TQ
Note The above distance shows when the NP-64GK is used. When the NP-H64GC-TQ is used, the distance is
370 mm.
Figure B-5. Connection Conditions of Target System (NP-64GK)
Emulation probe
NP-64GK
Emulation board
IE-780078-NS-EM1
21.95 mm
40 mm 34 mm
Target system
18.4 mm Pin 1
11 mm
25 mm
18.4 mm
Conversion adapter
TGK-064SBW
APPENDIX B NOTES ON DESIGNING TARGET SYSTEM
User’s Manual U16226EJ3V0UM
44
Figure B-6. Connection Conditions of Target System (NP-H64GK-TQ)
Emulation probe
NP-H64GK-TQ
Emulation board
IE-780078-NS-EM1
42 mm 45 mm
18.4 mm
11 mm
Target system
18.4 mm
Pin 1
21.95 mm
23 mm
Conversion adapter
TGK-064SBW
User’s Manual U16226EJ3V0UM 45
APPENDIX C REVISION HISTORY
The following table shows the revision history up to this edition. The “Applied to:” column indicates the chapters of
each edition in which the revision was applied.
Edition Major Revision from Previous Edition Applied to:
2nd edition Modification of dimensions of adapter in Figures B-2, B-3, B-5, and B-6 APPENDIX B NOTES ON
DESIGNING TARGET
SYSTEM
Modification of Figures 1-1 System Configuration
Modification of Figure 1-2 Basic Hardware Configuration
Deletion of Figure 1-3 Basic Hardware Configuration (Using IE-78K0-NS-A)
Modification of Table 1-2 Basic Specifications
CHAPTER 1 GENERAL
3.2.2 Main system clock settings
Addition of description on crystal oscillator
3.2.3 Subsystem clock settings
Addition of description on crystal oscillator
3rd edition
Addition of 3.7 Low-Voltage Emulation Setting
CHAPTER 3
INSTALLATION