background image

CHAPTER  3    INSTALLATION

User’s Manual  U16499EJ1V0UM

20

3.2

Switch and Jumper Settings on Main Unit

(1)  Settings on the IE-78K0S-NS

When using the IE-789860-NS-EM1, set the switches and jumpers on the IE-78K0S-NS as shown in Table 3-1.

For details of these switch and jumper settings, refer to the 

IE-78K0S-NS User’s Manual (U13549E)

.

Table 3-1.  Switch and Jumper Settings on IE-78K0S-NS

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 setting may damage the IE-789860-NS-EM1.

(2)  Settings on the IE-78K0S-NS-A

When using the IE-789860-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 (U15207E)

.

Table 3-2.  Switch and Jumper Settings on IE-78K0S-NS-A

SW1

JP1

JP3

Setting

OFF

1 and 2 shorted

Shorted (fixed)

Caution 

Incorrect setting may damage the IE-789860-NS-EM1.

Summary of Contents for IE-789860-NS-EM1

Page 1: ...µ µ µ µPD789860 Subseries µ µ µ µPD789861 Subseries µ µ µ µPD789052 Subseries µ µ µ µPD789062 Subseries IE 789860 NS EM1 Emulation Board 2003 Document No U16499EJ1V0UM00 1st edition Date Published July 2003 N CP K Printed in Japan ...

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

Page 3: ...ality reliability and safety of NEC Electronics 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 Electronics products customers must incorporate sufficient safety measures in their design such as redundancy fire containment and anti ...

Page 4: ...nch Seoul Korea Tel 02 558 3737 NEC Electronics Shanghai Ltd Shanghai P R China Tel 021 6841 1138 NEC Electronics Taiwan Ltd Taipei Taiwan Tel 02 2719 2377 NEC Electronics Singapore Pte Ltd Novena Square Singapore Tel 6253 8311 J03 4 NEC Electronics Europe GmbH Duesseldorf Germany Tel 0211 65 03 01 Sucursal en España Madrid Spain Tel 091 504 27 87 Vélizy Villacoublay France Tel 01 30 67 58 00 Succ...

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

Page 6: ...ation board IE 789860 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 versions ar...

Page 7: ...nit 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 System clock settings 24 3 5 Mask Option Settings 28 3 5 1 Mask option settings 28 3 5 2 Mask options of POC circuit 29 3 5 3 Mask options of oscillation stabilization wait time 29 3 6 External Trigger 30 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICE AND TARGET INTERFACE CIR...

Page 8: ...dy Mounted on Emulation Board 23 3 5 When Using User Mounted Clock 23 3 6 When Supplying Pulse from Target System 24 3 7 Connections on Parts Board 25 3 8 Crystal Oscillator 26 3 9 Pin Alignment of Crystal Oscillator and Socket 27 3 10 Mask Option Setting 28 3 11 External Trigger Input Position 30 4 1 Equivalent Circuit 1 of Emulation Circuit 32 4 2 Equivalent Circuit 2 of Emulation Circuit 33 4 3...

Page 9: ...7 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 24 3 5 Mask Option Setting of Port 4 28 3 6 Differences in Oscillation Stabilization Wait Time 29 5 1 Illegal Access Conditions for EEPROM 35 A 1 NP 20GS Pin Assignments 36 B 1 Distance Between IE System and Conversion ...

Page 10: ...asic specifications The IE 789860 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 0S Series of 8 bit single chip microcontrollers Target devices µPD789860 Subseries µPD789861 Subseries µPD789052 Subseries µPD789062 Subseries ...

Page 11: ...fileNote 1 available 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 789860 NS EM1 this product AC adapter IE 70000 MC PS B sold separately Emulation probeNote 2 sol...

Page 12: ... be downloaded from the website of NEC Electronics http www necel com micro 2 The emulation probe NP 20GS is a product of Naito Densei Machida Mfg Co Ltd For further information contact Naito Densei Machida Mfg Co Ltd TEL 81 45 475 4191 Table 1 1 Correspondence Between Emulation Probe and Conversion Socket Package Emulation Probe Conversion Socket 20 pin plastic SSOP MC type NP 20GS probe length 2...

Page 13: ... in the basic hardware configuration Figure 1 2 Basic Hardware Configuration IE 78K0S NS or IE 78K0S NS A IE 789860 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: ...n Target device µPD789860 789861 789052 789062 Subseries System clock 1 0 to 5 0 MHz System clock supply External Input via an emulation probe from the target system Internal Mounted on emulation board 5 MHz or mounted on the parts board by the user Target interface voltage VDD 1 8 to 5 5 V same as that of target device Operates on internal power supply 5 V when target system is not connected ...

Page 15: ...789860 NS EM1 main unit The packing box contains the emulation board IE 789860 NS EM1 packing list user s manual and guarantee card If there are any missing or damaged items please contact an NEC Electronics sales representative Fill out and return the guarantee card that comes with the main unit ...

Page 16: ...arts of Main Unit Figure 2 1 shows the part names of the IE 789860 NS EM1 Figure 2 1 IE 789860 NS EM1 Part Names IE 789860 NS EM1 CN1 LED1 ON SW1 X1 GND LVcc CP12 EXTOUT CP11 EXTIN TP1 CN1 probe connector 20GS X1 system clock socket P1 P2 P3 USER VDD OFF IC5 ...

Page 17: ...ings of Switches and Jumpers Table 2 1 shows the initial settings of the switches and jumpers on the IE 789860 NS EM1 For the setting of SW1 refer to 3 5 Mask Option Settings Table 2 1 Initial Settings of Switches and Jumpers SW1 1 2 3 4 Initial setting OFF OFF OFF OFF ...

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: ...78K0S NS User s Manual U13549E for a description of how to connect an emulation probe to the IE 789860 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 ...

Page 20: ...K0S NS 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 setting may damage the IE 789860 NS EM1 2 Settings on the IE 78K0S NS A When using the IE 789860 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 U1...

Page 21: ...0 or Later Operation Windows Based User s Manual U15185E Maximum current consumption of TP1 2 0 V approximately 100 mA to 5 5 V approximately 300 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 5 V Target When not connecting target system 5 V Internal F...

Page 22: ... IE 78K0S NS A is used 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...

Page 23: ...ircled in the figure is used 2 Clock that is mounted by user The user can mount any clock supported by the set specifications on the IE 789860 NS EM1 This feature is effective when debugging at a different frequency than the clock already mounted Remove the crystal oscillator X1 that is already mounted on the emulation board and mount the parts board on which the resonator to be used is mounted or...

Page 24: ...or 2 When using clock mounted by user Oscillator configured by user Internal 3 When inputting pulse from target system 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...

Page 25: ... board Capacitor 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 7 Connections on Parts Board Parts board X1 Pin No Connection 2 13 Capacitor CA 3 12 Capacitor CB 4 11 Ceramic ...

Page 26: ...S EM1 in the IE 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 8 Figure 3 8 Crystal Oscillator Steps 1 Prepare the IE 789860 NS EM1 2 Remove the crystal oscillator that is mounted in the ...

Page 27: ...0 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 Socket 1 2 3 ...

Page 28: ...sk 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 5 Mask Option Setting of Port 4 SW1 1 2 3 4 Connected to P40 P41 P42 P43 When the DIP switch is ON the corresponding pin is pulled up by the target interface power supply voltage LVCC When it is OFF the corresponding pull up resistor is disconnected Se...

Page 29: ...ation stabilization wait time of the IE 789860 NS EM1 is fixed to 2 7 fX The differences between target devices are shown in Table 3 6 below When emulating the oscillation stabilization wait time after the release of STOP mode by RESET or the release of reset via the POC circuit the oscillation stabilization wait time must be finally checked with EEPROM products because of the effect of power supp...

Page 30: ...or Later Operation Windows Based User s Manual U15185E 1 EXTOUT The EXTOUT pin on the IE 789860 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 789860 NS EM1 Input a high level pulse signal for 2 CPU operation clocks or more ...

Page 31: ...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 789860 NS EM1 are used as follows for signa...

Page 32: ...following signals a 1 MΩ pull down resistor and a 100 Ω resistor are connected in series Signals related to port 0 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 2 A 33 kΩ pull up resistor is connected to the following signals by setting the switch Signals related to port 4 Figure 4 1 Equivalent Circuit 1 of Emulatio...

Page 33: ...a delay compared to the µPD789052 789062 789860 and 789861 Subseries Refer to Figure 4 2 Equivalent Circuit 2 of Emulation Circuit RESET signal Signals related to clock input The X2 CL2 pin is not used in the IE 789860 NS EM1 Figure 4 2 Equivalent Circuit 2 of Emulation Circuit Probe side Target system IE system side IE 789860 NS EM1 100 Ω 100 Ω LVCC 1 MΩ 4 7 kΩ HSK120 HSK120 X1 RESET X1 CL1 X2 CL...

Page 34: ...en the target system is connected In the IE 789860 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 789860 NS EM1 IC VPP pin The IC VPP pin is not used in the IE 789860 NS EM1 Figure 4 3 Equivalent Circuit 3 of Emulation Circuit Probe side Target sy...

Page 35: ... for EEPROM are shown in Table 5 1 Table 5 1 Illegal Access Conditions for EEPROM 1 If a write instruction is executed to EEPROM when EWC 0 2 If a write instruction is executed to EEPROM while the clock selected by EEPROM is stopped 3 If a write instruction is executed to EEPROM while EEPROM is being written 4 If read instruction is executed from EEPROM while EEPROM is being written 5 If instructi...

Page 36: ...ation Probe CN1 Pin No 1 33 11 16 2 32 12 15 3 74 13 14 4 31 14 13 5 75 15 6 6 34 16 5 7 7 17 4 8 8 18 3 9 9 19 17 10 10 20 73 Remarks 1 NP 20GS is a product of Naito Densei Machida Mfg Co Ltd 2 The numbers in the Emulation Probe column indicate the pin number on the tip of the target system side with NP 20GS and EV 9500GS 20 combined together ...

Page 37: ...ng the products described in this appendix NP 20GS is a product of Naito Densei Machida Mfg Co Ltd Table B 1 Distance Between IE System and Conversion Socket Emulation Probe Conversion Socket Distance Between IE System and Conversion Socket NP 20GS EV 9500GS 20 185 mm Figure B 1 Distance Between In Circuit Emulator and Conversion Socket In circuit emulator IE 78K0S NS or IE 78K0S NS A Emulation bo...

Page 38: ...DESIGNING TARGET SYSTEM User s Manual U16499EJ1V0UM 38 Figure B 2 Connection Conditions of Target System 30 mm 100 mm Target system Conversion socket EV 9500GS 20 Emulation probe NP 20GS Emulation board IE 789860 NS EM1 15 mm ...

Reviews: