Page 3
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.
Page 4
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: •...
Page 5
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.
Page 6
Terminology The meanings of certain terms used in this manual are listed below. Term 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.
CHAPTER 1 GENERAL...10 System Configuration... 11 Hardware Configuration ... 13 Basic Specifications ... 14 CHAPTER 2 PART NAMES ...15 Parts of Main Unit ... 16 CHAPTER 3 INSTALLATION...17 Connection ... 18 Clock Settings ... 20 3.2.1 Overview of clock settings ... 20 3.2.2 Main system clock settings ...
Page 8
Figure No. System Configuration ... 11 Basic Hardware Configuration (Using IE-78K0-NS) ... 13 Basic Hardware Configuration (Using IE-78K0-NS-A)... 13 IE-780338-NS-EM1 Part Names... 16 Connection Between FG Cable and Emulation Probe... 18 Emulation Probe Connection ... 19 Connection Between FG Cable and In-Circuit Emulator... 19 External Circuits Used as System Clock Oscillator ...
Page 9
Table No. Correspondence Between Emulation Probe and Conversion Connectors ...12 Basic Specifications ...14 Main System Clock Settings...23 Subsystem Clock Settings...28 Jumper Settings on IE-78K0-NS ...35 Jumper Settings on IE-78K0-NS-A G-780009 Board ...35 Jumper Settings on IE-78K0-NS-A G-78K0H Option Board...35 Supply Voltage and Maximum Current Consumption at Low-Voltage Emulation...36 SWEX-120SE-1 Pin Assignments ...41 LIST OF TABLES Title...
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. •...
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.
1.3 Basic Specifications The IE-780338-NS-EM1’s basic specifications are listed in Table 1-2. Parameter µ PD780318, 780328, 780338 Subseries Target device System clock 10.0 MHz Main system clock supply External: Clock input from the target system via an emulation probe Internal: Clock mounted on the emulation board (10.0 MHz) or mounted on the parts board by Subsystem clock supply External: Input from the target system via an emulation probe Internal: Mounted on the emulation board (32.768 kHz) or mounted on the parts board by the...
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.
2.1 Parts of Main Unit Figure 2-1. IE-780338-NS-EM1 Part Names LCD mask option LCD MOPT CHAPTER 2 PART NAMES User’s Manual U16214EJ1V0UM EXTOUT External trigger EXTIN Probe connector CN5 120GC USER VDD Main system clock UMCLK Subsystem clock USCLK...
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 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.
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 description of how to connect the IE-780338-NS-EM1 to the IE-78K0-NS-A.
<2> Connect the emulation probe SWEX-120SE-1 to CN5 of the IE-780338-NS-EM1. Figure 3-2. Emulation Probe Connection Main board of IE-78K0-NS (sold separately) IE-78K0-NS-A (sold separately) <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 screw on the tip of the FG cable.
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) 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.
(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 (Main System Clock) IE-78K0-NS or IE-78K0-NS-A IE-780338-NS-EM1 Mounted...
(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 mount either the parts board on which the resonator to be used is mounted or an oscillator.
(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 IE-780338-NS-EM1 Remark The clock supplied by the target system’s clock generator (encircled in the figure) is used. 3.2.2 Main system clock settings Frequency of Main System Clock When using clock that is...
(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 the area (Clock) for selecting the CPU clock source (this selects the emulator internal clock).
Page 25
CHAPTER 3 INSTALLATION <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 removed in <3> above. Check the pin 1 mark to make sure the board is mounted in the correct direction.
(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-NS-EM1. <2> Remove the crystal oscillator that is mounted in the IE-780338-NS-EM1’s X1 socket. <3>...
Page 27
The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device. Crystal oscillator (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 clock source (this selects the user clock).
3.2.3 Subsystem clock settings Frequency of Subsystem Clock to Be Used When using clock (XT1) 32.768 kHz that is already mounted on emulation board When using clock Other than mounted by user 32.768 kHz When using external clock Caution Jumper JP8, which is used to select the board’s clock or an external clock, should be set only after turning off the power of the IE-78K0-NS or IE-78K0-NS-A.
Figure 3-13. Connections on Parts Board (When Using Subsystem Clock or User-Mounted Clock) Parts board (X2) Remark The sections enclosed in broken lines indicate parts that are attached to the parts board. CHAPTER 3 INSTALLATION Pin No. 2-13 Capacitor CA 3-12 Capacitor CB 4-11...
Page 30
<3> Make sure that the parts board (X2) is wired as shown in Figure 3-13. <4> Remove the parts board that is mounted in the IE-780338-NS-EM1’s X2 socket. <5> Connect the parts board from <2> above to the socket from which the parts board was removed (from <4>...
(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-EM1. <2> Remove the parts board that is mounted in the IE-780338-NS-EM1’s X2 socket. <3>...
Page 32
The above steps configure the following circuit and enable supply of the clock from the mounted oscillator to the emulation device. +5 V Parts board Crystal oscillator Remarks 1. The sections enclosed in broken lines indicate the parts that are attached to the parts board. 2.
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 parts board or others provided with this product in the LCD MOPT socket.
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 Series Integrated Debugger Ver. 2.30 or Later Operation (Windows Based) User’s Manual (U15185E) for the usage methods.
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). Caution If the jumpers are set incorrectly, the board may be damaged. Table 3-3.
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 processing is not necessary when the target system is operating at 5 V).
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, the IE-780338-NS-EM1’s target interface circuit consists of emulation circuits such as an emulation CPU, TTL, and CMOS-IC.
CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-1. Equivalent Circuit of Emulation Circuit 1 Probe side P47 to P40 P57 to P50 P67 to P64 100 Ω P63 to P60 Figure 4-2. Equivalent Circuit of Emulation Circuit 2 Probe side P05 to P00 P25 to P20...
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 IE-78K0-NS IE-78K0-NS-A (2) Switching the number of the key returns (KRSEL register (FF8FH)) cannot be emulated. (3) To emulate port 8 of the µ...
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. SWEX-120SE-1 Pin Assignments (1/2) Emulation Probe Remarks 1. The SWEX-120SE-1 is product of TOKYO ELETECH CORPORATION. 2. The numbers in the “Emulation Probe” column indicate the corresponding pin number on the emulation probe tip.
Page 42
APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. SWEX-120SE-1 Pin Assignments (2/2) Emulation Probe Remarks 1. The SWEX-120SE-1 is product of TOKYO ELETECH CORPORATION. 2. The numbers in the “Emulation Probe” column indicate the corresponding pin number on the emulation probe tip.
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 system.
APPENDIX B CAUTIONS ON DESIGNING TARGET SYSTEM Figure B-2. Connection Conditions of Target System Emulation board IE-780338-NS-EM1 Conversion connector NQPACK120SE, YQPACK120SE, YQ-GUIDE Emulation probe SWEX-120SE-1 23 mm 23 mm 48.5 mm User’s Manual U16214EJ1V0UM 33 mm 38.5 mm Target system...
Page 47
NEC Electronics Shanghai, Ltd. Fax: +86-21-6841-1137 Excellent Good 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.