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 1: ...ual 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 J...
Page 2: ...User s Manual U16214EJ1V0UM 2 MEMO...
Page 3: ...iconductor 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 a...
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...
Page 5: ...to be knowledgeable about debugging Organization When using the IE 780338 NS EM1 refer to not only this manual supplied with the IE 780338 NS EM1 but also the manual that is supplied with the IE 78K0...
Page 6: ...NS or IE 78K0 NS A and the IE 780338 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 Informati...
Page 7: ...tings 20 3 2 2 Main system clock settings 23 3 2 3 Subsystem clock settings 28 3 3 Mask Option Setting 33 3 3 1 LCD booster 33 3 4 External Trigger 34 3 5 Jumper Settings on IE 78K0 NS 35 3 6 Jumper S...
Page 8: ...ted Clock Subsystem Clock 22 3 9 When Using an External Clock 23 3 10 Connections on Parts Board When Using Main System Clock or User Mounted Clock 24 3 11 Crystal Oscillator When Using Main System Cl...
Page 9: ...pecifications 14 3 1 Main System Clock Settings 23 3 2 Subsystem Clock Settings 28 3 3 Jumper Settings on IE 78K0 NS 35 3 4 Jumper Settings on IE 78K0 NS A G 780009 Board 35 3 5 Jumper Settings on IE...
Page 10: ...gging 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...
Page 11: ...n probe sold separately Conversion connectorNote 3 sold separately IE 780338 NS EM1 this product IE 70000 CD IF A sold separately Interface card NS CARD Cable Control software Host machine PC 9800 ser...
Page 12: ...IDE are products of TOKYO ELETECH CORPORATION For further information contact Daimaru Kogyo Ltd Tokyo Electronics Department TEL 81 3 3820 7112 Osaka Electronics Department TEL 81 6 6244 6672 The corr...
Page 13: ...ately Dedicated bus interface IE system Host machine Interface board sold separately 78K0 main board Emulation board this product Interface card sold separately Figure 1 3 Basic Hardware Configuration...
Page 14: ...em 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 th...
Page 15: ...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 items please contact a...
Page 16: ...U16214EJ1V0UM 16 2 1 Parts of Main Unit Figure 2 1 IE 780338 NS EM1 Part Names EXTOUT EXTIN CN5 USER VDD X2 Probe connector CN5 120GC IC2 X1 LED1 Main system clock UMCLK Subsystem clock USCLK LCD mas...
Page 17: ...M1 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 settin...
Page 18: ...onnect the emulation probe to the IE 780338 NS EM1 On this board connect the emulation probe SWEX 120SE 1 to CN5 Caution Incorrect connection may damage the IE system Be sure to read the emulation pro...
Page 19: ...r IE 78K0 NS A and connect and screw on the tip of the FG cable Figure 3 3 Connection Between FG Cable and In Circuit Emulator Main board of IE 78K0 NS sold separately or IE 78K0 NS A sold separately...
Page 20: ...d on the target system is not used Instead the clock that is mounted on the emulation board connected to the IE 78K0 NS or IE 78K0 NS A is used If the target system includes an external clock select 3...
Page 21: ...encircled in the figure is used b For subsystem clock A crystal resonator XT1 is already mounted on the emulation board Its frequency is 32 768 kHz Figure 3 6 When Using Clock That Is Already Mounted...
Page 22: ...IE 78K0 NS or IE 78K0 NS A IE 780338 NS EM1 Resonator not used Target system Emulation probe Parts board resonator or oscillator Remark The clock that is supplied by the IE 780338 NS EM1 s resonator o...
Page 23: ...ternal When using external clock Other than 10 0 MHz Oscillator not used External Caution When using an external clock open the configuration dialog box when starting the integrated debugger ID78K0 NS...
Page 24: ...Ceramic resonator or crystal resonator Capacitor CB Resistor Rx Solder kit Steps 1 Solder the target ceramic resonator or crystal resonator and resistor Rx capacitor CA and capacitor CB all with suita...
Page 25: ...mounted in the correct direction 5 Make sure that the parts board is wired as shown in Figure 3 10 above 6 Connect the IE 780338 NS EM1 to the IE 78K0 NS or IE 78K0 NS A The above steps configure the...
Page 26: ...338 NS EM1 s X1 socket 3 Mount the crystal oscillator prepared by the user in the X1 socket from which the crystal oscillator was removed in 2 above Insert the crystal oscillator pin into the socket a...
Page 27: ...on device 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...
Page 28: ...he parts board X2 on which pins 6 and 8 are shorted are already mounted on the IE 780338 NS EM1 Short the 1 to 2 side on the jumper JP8 of the IE 78K0 NS or IE 78K0 NS A There is no need to make any o...
Page 29: ...rts board X2 Pin No Connection 2 13 Capacitor CA 3 12 Capacitor CB 4 11 Ceramic resonator or crystal resonator 5 10 Resistor Rx 8 9 Short Circuit diagram Remark The sections enclosed in broken lines i...
Page 30: ...make sure the board is mounted in the correct direction 6 Connect the IE 780338 NS EM1 to the IE 78K0 NS or IE 78K0 NS A The above steps configure the following circuit and enable supply of the clock...
Page 31: ...8 NS EM1 s X2 socket 3 Mount the crystal oscillator prepared by the user in the X2 socket from which the parts board was removed in 2 above Insert the crystal oscillator pin into the socket aligning t...
Page 32: ...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 3 When using an external clock Short the 3 to 4 side on the jumper JP8 of the IE 7...
Page 33: ...ard or others provided with this product in the LCD MOPT socket Figure 3 16 shows the LCD drive booster Caution The booster on the target system cannot be used Figure 3 16 LCD MOPT Socket IC2 Connecti...
Page 34: ...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 Win...
Page 35: ...of subsystem clock 3 4 shorted External selection of subsystem clock 3 6 Jumper Settings on IE 78K0 NS A When using the IE 780338 NS EM1 in combination with the IE 78K0 NS A set the jumper on the IE...
Page 36: ...hen the target system is operating at 5 V At that time set the voltage supplied to the target system to between 1 8 and 5 5 V Caution When emulating at 4 5 V or lower first start up at 5 V and then lo...
Page 37: ...em s emulation 1 Signals input or output from the emulation CPU PD780009A 2 Signals input or output from the emulation CPU PD78F0338 3 Other signals The IE 780338 NS EM1 s circuit is used as follows f...
Page 38: ...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 side P73 to P70 100 1 M P97 to P90 P120 ANI8 ANI9 AVREF1 AVREF0 AVSS0 S23 to S0...
Page 39: ...valent Circuit of Emulation Circuit 3 IE system side Probe side 0 1 F Current detection VCC 100 3 3 k 1 M 1 5 k Open VDD0 VDD1 VSS0 VSS1 X2 XT2 HC4066 PD780009A Emulation CPU LVCC LVCC LVCC 4 7 k 100...
Page 40: ...ching the number of the key returns KRSEL register FF8FH cannot be emulated 3 To emulate port 8 of the PD780316 780318 780326 780328 780336 or 780338 set PF8 and PM8 as follows only once after reset i...
Page 41: ...44 44 11 11 45 45 12 12 46 46 13 13 47 47 14 14 48 48 15 15 49 49 16 16 50 50 17 17 51 51 18 18 52 52 19 19 53 53 20 20 54 54 21 21 55 55 22 22 56 56 23 23 57 57 24 24 58 58 25 25 59 59 26 26 60 60 2...
Page 42: ...75 101 101 76 76 102 102 77 77 103 103 78 78 104 104 79 79 105 105 80 80 106 106 81 81 107 107 82 82 108 108 83 83 109 109 84 84 110 110 85 85 111 111 86 86 112 112 87 87 113 113 88 88 114 114 89 89 1...
Page 43: ...mounted on the target system when designing a system In the product names described in this appendix SWEX 120SE 1 NQPACK120SE YQPACK120SE and YQ GUIDE are products of TOKYO ELETECH CORPORATION Figure...
Page 44: ...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 Target system Conversion connector...
Page 45: ...User s Manual U16214EJ1V0UM 45 MEMO...
Page 46: ...User s Manual U16214EJ1V0UM 46 MEMO...
Page 47: ...ax 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 650...