NEC uPD780318, uPD780338, uPD780328 User Manual

User’s Manual
IE-780338-NS-EM1
Emulation Board
Target Devices
PD780318 Subseries
µµµµ
PD780328 Subseries
µµµµ
PD780338 Subseries
µµµµ
2002
1991©
Printed in Japan
[MEMO]
2
User’s Manual U16214EJ1V0UM
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 May, 2002. 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 U16214EJ1V0UM
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.)
Santa Clara, California Tel: 408-588-6000 800-366-9782 Fax: 408-588-6130 800-729-9288
NEC do Brasil S.A.
Electron Devices Division Guarulhos-SP, Brasil Tel: 11-6462-6810 Fax: 11-6462-6829
NEC Electronics (Europe) GmbH
Duesseldorf, Germany Tel: 0211-65 03 01 Fax: 0211-65 03 327
Sucursal en España
Madrid, Spain Tel: 091-504 27 87 Fax: 091-504 28 60
Succursale Française
Vélizy-Villacoublay, France Tel: 01-30-67 58 00 Fax: 01-30-67 58 99
Filiale Italiana
Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99
Branch The Netherlands
Eindhoven, The Netherlands Tel: 040-244 58 45 Fax: 040-244 45 80
Branch Sweden
Taeby, Sweden Tel: 08-63 80 820 Fax: 08-63 80 388
United Kingdom Branch
Milton Keynes, UK Tel: 01908-691-133 Fax: 01908-670-290
NEC Electronics Hong Kong Ltd.
Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044
NEC Electronics Hong Kong Ltd.
Seoul Branch Seoul, Korea Tel: 02-528-0303 Fax: 02-528-4411
NEC Electronics Shanghai, Ltd.
Shanghai, P.R. China Tel: 021-6841-1138 Fax: 021-6841-1137
NEC Electronics Taiwan Ltd.
Taipei, Taiwan Tel: 02-2719-2377 Fax: 02-2719-5951
NEC Electronics Singapore Pte. Ltd.
Novena Square, Singapore Tel: 253-8311 Fax: 250-3583
J02.4
4
Users Manual U16214EJ1V0UM

INTRODUCTION

Product Overview The IE-780338-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.
PD780318 Subseries:
µ
•µPD780328 Subseries:
•µPD780338 Subseries:
Target Readers This manual is intended for engineers who will use the IE-780338-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 usage methods and to be knowledgeable about debugging.
Organization When using the IE-780338-NS-EM1, refer to not only this manual (supplied with the IE-
780338-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-780338-NS-EM1
User’s Manual User’s Manual
Basic specifications General
System configuration Part names
External interface functions Installation
PD780316, 780318
µ
PD780326, 780328
µ
PD780336, 780338, 78F0338
µ
Differences between target devices
and target interface circuits
Restrictions and cautions on use
Purpose This manual is intended to give users an understanding of the various debugging
functions that can be performed when using the IE-780338-NS-EM1.
User’s Manual U16214EJ1V0UM
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 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 or IE-78K0-NS-A and the IE-780338-NS-EM1.
Conventions Data significance: Higher digits on the left and lower digits on the right
Note: Footnote for item marked with Note in the text
Caution: Information requiring particular attention
Remark: Supplementary information
Related Documents The related documents (user’s manuals) indicated in this publication may include
preliminary versions. However, preliminary versions are not marked as such.
Document Name Document No.
IE-78K0-NS In-Circuit Emulator U13731E
IE-78K0-NS-A In-Circuit Emulator U14889E
IE-780338-NS-EM1 Emulation Board This manual
ID78K Series Integrated Debugger Ver. 2.30 or Later Operation Windows™
Based
PD780318, 780328, 780338 Subseries U14701E
µ
U15185E
Caution The documents listed above are subject to change without notice. Be sure to use the latest
documents when designing.
6
User’s Manual U16214EJ1V0UM
CONTENTS
CHAPTER 1 GENERAL............................................................................................................................ 10
1.1 System Configuration................................................................................................................................ 11
1.2 Hardware Configuration ............................................................................................................................ 13
1.3 Basic Specifications.................................................................................................................................. 14
CHAPTER 2 PART NAMES .....................................................................................................................15
2.1 Parts of Main Unit ......................................................................................................................................16
CHAPTER 3 INSTALLATION...................................................................................................................17
3.1 Connection ................................................................................................................................................. 18
3.2 Clock Settings............................................................................................................................................ 20
3.2.1 Overview of clock settings .............................................................................................................20
3.2.2 Main system clock settings ............................................................................................................ 23
3.2.3 Subsystem clock settings .............................................................................................................. 28
3.3 Mask Option Setting .................................................................................................................................. 33
3.3.1 LCD booster................................................................................................................................... 33
3.4 External Trigger .........................................................................................................................................34
3.5 Jumper Settings on IE-78K0-NS ............................................................................................................... 35
3.6 Jumper Settings on IE-78K0-NS-A ...........................................................................................................35
3.7 Low-Voltage Emulation Settings .............................................................................................................. 36
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS........... 37
CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE....................................................................... 40
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE ...........................................................41
APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM ......................................................... 43
User’s Manual U16214EJ1V0UM
7
LIST OF FIGURES
Figure No. Title
1-1 System Configuration ....................................................................................................................................... 11
1-2 Basic Hardware Configuration (Using IE-78K0-NS) ......................................................................................... 13
1-3 Basic Hardware Configuration (Using IE-78K0-NS-A)...................................................................................... 13
2-1 IE-780338-NS-EM1 Part Names....................................................................................................................... 16
3-1 Connection Between FG Cable and Emulation Probe...................................................................................... 18
3-2 Emulation Probe Connection ............................................................................................................................ 19
3-3 Connection Between FG Cable and In-Circuit Emulator................................................................................... 19
3-4 External Circuits Used as System Clock Oscillator .......................................................................................... 20
3-5 When Using Clock That Is Already Mounted on Emulation Board (Main System Clock) ................................. 21
3-6 When Using Clock That Is Already Mounted on Emulation Board (Subsystem Clock) .................................... 21
3-7 When Using User-Mounted Clock (Main System Clock) .................................................................................. 22
3-8 When Using User-Mounted Clock (Subsystem Clock) ..................................................................................... 22
3-9 When Using an External Clock......................................................................................................................... 23
3-10 Connections on Parts Board (When Using Main System Clock or User-Mounted Clock) ................................ 24
3-11 Crystal Oscillator (When Using Main System Clock or User-Mounted Clock) .................................................. 26
3-12 Pin Alignment of Crystal Oscillator and Socket ................................................................................................ 26
3-13 Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) ................................... 29
3-14 Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock) .....................................................31
3-15 Pin Alignment of Crystal Oscillator and Socket ................................................................................................ 31
3-16 LCD MOPT Socket (IC2) .................................................................................................................................. 33
3-17 External Trigger Input Position ......................................................................................................................... 34
3-18 Main Board of IE-78K0-NS or IE-78K0-NS-A (G-780009 Board)...................................................................... 36
Page
4-1 Equivalent Circuit of Emulation Circuit 1........................................................................................................... 38
4-2 Equivalent Circuit of Emulation Circuit 2........................................................................................................... 38
4-3 Equivalent Circuit of Emulation Circuit 3........................................................................................................... 39
B-1 Distance Between In-Circuit Emulator and Conversion Socket........................................................................ 43
B-2 Connection Conditions of Target System ......................................................................................................... 44
8
User’s Manual U16214EJ1V0UM
LIST OF TABLES
Table No.
1-1 Correspondence Between Emulation Probe and Conversion Connectors ........................................................12
1-2 Basic Specifications ..........................................................................................................................................14
3-1 Main System Clock Settings..............................................................................................................................23
3-2 Subsystem Clock Settings.................................................................................................................................28
3-3 Jumper Settings on IE-78K0-NS .......................................................................................................................35
3-4 Jumper Settings on IE-78K0-NS-A G-780009 Board ........................................................................................35
3-5 Jumper Settings on IE-78K0-NS-A G-78K0H Option Board..............................................................................35
3-6 Supply Voltage and Maximum Current Consumption at Low-Voltage Emulation..............................................36
A-1 SWEX-120SE-1 Pin Assignments .....................................................................................................................41
Title Page
User’s Manual U16214EJ1V0UM
9

CHAPTER 1 GENERAL

The IE-780338-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-780338-NS-EM1’s system configuration and basic specifications.
Target devices
•µPD780318 Subseries
•µPD780328 Subseries
•µPD780338 Subseries
10
User’s Manual U16214EJ1V0UM
CHAPTER 1 GENERAL

1.1 System Configuration

Figure 1-1 illustrates the IE-780338-NS-EM1’s system configuration.
Figure 1-1. System Configuration
Interface board
IE-70000-98-IF-C
(sold separately)
Debugger
ID78K0-NS
(sold separately)
Interface board IE-70000-PC-IF-C (sold separately)
or
Device file
(available separately)
Control software
Interface board
IE-70000-PCI-IF-A
(sold separately)
Note 1
Host machine
PC-9800 series
or IBM PC/AT
or compatibles
Interface card
TM
IE-78K0-NS
or
IE-78K0-NS-A
(sold separately)
Interface cable (NS IF Cable)
FG Cable
FG Cable
AC adapter IE-70000-MC-PS-B (sold separately)
User’s Manual U16214EJ1V0UM
In-circuit emulator
Emulation probe (sold separately)
Conversion connector (sold separately)
NS CARD Cable
IE-70000-CD-IF-A
(sold separately)
IE-780338-NS-EM1
(this product)
Note 2
Note 3
Interface
cable
MC CARD Cable
11
CHAPTER 1 GENERAL
Notes 1. The device file is as follows.
S××××DF780338: µPD780318, 780328, 780338 Subseries
µ
The device file can be downloaded from the web site of NEC Electron Devices
(http://www.ic.nec.co.jp/micro/).
2. The emulation probe SWEX-120SE-1 and conversion connectors NQPACK120SE, YQPACK120SE,
and YQ-GUIDE are products of TOKYO ELETECH CORPORATION.
For further information, contact Daimaru Kogyo, Ltd.
Tokyo Electronics Department (TEL: +81-3-3820-7112)
Osaka Electronics Department (TEL: +81-6-6244-6672)
The correspondence between the emulation probe and conversion connectors that are sold separately is shown
in the Table 1-1.
Table 1-1. Correspondence Between Emulation Probe and Conversion Connectors
Package Emulation Probe Conversion Connector
120-pin plastic QFP (GC type) SWEX-120SE-1
(Probe length: 303 mm)
NQPACK120SE
YQPACK120SE
YQ-GUIDE
12
Users Manual U16214EJ1V0UM
CHAPTER 1 GENERAL

1.2 Hardware Configuration

Figures 1-2 and 1-3 show the IE-780338-NS-EM1s position in the basic hardware configuration.
Figure 1-2. Basic Hardware Configuration (Using IE-78K0-NS)
Host machine
Host
machine
Dedicated bus interface
Interface board
(sold separately)
Interface card
(sold separately)
IE-78K0-NS IE-780338-NS-EM1
78K0 main board
IE system
Figure 1-3. Basic Hardware Configuration (Using IE-78K0-NS-A)
IE system
IE-78K0-NS-A
Interface
board
(sold separately)
Interface card
(sold separately)
Dedicated bus
interface
78K0 main board
78K0 performance board
Emulation board
(this product)
Emulation probe (sold separately)
IE-780338-NS-EM1
Emulation board (this product)
Users Manual U16214EJ1V0UM
External sense
probe
Emulation probe (sold separately)
13
CHAPTER 1 GENERAL

1.3 Basic Specifications

The IE-780338-NS-EM1’s basic specifications are listed in Table 1-2.
Table 1-2. Basic Specifications
Parameter Description
Target device
System clock 10.0 MHz
Main system clock supply External: Clock input from the target system via an emulation probe
Subsystem clock supply External: Input from the target system via an emulation probe
Low voltage support VDD = 1.8 to 5.5 V (same as the target device)
PD780318, 780328, 780338 Subseries
µ
Internal: Clock mounted on the emulation board (10.0 MHz) or mounted on the parts board by
the user
Internal: Mounted on the emulation board (32.768 kHz) or mounted on the parts board by the
user
14
User’s Manual U16214EJ1V0UM

CHAPTER 2 PART NAMES

This chapter introduces the parts of the IE-780338-NS-EM1 main unit.
The packing box contains the emulation board (IE-780338-NS-EM1), FG cable, 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 U16214EJ1V0UM
15
Loading...
+ 32 hidden pages