background image

User’s Manual  U13742EJ2V0UM

35

CHAPTER 4  DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS

This chapter describes differences between the target device’s signal lines and the signal lines of the IE-784225-

NS-EM1’s target interface circuit.

Although the target device is a CMOS circuit, the IE-784225-NS-EM1’s target interface circuit consists of an

emulation CPU, TTL, CMOS-IC, and other emulation circuits.

When the IE system is connected with the target system for debugging, the IE system performs emulation so as to

operate as the actual target device would operate in the target system.

However, some minor differences exist since the operations are performed via the IE system’s emulation.

(1) Signals directly input/output to/from the emulation CPU

(2) Signals input from 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 signals perform the same operations as in the 

µ

PD784216A, 784216AY, 784218A, 784218AY, and

784225 Subseries.  For the signals related to ports excluding ports 1 and 13 (having alternate functions as pins

for A/D and D/A converters), however, a 1 M

 pull-down resistor and 22 

 resistor are inserted in series.

Signals related to port 0

Signals related to port 1 (A/D converter input)

Signals related to port 2

Signals related to port 3

Signals related to port 7

Signals related to port 10

Signals related to port 12

Signals related to port 13 (D/A converter input)

Signals related to A/D converter

AV

REF0

AV

REF1

AV

SS

AV

DD

Note

Note

The AV

DD

 pin on the target system is not connected to the IE system. Either the power supply of the IE

system or the power supply supplied to TP1 is supplied to the AV

DD

 pin of the emulation CPU.  Port 10

and AV

REF0

 are not used when the target system is the 

µ

PD784225 Subseries.

Summary of Contents for IE-784225-NS-EM1

Page 1: ...Subseries PD784216AY Subseries PD784218A Subseries PD784218AY Subseries PD784225 Subseries PD784225Y Subseries IE 784225 NS EM1 Emulation Board Document No U13742EJ2V0UM00 2nd edition Date Published M...

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

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

Page 4: ...0 800 729 9288 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 Singapore...

Page 5: ...of description in Table 1 1 Basic Specifications p 20 Addition of 3 3 Selection of Emulator Main Unit p 22 Modification of description in 3 4 2 Main system clock settings p 27 Modification of descript...

Page 6: ...d for engineers who will use the IE 784225 NS EM1 with the IE 78K4 NS to perform system debugging Engineers who use this manual are expected to be thoroughly familiar with the target device s function...

Page 7: ...IE 78K4 NS and the IE 784225 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 requir...

Page 8: ...ettings 20 3 4 2 Main system clock settings 22 3 4 3 Subsystem clock settings 27 3 4 4 Slew rate clock emulation 31 3 5 Pin Mask Function Settings 32 3 5 1 Wait WAIT mask function 32 3 5 2 Wait displa...

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

Page 10: ...system Clock Settings 27 3 3 DIP Switch Setting When Using Slew Rate Clock Mode 31 3 4 DIP Switch Setting for Wait WAIT Mask Function 32 3 5 DIP Switch Setting for Wait Display Function 32 3 6 DIP Swi...

Page 11: ...n 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 784225 NS EM1 s system configuration and basic specifi...

Page 12: ...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 13: ...e NP 100GF 100 pin plastic QFP GF 3BA type The NP 80GC NP 80GK NP 100GC and NP 100GF are products of Naito Densei Machida Mfg Co Ltd For further information contact Naito Densei Machida Mfg Co Ltd TEL...

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

Page 15: ...AY 784218AY 784225 784225Y Subseries System clock 12 5 MHz Main clock supply External Input via an emulation probe from the target system Internal Mounted on emulation board 25 MHz or mounted on the b...

Page 16: ...duces the parts of the IE 784225 NS EM1 main unit The packing box contains the emulation board IE 784225 NS EM1 If there are any missing or damaged items please contact an NEC sales representative Fil...

Page 17: ...1 Parts of Main Unit Figure 2 1 IE 784225 NS EM1 Part Names GND Low Volt TP1 TP3 CN2 CN1 Probe connector CN1 100GC GF CN2 80GC GK USERVDD LED1 WAIT LED2 EXTOUT X1 UMCLK SW3 DIP switch JP1 X2 USCLK IE...

Page 18: ...225 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: ...o the IE 784225 NS EM1 On this board the probe connector differs depending on the emulation probe used When using NP 100GC or NP 100GF connect it to CN1 When using NP 80GC or NP 80GK connect it to CN2...

Page 20: ...nted on emulation board 2 Clock that is mounted by user 3 External clock If the target system includes an internal clock select either 1 Clock that is already mounted on emulation board or 2 Clock tha...

Page 21: ...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 784225 NS EM1 First mount the res...

Page 22: ...ing external clock Other than 25 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 Exte...

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: ...ect direction 5 Make sure that the parts board mounted in the UMCLK socket on the emulation board is wired as shown in Figure 3 6 above 6 Install the IE 784225 NS EM1 in the IE 78K4 NS The above steps...

Page 25: ...s mounted in the IE 784225 NS EM1 s socket the socket marked as UMCLK 3 Connect the crystal oscillator from 2 above to the socket UMCLK from which the crystal oscillator was removed Insert the crystal...

Page 26: ...Y B IE 78K4 NS side Emulation device VCC Crystal oscillator X1 HD151015 VHC244 LVCC 4 7 k CLK IN VHC244 VCC 4 7 k Multiplier 3 When using external clock No hardware settings are required for this situ...

Page 27: ...ation board When the IE 784225 NS EM1 is shipped a 32 768 kHz crystal resonator is already mounted on the IE 784225 NS EM1 Pins 6 and 8 on the parts board USCLK are shorted Short pins 1 and 2 on the I...

Page 28: ...s board USCLK Pin No Connection 2 13 Capacitor CB 3 12 Capacitor CA 4 11 Ceramic resonator or crystal resonator 5 10 Resistor Rx 8 9 Short Circuit diagram Remark The sections enclosed in broken lines...

Page 29: ...d see 3 above Check the pin 1 mark to make sure the board is mounted in the correct direction 5 Install the IE 784225 NS EM1 in the IE 78K4 NS The above steps configure the following circuit and enabl...

Page 30: ...ts board that is mounted in the IE 784225 NS EM1 s socket the socket marked as USCLK 3 Connect the crystal oscillator from 2 above to the socket USCLK from which the parts board was removed Insert the...

Page 31: ...s not possible to set the slew rate clock using the ENMP bit of the CC register after the IE 784225 NS EM1 has been activated To use the slew rate clock mode switch 4 of the DIP switch SW3 must be set...

Page 32: ...is possible to display the status of waiting with an LED light Table 3 5 DIP Switch Setting for Wait Display Function DIP Switch Setting Status 3 WAITLED Wait WAIT status not displayed initial setting...

Page 33: ...w voltage emulation is possible in the IE system When the target system is operating on low voltage supply the same voltage as the target system to the TP1 terminal pin of the IE 784225 NS EM1 Set the...

Page 34: ...ct it to the IE 784225 NS EM1 s check pin EXTOUT pin and EXTIN pin as shown below See the integrated debugger ID78K4 NS User s Manual U12796E for descriptions of related use methods and pin characteri...

Page 35: ...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 signals perform the same operations as in the PD784216A...

Page 36: ...obe side P30 to P36 1 M 1 M 1 M 1 M 22 P00 P01 P03 to P06 22 P02 22 P37 22 P20 to P27 22 P40 to P47 1 M 1 M 22 P50 to P57 1 M 22 P67 1 M 22 P66 1 M 22 P60 to P65 1 M 22 DIP SW3 HD151015 HD151015 HD151...

Page 37: ...22 P90 to P97 22 P10 ANI0 to P17 ANI7 P130 ANO0 P131 ANO1 AVREF0 AVREF1 AVDD AVSS 1 M 1 M 1 M 1 M P120 to P127 22 1 M AC573 HC4066 HD151015 P119 HC4049 LS26 AC04 AC04 VHC125 AD0 to AD7 Open LVCC IE 78...

Page 38: ...bseries RESET signal Signals related to clock input Figure 4 3 Equivalent Circuit 3 of Emulation Circuit LVCC 4 7 k VCC 4 7 k 24 ALTERA EPM7128 15 HD151015 HD151015 VHC244 RESET RESET VHC244 LVCC 4 7...

Page 39: ...voltage is selected for the TEST VPP input to the IE system during reset The voltage from the target is selected after reset is released 3 Other signals VDD pin When the emulation CPU is operating at...

Page 40: ...7 10 93 43 14 11 30 44 13 12 29 45 18 13 24 46 17 14 23 47 22 15 20 48 21 16 19 49 28 17 16 50 27 18 15 51 92 19 10 52 91 20 9 53 98 21 37 54 97 22 43 55 102 23 44 56 101 24 47 57 106 25 48 58 105 26...

Page 41: ...Emulation Probe CN2 Pin No Emulation Probe CN2 Pin No 67 70 74 71 68 63 75 72 69 64 76 75 70 61 77 76 71 62 78 79 72 65 79 80 73 66 80 85 Remarks 1 The NP 80GC GK are products of Naito Densei Machida...

Page 42: ...100 42 50 10 99 43 45 11 94 44 46 12 93 45 41 13 30 46 42 14 29 47 35 15 24 48 36 16 23 49 31 17 20 50 32 18 19 51 4 19 16 52 3 20 15 53 8 21 10 54 7 22 9 55 14 23 6 56 3 24 5 57 18 25 33 58 17 26 34...

Page 43: ...70 68 101 85 63 69 106 86 64 70 105 87 61 71 112 88 62 72 111 89 65 73 116 90 66 74 115 91 71 75 87 92 72 76 88 93 75 77 83 94 76 78 84 95 79 79 77 96 80 80 78 97 85 81 73 98 86 82 74 99 89 83 69 100...

Page 44: ...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 5...

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

Page 46: ...circuit emulator wait control must be performed by setting PWC1 and programmable wait control register 2 PWC2 If an external wait is set for the internal ROM area the CPU becomes deadlocked The deadl...

Page 47: ...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 48: ...D ROM addition of A to IE 70000 PCI IF addition of website address for downloading device files and modification of telephone number of Naito Densei Machida Mfg Co Ltd Modification of target devices i...

Page 49: ...User s Manual U13742EJ2V0UM 49 MEMO...

Page 50: ...User s Manual U13742EJ2V0UM 50 MEMO...

Page 51: ...886 2 2719 5951 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 2...

Reviews: