ETC IE-78048-NS-EM1

User’s Manual
IE-78048-NS-EM1
Emulation Board
Target Device
µPD78044F Subseries
µPD78044H Subseries
Document No. U14768EJ1V0UM00 (1st edition)
Date Published July 2000 N CP(K)
2000
©
Printed in Japan
[MEMO]
2
User’s Manual U14768EJ1V0UM00
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 July, 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 equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster
systems, anti-crime systems, safety equipment and medical equipment (not specifically designed
for life support)
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems and medical equipment for life support, etc.
The quality grade of NEC semiconductor products is "Standard" unless otherwise expressly specified in NEC's
data sheets or data books, etc. If customers wish to use NEC semiconductor products in applications not
intended by NEC, they must contact an NEC sales representative in advance to determine NEC's willingness
to support a given application.
(Note)
(1) "NEC" as used in this statement means NEC Corporation and also includes its majority-owned subsidiaries.
(2) "NEC semiconductor products" means any semiconductor product developed or manufactured by or for
NEC (as defined above).
M8E 00. 4
User’s Manual U14768EJ1V0UM00
3
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.)
NEC Electronics (Germany) GmbH
NEC Electronics Hong Kong Ltd.
Santa Clara, California
Tel: 408-588-6000
800-366-9782
Fax: 408-588-6130
800-729-9288
Benelux Office
Eindhoven, The Netherlands
Tel: 040-2445845
Fax: 040-2444580
Hong Kong
Tel: 2886-9318
Fax: 2886-9022/9044
NEC Electronics (France) S.A.
Velizy-Villacoublay, France
Tel: 01-30-67 58 00
Fax: 01-30-67 58 99
Seoul Branch
Seoul, Korea
Tel: 02-528-0303
Fax: 02-528-4411
NEC Electronics (France) S.A.
NEC Electronics Singapore Pte. Ltd.
Milton Keynes, UK
Tel: 01908-691-133
Fax: 01908-670-290
Spain Office
Madrid, Spain
Tel: 91-504-2787
Fax: 91-504-2860
United Square, Singapore 1130
Tel: 65-253-8311
Fax: 65-250-3583
NEC Electronics Italiana s.r.l.
NEC Electronics (Germany) GmbH
Milano, Italy
Tel: 02-66 75 41
Fax: 02-66 75 42 99
Scandinavia Office
Taeby, Sweden
Tel: 08-63 80 820
Fax: 08-63 80 388
NEC Electronics (Germany) GmbH
Duesseldorf, Germany
Tel: 0211-65 03 02
Fax: 0211-65 03 490
NEC Electronics (UK) Ltd.
NEC Electronics Hong Kong Ltd.
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
4
User’s Manual U14768EJ1V0UM00
INTRODUCTION
Product Overview
The IE-78048-NS-EM1 is designed to be used with the IE-78K0-NS to debug the
following target devices that belong to the 78K/0 Series of 8-bit single-chip
microcontrollers.
Target Readers
• µPD78044F Subseries:
µPD78042F, 78043F, 78044F, 78045F
• µPD78044H Subseries:
µPD78044H, 78045H, 78046H
This manual is intended for engineers who will use the IE-78048-NS-EM1 with the IE78K0-NS to perform system debugging.
Engineers who use this manual are expected to be thoroughly familiar with the target
device’s functions and use methods and to be knowledgeable about debugging.
Organization
When using the IE-78048-NS-EM1, refer to not only this manual (supplied with the IE78048-NS-EM1) but also the manual that is supplied with the IE-78K0-NS.
IE-78K0-NS
User’s Manual
• Basic specifications
IE-78048-NS-EM1
User’s Manual
• 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-78048-NS-EM1.
User’s Manual U14768EJ1V0UM00
5
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 (real chip) that is the target for emulation.
Target system
This includes the target program and the hardware provided by the user.
narrowly, it includes only the hardware.
IE system
This refers to the combination of the IE-78K0-NS and the IE-78048-NS-EM1.
Conventions
Related Documents
When defined
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
The related documents (user’s manuals) indicated in this publication may include
preliminary versions. However, preliminary versions are not marked as such.
Document Name
Caution
IE-78K0-NS
U13731E
IE-78048-NS-EM1
This manual
ID78K0-NS Integrated Debugger Reference Windows™ Based
U12900E
µPD78044F Subseries
U10908E
µPD78044H Subseries
U11756E
The documents listed above are subject to change without notice. Be sure to use the latest
documents when designing.
6
Document Number
User’s Manual U14768EJ1V0UM00
CONTENTS
CHAPTER 1
1.1
1.2
1.3
GENERAL ...........................................................................................................................11
System Configuration .................................................................................................................12
Hardware Configuration .............................................................................................................14
Basic Specifications....................................................................................................................15
CHAPTER 2
2.1
PART NAMES.....................................................................................................................17
Parts of Main Unit ........................................................................................................................18
CHAPTER 3
3.1
3.2
3.3
3.4
3.5
INSTALLATION ..................................................................................................................19
Connection...................................................................................................................................20
Clock Settings..............................................................................................................................21
3.2.1
Overview of clock settings ............................................................................................................. 21
3.2.2
Main system clock settings............................................................................................................ 24
3.2.3
Subsystem clock settings .............................................................................................................. 29
Mask Option Settings..................................................................................................................34
3.3.1
Mask option setting by debugger (ID78K0-NS) ............................................................................. 34
3.3.2
Mask option setting by DIP switch................................................................................................. 34
External Trigger ...........................................................................................................................37
Switch and Jumper Settings ......................................................................................................38
CHAPTER 4
DIFFERENCES BETWEEN TARGET DEVICES AND TARGET
INTERFACE CIRCUITS......................................................................................................39
APPENDIX
EMULATION PROBE PIN ASSIGNMENT TABLE ...............................................................45
User’s Manual U14768EJ1V0UM00
7
LIST OF FIGURES
Figure No.
Title
Page
1-1
System Configuration ............................................................................................................................ 12
1-2
Basic Hardware Configuration ............................................................................................................... 14
2-1
IE-78048-NS-EM1 Part Names .............................................................................................................. 18
3-1
Connection of Emulation Probe .............................................................................................................. 20
3-2
External Circuits Used as System Clock Oscillator ................................................................................... 21
3-3
When Using Clock That Is Already Mounted on Emulation Board (Main System Clock)............................... 22
3-4
When Using Clock That Is Already Mounted on Emulation Board (Subsystem Clock) ................................. 22
3-5
When Using User-Mounted Clock (Main System Clock) ........................................................................... 23
3-6
When Using User-Mounted Clock (Subsystem Clock) .............................................................................. 23
3-7
When Using an External Clock............................................................................................................... 24
3-8
Connections on Parts Board (When Using Main System Clock or User-Mounted Clock) ............................. 25
3-9
Crystal Oscillator (When Using Main System Clock or User-Mounted Clock) .............................................. 27
3-10
Pin Alignment of Crystal Oscillator and Socket ........................................................................................ 27
3-11
Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) ................................ 30
3-12
Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock) ................................................ 32
3-13
Pin Alignment of Crystal Oscillator and Socket ........................................................................................ 32
3-14
Port 12 Mask Option Setting (At Shipment) ............................................................................................. 34
3-15
Port 11 Mask Option Setting (At Shipment) ............................................................................................. 35
3-16
Port 10 Mask Option Setting (At Shipment) ............................................................................................. 35
3-17
Port 9 Mask Option Setting (At Shipment) ............................................................................................... 36
3-18
Port 8 Mask Option Setting (At Shipment) ............................................................................................... 36
3-19
External Trigger Input Position ............................................................................................................... 37
3-20
S1 Setting ............................................................................................................................................ 38
4-1
Equivalent Circuit of Emulation Circuit ..............................................................................................................41
8
User’s Manual U14768EJ1V0UM00
LIST OF TABLES
Table No.
1-1
Title
Page
Basic Specifications...............................................................................................................................15
3-1
Main System Clock Settings ...................................................................................................................24
3-2
Subsystem Clock Settings ......................................................................................................................29
3-3
Jumper Setting on IE-78K0-NS ...............................................................................................................38
A-1
NP-80GF Pin Assignments .....................................................................................................................45
User’s Manual U14768EJ1V0UM00
9
[MEMO]
10
User’s Manual U14768EJ1V0UM00
CHAPTER 1
GENERAL
The IE-78048-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-78048-NS-EM1’s system configuration and basic specifications.
•
Target device
• µPD78044F Subseries
• µPD78044H Subseries
User’s Manual U14768EJ1V0UM00
11
CHAPTER 1 GENERAL
1.1
System Configuration
Figure 1-1 illustrates the IE-78048-NS-EM1’s system configuration.
Figure 1-1. System Configuration
Device fileNote 1
(sold separately)
Debugger
ID78K0-NS
(sold separately)
Control software
Host machine
PC-9800 Series,
IBM PC/AT™
or compatibles
Interface board
IE-70000-98-IF-C
(sold separately)
Interface board
IE-70000-PC-IF-C
(sold separately)
Interface board
IE-70000-PCI-IF (-A)
(sold separately)
Interface card
or
Interface cable
Interface cable
(NS IF Cable)
IE-78K0-NS
(sold separately)
In-circuit emulator
NS CARD
Cable
MC CARD
Cable
IE-70000-CD-IF-A
(sold separately)
FG Cable
IE-78048-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)
12
User’s Manual U14768EJ1V0UM00
CHAPTER 1 GENERAL
Notes 1. The device file is as follows, in accordance with the subseries.
µS××××DF78044: µPD78044F, 78044H Subseries
2. The emulation probe is as follows.
NP-80GF: 80-pin plastic QFP (GF type)
The NP-80GF is a product of Naito Densei Machida Mfg. Co., Ltd.
For further information, contact Naito Densei Machida Mfg. Co., Ltd. (TEL: +81-44-822-3813)
3. The conversion socket/conversion adapter are as follows, in accordance with the package.
EV-9200G-80: 80-pin plastic QFP (GF type)
User’s Manual U14768EJ1V0UM00
13
CHAPTER 1 GENERAL
1.2
Hardware Configuration
Figure 1-2 shows the IE-78048-NS-EM1’s position in the basic hardware configuration.
Figure 1-2. Basic Hardware Configuration
Dedicated bus interface
IE system
IE-78K0-NS
Host machine
Interface board
(sold separately)
78K0 main board
Interface card
(sold separately)
14
User’s Manual U14768EJ1V0UM00
IE-78048-NS-EM1
Emulation board
(This product)
Emulation probe
(sold separately)
CHAPTER 1 GENERAL
1.3
Basic Specifications
The IE-78048-NS-EM1’s basic specifications are listed in Table 1-1.
Table 1-1. Basic Specifications
Parameter
Description
Target device
µPD78044F, 78044H Subseries
System clock
Main system clock: 5 MHz
Subsystem clock: 32.768 kHz
Clock supply
External: Pulse input
Internal: Mounted on the emulation board
Low voltage support
3 to 5.5 V (same as the target device)
User’s Manual U14768EJ1V0UM00
15
[MEMO]
16
User’s Manual U14768EJ1V0UM00
CHAPTER 2
PART NAMES
This chapter introduces the parts of the IE-78048-NS-EM1 main unit.
The packing box contains the emulation board (IE-78048-NS-EM1), packing list, user’s manual, and guarantee
card.
If there are any missing or damaged items, please contact an NEC sales representative.
Fill out and return the guarantee card that comes with the main unit.
User’s Manual U14768EJ1V0UM00
17
CHAPTER 2 PART NAMES
2.1
Parts of Main Unit
Figure 2-1. IE-78048-NS-EM1 Part Names
SUB CLK
Subsystem clock
SUB CLK
S1
IE-78048-NS-EM1
S2 S3
S9
S4
MAIN CLK
S7 S8
S15
Probe connector
CN5 80GF
XT1
S13 S14
USER LED
XT1
Main system clock
MAIN CLK
µ PD78P048AKL-T
CN5
µ PD78P018FLP
S16
S17 S18
18
S20 S21
EXT OUT
S19
EXT IN
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
This chapter describes methods for connecting the IE-78048-NS-EM1 to the IE-78K0-NS, emulation probe, etc.
Mode setting methods are also described.
Caution
Connecting or removing components to or from the target system, or making switch or other
setting changes must be carried out after the power supply to both the IE system and the target
system has been switched OFF.
User’s Manual U14768EJ1V0UM00
19
CHAPTER 3
3.1
INSTALLATION
Connection
(1) Connection with IE-78K0-NS main unit
See the IE-78K0-NS User’s Manual (U13731E) for a description of how to connect the IE-78048-NS-EM1 to the
IE-78K0-NS.
(2) Connection with emulation probe
See the IE-78K0-NS User’s Manual (U13731E) for a description of how to connect an emulation probe to the IE78048-NS-EM1.
On this board, connect the emulation probe to CN5.
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
Emulation probe
(sold separately)
CN5 80GF
Emulation board
(IE-78048-NS-EM1)
Main board
(IE-78K0-NS)
20
User’s Manual U14768EJ1V0UM00
CHAPTER 3
3.2
INSTALLATION
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 oscillator is used. An example of the external circuit is shown in part (a) of Figure 3-2. During
emulation, the resonator that is mounted on the target system is not used. Instead, the clock that is mounted on the
emulation board installed for the IE-78K0-NS 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
oscillator 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 Oscillator
(a) Internal clock
(b) External clock
Target device
X1 or XT1
Target device
External
clock
X2 or XT2
User’s Manual U14768EJ1V0UM00
X1 or XT1
X2 or XT2
21
CHAPTER 3
INSTALLATION
(1) Clock that is already mounted on emulation board
(a) For main system clock
A crystal oscillator (MAIN CLK) is already mounted on the emulation board. Its frequency is 5.0 MHz.
Figure 3-3. When Using Clock That Is Already Mounted on Emulation Board (Main System Clock)
IE-78K0-NS
Target system
IE-78048-NS-EM1
Mounted
oscillator
(to be used)
Emulation probe
Resonator
(not used)
Remark
The clock that is supplied by the IE-78048-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
Target system
IE-78048-NS-EM1
Emulation probe
Mounted
resonator
(to be used)
Remark
Resonator
(not used)
The clock that is supplied by the IE-78048-NS-EM1’s resonator (encircled in the figure) is
used.
22
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
(2) Clock that is mounted by user
The user is able to mount any clock supported by the set specifications on the IE-78048-NS-EM1.
(a) For main system clock
Remove the crystal oscillator (MAIN CLK) 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
IE-78048-NS-EM1
Parts board
+ resonator
or
oscillator
Remark
Target system
Emulation probe
Resonator
(not used)
The clock that is supplied by the IE-78048-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 (SUB CLK) 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
Target system
IE-78048-NS-EM1
Parts board
+ resonator
or
oscillator
Remark
Emulation probe
Resonator
(not used)
The clock that is supplied by the IE-78048-NS-EM1’s resonator or oscillator (encircled in the
figure) is used.
User’s Manual U14768EJ1V0UM00
23
CHAPTER 3
INSTALLATION
(3) External clock
An external clock connected to the target system can be used via an emulation probe.
Figure 3-7. When Using an External Clock
IE-78K0-NS
Target system
IE-78048-NS-EM1
Emulation probe
Clock generator
(to be used)
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
Frequency of Main System Clock
IE-78048-NS-EM1
MAIN CLK Socket
When using clock that is
already mounted on
emulation board
5.0 MHz
Oscillator used
When using clock mounted
by user
Other than 5.0 MHz
Oscillator assembled by user
When using external clock
Caution
Oscillator (not used)
CPU Clock Source
Selection (ID)
Internal
External
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-78048-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-78048-NS-EM1 is shipped, a 5.0 MHz crystal oscillator is already mounted in the IE-78048-NSEM1’s MAIN CLK 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).
24
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
(2) When using clock mounted by user
The settings described under either (a) or (b) are required, 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 (supplied with IE-78K0-NS)
• Capacitor CA
• Ceramic resonator or crystal resonator
• Capacitor CB
• Resistor Rx
• Solder kit
<Steps>
<1> Solder the target ceramic resonator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB
(all with suitable oscillation frequency) onto the supplied parts board (as shown below).
Figure 3-8. Connections on Parts Board (When Using Main System Clock or User-Mounted Clock)
Parts board (MAIN CLK)
1
14
Pin No.
Connection
2
13
2-13
Capacitor CA
3
12
3-12
Capacitor CB
4
11
4-11
Ceramic resonator or crystal resonator
5
10
6
9
5-10
Resistor Rx
7
8
8-9
Short
Circuit diagram
1 MΩ
HCU04
HCU04
5
Rx
10
4
3
CB
12
Remark
98
CLOCK OUT
11
13
CA
2
The sections enclosed in broken lines indicate parts that are attached to the parts board.
User’s Manual U14768EJ1V0UM00
25
CHAPTER 3
INSTALLATION
<2> Prepare the IE-78048-NS-EM1.
<3> Remove the crystal oscillator that is mounted in the IE-78048-NS-EM1’s socket (the socket marked as
MAIN CLK).
<4> Connect the parts board (from <1> above) to the socket (MAIN CLK) 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> Install the IE-78048-NS-EM1 in the IE-78K0-NS.
The above steps configure the following circuit and enable supply of the clock from the mounted resonator
to the emulation device.
IE-78K0-NS side
(Emulation device)
1 MΩ
6
HCU04
HCU04
9
X1
8
5
A
B
Rx
10
X
4
LVCC
11
Y
VHC157
HSK120
3
CB
12
Remark
26
13
CA
2
X1
The sections enclosed in broken lines indicate parts that are attached to the parts board.
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
(b) When using a crystal oscillator
•
Items to be prepared
• Crystal oscillator (see pinouts shown in Figure 3-9)
Figure 3-9. Crystal Oscillator (When Using Main System Clock or User-Mounted Clock)
VCC
NC
GND
CLOCK OUT
<Steps>
<1> Prepare the IE-78048-NS-EM1.
<2> Remove the crystal oscillator that is mounted in the IE-78048-NS-EM1’s MAIN CLK socket.
<3> Mount the crystal oscillator prepared by the user in the MAIN CLK 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
NC
GND
Socket
VCC
CLOCK OUT
Crystal Oscillator Pin Name
Socket Pin No.
NC
1
GND
7
1
14
2
13
3
12
CLOCK OUT
8
4
11
VCC
14
5
10
6
9
7
8
<4> Install the IE-78048-NS-EM1 in the IE-78K0-NS.
User’s Manual U14768EJ1V0UM00
27
CHAPTER 3
INSTALLATION
The above steps configure the following circuit and enable supply of the clock from the mounted resonator
to the emulation device.
VCC
IE-78K0-NS side
(Emulation device)
Crystal
oscillator
X1
LVCC
HSK120
A
Y
B
VHC157
X1
(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).
28
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
3.2.3 Subsystem clock settings
Table 3-2. Subsystem Clock Settings
Frequency of Subsystem Clock to Be Used
IE-78048-NS-EM1
IE-78K0-NS
SUB CLK 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
Other than 32.768 kHz
Oscillator assembled by
user
Not used
When using external
clock
Caution
Short 1 to 2 side
Short 3 to 4 side
Jumper JP8, which is used to select the board’s clock or an external clock, should be set only
after turning off the IE-78K0-NS’s power.
Remark
When the IE-78048-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-78048-NS-EM1 is shipped, a 32.768 kHz crystal resonator (XT1) and the parts board (SUB CLK)
on which pins 6 and 8 are shorted are already mounted on the IE-78048-NS-EM1. Short the 1 to 2 side on the
IE-78K0-NS’s jumper (JP8). There is no need to make any other settings via the integrated debugger (ID78K0NS).
(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 the
1 to 2 side on the IE-78K0-NS’s jumper (JP8).
Refer to IE-78K0-NS User’s Manual (U13731E) for jumper
position.
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 (supplied with IE-78K0-NS)
• Capacitor CA
• Ceramic resonator or crystal resonator
• Capacitor CB
• Resistor Rx
• Solder kit
<Steps>
<1> Prepare the IE-78048-NS-EM1.
<2> Solder the ceramic resonator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB (all with
suitable oscillation frequency) onto the supplied parts board (SUB CLK) (as shown below).
User’s Manual U14768EJ1V0UM00
29
CHAPTER 3
INSTALLATION
Figure 3-11. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock)
Parts board (SUB CLK)
1
14
2
13
3
12
4
11
5
10
6
9
7
8
Pin No.
Connection
2-13
Capacitor CA
3-12
Capacitor CB
4-11
Ceramic resonator or crystal resonator
5-10
Resistor Rx
8-9
Short
Circuit diagram
10 MΩ
HCU04
HCU04
5
Rx
10
4
3
CB
12
Remark
30
98
CLOCK OUT
11
13
CA
2
The sections enclosed in broken lines indicate parts that are attached to the parts board.
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
<3> Make sure that the parts board (SUB CLK) is wired as shown in Figure 3-11.
<4> Remove the parts board that is mounted in the IE-78048-NS-EM1’s SUB CLK socket.
<5> Connect the parts board (from <2> above) to the SUB CLK socket from which the parts board was
removed in <4> above. Check the pin 1 mark to make sure the board is mounted in the correct
direction.
<6> Install the IE-78048-NS-EM1 in the IE-78K0-NS.
The above steps configure the following circuit and enable supply of the clock from the mounted resonator
to the emulation device.
IE-78K0-NS side
(Emulation device)
10 MΩ
HCU04
1 3 5
HCU04
JP8
98
5
Rx
10
4
3
CB
12
Target
system
2 4 6
11
13
CA
2
Remarks 1.
2.
The section enclosed in broken lines indicates parts that are attached to the parts board.
JP8 is on the IE-78K0-NS.
User’s Manual U14768EJ1V0UM00
31
CHAPTER 3
INSTALLATION
(b) When using a crystal oscillator
•
Items to be prepared
• Crystal oscillator (see pinouts shown in Figure 3-12)
Figure 3-12. Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock)
VCC
NC
GND
CLOCK OUT
<Steps>
<1> Prepare the IE-78048-NS-EM1.
<2> Remove the parts board that is mounted in the IE-78048-NS-EM1’s SUB CLK socket.
<3> Mount the crystal oscillator prepared by the user in the SUB CLK 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
NC
GND
Socket
VCC
CLOCK OUT
1
14
2
13
3
12
4
11
5
10
6
9
7
8
Crystal Oscillator Pin Name
Socket Pin No.
NC
1
GND
7
CLOCK OUT
8
VCC
14
<4> Install the IE-78048-NS-EM1 in the IE-78K0-NS.
32
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
The above steps configure the following circuit and enable supply of the clock from the mounted oscillator to
the emulation device.
IE-78K0-NS side
(Emulation device)
+5V
14
Parts board
1 3 5
Crystal oscillator
8
JP8
Target system
2 4 6
7
Remarks 1.
2.
The section enclosed in broken lines indicates parts that are attached to the parts board.
JP8 is on the IE-78K0-NS.
(3) When using an external clock
Short the 3 to 4 on the IE-78K0-NS’s jumper (JP8). There is no need to make any settings via the integrated
debugger (ID78K0-NS).
User’s Manual U14768EJ1V0UM00
33
CHAPTER 3
3.3
INSTALLATION
Mask Option Settings
The mask option function is available for ports 1, 3, 7, 8, 9, 10, 11, and 12.
A mask option resistor can be switched by the debugger (ID78K0-NS) or the DIP switch in the IE-78048-NS-EM1.
3.3.1 Mask option setting by debugger (ID78K0-NS)
(1) Port 3 (P3) and Port 7 (P7)
Port 7 is an N-ch open-drain pin to which a pull-up resistor can be connected. Port 7 has a middle-voltage
structure. ON or OFF can be switched by the ID78K0-NS.
A pull-up resistor is specified for port 3 on the 04XH side, and a pull-down resistor is specified on the 04XF side
using switch S1. ON or OFF can be switched by the ID78K0-NS.
(2) Port 0 bit 4
P04/XT1 pin is an alternate function pin for port and subsystem clock functions.
These functions can be
switched via the ID78K0-NS.
3.3.2 Mask option setting by DIP switch
Since ports 8 to 12 (P8 to P12) are FIP alternate function pins and there are large number of these pins, the mask
option resistors are switched using the DIP switch in the IE-78048-NS-EM1 (switched in 1-bit units).
The connection destination (VSS or VLOAD) can be switched using the slide switch beside the DIP switch (switched
in 4-bit units). Figures 3-14 to 3-18 show the settings of the DIP switch at shipment.
Figure 3-14. Port 12 Mask Option Setting (At Shipment)
S2
S3
ON
VLOAD
GND
34
ON
1 2 3 4 5 6 7 8
Switch
Port
Setting
S2
P127 to P124
VLOAD/GND
S3
P123 to P120
S4
S4
ON/OFF
OFF
Meaning
Either VLOAD or GND is specified as the connection
destination (switched in 4-bit units).
Either ON or OFF of the mask option pull-down
resistor is specified (switched in 1-bit units).
Setting at
Shipment
GND
GND
1
P127
2
P126
OFF
3
P125
OFF
4
P124
OFF
5
P123
OFF
6
P122
OFF
OFF
7
P121
OFF
8
P120
OFF
User’s Manual U14768EJ1V0UM00
CHAPTER 3
INSTALLATION
Figure 3-15. Port 11 Mask Option Setting (At Shipment)
S7
ON
VLOAD
GND
ON
1 2 3 4 5 6 7 8
Switch
Port
Setting
S7
P117 to P114
VLOAD/GND
S8
P113 to P110
S9
S9
S8
OFF
Meaning
ON/OFF
Either VLOAD or GND is specified as the connection
destination (switched in 4-bit units).
Either ON or OFF of the mask option pull-down
resistor is specified (switched in 1-bit units).
Setting at
Shipment
GND
GND
1
P117
2
P116
OFF
3
P115
OFF
4
P114
OFF
5
P113
OFF
6
P112
OFF
OFF
7
P111
OFF
8
P110
OFF
Figure 3-16. Port 10 Mask Option Setting (At Shipment)
S13
S14
ON
VLOAD
GND
ON
1 2 3 4 5 6 7 8
Switch
Port
Setting
S13
P107 to P104
VLOAD/GND
S14
P103 to P100
S15
S15
ON/OFF
OFF
Meaning
Either VLOAD or GND is specified as the connection
destination (switched in 4-bit units).
Either ON or OFF of the mask option pull-down
resistor is specified (switched in 1-bit units).
Setting at
Shipment
GND
GND
1
P107
2
P106
3
P105
OFF
4
P104
OFF
5
P103
OFF
6
P102
OFF
7
P101
OFF
8
P100
OFF
User’s Manual U14768EJ1V0UM00
OFF
OFF
35
CHAPTER 3
INSTALLATION
Figure 3-17. Port 9 Mask Option Setting (At Shipment)
S19
ON
OFF
S21
ON
VLOAD
GND
1 2 3 4 5 6 7 8
Switch
Port
Setting
S20
P97 to P94
VLOAD/GND
S21
P93 to P90
S19
S20
Meaning
ON/OFF
Either VLOAD or GND is specified as the connection
destination (switched in 4-bit units).
Either ON or OFF of the mask option pull-down
resistor is specified (switched in 1-bit units).
Setting at
Shipment
GND
GND
1
P97
2
P96
OFF
3
P95
OFF
4
P94
OFF
5
P93
OFF
6
P92
OFF
7
P91
OFF
8
P90
OFF
OFF
Figure 3-18. Port 8 Mask Option Setting (At Shipment)
S17
S16
ON
OFF
ON
VLOAD
Port
Setting
S18
P81, P80
VLOAD/GND
7
P81
ON/OFF
8
P80
Caution
Meaning
Setting at
Shipment
Either VLOAD or GND is specified as the connection
destination (switched in 2-bit units).
GND
Either ON or OFF of the mask option pull-down
resistor is specified (switched in 1-bit units).
OFF
Do not change the shipment settings of 1 to 6 of S16 (OFF).
Leave S17 set to GND (default).
36
GND
1 2 3 4 5 6 7 8
Switch
S16
S18
User’s Manual U14768EJ1V0UM00
OFF
CHAPTER 3
3.4
INSTALLATION
External Trigger
To set up an external trigger, connect it to the IE-78048-NS-EM1’s check pins EXTOUT and EXTIN as shown
below.
See the IE-78K0-NS User’s Manual (U13731E) for descriptions of related use methods and pin characteristics.
Figure 3-19. External Trigger Input Position
µ PD78P018FLP
S1
XT1
MAIN CLK
S2 S3
S4
S7 S8
S9
S13 S14
S15
µPD78P048AKL-T
IE-78048-NS-EM1
SUB CLK
CN5
S16
S17 S18
S19
S20 S21
USER LED
EXT OUT
External trigger
EXT IN
User’s Manual U14768EJ1V0UM00
37
CHAPTER 3
3.5
INSTALLATION
Switch and Jumper Settings
(1) Jumper settings on the IE-78K0-NS
When using the IE-78048-NS-EM1, set the jumpers on the IE-78K0-NS as follows.
For the jumper positions, refer to the IE-78K0-NS User's Manual (U13731E).
Table 3-3. Jumper Settings on IE-78K0-NS
Short
JP2
JP3
JP4
JP6
JP7
JP8
2 to 3
1 to 2
1 to 2
3 to 4
1 to 2
1 to 2
(2) Switch settings on the IE-78048-NS-EM1
The mask option resistor for port 3 can be switched between pull-up resistor and pull-down resistor via the
setting of switch S1. When emulating the µPD78044H Subseries, set S1 to the 04XH side. When emulating the
µPD78044F Subseries, set S1 to the 04XF side.
Figure 3-20. S1 Setting
S1
04XH
04XF
Switch
Setting
S1
04XH
The mask option resistor connected to port 3 is a pull-up resistor. (Port 3
outputs N-ch open-drain output.)
04XF
The mask option resistor connected to port 3 is a pull-down resistor. (Port 3
outputs CMOS output.)
Remark
Meaning
Port 3 of the µPD78044H Subseries is an N-ch open-drain pin.
Port 3 of the µPD78044F Subseries is a CMOS input pin.
38
User’s Manual U14768EJ1V0UM00
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-78048NS-EM1’s target interface circuit.
Although the target device is a CMOS circuit, the IE-78048-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 to or output from the emulation CPU µPD78P018
(2) Signals input to or output from the emulation CPU µPD78P048
(3) Signals input to or output from the emulation CPUs µPD78P018 and µPD78P048
(4) Signals input to or output from the emulation CPU µPD780009
(5) Other signals
The IE-78048-NS-EM1’s circuit is used as follows for signals listed in (1) to (5) above.
(1) Signals input to or output from the emulation CPU µPD78P018 (refer to Figure 4-1 Equivalent Circuit for
Emulation Circuit (1/5))
• P02 to P00
• Signals related to port 1
• Signals related to port 2
• Signals related to port 3
(2) Signals input to or output from the emulation CPU µPD78P048 (refer to Figure 4-1 Equivalent Circuit for
Emulation Circuit (2/5))
• P03
• P74 to P70
• P81, P80
• Signals related to port 9
• Signals related to port 10
• Signals related to port 11
• Signals related to port 12
• VLOAD
User’s Manual U14768EJ1V0UM00
39
CHAPTER 4
DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
(3) Signals input to or output from the emulation CPUs µPD78P018 and µPD78P048 (refer to Figure 4-1
Equivalent Circuit of Emulation Circuit (3/5))
• AVDD
• AVREF
(4) Signals input to or output from the emulation CPU µPD780009 (refer to Figure 4-1 Equivalent Circuit of
Emulation Circuit (4/5))
• RESET
• X1
(5) Other signals (refer to Figure 4-1 Equivalent Circuit of Emulation Circuit (5/5)).
• P04
• USERVDD
40
User’s Manual U14768EJ1V0UM00
CHAPTER 4
DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
Figure 4-1. Equivalent Circuit of Emulation Circuit (1/5)
Probe side
IE system side
100 Ω
P02 to P00
1 MΩ
P17 to P15
P14 to P10
HC4066
1 MΩ
100 Ω
P27 to P20
µ PD78P018
Emulation CPU
1 MΩ
VCC
39 kΩ
HC4050
HC125
HC4066
LVCC
HSK120
4.7 kΩ
100 Ω
P37 to P30
LS07
HC125
HC4066
1 MΩ
HC4066
82 kΩ
User’s Manual U14768EJ1V0UM00
41
CHAPTER 4
DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
Figure 4-1. Equivalent Circuit of Emulation Circuit (2/5)
Probe side
IE system side
100 Ω
P03
1 MΩ
VCC
39 kΩ
HSK120
HC4066
100 Ω
P74 to P70
1 MΩ
P81, P80
P97 to P90
P107 to P100
P117 to P110
P127 to P120
µ PD78P048
emulation CPU
DIP switch
68 kΩ
Slide switch
GND
VLOAD
Figure 4-1. Equivalent Circuit of Emulation Circuit (3/5)
Probe side
IE system side
AVDD
µ PD78P048
emulation CPU
AVREF
µ PD78P018
emulation CPU
42
User’s Manual U14768EJ1V0UM00
CHAPTER 4
DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS
Figure 4-1. Equivalent Circuit of Emulation Circuit (4/5)
Probe side
IE system side
LVCC
4.7 kΩ
HC4066
100 Ω
RESET
µ PD780009
emulation CPU
LVCC
HSK120
100 Ω
X1
HSK120
Figure 4-1. Equivalent Circuit of Emulation Circuit (5/5)
Probe side
IE system side
VCC
HSK120
100 Ω
µ PD780009
emulation CPU
P04
HSK120
µ PD78P018
emulation CPU
VHC157
LVCC
4.7 kΩ
4.7 kΩ
+
100 Ω
µ PC393
USER VDD
+
0.1 µ F
1 MΩ
+
µ PC393
-
User’s Manual U14768EJ1V0UM00
43
[MEMO]
44
User’s Manual U14768EJ1V0UM00
APPENDIX
EMULATION PROBE PIN ASSIGNMENT TABLE
Table A-1. NP-80GF Pin Assignments (1/2)
Emulation Probe
CN5 Pin No.
Emulation Probe
CN5 Pin No.
1
114
33
56
2
113
34
49
3
108
35
50
4
107
36
45
5
104
37
46
6
103
38
41
7
100
39
42
8
99
40
35
9
94
41
8
10
93
42
7
11
30
43
14
12
29
44
13
13
24
45
18
14
23
46
17
15
20
47
22
16
19
48
21
17
16
49
28
18
15
50
27
19
10
51
92
20
9
52
91
21
37
53
98
22
43
54
97
23
44
55
102
24
47
56
101
25
48
57
106
26
51
58
105
27
52
59
112
28
57
60
111
29
58
61
83
30
59
62
77
31
60
63
78
32
55
64
73
Remarks 1. The NP-80GF is a product 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 U14768EJ1V0UM00
45
Table A-1. NP-80GF Pin Assignments (2/2)
Emulation Probe
CN5 Pin No.
Emulation Probe
CN5 Pin No.
65
74
73
66
66
69
74
71
67
70
75
72
68
63
76
75
69
64
77
76
70
61
78
79
71
62
79
80
72
65
80
85
Remarks 1. The NP-80GF is a product 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.
46
User’s Manual U14768EJ1V0UM00
Facsimile Message
From:
Name
Company
Tel.
Although NEC has taken all possible steps
to ensure that the documentation supplied
to our customers is complete, bug free
and up-to-date, we readily accept that
errors may occur. Despite all the care and
precautions we've taken, you may
encounter problems in the documentation.
Please complete this form whenever
you'd like to report errors or suggest
improvements to us.
FAX
Address
Thank you for your kind support.
North America
Hong Kong, Philippines, Oceania
NEC Electronics Inc.
NEC Electronics Hong Kong Ltd.
Corporate Communications Dept. Fax: +852-2886-9022/9044
Fax: 1-800-729-9288
1-408-588-6130
Korea
Europe
NEC Electronics Hong Kong Ltd.
NEC Electronics (Europe) GmbH
Seoul Branch
Technical Documentation Dept.
Fax: 02-528-4411
Fax: +49-211-6503-274
South America
NEC do Brasil S.A.
Fax: +55-11-6462-6829
Asian Nations except Philippines
NEC Electronics Singapore Pte. Ltd.
Fax: +65-250-3583
Japan
NEC Semiconductor Technical Hotline
Fax: 044-435-9608
Taiwan
NEC Electronics Taiwan Ltd.
Fax: 02-2719-5951
I would like to report the following error/make the following suggestion:
Document title:
Document number:
Page number:
If possible, please fax the referenced page or drawing.
Document Rating
Excellent
Good
Acceptable
Poor
Clarity
Technical Accuracy
Organization
CS 00.6