Preliminary User’s Manual IE-703003-MC-EM1 IN-CIRCUIT EMULATOR OPTION BOARD Target device V853TM Document No. U11596EJ3V0UM00 (3rd edition) Date Published April 1997 N © Printed in Japan 1996 V851, V852, V853, and V850 family are trademarks of NEC Corporation. Windows is a trademark of Microsoft Corporation. PC/AT is a trademark of International Business Machines Corporation. Ethernet is a trademark of Xerox Corporation. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited. The information in this document is subject to change without notice. No part of this document may be copied or reproduced in any form or by any means without the prior written consent of NEC Corporation. NEC Corporation assumes no responsibility for any errors which may appear in this document. NEC Corporation does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from use of a device described herein or any other liability arising from use of such device. No license, either express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of NEC Corporation or of others. 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: 800-366-9782 Fax: 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 Hong Kong Ltd. NEC Electronics (Germany) GmbH Duesseldorf, Germany Tel: 0211-65 03 02 Fax: 0211-65 03 490 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. Spain Office Madrid, Spain Tel: 01-504-2787 Fax: 01-504-2860 United Square, Singapore 1130 Tel: 253-8311 Fax: 250-3583 NEC Electronics (France) S.A. NEC Electronics (UK) Ltd. Milton Keynes, UK Tel: 01908-691-133 Fax: 01908-670-290 NEC Electronics Italiana s.r.1. Milano, Italy Tel: 02-66 75 41 Fax: 02-66 75 42 99 NEC Electronics Taiwan Ltd. NEC Electronics (Germany) GmbH Scandinavia Office Taeby, Sweden Tel: 08-63 80 820 Fax: 08-63 80 388 Taipei, Taiwan Tel: 02-719-2377 Fax: 02-719-5951 NEC do Brasil S.A. Sao Paulo-SP, Brasil Tel: 011-889-1680 Fax: 011-889-1689 J96. 8 Main Revisions in This Edition Pages Description P2 CLKOUT of maskable pin is deleted in 1.2 Features (When connected to IE-703002-MC). P2 Emulation Memory Capacity is modified in 1.3 Function Specifications (When connected to IE703002-MC). P3 Target Connection Socket is modified from YQSOCKET100SDF to YQSCKETSDN in 1.4 System Configuration. P7 Insertion guides is modified to 4 in Figure 1-4. (c) Connecting part (IE-703003-MC-EM1). P12 3.3 NMI Signal Addition of Description The mark shows major revised points. [MEMO] INTRODUCTION READERS This manual is intended for users who design and develop application systems using the V853. PURPOSE The purpose of this manual is to describe the proper operation of the IE-703003-MC-EM1 and its basic specifications. ORGANIZATION This manual is broadly divided into the following parts: • Overview • Settings of IE-703003-MC • Cautions HOW TO READ THIS MANUAL This manual assumes readers who have general knowledge of electric engineering, logic circuits, and microcomputers. The IE-703003-MC-EM1 is used connected to the in-circuit emulator IE-703002-MC for the V851™ and V852™. This manual explains the basic setup procedure and switch settings of the IE-703002-MC when it is connected to the IE-703003-MC-EM1. For the names and functions, and the connection of parts, refer to the “IE-703002-MC User’s Manual Hardware”. To learn the basic specifications and operation methods broadly → Read this manual in the order listed in CONTENTS. To learn the operation methods and command functions, etc., of the IE-703002-MC and IE-703003-MC-EM1 → Read the user’s manual of the debugger (optional) that is used. LEGEND Note : Describe items noted in text. Caution : Describe points that require special attention. Remark : Provide supplementary remarks to description in text. Numeral representations : Binary … xxxx or xxxxB Decimal … xxxx Hexadecimal … 0xxxxx or xxxxH Prefix representing the power of 2 (Address space, Memory capacity): 10 K (kilo) : 2 = 1024 20 M (mega) : 2 = 1024 2 TERMINOLOGY The meaning of terms used in this manual is listed below. Target device Device that is emulated. Target system The system (user-built system) to be debugged. This includes the target program and userconfigured hardware. RELATED DOCUMENTS Some of the related documents listed below may be preliminary editions, but are not noted as such. { Documents related V853 Document Document Number V853 User’s Manual Hardware U10913E µPD703003 Data Sheet Planned µPD70F3003 Data Sheet Planned TM V850 family User’s Manual Architecture U10243E V850 family Instruction List U10229E { Documents related to development tools Product Document Number IE-703002-MC Hardware U11595E IE-70000-MC-SV2 (Communication module) U11781E IE-70000-MC-IF (Communication module adopter) CA850 (C Compiler package) Operation UNIX U11601E TM based TM RX850 (Real-time OS) U11013E Operation Windows based U11068E C language U11010E Assembly Language U10543E Basics U11037E Technical U11117E Nucleus installation U11038E Debugger Windows-based U11158E AZ850 (System performance analyzer) Operation U11181E ID850 (C source debugger) Operation Windows-based Planned Operation UNIX-based Planned Installation Windows-based Planned Installation UNIX-based Planned CONTENTS CHAPTER 1 OVERVIEW ..................................................................................................................... 1 1.1 Hardware Configuration ......................................................................................................................... 1 1.2 Features................................................................................................................................................... 2 1.3 Function Specifications ......................................................................................................................... 2 1.4 System Configuration............................................................................................................................. 3 1.5 Contents in Carton.................................................................................................................................. 4 1.6 Connection between IE-703002-MC and IE-703003-MC-EM1 .............................................................. 6 CHAPTER 2 IE-703002-MC SETTING................................................................................................ 9 2.1 Settings of JP2, SW1, and SW2 ............................................................................................................. 9 2.2 Settings of JP1, JP3, and JP4................................................................................................................ 10 CHAPTER 3 CAUTIONS...................................................................................................................... 11 3.1 Internal RAM and ROM ........................................................................................................................... 11 3.2 Target System VDD .................................................................................................................................. 11 3.3 NMI Signal ............................................................................................................................................... 12 3.4 X1 Signal.................................................................................................................................................. 12 APPENDIX DIMENSIONS...................................................................................................................... 13 -i- List of Figures Figure No. Title Page 1-1. System Configuration .................................................................................................................................... 3 1-2. Contents in Carton......................................................................................................................................... 4 1-3. Accessories ................................................................................................................................................... 5 1-4. Connection between IE-703002-MC and IE-703003-MC-EM1...................................................................... 6 3-1. NMI Signal-Flow Path.................................................................................................................................... 12 3-2. X1 Signal-Flow Path ...................................................................................................................................... 12 - ii - List of Tables Table No. Title Page 2-1. Settings of JP2, SW1, and SW2.................................................................................................................... 9 2-2. Settings of JP1, JP3, and JP4....................................................................................................................... 10 3-1. Memory Capacity Limitation List ................................................................................................................... 11 - iii - [MEMO] - iv - CHAPTER 1 OVERVIEW The IE-703003-MC-EM1 is an optional board for the in-circuit emulator IE-703002-MC for the V851 and V852. By connecting the IE-703003-MC-EM1 and IE-703002-MC, hardware and software can be debugged efficiently in system development using the V853. In this manual, the basic setup sequences and switch settings of the IE703003-MC are described. For the names and functions of the parts of the IE-703002-MC, and for the connection of elements, refer to the “IE-703002-MC User’s Manual”. 1.1 Hardware Configuration Optional Optionalhardware hardware IE-703002-MC (In-circuit emulator for V851 and V852) Option board (IE-703003-MC-EM1) IE-703002-MC can be used as in-circuit emulator for V853 by adding this board. Optional hardware Note Extension probe (SC-100SD ) General-purpose extension probe. Made by Tokyo Eletec, Ltd PC interface board This board is used to connect the IE-703002-MC to a personal computer. This board is inserted in the expansion slot of the personal computer. Network module The module is used when a workstation controls the IE-703002-MC via ethernet™. It consists of a communication module (IE-70000 MC-SV2) and a dedicated adapter (IE-70000-MC-IF). Power adapter AC adapter dedicated to the IE-703002-MC Note Contact: Daimaru Kogyo Co., Ltd. Tokyo Electronic Components Department TEL 03-3820-7112 Osaka Electronic Components Department TEL 06-244-6672 1 CHAPTER 1 OVERVIEW 1.2 Features (When connected to IE-703002-MC) { Maximum operation frequency: 33 MHz (at 5-V operation) { Extremely light in weight and compact { Higher equivalence with target device can be achieved by omitting buffer between signal cables. { Following pins can be masked. RESET, NMI, WAIT, HLDRQ { Two methods of connection to target system: • Pod tip direct connection (For information on the pod, refer to the IE-703002-MC User’s Manual) • Attach an extension probe (optional) to the pod tip for connection. { Dimensions of the option board (IE-703003-MC-EM1) are as follows. Parameter Value Power dissipation (Max. value at 5-V supply voltage) Note 0.35 W (at 33-MHz operation frequency) Height 13 mm Length 160 mm Width 96 mm Weight 125 g Note 10.35 W when IE-703002-MC with IE-703003-MC-EM1 1.3 Function Specifications (When connected to IE-703002-MC) Parameter Emulation memory capacity Internal ROM External memory Execution/pass detection Capacity 128 Kbytes In ROM-less mode 2 Mbytes When using iROM 1 Mbyte Internal ROM External memory 128 Kbytes In ROM-less mode 2 Mbytes When using iROM 1 Mbyte Memory access detection coverage memory capacity (external memory) Coverage memory capacity for branching entry number counting Caution 2 Internal ROM External memory 1 Mbyte 128 Kbytes In ROM-less mode 2 Mbytes When using iROM 1 Mbyte Some of the functions may not be supported depending on the debugger used. CHAPTER 1 OVERVIEW 1.4 System Configuration The system configuration when connecting the IE-703003-MC to a personal computer (PC-9800 series or PC/AT™ (or compatible machine)) is shown below. Figure 1-1. System Configuration <13> <5> <14> <6> <7> [Magnified drawing: example of use of connector for target connection] <12> <8> <10> <4> <2> <11> Target system For PC-9800 series <9> <3> <10> For PC/AT <11> <1> Target system Remark <1> Personal computer (PC-9800 series or PC/AT) <2> Debugger (optional) <3> PC interface board (IE-70000-98-IF-B, IE-70000-PC-IF-B: optional) <4> PC interface cable (included with IE-703002-MC) <5> IE-703002-MC (In-circuit emulator) <6> IE-703003-MC-EM1 (Option board) <7> External logic probe (included with IE-703002-MC) <8> Socket for target connection (YQSOCKET100SDF: included with IE-703002-MC) <9> Extension probe (SC-100SD: Optional) <10> Connector for emulator connection (YQPACK100SD: included in IE-703002-MC) <11> Connector for target connection (NQPACK100SD: included) <12> Power adapter (IE-70000-MC-PS-B optional) <13> 100-VAC power cable (attachment of optional IE-70000-MC-PS-B) <14> 220-VAC power cable (attachment of optional IE-70000-MC-PS-B) 3 CHAPTER 1 OVERVIEW 1.5 Contents in Carton The carton of the IE-703003-MC-EM1 contains a main unit, guarantee card, packing list, and accessory bag. Make sure that the accessory bag contains this manual and connector accessories. In case of missing or damaged contents, please contact an NEC sales representative or NEC dealer. Figure 1-2. Contents in Carton <4> Packing list <1> IE-703003-MC-EM1 <3> Guarantee card <2> Accessory bag <1> IE-703003-MC-EM1 × 1 pc. <2> Accessory bag × 1 pc. <3> Guarantee card × 1 pc. <4> Packing list × 1 sheet 4 CHAPTER 1 OVERVIEW Check that the accessory bag contains this manual, an accessory list, and the following accessories. (a) Connector for target connection (NQPACK100SD) × 1 set (including NQGUIDE 3 pcs., screw driver × 1 pc.) (b) Plastic screws × 4 pcs. (including nuts and washer × 4 sets) Figure 1-3. Accessories (a) Connectors for target connection NQPACK100SD (Side View) NQGUIDE Screw driver (b) Plastic screws Plastic screws Washers Nuts 5 CHAPTER 1 OVERVIEW 1.6 Connection between IE-703002-MC and IE-703003-MC-EM1 The procedure for connecting the IE-703002-MC and IE-703003-MC-EM1 is described below. Caution Connect carefully so as not to break or bend connector pins. <1> Remove the pod cover of the IE-703002-MC. <2> Set the PGA socket lever of the IE-703003-MC-EM1 to the OPEN position as shown in Figure 1-4 (b). <3> Connect the IE-703003-MC-EM1 to the PGA socket at the back of the pod (refer to Figure 1-4 (c)). When connecting, position the IE-703002-MC and IE-703003-MC-EM1 so that they are horizontal. <4> Set the PGA socket lever of the IE-703003-MC-EM1 to the CLOSE position as shown in Figure 1-4 (b). <5> Set the jumpers (JP1 to JP4) and switches (SW1 and SW2). Open JP1 (Remove the jumper contact. Attach the removed jumper contact to one of the jumper pins to avoid losing them.) Set JP2 to JP4 and SW1 and SW2 depending on the use. Short the first and second pin of JP4. <6> Fix the IE-703003-MC-EM1 between the pod covers (upper and lower) with the plastic screws. <7> Secure the pod cover (upper) end with nylon rivets. Figure 1-4. Connection between IE-703002-MC and IE-703003-MC-EM1 (1/2) (a) Overview Upper cover Nut Washer Nylon revets IE-703003-MC-EM1 IE-703002-MC Lower cover Plastic screw 6 CHAPTER 1 OVERVIEW Figure 1-4. Connection between IE-703002-MC and IE-703003-MC-EM1 (2/2) (b) PGA Socket Lever of IE-703003-MC-ME1 CLOSE OPEN (c) Connecting part (IE-703003-MC-EM1) Pin A1 location : Insertion guide : IE-703002-MC insertion area 7 [MEMO] 8 CHAPTER 2 IE-703002-MC SETTING This chapter describes settings of the IE-703002-MC when the IE-703003-MC-EM1 is connected. All settings are performed using the jumper and switches in the pod of the IE-703002-MC. For the location of the pod, jumper, and switches, refer to the IE-703003-MC User’s Manual Hardware. 2.1 Settings of JP2, SW1, and SW2 These jumper and switches set the clock. Set the jumper (JP2) and switches (SW1, SW2) depending on the use. The factory-set JP2 setting in the pod is as shown Remark in the diagram at right. (The numbers 1, 2, 7, 8 are the jumper pin numbers printed on the board.) 7 1 8 2 Jumper contact Table 2-1. Settings of JP2, SW1, and SW2 Setting of clock supply source Supply method of clock Internal clock PLL mode 5 × multiplication (input × 5) 1 × multiplication (input × 1) Setting of clock mode JP2 setting in pod 7 1 8 2 Direct mode (input × 1/2) Target clock PLL mode 5 × multiplication (input × 5) 1 × multiplication (input × 1) Direct mode (input × 1/2) 7 1 8 2 SW1 setting in pod (PLLSEL setting) SW2 setting in pod (CKSEL setting) ON OFF OFF Don’t care ON ON OFF OFF Don’t care ON 9 CHAPTER 2 2.2 IE-703002-MC SETTING Settings of JP1, JP3, and JP4 Set the JP1, JP3, and JP4 in the pod as follows. Table 2-2. Settings of JP1, JP3, and JP4 Jumper Note 1, 2 Status JP1 Open JP3 Short Note 1 JP4 1-2 short 1 2 3 Notes 1. 2. Differs from factory-set status. Keep the removed connector attached to one pin as shown in the drawing below. JP1 Jumper contact Remark IE-703002-MC operates under 5 V with the above described settings of JP3 and JP4, regardless of the target system voltage. 10 CHAPTER 3 3.1 CAUTIONS Internal RAM and ROM Because the internal RAM (iRAM) and internal ROM (iROM) capacity of the IE-703002-MC are set in steps, the memory capacity is different from that of the target device. If access is performed to addresses that exceed the target device capacity, the memory of the IE-703002-MC is accessed. Memory capacities are as follows. Table 3-1. Memory Capacity Limitation List (a) iRAM capacity (Unit: byte) Target device IE-703002-MC (b) iROM capacity (Unit: byte) Target device IE-703002-MC (Emulation memory) 1K 1K 1 K to 32 K 32 K 2K 2K 33 K to 64 K 64 K 3K 3K 65 K to 128 K 4K 129 K to 256 K 256 K 5 K to 6 K 6K 257 K to 512 K 512 K 7 K to 8 K 8K 513 K to 1024 K 512 K 9 K to 10 K 10 K 11 K to 12 K 12 K 13 K to 16 K 16 K 17 K to 20 K 20 K 21 K to 24 K 24 K 25 K to 28 K 28 K 4K 3.2 (V853) Remark (V853) 128 K The IE-703002-MC incorporates 512 Kbytes of iROM emulation memory. Target System VDD The target system VDD does not connect to the IE-703002-MC VDD. The IE-703002-MC uses the VDD (pin No. 13) of the system for the following purposes: • Power ON/OFF detection of target system • Power supply voltage emulation of target voltage 11 CHAPTER 3 3.3 CAUTIONS NMI Signal The NMI signal from the target system is delayed because it passes through VHC32 before being input into the IE703003-MC-EM1. (tpLH = tpHL = 8 ns (TYP.)) Moreover, DC characteristics are changed to input voltage VIH = 0.7 VDD (MIN.), VIL = 0.3 VDD (MAX.), input current IIN = ±1.0 µA (MAX.). Figure 3-1. NMI Signal-Flow Path IE-703003-MC-EM1 Target system NMI signal NMI pin 3.4 VHC32 I/O device X1 Signal The X1 signal from the target system is delayed because it passes through VHCT08 before being input into the evaluation chip of the IE-703003-MC-EM1. (tpLH = 8 ns (MAX.), tpHL = 9 ns (MAX.)) Moreover, DC characteristics are changed to input voltage VIH = 2.0 V (MIN.), VIL = 0.8 V (MAX.), input current IIN = ±1.0 µA (MAX.). Figure 3-2. X1 Signal-Flow Path IE-703003-MC-EM1 Target system X1 signal X1 pin 12 VHCT08 Evaluation chip APPENDIX DIMENSIONS IE-703002-MC + IE-703003-MC-EM1 (Unit: mm) 447 103 178 58.8 90 166 Top View 63.7 Pin 1 direction Side View 27 IE-703002-MC IE-703003-MC-EM1 Bottom View 132 21.5 75 37.5 15.24 Top View 21.5 13 [MEMO] 14 [MEMO] 15 [MEMO] 16 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-889-1689 Asian Nations except Philippines NEC Electronics Singapore Pte. Ltd. Fax: +65-250-3583 Japan NEC Corporation Semiconductor Solution Engineering Division Technical Information Support Dept. Fax: 044-548-7900 Taiwan NEC Electronics Taiwan Ltd. Fax: 02-719-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 96.8