Instruction/ maintenance manual of the product uPD780338 Subseries NEC
Go to page of 47
User’s Manual Target Devices µ µ µ µ PD780318 Subseries µ µ µ µ PD780328 Subseries µ µ µ µ PD780338 Subseries IE-780338-NS-EM1 Emulation Board 1991 © Document No.
User’s Manual U16214E J1V0UM 2 [MEMO].
User’s Manual U16214E J1V0UM 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 B usiness Machines Corporation. M8E 00. 4 The information in this document is current as of May, 2002.
User ’ s Manual U16214EJ1V0UM 4 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.
User’s Manual U16214E J1V0UM 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 follow ing target devices that belong to the 78K/0 Series of 8-bit single-chip microcontrollers.
User’s Manual U16214E J1V0UM 6 Terminology The meanings of certain terms used in this m anual are listed below. Term Meaning Emulati on devic e This is a general term t hat refers to the devi ce in the emulator that is used t o emulat e the target device.
User’s Manual U16214E J1V0UM 7 CONTENTS CHAPTER 1 GENERAL ........................................................................................................... ................. 10 1.1 System Configuration......................................
User’s Manual U16214E J1V0UM 8 LIST OF FIGURES Figure No. Title Page 1-1 System Configuration ...................................................................................................... ................................. 11 1-2 Basic Hardware Configuration (Using IE-78K0-NS) .
User’s Manual U16214E J1V0UM 9 LIST OF TABLES Table No. Title Page 1-1 Correspondence Between Emulation Probe and Conversion Connectors ........................................................ 12 1-2 Basic Specifications ............................
User’s Manual U16214E J1V0UM 10 CHAPTER 1 GENERAL The IE-780338-NS-EM1 is a developm ent 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.
CHAPTER 1 GE NERAL User’s Manual U16214E J1V0UM 11 1.1 System Conf iguration Figure 1-1 illustrates the IE-780338-NS-EM1’s system configuration. Figure 1-1.
CHAPTER 1 GE NERAL 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 N EC Electron Devices (http://www.ic.nec .
CHAPTER 1 GE NERAL User ’ s Manual U16214EJ1V0UM 13 1.2 Hardw are Configurat ion Figures 1-2 and 1-3 show the IE-780338-NS-EM1 ’ s position in the basic hardw are configuration.
CHAPTER 1 GE NERAL User’s Manual U16214E J1V0UM 14 1.3 Basic Specif ications The IE-780338-NS-EM1’s basic specifications are listed in Table 1-2. Table 1-2. Basic Specifications Parame ter Descr iption Target devic e µ PD780318, 780328, 780338 S ubseries Syst em cloc k 10.
User’s Manual U16214E J1V0UM 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 item s, please contact an NEC sales representative.
CHAPTER 2 P ART NAMES User’s Manual U16214E J1V0UM 16 2.1 Parts of Main Unit Figure 2-1. IE-780338-NS-EM1 Part N ames EXTOUT EXTIN CN5 USER VDD X2 Probe connector CN5 120GC IC2 X1 LED1 Main system c.
User’s Manual U16214E J1V0UM 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.
CHAPTER 3 I NSTALLATI ON User’s Manual U16214E J1V0UM 18 3.1 Connectio n (1) C onnection with IE-78K0-NS or IE-78K0-N S-A main unit See the IE-78K0-NS User’s M anual (U13731E) for a description of how to connect the IE-780338-NS-EM1 to the IE-78K0-NS.
CHAPTER 3 I NSTALLATI ON 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 screw on the tip of the FG cable.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 20 3.2 Clock Set tings 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.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 21 (1) C lock that is already mounted on emulation board (a) For main system clock A crystal oscillator (X1) is already mounted on the emulation board.
CHAPTER 3 I NSTALLATI ON 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-EM 1.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 23 (3) External clock An external clock connected to the target system can be used via an emulation probe.
CHAPTER 3 I NSTALLATI ON 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.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 25 <2> Prepare the IE-780338-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-780338-N S-EM1 ’ s X1 socket. <4> Connect the parts board (from <1> above) to the X1 socket from w hich the crystal oscillator was removed in <3> above.
CHAPTER 3 I NSTALLATI ON 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-NS-EM1.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 27 The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device. (3) When using external clock No hardware settings are required for this situation.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 28 3.2.3 Subsystem clock settings Table 3-2. Subsystem Clock Settings IE-780338-NS-E M1 IE-78K0-NS or IE-78K0-NS -A Frequency of S ub system Clo ck to Be U sed X2 Socket JP8 When using cl ock (XT1) that is already mount ed on emulation board 32.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 29 Figure 3-13. Connections on Parts Board (When U sing Subsystem Clock or User-M ounted Clock) Parts board (X2) Pin No.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 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-N S-EM1 ’ s X2 socket.
CHAPTER 3 I NSTALLATI ON 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-EM1.
CHAPTER 3 I NSTALLATI ON 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.
CHAPTER 3 I NSTALLATI ON User ’ s Manual U16214EJ1V0UM 33 3.3 Mask Op tion Sett ing 3.3.1 LCD booster When shipped, an LCD drive booster is mounted on the parts board in the LCD M OPT (IC2) socket of the IE- 780338-NS-EM1.
CHAPTER 3 I NSTALLATI ON User’s Manual U16214E J1V0UM 34 3.4 External Tr igger Connect the external trigger to the IE-780338-NS-EM1’s check pins EXTO UT and EXTIN as shown below. See the IE-78K0-NS User’s Manual (U 13731E) or IE-78K0-NS-A User’s Manual (U14889E) for pin characteristics, and the ID78K Series Integrated Debugger Ver.
CHAPTER 3 I NSTALLATI ON User’s Manual U16214E J1V0UM 35 3.5 Jumper Settings on IE-78K0-NS When using the IE-780338-NS-EM1 in combination w ith 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 M anual (U13731E) .
CHAPTER 3 I NSTALLATI ON 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 t.
User’s Manual U16214E J1V0UM 37 CHAPTER 4 DIFFERENCE S BETWEE N TARGET DEVICE S 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.
CHAPTER 4 DI FFERE NCES BET WEEN TARGE T DEVI CES AND TARGE T INTE RFACE CIRCUI TS User’s Manual U16214E J1V0UM 38 Figure 4-1. Equivalent Circuit of Emulation Circuit 1 Figure 4-2.
CHAPTER 4 DI FFERE NCES BET WEEN TARGE T DEVI CES AND TARGE T INTE RFACE CIRCUI TS 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.
User’s Manual U16214E J1V0UM 40 CHAPTER 5 RESTRICTIONS AND CAUTIONS ON USE This chapter lists the restrictions and cautions on use of the IE-780338-NS-EM1.
User’s Manual U16214E J1V0UM 41 APPENDIX A E MULATION PROBE PIN AS SIGNMENT TABLE Table A-1. SWEX-120SE-1 Pin Assignments (1/2) Emulat ion Probe CN5 Pin No.
APPENDI X A EM ULATION P ROBE PIN AS SIGNM ENT TABLE User’s Manual U16214E J1V0UM 42 Table A-1. SWEX-120SE-1 Pin Assignments (2/2) Emulat ion Probe CN5 Pin No.
User’s Manual U16214E J1V0UM 43 APPENDIX B CAUTIONS ON DESIG NING TARGET SYST EM 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.
APPENDI X B CAUTIO NS ON DESI GNING TARGET SYSTEM User ’ s Manual U16214EJ1V0UM 44 Figure B-2. Connection Conditions of Target System Emulation probe SWEX-120SE-1 Emulation board IE-780338-NS-EM1 33 mm 48.
User ’ s Manual U16214EJ1V0UM 45 [MEMO].
User ’ s Manual U16214EJ1V0UM 46 [MEMO].
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.
An important point after buying a device NEC uPD780338 Subseries (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought NEC uPD780338 Subseries yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data NEC uPD780338 Subseries - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, NEC uPD780338 Subseries you will learn all the available features of the product, as well as information on its operation. The information that you get NEC uPD780338 Subseries will certainly help you make a decision on the purchase.
If you already are a holder of NEC uPD780338 Subseries, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime NEC uPD780338 Subseries.
However, one of the most important roles played by the user manual is to help in solving problems with NEC uPD780338 Subseries. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device NEC uPD780338 Subseries along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center