Part Number Hot Search : 
STV2246 KSC1623 0S080H M66509 PCS240DL 2815T F7451 AM28F
Product Description
Full Text Search
 

To Download IE-789860-NS-EM1 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  user?s manual target devices 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
user?s manual u16499ej1v0um 2 [memo]
user?s manual u16499ej1v0um 3 eeprom is a trademark of nec electronics corporation. windows is either a registered trademark or a trademark of microsoft corporation in the united states and/or other countries. pc/at is a trademark of international business machines corporation. the information in this document is current as of december, 2002. the information is subject to change without notice. for actual design-in, refer to the latest publications of nec electronics data sheets or data books, etc., for the most up-to-date specifications of nec electronics products. not all products and/or types are available in every country. please check with an nec electronics sales representative for availability and additional information. no part of this document may be copied or reproduced in any form or by any means without the prior written consent of nec electronics. nec electronics assumes no responsibility for any errors that may appear in this document. nec electronics does not assume any liability for infringement of patents, copyrights or other intellectual property rights of third parties by or arising from the use of nec electronics products listed in this document or any other liability arising from the use of such products. no license, express, implied or otherwise, is granted under any patents, copyrights or other intellectual property rights of nec electronics or others. descriptions of circuits, software and other related information in this document are provided for illustrative purposes in semiconductor product operation and application examples. the incorporation of these circuits, software and information in the design of a customer's equipment shall be done under the full responsibility of the customer. nec electronics assumes no responsibility for any losses incurred by customers or third parties arising from the use of these circuits, software and information. while nec electronics endeavors to enhance the quality, 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-failure features. nec electronics products are classified into the following three quality grades: "standard", "special" and "specific". the "specific" quality grade applies only to nec electronics products developed based on a customer- designated "quality assurance program" for a specific application. the recommended applications of an nec electronics product depend on its quality grade, as indicated below. customers must check the quality grade of each nec electronics product before using it in a particular application. "standard": computers, office equipment, communications equipment, test and measurement equipment, audio and visual equipment, home electronic appliances, machine tools, personal electronic equipment and industrial robots. "special": transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster systems, anti-crime systems, safety equipment and medical equipment (not specifically designed for life support). "specific": aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems and medical equipment for life support, etc. the quality grade of nec electronics products is "standard" unless otherwise expressly specified in nec electronics data sheets or data books, etc. if customers wish to use nec electronics products in applications not intended by nec electronics, they must contact an nec electronics sales representative in advance to determine nec electronics' willingness to support a given application. (note) (1) "nec electronics" as used in this statement means nec electronics corporation and also includes its majority-owned subsidiaries. (2) "nec electronics products" means any product developed or manufactured by or for nec electronics (as defined above). ? ? ? ? ? ? m8e 02. 11-1
user ? s manual u16499ej1v0um 4 regional information ? device availability ? ordering information ? product release schedule ? availability of related technical literature ? development environment specifications (for example, specifications for third-party tools and components, host computers, power plugs, ac supply voltages, and so forth) ? network requirements in addition, trademarks, registered trademarks, export restrictions, and other legal issues may also vary from country to country. [global support] http://www.necel.com/en/support/support.html nec electronics america, inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 nec electronics hong kong ltd. hong kong tel: 2886-9318 nec electronics hong kong ltd. seoul branch 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 n ec 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  succursale fran ? aise  filiale italiana milano, italy tel: 02-66 75 41  branch the netherlands eindhoven, the netherlands tel: 040-244 58 45  tyskland filial taeby, sweden tel: 08-63 80 820  united kingdom branch milton keynes, uk tel: 01908-691-133 some information contained in this document may vary from country to country. before using any nec electronics product in your application, piease contact the nec electronics office in your country to obtain a list of authorized representatives and distributors. they will verify:
user?s manual u16499ej1v0um 5 introduction product overview the IE-789860-NS-EM1 is designed to be used with the ie-78k0s-ns or ie-78k0s-ns-a to debug the following target devices that belong to the 78k/0s series of 8-bit single-chip microcontrollers. ? pd789860 subseries: pd789860, 78e9860a ? pd789861 subseries: pd789861, 78e9861a ? pd789052 subseries: pd789052, 78e9860 ? pd789062 subseries: pd789062, 78e9861 target readers this manual is intended for engineers who will use the IE-789860-NS-EM1 with the ie- 78k0s-ns or ie-78k0s-ns-a to perform system debugging. engineers who use this 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 specifications ? general ? system configuration ? part names ? external interface functions ? installation ? differences between target device and target interface circuit ? cautions ie-78k0s-ns-a user?s manual ? basic specifications ? system configuration ? external interface functions purpose this manual?s purpose is to explain various debugging functions that can be performed when using the IE-789860-NS-EM1.
user?s manual u16499ej1v0um 6 terminology the meanings of certain terms used in this manual are listed below. term meaning emulation device this is a general term that refers to the device in the emulator that is used to emulate the target device. it includes the emulation cpu. emulation cpu this is the cpu block in the emulator that is used to execute user-generated programs. target device this is the device to be emulated. target system this incl udes the target program and the hardware provided by the user. when defined narrowly, it includes only the hardware. ie system this refers to the combination of the in-circuit emulator (ie-78k0s-ns or ie-78k0s-ns-a) and the emulation 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 are not marked as such. document name document no. ie-78k0s-ns in-circuit emulator u13549e ie-78k0s-ns-a in-circuit emulator u15207e IE-789860-NS-EM1 emulation board this manual id78k series integrated debugger ver. 2.30 or later operation (windows? based) u15185e pd789860, 789861 subseries u14826e pd789052, 789062 subseries u15861e caution the related documents listed above are subject to change without notice. be sure to use the latest version of each document for designing.
user?s manual u16499ej1v0um 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 2.2 initial settings of switches and jumpers ................................................................................... ............. 17 chapter 3 installation..................................................................................................... .............18 3.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 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 circuit....31 chapter 5 cautions ......................................................................................................... ................35 appendix a emulation probe pin assignment table ..........................................................36 appendix b cautions on designing target system .............................................................37
user?s manual u16499ej1v0um 8 list of figures figure no. title page 1-1 system configuration ........................................................................................................ ............................... 11 1-2 basic hardware configuration ................................................................................................ .......................... 13 2-1 IE-789860-NS-EM1 part names................................................................................................. ...................... 16 3-1 connection of emulation probe ............................................................................................... ......................... 19 3-2 connecting tp1 and target system power supply voltage ....................................................................... ..... 21 3-3 external circuits used as system clock oscillator ........................................................................... ............... 22 3-4 when using clock that is already 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 equivalent circuit 3 of emulation circuit................................................................................... ........................ 34 b-1 distance between in-circuit emulator and conversion socket .................................................................. ...... 37 b-2 connection conditions of target system ...................................................................................... ................... 38
user?s manual u16499ej1v0um 9 list of tables table no. title page 1-1 correspondence between emulation probe and conversion socket ...............................................................1 2 1-2 basic specifications ........................................................................................................ ..................................14 2-1 initial settings 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.................................................................................................. ............................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 socket ............................................................................ ..........37
user?s manual u16499ej1v0um 10 chapter 1 general this chapter describes the IE-789860-NS-EM1?s system configuration and basic 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
chapter 1 general user?s manual u16499ej1v0um 11 1.1 system configuration figure 1-1 illustrates the IE-789860-NS-EM1?s system configuration. figure 1-1. system configuration fg cable ie-78k0s-ns or ie-78k0s-ns-a (sold separately) ie-70000-cd-if-a (sold separately) debugger id78k0s-ns (sold separately) device file note 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 probe note 2 (sold separately) conversion socket (sold separately) ns card cable mc card cable interface cable interface card
chapter 1 general user?s manual u16499ej1v0um 12 notes 1. the device file is as follows, in accordance with the subseries. s df789861: pd789860, 789861 subseries s df789062: pd789052, 789062 subseries the device file can 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: 200 mm) ev-9500gs-20
chapter 1 general user ? s manual u16499ej1v0um 13 1.2 hardware configuration figure 1-2 shows the IE-789860-NS-EM1 ? s position 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)
chapter 1 general user?s manual u16499ej1v0um 14 1.3 basic specifications the basic specifications of the IE-789860-NS-EM1 are listed in table 1-2. table 1-2. basic specifications item description 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 v dd = 1.8 to 5.5 v (same as that of target device) operates on internal power supply (5 v) when target system is not c onnected
user?s manual u16499ej1v0um 15 chapter 2 part names this chapter introduces the parts of the IE-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.
chapter 2 part names user?s manual u16499ej1v0um 16 2.1 parts 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
chapter 2 part names user ? s manual u16499ej1v0um 17 2.2 initial settings 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 1234 initial setting off off off off
user?s manual u16499ej1v0um 18 chapter 3 installation this chapter describes methods for connecting the IE-789860-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.
chapter 3 installation user?s manual u16499ej1v0um 19 3.1 connection (1) connection with ie-78k0s-ns or ie-78k0s-ns-a main unit see the ie-78k0s-ns user?s manual (u13549e) for a description of how to connect the IE-789860-NS-EM1 to the ie-78k0s-ns note . note when using the ie-78k0s-ns-a, see the ie-78k0s-ns-a user?s manual (u15207e) . (2) connection with emulation probe see the ie-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. figure 3-1. connection of emulation probe main board of ie-78k0s-ns (sold separately) or ie-78k0s-ns-a (sold separately) IE-789860-NS-EM1 cn1 20gs emulation probe (sold separately)
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.
chapter 3 installation user ? s manual u16499ej1v0um 21 3.3 setting power supply voltage of target interface in the ie system, emulation is possible with a voltage of the same level as the power supply voltage of the target system. when the target system is not connected, the ie system automatically operates with the emulator ? s internal power supply (5 v). when debugging with a voltage that is the same level as that of the target system, supply the same voltage as that of the target system to the tp1 terminal pin of the IE-789860-NS-EM1 (the same applies when the voltage is 5 v). set the target voltage to between 1.8 and 5.5 v. for how to select the operating power supply, refer to the id78k series ver.2.30 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 (lv cc ) operating power supply selection when connecting target system 1.8 to 5.5 v target when not connecting target system 5 v internal figure 3-2. connecting tp1 and target system power supply voltage cn1 20gs tp1 lv cc v dd gnd gnd target system power supply voltage target system emulation probe led1 IE-789860-NS-EM1 caution before connecting tp1 on the board and the target system power supply voltage, turn off the power to the ie-78k0s-ns or ie-78k0s-ns-a. remark the v dd pin on the target system is exclusively used to control led1 (user vdd) that monitors whether the power supply of the target system is connected in the IE-789860-NS-EM1.
chapter 3 installation user ? s manual u16499ej1v0um 22 3.4 clock settings 3.4.1 overview of clock settings the system clock to be used during debugging can be selected from (1) to (3) below. (1) clock that is already mounted on emulation board (2) clock that is mounted by user (3) pulse input from target system if the target system includes a clock oscillator, select either (1) clock that is already mounted on emulation board or (2) clock that is mounted by user . for the clock oscillator, a resonator is connected to the target device and the target device ? s internal oscillator is used. an example of the external circuit is shown in part (a) of figure 3-3. during emulation, the oscillator that is mounted on the target system is not used. instead, the clock that is mounted on the emulation board installed in the ie-78k0s-ns or 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 figure 3-3. caution the ie system will be hung-up if the main system clock is not supplied normally. moreover, be sure to input a rectangular wave as the pulse from the target system. there is no need to supply a clock to the x2 pin. also, even if a crystal resonator is connected directly to x1 (for the main system clock), the target device will not operate. when emulating the pd789861 subseries, rc oscillation cannot be used. figure 3-3. external circuits used as system clock oscillator (a) clock oscillator (b) external clock x1 crystal or ceramic resonator v ss external clock x2 x1 x2 target device target device
chapter 3 installation user ? s manual u16499ej1v0um 23 (1) clock that is already mounted on emulation board the crystal oscillator mounted on the IE-789860-NS-EM1 can be used. a crystal oscillator (x1) is already mounted on the emulation board. its frequency is 5.0 mhz. figure 3-4. when using clock that is already mounted on emulation board ie-78k0s-ns or ie-78k0s-ns-a IE-789860-NS-EM1 mounted oscillator (used) emulation probe target system clock oscillator or external clock (not used) x1 remark the clock that is supplied by the oscillator of the IE-789860-NS-EM1 (encircled 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 mount the oscillator to be used. figure 3-5. when using user-mounted clock ie-78k0s-ns or ie-78k0s-ns-a IE-789860-NS-EM1 parts board + resonator or oscillator (used) emulation probe target system clock oscillator or external clock (not used) x1 remark the clock that is supplied by the resonator of the IE-789860-NS-EM1 (encircled in the figure) or the oscillator is used.
chapter 3 installation user ? s manual u16499ej1v0um 24 (3) pulse input from target system an external clock on the target system can be used as system clock via an emulation probe. figure 3-6. when supplying pulse from target system ie-78k0s-ns or ie-78k0s-ns-a IE-789860-NS-EM1 emulation probe target system external clock (used) mounted oscillator and resonator (not used) x1 remark the pulse that is supplied by the external clock on the target system (encircled in the figure) is used. 3.4.2 system clock settings table 3-4 shows the system clock settings of the IE-789860-NS-EM1 when the system clocks in (1) to (3) are used. table 3-4. main system clock settings IE-789860-NS-EM1 frequency of main system clock x1 socket cpu clock source selection (id78k0s-ns) (1) when using clock that is already mounted on emulation board 5.0 mhz oscillator (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?s clock). remark the factory settings of the IE-789860-NS-EM1 are those listed above under ? when using clock that is already mounted on emulation board ? . (1) when using clock that is already mounted on emulation board when the IE-789860-NS-EM1 is shipped, a 5.0 mhz crystal oscillator is already mounted in the ie-789860-ns- em1 ? s x1 socket. when using the factory-set mode settings, there is no need to make any other hardware settings. when starting the integrated debugger (id78k0s-ns), open the configuration dialog box and select ? internal ? in the area (clock) for selecting the cpu ? s clock source (this selects the emulator ? s internal clock).
chapter 3 installation user ? s manual u16499ej1v0um 25 (2) when using clock mounted by user perform the settings described under either (a) or (b), depending on the type of clock to be used. when starting the integrated debugger (id78k0s-ns), open the configuration dialog box and select ? internal ? in the area (clock) for selecting the cpu ? s clock source (this selects the emulator ? s internal clock). (a) when using a ceramic resonator or crystal resonator ? items to be prepared ? parts board ? capacitor ca ? ceramic resonator or crystal resonator ? capacitor cb ? resistor rx ? solder kit <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 resonator or crystal resonator 5-10 resistor rx 8-9 shorted circuit diagram remark the sections enclosed in broken lines indicate parts that are attached to the parts board. 1 2 3 4 5 6 7 14 13 12 11 10 9 8 1 m ? 11 4 3 12 cb ca 13 2 5 10 rx 9 8 clock out hcu04 hcu04
chapter 3 installation user ? s manual u16499ej1v0um 26 <2> prepare the IE-789860-NS-EM1. <3> remove the crystal oscillator that is mounted in the IE-789860-NS-EM1 ? s x1 socket. <4> connect the parts board (from <1> above) to the x1 socket from which the crystal oscillator was removed (in <3> above). check the pin 1 mark to make sure the board is mounted in the correct direction. <5> make sure that the parts board is wired as shown in figure 3-7 above. <6> install the IE-789860-NS-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 <1> prepare the IE-789860-NS-EM1. <2> remove the crystal oscillator that is mounted in the IE-789860-NS-EM1 ? s x1 socket. <3> connect a crystal oscillator to the x1 socket from which the crystal oscillator was removed (in <2> above). insert the pins of the crystal oscillator into the socket aligning the pins as shown in the figure below. v cc clock out gnd nc
chapter 3 installation user ? s manual u16499ej1v0um 27 figure 3-9. pin alignment of crystal oscillator and socket crystal oscillator pin name socket pin no. nc 1 gnd 7 clock out 8 v cc 14 <4> install the IE-789860-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 v cc clock out gnd nc crystal oscillator socket 1 2 3 4 5 6 7
chapter 3 installation user ? s manual u16499ej1v0um 28 3.5 mask option settings 3.5.1 mask option settings by setting the dip switch (sw1) in the IE-789860-NS-EM1, a 33 k ? pull-up resistor can be connected to p40 to p43 by mask option. use the mask option setting dialog box of the integrated debugger (id78k0s-ns) to set the mask option. when reading a project file, however, setting is not required. the results of reading a project file are reflected in 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-5. mask option setting of port 4 sw1 1234 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 (lv cc ). when it is off, the corresponding pull-up resistor is disconnected. set the dip switch to off for ports that do not exist. figure 3-10. mask option setting p40 p41 p42 p43 p40 emulation cpu probe p41 p42 p43 p40 p41 p42 p43 100 ? target lv cc 33 k ? the initial setting of all these switches is off. sw1 on off o f f 2 1 3 4 sw1
chapter 3 installation user ? s manual u16499ej1v0um 29 3.5.2 mask options of poc circuit the IE-789860-NS-EM1 includes a ? poc switching circuit ? that controls the power-on-clear circuit functions by software. perform the on/off settings using an sfr. when emulating the detection voltage of the low-voltage detection circuit and power-on-clear circuit, the detection voltage must be finally checked with eeprom tm products because of the effect of power supply fluctuations and noise. 3.5.3 mask options of oscillation stabilization wait time the oscillation stabilization wait time of the IE-789860-NS-EM1 is fixed to 2 7 /f x . 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 supply fluctuations and noise. table 3-6. differences in oscillation stabilization wait time ie-789860-ns- em1 pd789052 pd78e9860 pd789062 pd78e9861 pd789860 pd789861 oscillation stabilization wait time after release of stop mode by reset or release of reset via poc circuit 2 7 /f x 2 15 /f x 2 7 /f cc 2 15 /f x or 2 17 /f x can be selected by mask option 2 7 /f cc
chapter 3 installation user ? s manual u16499ej1v0um 30 3.6 external trigger to set an external trigger, connect the IE-789860-NS-EM1 ? s check pins extout and extin as shown below. see the ie-78k0s-ns user?s manual (u13549e) or ie-78k0s-ns-a user?s manual (u15207e) for pin characteristics. for the use methods, see the id78k series ver.2.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. figure 3-11. external trigger input position IE-789860-NS-EM1 cn1 led1 sw1 x1 (cp12) extout (cp11) extin user vdd ic5 external trigger tp1
user?s manual u16499ej1v0um 31 chapter 4 differences between target device and target interface circuit this chapter describes differences between the target device?s signal lines and the signal lines of the target interface circuit of the ie system. the target interface circuit of the ie system realizes emulation via an emulation 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 signals listed in (1) to (3) above. the same applies to handling alternate-function pins, for which no circuit is provided in the ie system.
chapter 4 differences between target device and target interface circuit user?s manual u16499ej1v0um 32 (1) signals directly input to or output from the emulation cpu refer to figure 4-1 equivalent circuit 1 of emulation circuit . the following signals operate the same as in the pd789052, 789062, 789860, and 789861 subseries. note that for the 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 emulation circuit ? probe side (target system) ? ie system side (IE-789860-NS-EM1) port 0 port 2 port 4 port 0 port 2 port 4 100 ? 100 ? 1 m ? 33 k ? sw1 lv cc
chapter 4 differences between target device and target interface circuit user?s manual u16499ej1v0um 33 (2) signals input from the target system via a gate since the following signals are input via a gate, their timing shows 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 ? lv cc 1 m ? 4.7 k ? hsk120 hsk120 x1 reset x1 (cl1) x2 (cl2) reset open hc4066 lv cc
chapter 4 differences between target device and target interface circuit user ? s manual u16499ej1v0um 34 (3) other signals refer to figure 4-3 equivalent circuit 3 of emulation circuit .  v dd pin the power supply of the emulation cpu operates on the internal power supply voltage (5 v) when the target system is not connected, and on the voltage (lv cc ) supplied from the power voltage supply pin (tp1) when the target system is connected. in the IE-789860-NS-EM1, the v dd pin of the target system is exclusively used for controlling led1 (user vdd), which monitors whether the power of the target system is on.  v ss pin the v ss pin is connected to gnd in the IE-789860-NS-EM1.  ic/v pp pin the ic/v pp pin is not used in the IE-789860-NS-EM1. figure 4-3. equivalent circuit 3 of emulation circuit ? probe side (target system) ? ie system side (IE-789860-NS-EM1) 100 ? 100 ? 1 m ? 0.1 f 1 m ? 22 f open g6h-2f (relay) + + ? pc393 + ? pc393 power supply detection power supply generation filter v dd v ss ic/v pp tp1 (lv cc ) tp1 (gnd)
user?s manual u16499ej1v0um 35 chapter 5 cautions this chapter describes differences between the target device specifications and the ie system specifications. the emulation circuit of the ie system realizes emulation via a configuration of emulation cpu, ttl, cmos-ic, and other components. therefore, the target device specifications are different from the ie system specifications. (1) the rc oscillator cannot be emulated in the IE-789860-NS-EM1. for the oscillator, only the functions described in 3.4 clock settings can be emulated. (2) when emulating the detection voltage of the low-voltage detection circuit and power-on-clear circuit in the ie- 789860-ns-em1, the detection voltage must be finally checked with eeprom products because of the effect of power supply fluctuations and noise. (3) if a program that illegally accesses eeprom is executed in the IE-789860-NS-EM1, the error message ?unspecified illegal? is displayed and a break occurs. the illegal access conditions 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 instruction fetch is executed from eeprom while eeprom is being written <6> if ewc = 0 is set while eeprom is being written <7> if the main clock is stopped while eeprom is being written <8> if the count clock selection of the write time setting timer is changed and executed while eeprom is being written <9> if reset is input while eeprom is being written (4) the IE-789860-NS-EM1 includes a ?poc switching circuit? that controls the power-on-clear (poc) circuit functions by software. perform the on/off settings using an sfr. (5) the oscillation stabilization wait time after the release of stop mode by reset or the release of reset via the poc circuit is fixed to ?2 7 /f x ? in the IE-789860-NS-EM1. for the mask options, only the functions described in 3.5 mask option settings can be emulated.
user?s manual u16499ej1v0um 36 appendix a emulation probe pin assignment table table a-1. np-20gs pin assignments emulation probe cn1 pin no. emulation probe cn1 pin no. 1331116 2321215 3741314 4311413 575156 634165 77174 88183 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.
user?s manual u16499ej1v0um 37 appendix b cautions on designing target system the following shows the conditions when connecting the emulation probe to the conversion socket. follow the configuration below and consider the shape of parts to be mounted on the target system when designing a system. among 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 board IE-789860-NS-EM1 conversion socket ev-9500gs-20 target system cn1 emulation probe np-20gs 185 mm
appendix b cautions on 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


▲Up To Search▲   

 
Price & Availability of IE-789860-NS-EM1

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X