NEC uPD780318 Subseries manuel d'utilisation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

Aller à la page of

Un bon manuel d’utilisation

Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation NEC uPD780318 Subseries. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel NEC uPD780318 Subseries ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.

Qu'est ce que le manuel d’utilisation?

Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation NEC uPD780318 Subseries décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.

Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.

Donc, ce qui devrait contenir le manuel parfait?

Tout d'abord, le manuel d’utilisation NEC uPD780318 Subseries devrait contenir:
- informations sur les caractéristiques techniques du dispositif NEC uPD780318 Subseries
- nom du fabricant et année de fabrication NEC uPD780318 Subseries
- instructions d'utilisation, de réglage et d’entretien de l'équipement NEC uPD780318 Subseries
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes

Pourquoi nous ne lisons pas les manuels d’utilisation?

Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage NEC uPD780318 Subseries ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles NEC uPD780318 Subseries et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service NEC en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées NEC uPD780318 Subseries, comme c’est le cas pour la version papier.

Pourquoi lire le manuel d’utilisation?

Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif NEC uPD780318 Subseries, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.

Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation NEC uPD780318 Subseries. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.

Table des matières du manuel d’utilisation

  • Page 1

    User’s Manual Target Devices µ µ µ µ PD780318 Subseries µ µ µ µ PD780328 Subseries µ µ µ µ PD780338 Subseries IE-780338-NS-EM1 Emulation Board 1991 © Document No. U16214EJ1V0UM00 (1st edition) Date Published August 2002 N CP(K) Printed in Japan 2002[...]

  • Page 2

    User’s Manual U16214E J1V0UM 2 [MEMO][...]

  • Page 3

    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. The i nfo rm ati on is subject to change without n[...]

  • Page 4

    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. They will verify: • Device availability • Ordering i[...]

  • Page 5

    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. • µ PD780318 Subseries: µ PD780316, 780318 • µ PD780328 Subseries: µ PD780326, 780328 •[...]

  • Page 6

    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. It inc ludes t he emulation CP U. Emulati on CPU This is the CPU bloc k in t he emulator tha[...]

  • Page 7

    User’s Manual U16214E J1V0UM 7 CONTENTS CHAPTER 1 GENERAL ........................................................................................................... ................. 10 1.1 System Configuration........................................................................................................ ........................ 11 1.2 [...]

  • Page 8

    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) ..............................................................[...]

  • Page 9

    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 ...................................................................................................... ........................[...]

  • Page 10

    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. This chapter describes the IE-780338-NS-EM 1’s system configuration and basic specific[...]

  • Page 11

    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. System Configuration Interface cable (NS IF Cable) In-circuit emulator IE-78K0-NS or IE-78K0-NS-A (sold separately) AC adapter IE-70000-MC-PS-B (sold separately) Emulation probe (sold separ[...]

  • Page 12

    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 .co.jp/micro /). 2. The emulation probe SWEX-120SE-1 and conversion connectors NQPACK120SE, YQPACK[...]

  • Page 13

    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. Figure 1-2. Basic Hardware C onfiguration (Using IE-78K0-NS) IE-78K0-NS IE-780338-NS-EM1 Emulation probe (sold separately) Dedicated bus interf ace IE system Host machi[...]

  • Page 14

    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.0 MHz Main syste m clock s upply External : Clock input f rom the target[...]

  • Page 15

    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. Fill out and[...]

  • Page 16

    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 clock UMCLK Subsystem clock USCLK LCD mask option LCD MOPT External trigger[...]

  • Page 17

    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. Mode setting m ethods are also described. Caution Connecting or r emoving components to or from the target system, or making switch or other setting changes must be carr[...]

  • Page 18

    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. See the IE-78K0-NS-A User’s M anual (U14889E) for a description of how to connect the IE-780[...]

  • Page 19

    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. Figure 3-[...]

  • Page 20

    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. (1) Clock that is already mounted on emulation board (2) Clock that is mounted by user (3) External clock If the target system includ[...]

  • Page 21

    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. Its frequency is 10.0 M Hz. Figure 3-5. When Using Clock That Is Already Mounted on Emulation Board (Main System Clock) Remark The clock that[...]

  • Page 22

    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. (a) For main system clock Remove the crystal oscillator (X1) that is already m ounted on the emulation board, and mount either the parts board on which the re[...]

  • Page 23

    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. Figure 3-9. When Using an External Clock IE-78K0-NS or IE-78K0-NS-A Clock generator (to be used) Emulation probe T arget system IE-780338-NS-EM1 Remark The clock supplied by the target s[...]

  • Page 24

    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. When starting the integrated debugger (ID78K0-NS), open the configuration dialog box and select “ Internal ” in the area (Clock) for selecting the CPU[...]

  • Page 25

    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. Check the p[...]

  • Page 26

    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. <2> Remove the crystal osc[...]

  • Page 27

    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. When starting the integrated debugger (ID78K0-NS), open the configuration d[...]

  • Page 28

    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.768 kHz 6 to 8 shorted When using cl ock mounted[...]

  • Page 29

    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. Connection 2-13 Capacitor CA 3-12 Capacitor CB 4-11 Ceramic res onator or cry stal res onator 5-10 Resist or Rx 8-9 Short Circuit diagram Remark The sections enclosed in br[...]

  • Page 30

    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. <5> Connect the parts board from <2> above to the socket from w hich the parts board was removed (from <[...]

  • Page 31

    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. <2> Remove the parts board [...]

  • Page 32

    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. 2. There is JP8 on the IE-78K0-NS or IE-78K0-NS-A. ([...]

  • Page 33

    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. To change the LCD drive booster, m ount the resistors or capacitors necessary for the parts board or others provided with thi[...]

  • Page 34

    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. 2.30 or [...]

  • Page 35

    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) . Caution If the jumpers are set incorrectly, the[...]

  • Page 36

    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 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 i[...]

  • Page 37

    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. Although the target device is a CM OS circuit, the IE-780338-NS-EM1’s target inter[...]

  • Page 38

    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. 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 M Ω IE system side Probe s[...]

  • Page 39

    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.5 k Ω Open V DD0 , V DD1 V SS0 , V SS1 X2, XT2 HC4066 PD780009A Emulation CPU LV CC LV CC LV [...]

  • Page 40

    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. (1) C onnect the in-circuit emulator to products with the following control code. In-Circui t Emulator Corresponding Control Code IE-78K0-NS L or higher IE-78K0-NS -A E or higher (2) S witchin[...]

  • Page 41

    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. Emulation P robe 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 46 46 13 13 47 47 14 14 48 48 15 15 49 49 [...]

  • Page 42

    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. Emulation P robe CN5 Pin No. 69 69 95 95 70 70 96 96 71 71 97 97 72 72 98 98 73 73 99 99 74 74 100 100 75 75 101 101 76 76 102 102 77 77 103 103 78 78 104 104 79 79 105 105 80 80 106 106 8[...]

  • Page 43

    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. In the product names described in this [...]

  • Page 44

    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.5 mm 38.5 mm T arget system Conv ersion connector NQP ACK120SE, YQP ACK120SE, YQ-GUIDE 23 mm 23 mm[...]

  • Page 45

    User ’ s Manual U16214EJ1V0UM 45 [MEMO][...]

  • Page 46

    User ’ s Manual U16214EJ1V0UM 46 [MEMO][...]

  • Page 47

    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 erro[...]