background image

User’s Manual  U16115EJ2V0UM

18

CHAPTER  3    INSTALLATION

This chapter describes methods for connecting the IE-789306-NS-EM1 to the IE-78K0S-NS or IE-78K0S-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.

Summary of Contents for IE-789306-NS-EM1

Page 1: ...anual Target Devices µ µ µ µPD789306 Subseries µ µ µ µPD789316 Subseries IE 789306 NS EM1 Emulation Board 1991 Document No U16115EJ2V0UM00 2nd edition Date Published September 2002 N CP K Printed in Japan 2002 ...

Page 2: ...User s Manual U16115EJ2V0UM 2 MEMO ...

Page 3: ...semiconductor products customers agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely To minimize risks of damage to property or injury including death to persons arising from defects in NEC semiconductor products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti failure features NEC semiconduct...

Page 4: ... NEC Electronics Hong Kong Ltd Hong Kong Tel 2886 9318 Fax 2886 9022 9044 NEC Electronics Hong Kong Ltd Seoul Branch Seoul Korea Tel 02 528 0303 Fax 02 528 4411 NEC Electronics Shanghai Ltd Shanghai P R China Tel 021 6841 1138 Fax 021 6841 1137 NEC Electronics Taiwan Ltd Taipei Taiwan Tel 02 2719 2377 Fax 02 2719 5951 NEC Electronics Singapore Pte Ltd Novena Square Singapore Tel 253 8311 Fax 250 3...

Page 5: ...thoroughly familiar with the target device s functions and use methods and to be knowledgeable about debugging Organization When using the IE 789306 NS EM1 refer to not only this manual supplied with the IE 789306 NS EM1 but also the manual that is supplied with the IE 78K0S NS or IE 78K0S NS A IE 78K0 NS IE 789306 NS EM1 User s Manual User s Manual Basic specifications General System configuratio...

Page 6: ...E 78K0S NS A and the IE 789306 NS EM1 Conventions Data significance Higher digits on the left and lower digits on the right Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Related Documents The related documents user s manuals indicated in this publication may include preliminary versions However preliminary ve...

Page 7: ...1 Connection 19 3 2 Switch and Jumper Settings on Main Unit 20 3 3 Setting Power Supply Voltage of Target Interface 21 3 4 Clock Settings 22 3 4 1 Overview of clock settings 22 3 4 2 Main system clock settings 25 3 4 3 Subsystem clock setting 29 3 5 Mask Option Settings 31 3 6 External Trigger 33 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIRCUIT 34 APPENDIX A EMULATION PROBE...

Page 8: ...27 3 11 Pin Alignment of Crystal Oscillator and Socket Main System Clock 28 3 12 Connections on Parts Board Subsystem Clock 30 3 13 Crystal Oscillator Subsystem Clock 31 3 14 Pin Alignment of Crystal Oscillator and Socket Subsystem Clock 31 3 15 Mask Option Setting 32 3 16 External Trigger Input Position 33 4 1 Equivalent Circuit 1 of Emulation Circuit 35 4 2 Equivalent Circuit 2 of Emulation Circ...

Page 9: ...gs of Switches and Jumpers 17 3 1 Switch and Jumper Settings on IE 78K0S NS 20 3 2 Switch and Jumper Settings on IE 78K0S NS A 20 3 3 Setting Power Supply of Target Interface 21 3 4 Main System Clock Settings 25 3 5 Subsystem Clock Settings 29 3 6 Mask Option Setting 32 A 1 NP 64GC NP 64GC TQ NP H64GC TQ NP 64GK NP H64GK TQ Pin Assignments 38 B 1 Distance Between IE System and Conversion Adapter 3...

Page 10: ...ient debugging of hardware or software when using one of the following target devices that belong to the 78K 0S Series of 8 bit single chip microcontrollers This chapter describes the IE 789306 NS EM1 s system configuration and basic specifications Target devices µPD789306 Subseries µPD789316 Subseries ...

Page 11: ...obtain separately Control software Host machine PC 9800 Series IBM PC AT or compatibles Interface board IE 70000 98 IF C sold separately Interface board IE 70000 PC IF C sold separately Interface board IE 70000 PCI IF A sold separately or Interface cable NS IF Cable In circuit emulator IE 789306 NS EM1 This product AC adapter IE 70000 MC PS B sold separately Emulation probeNote 2 sold separately C...

Page 12: ...TEL 81 45 475 4191 3 The conversion adapters TGC 064SAP and TGK 064SBW are products of TOKYO ELETECH CORPORATION For further information contact Daimaru Kogyo Co Ltd Tokyo Electronics Department TEL 81 3 3820 7112 Osaka Electronics Department TEL 81 6 6244 6672 Table 1 1 Correspondence Between Emulation Probes and Conversion Socket Conversion Adapters Package Emulation Probe Conversion Socket Conv...

Page 13: ... in the basic hardware configuration Figure 1 2 Basic Hardware Configuration IE 78K0S NS or IE 78K0S NS A IE 789306 NS EM1 Emulation probe sold separately Dedicated bus interface IE system Host machine Interface board sold separately 78K0S main board sold separately Emulation board This product Interface card sold separately ...

Page 14: ...be from the target system The RC oscillator cannot be used while debugging the µPD789316 Subseries Only a pulse input by the oscillator from the target system is valid Internal Mounted on emulation board 5 0 MHz or mounted on the parts board by the user Subsystem clock supply External Input via an emulation probe from the target system Internal Mounted on the emulation board 32 768 kHz or mounted ...

Page 15: ...he IE 789306 NS EM1 main unit The packing box contains the emulation board IE 789306 NS EM1 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 ...

Page 16: ...es of the IE 789306 NS EM1 Figure 2 1 IE 789306 NS EM1 Part Names IE 789306 NS EM1 CN1 64GC 64GK LED1 P1 P2 P3 X1 SW1 JP1 XT1 JP6 JP5 JP2 JP3 JP4 XTC1 TP1 GND LVDD EXTOUT CP14 EXTIN CP13 XT1 subsystem clock socket TP1 CN1 probe connector 64GC 64GK USER VDD X1 main system clock socket XTC1 subsystem clock ...

Page 17: ...to 3 4 Clock Settings For the setting of SW1 refer to 3 5 Mask Option Settings Use the IE 789306 NS EM1 with jumpers JP2 to JP6 set to the initial settings Table 2 1 Initial Settings of Switches and Jumpers SW1 1 2 3 4 Initial setting OFF OFF OFF OFF JP1 JP2 JP3 JP4 JP5 JP6 Initial setting 2 and 3 shorted 2 and 3 shorted Fixed 2 and 3 shorted Fixed 2 and 3 shorted Fixed 2 and 3 shorted Fixed 2 and...

Page 18: ...M1 to the IE 78K0S NS or IE 78K0S 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 ...

Page 19: ...K0S NS User s Manual U13549E for a description of how to connect an emulation probe to the IE 789306 NS EM1 Note On this board connect the emulation probe to CN1 Note When using the IE 78K0S NS A see the IE 78K0S NS A User s Manual U15207E Caution Incorrect connection may damage the IE system Be sure to read the emulation probe s user s manual for a detailed description of the connection method Fi...

Page 20: ... SW1 SW3 SW4 JP1 JP4 Setting OFF All switches ON Fixed All switches ON Fixed 2 and 3 shorted 1 and 2 shorted Caution Incorrect connection may damage the IE 789306 NS EM1 2 Settings on the IE 78K0S NS A When using the IE 789306 NS EM1 set the switches and jumpers on the IE 78K0S NS A as shown in Table 3 2 For details of these switch and jumper settings refer to the IE 78K0S NS A User s Manual U1520...

Page 21: ...s Ver 2 30 or Later Operation Windows Based User s Manual U15185E Maximum current consumption of TP1 1 8 to 5 0 V Approximately 100 mA Table 3 3 Setting Power Supply of Target Interface Integrated Debugger ID78K0S NS Power Supply of Target Interface LVCC Operating Power Supply Selection When connecting target system 1 8 to 5 0 V Target When not connecting target system 5 V Internal Figure 3 2 Conn...

Page 22: ...d If the target system includes an external clock select either 1 Clock that is already mounted on emulation board 2 Clock that is mounted by user or 3 Pulse input from target system For the external clock a clock signal is supplied from outside of the target device and the target device s internal oscillator is not used An example of the external circuit is shown in part b of Figure 3 3 Caution T...

Page 23: ...S EM1 encircled in the figure is used b Subsystem clock A crystal resonator XTC1 is already mounted on the emulation board Its frequency is 32 768 kHz Figure 3 5 When Using Clock That Is Already Mounted on Emulation Board Subsystem Clock Remark The clock that is supplied by the resonator of the IE 789306 NS EM1 encircled in the figure is used IE 78K0S NS or IE 78K0S NS A IE 789306 NS EM1 Mounted o...

Page 24: ... of the IE 789306 NS EM1 encircled in the figure or the oscillator is used b Subsystem clock Remove the parts board XT1 that is already mounted on the emulation board and mount the parts board on which the resonator to be used is mounted or mount the oscillator to be used Figure 3 7 When Using User Mounted Clock Subsystem Clock Remark The clock that is supplied by the resonator of the IE 789306 NS...

Page 25: ...Other than 5 0 MHz Oscillator not used External Caution When inputting a pulse from the target system open the configuration dialog box when starting the integrated debugger ID78K0S NS and select External in the area Clock for selecting the CPU s clock source this selects the user s clock Remark The factory settings of the IE 789306 NS EM1 are those listed above under when using clock that is alre...

Page 26: ...pacitor CA Ceramic resonator or crystal resonator Capacitor CB Resistor Rx Solder kit Steps 1 Solder the target ceramic resonator or crystal resonator resistor Rx capacitor CA and capacitor CB all with suitable oscillation frequencies onto the parts board as shown below Figure 3 9 Connections on Parts Board Main System Clock Parts board X1 Pin No Connection 2 13 Capacitor CA 3 12 Capacitor CB 4 11...

Page 27: ... 78K0S NS or IE 78K0S NS A The above steps configure the following circuit and enable supply of the clock from the mounted resonator to the emulation device b When using a crystal oscillator Items to be prepared Crystal oscillator see pinouts shown in Figure 3 10 Figure 3 10 Crystal Oscillator Main System Clock Steps 1 Prepare the IE 789306 NS EM1 2 Remove the crystal oscillator that is mounted in...

Page 28: ...e IE 789306 NS EM1 in the IE 78K0S NS or IE 78K0S NS A 3 When inputting pulse from target system No hardware settings are required for this situation When starting the integrated debugger ID78K0S NS open the configuration dialog box and select External in the area Clock for selecting the CPU s clock source this selects the user s clock 14 13 12 11 10 9 8 VCC CLOCK OUT GND NC Crystal oscillator Soc...

Page 29: ...is already mounted on emulation board 1 When using clock that is already mounted on emulation board When the IE 789306 NS EM1 is shipped a 32 768 kHz crystal resonator XTC1 and a parts board on which pins 6 and 8 are shorted are already mounted on the IE 789306 NS EM1 Short 2 and 3 of the jumper JP1 on the IE 789306 NS EM1 No settings are required on the integrated debugger ID78K0S NS 2 When using...

Page 30: ... 8 9 Shorted Remark The sections enclosed in broken lines indicate parts that are attached to the parts board 3 Make sure that the parts board is wired as shown in Figure 3 12 above 4 Install the IE 789306 NS EM1 in the IE 78K0S NS or IE 78K0S NS A 1 2 3 4 5 6 7 14 13 12 11 10 9 8 Parts board XT1 10 MΩ 11 4 3 12 CB CA 13 2 5 10 Rx 9 8 CLOCK OUT HCU04 HCU04 10 MΩ 32 768 kHz HCU04 22 pF 22 pF HCU04 ...

Page 31: ...oard was removed in 2 above Insert the crystal oscillator pins into the socket aligning the pins as shown in the figure below Figure 3 14 Pin Alignment of Crystal Oscillator and Socket Subsystem Clock 4 Install the IE 789306 NS EM1 in the IE 78K0S NS or IE 78K0S NS A 3 When inputting pulse from target system Short 1 and 2 of the jumper JP1 on the IE 789306 NS EM1 No settings are required on the in...

Page 32: ...the mask option setting dialog box For the usage method refer to the ID78K Series Ver 2 30 or Later Operation Windows Based User s Manual U15185E Table 3 6 Mask Option Setting SW1 1 2 3 4 Connected to P50 P51 P52 P53 When the DIP switch is ON the corresponding pin is pulled up by the target VDD pin When it is OFF the corresponding pull up resistor is disconnected Set the DIP switch to OFF for port...

Page 33: ...es Ver 2 30 or Later Operation Windows Based User s Manual U15185E 1 EXTOUT The EXTOUT pin on the IE 789306 NS EM1 outputs a low level for 1 3 µs when a break event occurs Caution Connect a pull up resistor on the target system because this is an open drain output 2 EXTIN An event signal can be input from the EXTIN pin on the IE 789306 NS EM1 Input a high level pulse signal for 2 CPU operation clo...

Page 34: ...ation circuit configured by an emulation CPU TTL CMOS IC and other components The electrical characteristics are different from those of the target device because a protector and other circuits are provided 1 Signals directly input to or output from the emulation CPU 2 Signals input from the target system via a gate 3 Other signals The circuits of the IE 789306 NS EM1 are used as follows for signa...

Page 35: ...ted in series Signals related to ports 0 and 1 are connected to a 1 MΩ pull down resistor in the IE 78K0S NS or IE 78K0S NS A Signals related to port 0 Signals related to port 1 Signals related to port 2 Signals related to port 3 A 33 kΩ pull up resistor is connected to the following signals by setting the switch Signals related to port 5 Figure 4 1 Equivalent Circuit 1 of Emulation Circuit Probe ...

Page 36: ...delay compared to the µPD789306 789316 Subseries Refer to Figure 4 2 Equivalent Circuit 2 of Emulation Circuit RESET signal Signals related to clock input The X2 CL2 and XT2 pins are not used in the IE 789306 NS EM1 Figure 4 2 Equivalent Circuit 2 of Emulation Circuit Probe side Target system IE system side IE 789306 NS EM1 100 Ω 100 Ω LVCC 1 MΩ 4 7 kΩ HSK120 HSK120 X1 XT1 RESET X1 CL1 XT1 X2 CL2 ...

Page 37: ...en the target system is connected In the IE 789306 NS EM1 the VDD pin of the target system is exclusively used for controlling LED1 USER VDD which monitors whether the power of the target system is on VSS pin The VSS pin is connected to GND in the IE 789306 NS EM1 IC VPP pin The IC VPP pin is not used in the IE 789306 NS EM1 Figure 4 3 Equivalent Circuit 3 of Emulation Circuit Probe side Target sy...

Page 38: ... 41 92 10 29 42 91 11 24 43 98 12 23 44 97 13 20 45 102 14 19 46 101 15 16 47 106 16 15 48 105 17 43 49 77 18 44 50 78 19 47 51 73 20 48 52 74 21 51 53 69 22 52 54 70 23 57 55 63 24 58 56 64 25 59 57 61 26 60 58 62 27 55 59 65 28 56 60 66 29 49 61 71 30 50 62 72 31 45 63 75 32 46 64 76 Remarks 1 NP 64GC NP 64GC TQ NP H64GC TQ NP 64GK and NP H64GK TQ are products of Naito Densei Machida Mfg Co Ltd ...

Page 39: ... 064SBW are products of TOKYO ELETECH CORPORATION Table B 1 Distance Between IE System and Conversion Adapter Emulation Probe Conversion Adapter Distance Between IE System and Conversion Adapter NP 64GC TQ 170 mm NP H64GC TQ TGC 064SAP 370 mm NP 64GK 170 mm NP H64GK TQ TGK 064SBW 370 mm Figure B 1 Distance Between In Circuit Emulator and Conversion Socket Conversion Adapter When 64GC Is Used Note ...

Page 40: ...on Conditions of Target System When NP H64GC TQ Is Used Emulation probe NP 64GC TQ Emulation board IE 789306 NS EM1 23 mm 25 mm 40 mm 34 mm Target system 20 65 mm Pin 1 11 mm 20 65 mm Conversion adapter TGC 064SAP Emulation probe NP H64GC TQ Emulation board IE 789306 NS EM1 23 mm 23 mm 42 mm 45 mm Target system 20 65 mm Pin 1 11 mm Conversion adapter TGC 064SAP 20 65 mm ...

Page 41: ...Q is used the distance is 370 mm Figure B 5 Connection Conditions of Target System When NP 64GK Is Used 170 mm Note In circuit emulator IE 78K0S NS or IE 78K0S NS A Emulation board IE 789306 NS EM1 Conversion adapter TGK 064SBW Target system CN1 Emulation probe NP 64GK NP H64GK TQ Emulation probe NP 64GK Emulation board IE 789306 NS EM1 21 95 mm 40 mm 34 mm Target system 18 4 mm Pin 1 11 mm 25 mm ...

Page 42: ...anual U16115EJ2V0UM 42 Figure B 6 Connection Conditions of Target System When NP H64GK TQ Is Used Emulation probe NP H64GK TQ Emulation board IE 789306 NS EM1 42 mm 45 mm 18 4 mm Target system 18 4 mm Pin 1 21 95 mm 23 mm Conversion adapter TGK 064SBW 11 mm ...

Page 43: ...Fax 86 21 6841 1137 Address North America NEC Electronics Inc Corporate Communications Dept Fax 1 800 729 9288 1 408 588 6130 Europe NEC Electronics Europe GmbH Market Communication Dept Fax 49 211 6503 274 South America NEC do Brasil S A Fax 55 11 6462 6829 Taiwan Asian Nations except Philippines NEC Electronics Singapore Pte Ltd Fax 886 2 2719 5951 Fax 65 250 3583 Japan NEC Semiconductor Technic...

Reviews: