Page 3 - s u p p o r t s y s t e m s a n d m e d i c a l e q u i p m e n t f o r l i f e s u p p o r t , e t c .
User’s Manual U16214EJ1V0UM 3 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. M8E 00. 4 T h e i n f o r m a t i o n i n t h i s d o c u m e n t i s c u r...
Page 4 - Regional Information; Device availability
User’s Manual U16214EJ1V0UM 4 Regional Information Some information contained in this document may vary from country to country. Before using any NECproduct in your application, pIease contact the NEC office in your country to obtain a list of authorizedrepresentatives and distributors. They will ve...
Page 5 - INTRODUCTION; Product Overview
User’s Manual U16214EJ1V0UM 5 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: µ PD780316, 780318 • µ PD78...
Page 7 - CONTENTS
User’s Manual U16214EJ1V0UM 7 CONTENTS CHAPTER 1 GENERAL............................................................................................................................ 10 1.1 System Configuration...............................................................................................
Page 8 - LIST OF FIGURES; Title
User’s Manual U16214EJ1V0UM 8 LIST OF FIGURES Figure No. Title Page 1-1 System Configuration ....................................................................................................................................... 11 1-2 Basic Hardware Configuration (Using IE-78K0-NS) ...................
Page 9 - LIST OF TABLES
User’s Manual U16214EJ1V0UM 9 LIST OF TABLES Table No. Title Page 1-1 Correspondence Between Emulation Probe and Conversion Connectors ........................................................12 1-2 Basic Specifications ....................................................................................
Page 10 - CHAPTER 1 GENERAL; Target devices
User’s Manual U16214EJ1V0UM 10 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-EM...
Page 11 - System Configuration; Interface board
CHAPTER 1 GENERAL User’s Manual U16214EJ1V0UM 11 1.1 System Configuration Figure 1-1 illustrates the IE-780338-NS-EM1’s system configuration. Figure 1-1. System Configuration Interface cable(NS IF Cable) In-circuit emulator IE-78K0-NS or IE-78K0-NS-A (sold separately) AC adapterIE-70000-MC-PS-B(sold...
Page 12 - The device file is as follows.; Package
CHAPTER 1 GENERAL User’s Manual U16214EJ1V0UM 12 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 conve...
Page 13 - Hardware Configuration
CHAPTER 1 GENERAL User’s Manual U16214EJ1V0UM 13 1.2 Hardware Configuration Figures 1-2 and 1-3 show the IE-780338-NS-EM1’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration (Using IE-78K0-NS) IE-78K0-NS IE-780338-NS-EM1 Emulation probe (sold separately) Dedicate...
Page 14 - Basic Specifications
CHAPTER 1 GENERAL User’s Manual U16214EJ1V0UM 14 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 µ PD780318, 780328, 780338 Subseries System clock 10.0 MHz Main system clock supply Exter...
Page 15 - CHAPTER 2 PART NAMES
User’s Manual U16214EJ1V0UM 15 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 conta...
Page 16 - Parts of Main Unit
CHAPTER 2 PART NAMES User’s Manual U16214EJ1V0UM 16 2.1 Parts of Main Unit Figure 2-1. IE-780338-NS-EM1 Part Names EXTOUT EXTIN CN5 USER VDD X2 Probe connectorCN5 120GC IC2 X1 LED1 Main system clockUMCLK Subsystem clockUSCLK LCD maskoptionLCD MOPT External trigger
Page 17 - CHAPTER 3 INSTALLATION; emulation probe, etc. Mode setting methods are also described.; Caution
User’s Manual U16214EJ1V0UM 17 CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-780338-NS-EM1 to the IE-78K0-NS or IE-78K0-NS-A, emulation probe, etc. Mode setting methods are also described. Caution Connecting or removing components to or from the target system, or making...
Page 18 - Connection; See the
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 18 3.1 Connection (1) Connection with IE-78K0-NS or IE-78K0-NS-A main unit See the IE-78K0-NS User’s Manual (U13731E) for a description of how to connect the IE-780338-NS-EM1 to the IE-78K0-NS. See the IE-78K0-NS-A User’s Manual (U14889E) for a desc...
Page 19 - and connect and screw on the tip of the FG cable.; Figure 3-3. Connection Between FG Cable and In-Circuit Emulator
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 19 <2> Connect the emulation probe SWEX-120SE-1 to CN5 of the IE-780338-NS-EM1. Figure 3-2. Emulation Probe Connection <3> Unfasten one of the screws on the metal board on the probe side of the IE-78K0-NS or IE-78K0-NS-A and connect and ...
Page 20 - Clock Settings; If the target system includes an internal clock, select either
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 20 3.2 Clock Settings 3.2.1 Overview of clock settings The main system and subsystem clocks to be used during debugging can be selected from (1) to (3) below. (1) Clock that is already mounted on emulation board (2) Clock that is mounted by user (3)...
Page 21 - (1) Clock that is already mounted on emulation board; Emulation probe
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 21 (1) Clock that is already mounted on emulation board (a) For main system clock A crystal oscillator (X1) is already mounted on the emulation board. Its frequency is 10.0 MHz. Figure 3-5. When Using Clock That Is Already Mounted on Emulation Board...
Page 22 - using a different frequency from that of the pre-mounted clock.; Alternatively, remove the parts board and mount an oscillator.; Remark
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 22 (2) Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE-780338-NS-EM1. (a) For main system clock Remove the crystal oscillator (X1) that is already mounted on the emulation board, and mo...
Page 23 - emulation board” are preset.
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 23 (3) External clock An external clock connected to the target system can be used via an emulation probe. Figure 3-9. When Using an External Clock IE-78K0-NS or IE-78K0-NS-A Clock generator (to be used) Emulation probe Target system IE-780338-NS-EM...
Page 24 - (a) When using a ceramic resonator or crystal resonator
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 24 (2) When using clock mounted by user Execute the settings described under either (a) or (b), depending on the type of clock to be used. When starting the integrated debugger (ID78K0-NS), open the configuration dialog box and select “Internal” in ...
Page 25 - to the emulation device.
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 25 <2> Prepare the IE-780338-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-780338-NS-EM1’s X1 socket. <4> Connect the parts board (from <1> above) to the X1 socket from which the crystal oscillator was r...
Page 26 - Items to be prepared; Figure 3-12. Pin Alignment of Crystal Oscillator and Socket; Crystal Oscillator Pin Name
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 26 (b) When using a crystal oscillator • Items to be prepared • Crystal oscillator (see pinouts shown in Figure 3-11) Figure 3-11. Crystal Oscillator (When Using Main System Clock or User-Mounted Clock) <Steps> <1> Prepare the IE-780338-...
Page 29 - Circuit diagram
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 29 Figure 3-13. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) Parts board (X2) Pin No. Connection 2-13 Capacitor CA 3-12 Capacitor CB 4-11 Ceramic resonator or crystal resonator 5-10 Resistor Rx 8-9 Short Circuit diag...
Page 31 - Figure 3-15. Pin Alignment of Crystal Oscillator and Socket
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 31 (b) When using a crystal oscillator • Items to be prepared • Crystal oscillator (see pinouts shown in Figure 3-14) Figure 3-14. Crystal Oscillator (When Using Subsystem Clock or User-Mounted Clock) <Steps> <1> Prepare the IE-780338-NS...
Page 32 - the emulation device.
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 32 The above steps configure the following circuit and enable supply of the clock from the mounted oscillator to the emulation device. Remarks 1. The sections enclosed in broken lines indicate the parts that are attached to the parts board. 2. There...
Page 33 - Mask Option Setting; provided with this product in the LCD MOPT socket.; Caution The booster on the target system cannot be used.
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 33 3.3 Mask Option Setting 3.3.1 LCD booster When shipped, an LCD drive booster is mounted on the parts board in the LCD MOPT (IC2) socket of the IE- 780338-NS-EM1. To change the LCD drive booster, mount the resistors or capacitors necessary for the...
Page 34 - External Trigger; User’s Manual; for the usage methods.; Figure 3-17. External Trigger Input Position
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 34 3.4 External Trigger Connect the external trigger to the IE-780338-NS-EM1’s check pins EXTOUT and EXTIN as shown below. See the IE-78K0-NS User’s Manual (U13731E) or IE-78K0-NS-A User’s Manual (U14889E) for pin characteristics, and the ID78K Seri...
Page 35 - Note; Note
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 35 3.5 Jumper Settings on IE-78K0-NS When using the IE-780338-NS-EM1 in combination with the IE-78K0-NS, set the jumper on the IE-78K0-NS as shown below. For details of these jumper positions, refer to the IE-78K0-NS User’s Manual (U13731E) . Cautio...
Page 36 - necessary when the target system is operating at 5 V).; Voltage Supplied to TP1
CHAPTER 3 INSTALLATION User’s Manual U16214EJ1V0UM 36 3.7 Low-Voltage Emulation Settings When the target system is operating on low voltage, supply the same supply voltage as the target system to the TP1 terminal pin on the main board of the IE-78K0-NS or IE-78K0-NS-A (G-780009 Board) (this processi...
Page 37 - Figure 4-1 Equivalent Circuit of Emulation Circuit 1; μμμμ; Figure 4-2 Equivalent Circuit of Emulation Circuit 2; See; Figure 4-3 Equivalent Circuit of Emulation Circuit; RESET
User’s Manual U16214EJ1V0UM 37 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-780338- NS-EM1’s target interface circuit. Although the target device is a CMOS circuit...
Page 38 - Emulation CPU
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS User’s Manual U16214EJ1V0UM 38 Figure 4-1. Equivalent Circuit of Emulation Circuit 1 Figure 4-2. Equivalent Circuit of Emulation Circuit 2 P25 to P20 P34 to P30 P17 to P10 P87 to P80 P05 to P00 100 Ω 100 Ω 100 Ω 1 M Ω 1 M Ω 1...
Page 39 - Figure 4-3. Equivalent Circuit of Emulation Circuit 3
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS User’s Manual U16214EJ1V0UM 39 Figure 4-3. Equivalent Circuit of Emulation Circuit 3 IE system side Probe side 0.1 F Current detection V CC 100 Ω 3.3 k Ω 1 M Ω 1.5 k Ω Open V DD0 , V DD1 V SS0 , V SS1 X2, XT2 HC4066 PD780009A...
Page 40 - CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE; only once after reset, in the same way as to port 8 of the
User’s Manual U16214EJ1V0UM 40 CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE This chapter lists the restrictions and cautions on use of the IE-780338-NS-EM1. (1) Connect the in-circuit emulator to products with the following control code. In-Circuit Emulator Corresponding Control Code IE-78K0-NS L or h...
Page 41 - APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE; Emulation Probe
User’s Manual U16214EJ1V0UM 41 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. SWEX-120SE-1 Pin Assignments (1/2) Emulation Probe CN5 Pin No. Emulation Probe CN5 Pin No. 1 1 35 35 2 2 36 36 3 3 37 37 4 4 38 38 5 5 39 39 6 6 40 40 7 7 41 41 8 8 42 42 9 9 43 43 10 10 44 44 11 11 45 45 12 12...
Page 43 - APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM; GUIDE are products of TOKYO ELETECH CORPORATION.
User’s Manual U16214EJ1V0UM 43 APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figures B-1 and B-2 show the conditions when connecting the emulation probe to the conversion connector. Follow the configuration below and consider the shape of parts to be mounted on the target system when designing a sy...
Page 44 - APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM; Figure B-2. Connection Conditions of Target System
APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM User’s Manual U16214EJ1V0UM 44 Figure B-2. Connection Conditions of Target System Emulation probeSWEX-120SE-1 Emulation boardIE-780338-NS-EM1 33 mm 48.5 mm 38.5 mm Target system Conversion connectorNQPACK120SE,YQPACK120SE,YQ-GUIDE 23 mm 23 mm
Page 47 - NEC Electronics Taiwan Ltd.; Thank you for your kind support.; Document Rating; Facsimile
Although NEC has taken all possible stepsto ensure that the documentation suppliedto our customers is complete, bug freeand up-to-date, we readily accept thaterrors may occur. Despite all the care andp r e c a u t i o n s w e ' v e t a k e n , y o u m a yencounter problems in the documentation.Pleas...