User’s Manual IE-78K4-R-EX2 Emulation Probe Conversion Board Target Devices 78K/IV Series Document No. U16343EJ1V0UM00 (1st edition) Date Published October 2002 N CP(K) © Printed in Japan 2002 1991 [MEMO] 2 User’s Manual U16343EJ1V0UM 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 August, 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 U16343EJ1V0UM 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 • Filiale Italiana Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99 NEC Electronics Hong Kong Ltd. • Branch The Netherlands Eindhoven, The Netherlands Tel: 040-244 58 45 Fax: 040-244 45 80 NEC Electronics Hong Kong Ltd. • Branch Sweden Taeby, Sweden Tel: 08-63 80 820 NEC Electronics (Europe) GmbH Fax: 08-63 80 388 Duesseldorf, Germany • United Kingdom Branch Tel: 0211-65 03 01 Milton Keynes, UK Fax: 0211-65 03 327 Tel: 01908-691-133 Fax: 01908-670-290 • Sucursal en España Madrid, Spain Tel: 091-504 27 87 Fax: 091-504 28 60 Hong Kong Tel: 2886-9318 Fax: 2886-9022/9044 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 • Succursale Française Vélizy-Villacoublay, France Tel: 01-30-67 58 00 Fax: 01-30-67 58 99 J02.4 4 User’s Manual U16343EJ1V0UM INTRODUCTION Product Overview The IE-78K4-R-EX2 is designed to be used with an in-circuit emulator (IE-784000-R), emulation board (IE-784000-R-EM), and I/O emulation board (IE-784×××-NS-EM1) to debug 78K/IV Series 16-bit single-chip microcontrollers. Target Readers This manual is intended for engineers who will use an in-circuit emulator (IE-784000-R), emulation board (IE-784000-R-EM), and I/O emulation board (IE-784×××-NS-EM1) with the IE-78K4-R-EX2 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-78K4-R-EX2, refer to not only this manual (supplied with the IE-78K4R-EX2) but also the manuals that are supplied with the in-circuit emulator (IE-784000-R) and the I/O emulation board (IE-784×××-NS-EM1). IE-784000-R IE-784×××-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 IE-78K4-R-EX2 User’s Manual • General • Part names • Installation Purpose This manual’s purpose is to explain various debugging functions that can be performed when using the IE-78K4-R-EX2. User’s Manual U16343EJ1V0UM 5 Terminology The meanings of certain terms used in this manual are listed below. Term Meaning 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 an in-circuit emulator (IE-784000-R), emulation probe conversion board (IE-78K4-R-EX2), emulation board (IE-784000-R-EM), and I/O emulation board (IE-784×××NS-EM1). Conventions Related Documents 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-784000-R In-Circuit Emulator U12903E IE-78K4-R-EX2 Emulation Probe Conversion Board This manual ID78K Series Integrated Debugger Ver. 2.30 or Later Operation (Windows™ Based) U15185E The related documents listed above are subject to change without notice. Be sure to use the latest version of each document for designing. 6 Document No. User’s Manual U16343EJ1V0UM CONTENTS CHAPTER 1 GENERAL............................................................................................................................10 1.1 System Configuration................................................................................................................................ 11 1.2 Hardware Configuration ............................................................................................................................ 13 CHAPTER 2 PART NAMES .....................................................................................................................14 2.1 Parts of Main Unit ...................................................................................................................................... 15 CHAPTER 3 INSTALLATION...................................................................................................................16 3.1 Installation Procedure ............................................................................................................................... 17 CHAPTER 4 CAUTIONS ..........................................................................................................................20 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE ...........................................................21 User’s Manual U16343EJ1V0UM 7 LIST OF FIGURES Figure No. Title Page 1-1 System Configuration ....................................................................................................................................... 11 1-2 Basic Hardware Configuration .......................................................................................................................... 13 2-1 Side Connected to IE-784000-R-EM and IE-784×××-NS-EM1 ......................................................................... 15 3-1 Connection Outline of IE-78K4-R-EX2.............................................................................................................. 17 3-2 Connecting IE-78K4-R-EX2 and IE-784×××-NS-EM1....................................................................................... 18 3-3 Connecting IE-784000-R-EM and IE-78K4-R-EX2 + IE-784×××-NS-EM1........................................................ 18 3-4 Removing Top Cover........................................................................................................................................ 19 3-5 Inserting in IE-784000-R................................................................................................................................... 19 8 User’s Manual U16343EJ1V0UM LIST OF TABLES Table No. Title Page 1-1 I/O Emulation Board ..........................................................................................................................................12 1-2 Package Correspondence Table .......................................................................................................................12 A-1 EP-78230GC-R Pin Assignment Table..............................................................................................................21 A-2 EP-78054GK-R Pin Assignment Table..............................................................................................................22 User’s Manual U16343EJ1V0UM 9 CHAPTER 1 GENERAL The IE-78K4-R-EX2 is a development tool for efficient debugging of hardware or software when using a 78K/IV Series 16-bit single-chip microcontroller. This chapter describes the IE-78K4-R-EX2 system configuration and hardware configuration. 10 User’s Manual U16343EJ1V0UM CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the IE-78K4-R-EX2 system configuration. Figure 1-1. System Configuration Debugger ID78K4 (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 (sold separately) Interface board IE-70000-PC-IF-C (sold separately) Interface board IE-70000-PCI-IF-A (sold separately) or PC bus interface cable IE-784000-R (sold separately) In-circuit emulator + IE-784000-R-EM (sold separately) + IE-78K4-R-EX2 (this product) + IE-784×××-NS-EM1Note 2 (sold separately) + Emulation probeNote 3 (sold separately) + Conversion socket/conversion adapterNote 3 (sold separately) User’s Manual U16343EJ1V0UM 11 CHAPTER 1 GENERAL Notes 1. For the device file, refer to the IE-784×××-NS-EM1 User’s Manual. 2. For the IE-784×××-NS-EM1, refer to Table 1-1. Table 1-1. I/O Emulation Board I/O Emulation Board IE-784225-NS-EM1 IE-784956-NS-EM1 3. For the emulation probe and conversion socket/conversion adapter, refer to Table 1-2. The TGK-080SDW is a product of TOKYO ELETECH CORPORATION. Inquiries: Daimaru Kogyo, Co., Ltd. Tokyo Electronics Department (TEL: +81-3-3820-7112) Osaka Electronics Department (TEL: +81-6-6244-6672) Table 1-2. Package Correspondence Table Package 12 Emulation Probe Conversion Socket/Conversion Adapter 80-pin QFP EP-78230GC-R EV-9200GC-80 80-pin TQFP EP-78054GK-R TGK-080SDW User’s Manual U16343EJ1V0UM CHAPTER 1 GENERAL 1.2 Hardware Configuration Figure 1-2 shows the IE-78K4-R-EX2’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration IE system IE-784000-R Host machine Performance board, event trace board IE-784000-R-EM IE-78K4-R-EX2 IE-784×××-NS-EM1 Emulation board (sold separately) Emulation probe conversion board (this product) I/O emulation board (sold separately) Break board Interface board (sold separately) Emulation probe (sold separately) Supervisor board (fixed) PC bus interface User’s Manual U16343EJ1V0UM 13 CHAPTER 2 PART NAMES This chapter introduces the parts of the IE-78K4-R-EX2 main unit. The packing box contains the emulation probe conversion board (IE-78K4-R-EX2), 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. 14 User’s Manual U16343EJ1V0UM CHAPTER 2 PART NAMES 2.1 Parts of Main Unit Figure 2-1. Side Connected to IE-784000-R-EM and IE-784××× ×××-NS-EM1 ××× CN1 RPJ2 APJ1 RPJ1 RCN1 IE-78K4-R-EX2 RCN2 IC2 APJ2 User’s Manual U16343EJ1V0UM 15 CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-78K4-R-EX2 to the in-circuit emulator (IE-784000-R), emulation board (IE-784000-R-EM), 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. 16 User’s Manual U16343EJ1V0UM CHAPTER 3 INSTALLATION 3.1 Installation Procedure When using the IE-78K4-R-EX2, install the IE-78K4-R-EX2 according to the following procedure (1) to (7) (note that the installation procedure is different from the procedure in the IE-784000-R User’s Manual (U12903E)). Caution Connecting or removing components must be carried out after the power supply to both the IE784000-R and the target system has been switched OFF. Figure 3-1. Connection Outline of IE-78K4-R-EX2 Emulation probe (sold separately) Connector caps Cover of IE-784000-R IE-784000-R-EM (sold separately) IE-784×××-NS-EM1 (sold separately) IE-78K4-R-EX2 IE-784000-R main unit (sold separately) User’s Manual U16343EJ1V0UM 17 CHAPTER 3 INSTALLATION (1) Setting clock Set the clock referring the user’s manual of the IE-784×××-NS-EM1 in use. (2) Setting IE-784××× ×××-NS-EM1 ××× Set the jumpers or switches in the IE-784×××-NS-EM1, if necessary. (3) Mounting IE-784××× ×××-NS-EM1 on IE-78K4-R-EX2 ××× Connect the connectors RCN1 and RCN2 of the IE-78K4-R-EX2 and RCN1 and RCN2 of the IE-784×××-NSEM1, and the connectors APJ1 and APJ2 of the IE-78K4-R-EX2 and PJ1 and PJ2 of the IE-784×××-NS-EM1. Figure 3-2. Connecting IE-78K4-R-EX2 and IE-784××× ×××-NS-EM1 ××× PJ1 IE-784×××-NS-EM1 RCN1 PJ2 RCN2 APJ1 IE-78K4-R-EX2 RPJ1 APJ2 RCN1 RPJ2 RCN2 (4) Mounting IE-78K4-R-EX2 + IE-784××× ×××-NS-EM1 on IE-784000-R-EM ××× Connect the connectors PJ1 and PJ2 of the IE-784000-R-EM and the connectors RPJ1 and RPJ2 of the IE78K4-R-EX2. Figure 3-3. Connecting IE-784000-R-EM and IE-78K4-R-EX2 + IE-784××× ×××-NS-EM1 ××× PJ1 RPJ1 18 PJ2 RPJ2 User’s Manual U16343EJ1V0UM IE-78K4-R-EX2 +IE-784×××-NS-EM1 CHAPTER 3 INSTALLATION (5) Removing top cover Remove the six screws on the top of the main unit as shown in Figure 3-4, and then remove the top cover. Figure 3-4. Removing Top Cover (6) Removing rubber cover on top cover Remove the rubber cover on the top cover. (7) Inserting in IE-784000-R Insert the IE-784000-R-EM, IE-784×××-NS-EM1, and IE-78K4-R-EX2 connected in (4) in the IE-784000-R (setting the IE-784000-R-EM to the first slot), replace the top cover, and return the screws to their original positions. (The IE-78K4-R-EX2 does not use a slot.) Figure 3-5. Inserting in IE-784000-R IE-784000-R-EM (1st slot) IE-78K4-R-EX2 1st slot 2nd slot 3rd slot 4th slot 5th slot Power supply switch IE-784×××-NS-EM1 User’s Manual U16343EJ1V0UM 19 CHAPTER 4 CAUTIONS When connecting with the IE-784225-NS-EM1, set the SW3-5 (NMI interrupt mask) of the IE-784225-NS-EM1 to OFF. 20 User’s Manual U16343EJ1V0UM APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. EP-78230GC-R Pin Assignment Table CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe 1 GND 25 15 49 34 73 61 2 GND 26 16 50 33 74 NC 3 EXT0 27 17 51 32 75 NC 4 EXT1 28 18 52 31 76 70 5 EXT2 29 19 53 41 77 69 6 EXT3 30 20 54 42 78 68 7 EXT4 31 21 55 43 79 67 8 EXT5 32 NC 56 44 80 66 9 EXT6 33 NC 57 45 81 65 10 EXT7 34 30 58 46 82 64 11 1 35 29 59 47 83 63 12 2 36 28 60 48 84 62 13 3 37 27 61 49 85 80 14 4 38 26 62 50 86 79 15 5 39 25 63 51 87 78 16 6 40 24 64 52 88 77 17 7 41 23 65 53 89 76 18 8 42 22 66 54 90 75 19 9 43 40 67 55 91 74 20 10 44 39 68 56 92 73 21 11 45 38 69 57 93 72 22 12 46 37 70 58 94 71 23 13 47 36 71 59 95 GND 24 14 48 35 72 60 96 GND Remark The meanings of the symbols and numbers in the “Emulation Probe” column are as follows. GND: Earth clip (GND) EXT0 to EXT7: External sense clip No. 1 to No. 8 1 to 80: Pin number of emulation probe tip NC: No connection User’s Manual U16343EJ1V0UM 21 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-2. EP-78054GK-R Pin Assignment Table CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe CN1 Pin No. Emulation Probe 1 GND 25 15 49 34 73 61 2 GND 26 16 50 33 74 NC 3 EXT0 27 17 51 32 75 NC 4 EXT1 28 18 52 31 76 70 5 EXT2 29 19 53 41 77 69 6 EXT3 30 20 54 42 78 68 7 EXT4 31 21 55 43 79 67 8 EXT5 32 NC 56 44 80 66 9 EXT6 33 NC 57 45 81 65 10 EXT7 34 30 58 46 82 64 11 1 35 29 59 47 83 63 12 2 36 28 60 48 84 62 13 3 37 27 61 49 85 80 14 4 38 26 62 50 86 79 15 5 39 25 63 51 87 78 16 6 40 24 64 52 88 77 17 7 41 23 65 53 89 76 18 8 42 22 66 54 90 75 19 9 43 40 67 55 91 74 20 10 44 39 68 56 92 73 21 11 45 38 69 57 93 72 22 12 46 37 70 58 94 71 23 13 47 36 71 59 95 GND 24 14 48 35 72 60 96 GND Remark The meanings of the symbols and numbers in the “Emulation Probe” column are as follows. GND: Earth clip (GND) EXT0 to EXT7: External sense clip No. 1 to No. 8 22 1 to 80: Pin number of emulation probe tip NC: No connection User’s Manual U16343EJ1V0UM 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 Market Communication Dept. Fax: +82-2-528-4411 Fax: +49-211-6503-274 Taiwan NEC Electronics Taiwan Ltd. Fax: +886-2-2719-5951 South America NEC do Brasil S.A. Fax: +55-11-6462-6829 Japan NEC Semiconductor Technical Hotline Fax: +81- 44-435-9608 P.R. China NEC Electronics Shanghai, Ltd. Fax: +86-21-6841-1137 Asian Nations except Philippines NEC Electronics Singapore Pte. Ltd. Fax: +65-250-3583 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 02.3