background image

User’s Manual  U16556EJ1V0UM

7

CONTENTS

CHAPTER 1  GENERAL.............................................................................................................................. 10

1.1

System Configuration................................................................................................................................ 11

1.2

Hardware Configuration ............................................................................................................................ 13

1.3

Basic Specifications .................................................................................................................................. 14

CHAPTER 2  PART NAMES ....................................................................................................................... 15

2.1

Parts of Main Unit ...................................................................................................................................... 16

CHAPTER 3  INSTALLATION..................................................................................................................... 18

3.1

Connection ................................................................................................................................................. 19

3.2

Selection of Emulator Main Unit ............................................................................................................... 20

3.3

Clock Settings ............................................................................................................................................ 20

3.3.1

Overview of clock settings ............................................................................................................. 20

3.3.2

Main system clock settings ............................................................................................................ 22

3.3.3

Timer clock settings ....................................................................................................................... 26

3.4

Pin Mask Function Settings ...................................................................................................................... 29

3.4.1

NMI interrupt mask setting ............................................................................................................. 29

3.4.2

Wait (WAIT)/hold (HOLD) mask function ....................................................................................... 29

3.4.3

Wait display function setting .......................................................................................................... 29

3.4.4

Hold display function setting .......................................................................................................... 30

3.5

Low-Voltage Emulation Setting ................................................................................................................ 30

3.6

External Trigger ......................................................................................................................................... 31

CHAPTER 4  DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS.. 32

CHAPTER 5  RESTRICTIONS .................................................................................................................... 36

CHAPTER 6  CAUTIONS ............................................................................................................................ 37

APPENDIX A  EMULATION PROBE PIN ASSIGNMENT TABLE ............................................................. 38

APPENDIX B  PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN-CIRCUIT EMULATOR......... 40

APPENDIX C  NOTES ON TARGET SYSTEM DESIGN ............................................................................ 42

Summary of Contents for IE-784937-NS-EM1

Page 1: ...User s Manual Target devices PD784938A Subseries IE 784937 NS EM1 Emulation Board Document No U16556EJ1V0UM00 1st edition Date Published May 2003 N CP K Printed in Japan 2003...

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

Page 3: ...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...

Page 4: ...ch 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 Squa...

Page 5: ...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 784937 NS EM1 refer to not only this manua...

Page 6: ...mbination of the IE 78K4 NS and the IE 784937 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 I...

Page 7: ...3 Timer clock settings 26 3 4 Pin Mask Function Settings 29 3 4 1 NMI interrupt mask setting 29 3 4 2 Wait WAIT hold HOLD mask function 29 3 4 3 Wait display function setting 29 3 4 4 Hold display fu...

Page 8: ...or User Mounted Clock 23 3 7 Crystal Oscillator When Using Main System Clock or User Mounted Clock 24 3 8 Pin Alignment of Crystal Oscillator and Socket 25 3 9 Connections on Parts Board When Using T...

Page 9: ...ngs 26 3 3 DIP Switch Setting for NMI Interrupt Mask 29 3 4 DIP Switch Setting for Wait WAIT Hold HOLD Mask Function 29 3 5 DIP Switch Setting for Wait Display Function 29 3 6 DIP Switch Setting for H...

Page 10: ...or efficient debugging of hardware or software when using one of the following target devices that belong to the 78K IV Series of 16 bit single chip microcontrollers This chapter describes the IE 7849...

Page 11: ...evice fileNote 1 sold separately Control software Host machine PC 9800 Series or IBM PC AT or compatibles Interface board IE 70000 98 IF C sold separately Interface board IE 70000 PC IF C sold separat...

Page 12: ...3 The conversion adapter TGF 100RBP is a product of TOKYO ELETECH CORPORATION For further information contact Daimaru Kogyo Co Ltd Tokyo Electronics Department TEL 81 3 3820 7112 Osaka Electronics De...

Page 13: ...are configuration Figure 1 2 Basic Hardware Configuration IE 78K4 NS sold separately IE 784937 NS EM1 Emulation probe sold separately Dedicated bus interface IE system Host machine Interface board sol...

Page 14: ...ubseries System clock 12 58 MHz Main system clock supply External Input via an emulation probe from the target system Internal Mounted on emulation board 12 58 MHz or mounted on the board by the user...

Page 15: ...IE 784937 NS EM1 main unit The packing box contains the emulation board IE 784937 NS EM1 4937 PROBE Board GC and 4937 PROBE Board GF If there are any missing or damaged items please contact an NEC sa...

Page 16: ...ain Unit Figure 2 1 IE 784937 NS EM1 Part Names GND LowVolt Probe connector ACN1 100GF EXTOUT EXTIN USER VDD LED TP3 JP3 USCLK SW1 UMCLK TP1 External sense Probe connector ACN2 for expansion Connector...

Page 17: ...ROBE Board GF b 4937 PROBE Board GC RCN3 ACN1 RCN3 ACN2 Caution The 4937 PROBE Board GF is used when the IE 784937 NS EM1 and IE 78K4 R EX3 are combined to connect to the IE 784000 R The 4937 PROBE Bo...

Page 18: ...937 NS EM1 to the IE 78K4 NS 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 change...

Page 19: ...on this board Cautions 1 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 2 Do not use ACN2 which...

Page 20: ...ck that is already mounted on emulation board or 2 Clock that is mounted by user For an internal clock the target device is connected to a resonator and the target device s internal oscillator is used...

Page 21: ...7 NS EM1 s oscillator encircled in the figure is used 2 Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE 784937 NS EM1 First mount the re...

Page 22: ...sing external clock Other than 12 580 MHz Oscillator not used External Caution When using an external clock open the configuration dialog box when starting the integrated debugger ID78K4 NS and select...

Page 23: ...ic 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 a suitable osc...

Page 24: ...the IE 784937 NS EM1 to the IE 78K4 NS The above steps configure the circuit and enable supply of the clock from the mounted resonator to the emulation device b When using a crystal oscillator Items...

Page 25: ...onfigure the 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 th...

Page 26: ...68 kHz crystal resonator is already mounted on the IE 784937 NS EM1 Pins 6 and 8 on the parts board USCLK are shorted There is no need to make any other settings via the integrated debugger ID78K4 NS...

Page 27: ...oard 2 Prepare the IE 784937 NS EM1 3 Remove the parts board that is mounted in the IE 784937 NS EM1 s socket the socket marked as USCLK 4 Connect the parts board from 1 above to the socket USCLK from...

Page 28: ...ocket marked as USCLK 3 Connect the crystal oscillator from 2 above to the socket USCLK from which the parts board was removed Insert the crystal oscillator pin into the socket aligning the pins as sh...

Page 29: ...n the IE 784937 NS EM1 it is possible to mask the wait WAIT and hold HOLD alternate functions of the P66 pin in the PD784938A Subseries Table 3 4 DIP Switch Setting for Wait WAIT Hold HOLD Mask Functi...

Page 30: ...initial setting OFF Hold HOLD status displayed ON Caution When using the P66 pin as a port set the DIP switch to OFF Otherwise the LED may be lit 3 5 Low Voltage Emulation Setting Low voltage emulati...

Page 31: ...EM1 s check pin EXTOUT pin and EXTIN pin as shown below For pin characteristics refer to the IE 78K4 NS User s Manual U13356E For usage details refer to the ID78K Series Ver 2 30 or Later Windows Bas...

Page 32: ...m the target system via a gate 3 Other signals The IE system s circuit is used as follows for signals listed in 1 to 3 above 1 Signals directly input output to from the emulation CPU The following sig...

Page 33: ...it 1 of Emulation Circuit Prove side P30 to P37 1 M 1 M 22 P00 to P07 22 1 M P10 to P17 22 P20 22 P21 to P27 22 P40 to P47 1 M 1 M 22 P50 to P57 22 P66 1 M 22 P70 to P77 P60 to P65 P67 AVREF1 AVSS PWM...

Page 34: ...different from PD784938A Subseries making it necessary to observe a stricter timing design than in the case of PD784938A Subseries RESET signal Signals related to clock input Figure 4 2 Equivalent Cir...

Page 35: ...32 768 kHz IE system side Probe side 3 Other signals VDD pin When the emulation CPU is operating at 5 V its power is supplied from the internal IE system but when operating at low voltage its power i...

Page 36: ...llowing restrictions The specification of the STOP mode of the watch timer function is different from that of the target device When the count clock is selected as the main clock the timer stops in th...

Page 37: ...T HOLD and NMI Table 6 1 SW1 Setting When Using IE 784000 R DIP Switch SW1 1 2 3 4 5 6 7 Setting ON OFF OFF ON OFF OFF Note Note SW1 7 is for setting the internal clock Table 6 2 SW1 7 Setting When Us...

Page 38: ...29 10 74 43 24 11 69 44 23 12 70 45 20 13 63 46 19 14 64 47 16 15 61 48 15 16 62 49 10 17 65 50 9 18 66 51 6 19 71 52 5 20 72 53 33 21 75 54 34 22 76 55 37 23 79 56 38 24 80 57 43 25 85 58 44 26 86 59...

Page 39: ...13 68 56 85 18 69 49 86 17 70 50 87 22 71 45 88 21 72 46 89 28 73 41 90 27 74 42 91 92 75 35 92 91 76 36 93 98 77 31 94 97 78 32 95 102 79 4 96 101 80 3 97 106 81 8 98 105 82 7 99 112 83 14 100 111 R...

Page 40: ...ng programmable debugging using the in circuit emulator wait control must be performed by setting programmable wait control register 1 PWC1 and programmable wait control register 2 PWC2 If an external...

Page 41: ...6 PW30 5 PW21 4 PW20 3 PW11 2 PW10 1 PW01 0 PW00 Address 0FFC7H After reset AAH R W 2 Program wait control register 2 PWC2 of in circuit emulator Wait Target Address No address wait insertion 1 wait...

Page 42: ...nsei Machida Mfg Co Ltd and TGF 100RBP is a product of TOKYO ELETECH CORPORATION Table C 1 Distance Between IE System and Conversion Adapter Emulation Probe Conversion Adapter Distance Between IE Syst...

Page 43: ...n probe NP 100GF TQ 40 mm 34 mm Target system 27 5 mm Pin 1 11 mm Emulation board IE 784937 NS EM1 21 mm Conversion adapter TGF 100RBP Figure C 3 Connection Conditions of Target System When NP H100GF...

Reviews: