|
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 pd789871 subseries IE-789871-NS-EM1 emulation board 2003 document no. u16479ej1v0um00 (1st edition) date published march 2003 n cp(k) printed in japan
user?s manual u16479ej1v0um 2 [memo] user?s manual u16479ej1v0um 3 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 november, 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 u16479ej1v0um 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. nec electronics america, inc. (u.s.) santa clara, california tel: 408-588-6000 800-366-9782 fax: 408-588-6130 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 shanghai, ltd. shanghai, p.r. china tel: 021-6841-1138 fax: 021-6841-1137 nec electronics taiwan ltd. taipei, taiwan tel: 02-2719-2377 fax: 02-2719-5951 nec electronics singapore pte. ltd. novena square, singapore tel: 6253-8311 fax: 6250-3583 j02.11 nec electronics (europe) gmbh duesseldorf, germany tel: 0211-65 03 01 fax: 0211-65 03 327 sucursal en espa ? a madrid, spain tel: 091-504 27 87 fax: 091-504 28 60 v lizy-villacoublay, france tel: 01-30-67 58 00 fax: 01-30-67 58 99 succursale fran ? aise filiale italiana milano, italy tel: 02-66 75 41 fax: 02-66 75 42 99 branch the netherlands eindhoven, the netherlands tel: 040-244 58 45 fax: 040-244 45 80 tyskland filial taeby, sweden tel: 08-63 80 820 fax: 08-63 80 388 united kingdom branch milton keynes, uk tel: 01908-691-133 fax: 01908-670-290 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 u16479ej1v0um 5 introduction product overview the IE-789871-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. ? pd789871 subseries: pd789870, 789871, 78f9872 target readers this manual is intended for engineers who will use the IE-789871-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-789871-NS-EM1, refer to not only this manual (supplied with the ie- 789871-ns-em1) but also the manual that is supplied with the ie-78k0s-ns or ie- 78k0s-ns-a. ie-78k0s-ns IE-789871-NS-EM1 user?s manual user?s manual ? basic specifications ? general ? system configuration ? part names ? external interface functions ? installation ? differences between target devices and target interface circuits 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-789871-NS-EM1. user?s manual u16479ej1v0um 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-789871-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 number ie-78k0s-ns in-circuit emulator u13549e ie-78k0s-ns-a in-circuit emulator u15207e IE-789871-NS-EM1 emulation board this manual id78k series integrated debugger ver. 2.30 or later operation windows? based u15185e pd789871 subseries u14938e caution the documents listed above are subject to change without notice. be sure to use the latest documents when designing. user?s manual u16479ej1v0um 7 contents chapter 1 general.......................................................................................................... .................10 1.1 system configuration........................................................................................................ ........................ 11 1.2 hardware configuration ...................................................................................................... ...................... 13 1.3 basic specifications ........................................................................................................ .......................... 13 chapter 2 part names ....................................................................................................... .............14 2.1 parts of main unit .......................................................................................................... ............................ 15 2.2 initial setting of jumper .................................................................................................. .......................... 16 chapter 3 installation..................................................................................................... .............17 3.1 connection .................................................................................................................. ............................... 18 3.2 switch and jumper settings on main unit ..................................................................................... ......... 19 3.3 setting power supply voltage of target interface............................................................................ ...... 20 3.4 clock settings .............................................................................................................. .............................. 21 3.4.1 overview of clock settings ................................................................................................ ............. 21 3.4.2 main system clock settings ................................................................................................ ............ 24 3.4.3 subsystem clock settings ................................................................................................. ............. 28 3.5 external trigger ............................................................................................................ ............................. 31 chapter 4 differences between target device and target interface circuit....32 appendix a emulation probe pin assignment table ..........................................................36 appendix b notes on target system design ..........................................................................37 user?s manual u16479ej1v0um 8 list of figures figure no. title page 1-1 system configuration ........................................................................................................ ............................... 11 1-2 basic hardware configuration ................................................................................................ .......................... 13 2-1 IE-789871-NS-EM1 part names................................................................................................. ...................... 15 3-1 connection of emulation probe ............................................................................................... ......................... 18 3-2 connecting tm1 and target system power supply voltage....................................................................... ..... 20 3-3 external circuits used as system clock oscillator ........................................................................... ............... 21 3-4 when using clock that is already mounted on emulation board (main system clock) ................................. 22 3-5 when using clock that is already mounted on emulation board (subsystem clock) .................................... 22 3-6 when using user-mounted clock (main system clock) ........................................................................... ....... 23 3-7 when using user-mounted clock (subsystem clock) ............................................................................. ........ 23 3-8 when supplying pulse from target system ..................................................................................... ................ 24 3-9 connections on parts board (main system clock).............................................................................. ............. 25 3-10 crystal oscillator (main system clock) ..................................................................................... ....................... 26 3-11 pin alignment of crystal oscillator and socket (main system clock) ......................................................... ..... 27 3-12 connections on parts board (subsystem clock)............................................................................... ............... 29 3-13 crystal oscillator (subsystem clock) ....................................................................................... ........................ 30 3-14 pin alignment of crystal oscillator and socket (subsystem clock) ........................................................... ...... 30 3-15 external trigger input position ............................................................................................ ............................. 31 4-1 equivalent circuit 1 of emulation circuit................................................................................... ........................ 33 4-2 equivalent circuit 2 of emulation circuit................................................................................... ........................ 33 4-3 equivalent circuit 3 of emulation circuit................................................................................... ........................ 34 4-4 equivalent circuit 4 of emulation circuit................................................................................... ........................ 35 b-1 distance between in-circuit emulator and conversion adapter ................................................................. ..... 37 b-2 connection conditions of target system ...................................................................................... ................... 38 user?s manual u16479ej1v0um 9 list of tables table no. title page 1-1 correspondence between emulation probe and conversion adapter..............................................................1 2 1-2 basic specifications ........................................................................................................ ..................................13 2-1 initial setting of jumper ................................................................................................... ..................................16 3-1 switch and jumper settings on ie-78k0s-ns................................................................................... ................19 3-2 switch and jumper settings on ie-78k0s-ns-a ................................................................................. ..............19 3-3 setting power supply of target interface.................................................................................... ......................20 3-4 main system clock settings.................................................................................................. ............................24 3-5 subsystem clock settings.................................................................................................... .............................28 a-1 np-h52gb-tq pin assignments................................................................................................. ......................36 b-1 distance between ie system and conversion adapter ........................................................................... .........37 user?s manual u16479ej1v0um 10 chapter 1 general the IE-789871-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. this chapter describes the IE-789871-NS-EM1?s system configuration and basic specifications. ? target devices ? pd789871 subseries chapter 1 general user?s manual u16479ej1v0um 11 1.1 system configuration figure 1-1 illustrates the IE-789871-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-789871-NS-EM1 (this product) ac adapter ie-70000-mc-ps-b (sold separately) emulation probe note 2 (sold separately) conversion adapter note 3 (sold separately) ns card cable mc card cable interface cable interface card chapter 1 general user ? s manual u16479ej1v0um 12 notes 1. the device file is as follows, in accordance with the subseries. s df789871: pd789871 subseries the device file can be downloaded from the website of nec electronics (http://www.necel.com/micro/) 2. the emulation probe np-h52gb-tq 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) 3. the conversion adapter tgb-052sbp 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 department (tel: +81-6-6244-6672) table 1-1. correspondence between emulation probe and conversion adapter package emulation probe conversion adapter 52-pin plastic lqfp (gb type) np-h52gb-tq (probe length: 400 mm) tgb-052sbp chapter 1 general user ? s manual u16479ej1v0um 13 1.2 hardware configuration figure 1-2 shows the IE-789871-NS-EM1 ? s position in the basic hardware configuration. figure 1-2. basic hardware configuration ie-78k0s-ns or ie-78k0s-ns-a IE-789871-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) 1.3 basic specifications the basic specifications of the IE-789871-NS-EM1 are listed in table 1-2. table 1-2. basic specifications parameter description target device pd789871 subseries system clock main system clock: 1.0 to 5.0 mhz subsystem clock: 32. 768 khz main system clock s upply external: input via an emulation probe from the target system internal: mounted on the emulation board (5.0 mhz), or mounted on the parts board by the user subsystem clock s upply external: input via an emulation probe from the target system internal: mounted on the emulation board (32.768 khz), or mounted on the parts board by the user target interface voltage v dd = 2.7 to 5.5 v (same as target device) operates on the internal power supply (5 v) when the target system is not c onnected user?s manual u16479ej1v0um 14 chapter 2 part names this chapter introduces the parts of the IE-789871-NS-EM1 main unit. the packing box contains the emulation board (IE-789871-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 u16479ej1v0um 15 2.1 parts of main unit figure 2-1 shows the part names of the IE-789871-NS-EM1. figure 2-1. IE-789871-NS-EM1 part names IE-789871-NS-EM1 cn1 52gb led9 p1 p2 p3 x1 jp1 xtc1 tm1 gnd low volt extout (tp2) extin (tp1) x2 subsystem clock socket tm1 cn1 probe connector 52gb user vdd x1 main system clock socket xtc1 subsystem clock x2 gnd low volt chapter 2 part names user ? s manual u16479ej1v0um 16 2.2 initial setting of jumper table 2-1 shows the initial setting of the jumper on the IE-789871-NS-EM1. for the setting of jp1, refer to 3.4 clock settings . table 2-1. initial setting of jumper jp1 initial setting 2 and 3 shorted user?s manual u16479ej1v0um 17 chapter 3 installation this chapter describes methods for connecting the IE-789871-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 u16479ej1v0um 18 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-789871-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-789871-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-789871-NS-EM1 cn1 52gb emulation probe (sold separately) chapter 3 installation user ? s manual u16479ej1v0um 19 3.2 switch and jumper settings on main unit (1) settings on the ie-78k0s-ns when using the IE-789871-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 connection may damage the IE-789871-NS-EM1. (2) settings on the ie-78k0s-ns-a when using the IE-789871-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 (fixed) shorted (fixed) caution incorrect connection may damage the IE-789871-NS-EM1. chapter 3 installation user ? s manual u16479ej1v0um 20 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 tm1 terminal pin of the IE-789871-NS-EM1 (the same applies when the voltage is 5 v). set the target voltage to between 2.7 and 5.0 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 tm1 2.7 to 5.0 v: approximately 125 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 2.7 to 5.0 v target when not connecting target system 5 v internal figure 3-2. connecting tm1 and target system power supply voltage cn1 52gb tm1 lowvolt v dd gnd gnd led9 IE-789871-NS-EM1 target system power supply voltage target system emulation probe caution before connecting tm1 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 dd0 and v dd1 pins on the target system are exclusively used to control led9 (user vdd), which monitors whether the power supply of the target system is connected in the IE-789871-NS-EM1. chapter 3 installation user ? s manual u16479ej1v0um 21 3.4 clock settings 3.4.1 overview of clock settings the main system clock and subsystem 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 and xt2 pins. also, even if a crystal resonator is connected directly to x1 (for the main system clock) or xt1 (for the subsystem clock), the target device will not operate. figure 3-3. external circuits used as system clock oscillator (a) clock oscillator (b) external clock x1 or xt1 crystal or ceramic resonator v ss external clock x2 or xt2 x1 or xt1 x2 or xt2 target device target device chapter 3 installation user ? s manual u16479ej1v0um 22 (1) clock that is already mounted on emulation board the crystal oscillator mounted on the IE-789871-NS-EM1 can be used. (a) main system clock 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 (main system clock) ie-78k0s-ns or ie-78k0s-ns-a IE-789871-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-789871-NS-EM1 (encircled in the figure) is used. (b) subsystem clock a crystal resonator (xtc1) is already mounted on the emulation board. its frequency is 32.768 khz figure 3-5. when using clock that is already mounted on emulation board (subsystem clock) ie-78k0s-ns or ie-78k0s-ns-a IE-789871-NS-EM1 mounted resonator (used) emulation probe target system clock oscillator or external clock (not used) x2 xtc1 remark the clock that is supplied by the resonator of the IE-789871-NS-EM1 (encircled in the figure) is used. chapter 3 installation user ? s manual u16479ej1v0um 23 (2) clock that is mounted by user the user can mount any clock supported by the set specifications on the IE-789871-NS-EM1. this feature is effective when debugging at a different frequency than the clock already mounted. (a) main system clock 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-6. when using user-mounted clock (main system clock) ie-78k0s-ns or ie-78k0s-ns-a IE-789871-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-789871-NS-EM1 (encircled in the figure) or the oscillator is used. (b) subsystem clock remove the parts board (x2) 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-7. when using user-mounted clock (subsystem clock) ie-78k0s-ns or ie-78k0s-ns-a IE-789871-NS-EM1 emulation probe target system clock oscillator or external clock (not used) parts board + resonator or oscillator (used) x2 xtc1 remark the clock that is supplied by the resonator of the IE-789871-NS-EM1 (encircled in the figure) or the oscillator is used. chapter 3 installation user ? s manual u16479ej1v0um 24 (3) pulse input from target system an external clock on the target system can be used as both the main system clock and subsystem clock via an emulation probe. figure 3-8. when supplying pulse from target system ie-78k0s-ns or ie-78k0s-ns-a IE-789871-NS-EM1 emulation probe target system external clock (used) mounted oscillator and resonator (not used) x1 xtc1 remark the pulse that is supplied by the external clock on the target system (encircled in the figure) or the oscillator is used. 3.4.2 main system clock settings table 3-4 shows the settings of the IE-789871-NS-EM1 when the main system clocks in (1) to (3) are used. table 3-4. main system clock settings IE-789871-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-789871-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-789871-NS-EM1 is shipped, a 5.0 mhz crystal oscillator is already mounted in the ie-789871-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 u16479ej1v0um 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 chapter 3 installation user ? s manual u16479ej1v0um 26 <2> prepare the IE-789871-NS-EM1. <3> remove the crystal oscillator that is mounted in the IE-789871-NS-EM1 ? s x1 socket. <4> connect the parts board (from <1> above) to the x1 socket from which the crystal oscillator was removed. 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-9 above. <6> install the IE-789871-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-10) figure 3-10. crystal oscillator (main system clock) chapter 3 installation user ? s manual u16479ej1v0um 27 figure 3-11. pin alignment of crystal oscillator and socket (main system clock) crystal oscillator pin name socket pin no. nc 1 gnd 7 clock out 8 v cc 14 <4> install the IE-789871-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 u16479ej1v0um 28 3.4.3 subsystem clock settings table 3-5 shows the settings of the IE-789871-NS-EM1 when the subsystem clocks in (1) to (3) are used. table 3-5. subsystem clock settings IE-789871-NS-EM1 frequency of sub system clock x2 socket jp1 (1) when using clock (xtc1) that is already mounted on emulation board 32.768 khz 6 and 8 shorted (2) when using clock mounted by user oscillator configured by user 2 and 3 shorted (3) when inputting pulse from target system other than 32.768 khz not used 1 and 2 shorted caution before setting jp1 to switch between the clock on the board and external clock, turn off the power of the ie-78k0s-ns or ie-78k0s-ns-a. remark the factory settings of the IE-789871-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-789871-NS-EM1 is shipped, a 32.768 khz crystal resonator (xtc1) and a parts board on which pins 6 and 8 are shorted are already mounted on the IE-789871-NS-EM1. short 2 and 3 of the jumper (jp1) on the IE-789871-NS-EM1. no settings are required on the integrated debugger (id78k0s-ns). (2) when using clock mounted by user perform the settings in (a) or (b) below, depending on the type of clock to be used. short 2 and 3 of the jumper (jp1) on the IE-789871-NS-EM1. no settings are required on the integrated debugger (id78k0s-ns). (a) when using a ceramic resonator or crystal resonator ? items to be prepared ? ceramic resonator or crystal resonator ? capacitor cb ? resistor rx ? solder kit ? capacitor ca chapter 3 installation user ? s manual u16479ej1v0um 29 figure 3-12. connections on parts board (subsystem clock) 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 remark the sections enclosed in broken lines indicate parts that are attached to the parts board. <3> make sure that the parts board (x2) is wired as shown in figure 3-12 above. <4> install the IE-789871-NS-EM1 in the ie-78k0s-ns or ie-78k0s-ns-a. 10 m ? 11 4 3 12 cb ca 13 2 5 10 rx 9 8 clock out hcu04 hcu04 10 m ? 32.768 khz hcu04 22 pf 22 pf hcu04 6 470 k ? circuit diagram 1 2 3 4 5 6 7 14 13 12 11 10 9 8 parts board (x2) chapter 3 installation user ? s manual u16479ej1v0um 30 (b) when using a crystal oscillator ? items to be prepared ? crystal oscillator (see pinouts shown in figure 3-13) figure 3-13. crystal oscillator (subsystem clock) chapter 3 installation user ? s manual u16479ej1v0um 31 3.5 external trigger to set an external trigger, connect the IE-789871-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-789871-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-789871-NS-EM1. input a high-level pulse signal for 2 cpu operation clocks or more. figure 3-15. external trigger input position cn1 52gb led9 p1 p2 p3 x1 jp1 xtc1 tm1 x2 gnd low volt extout extin external trigger IE-789871-NS-EM1 user?s manual u16479ej1v0um 32 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) fip signals (4) other signals the circuits of the IE-789871-NS-EM1 are used as follows for signals listed in (1) to (4) 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 u16479ej1v0um 33 (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 pd789871 subseries. signals related to port 0 signals related to port 1 signals related to port 2 figure 4-1. equivalent circuit 1 of emulation circuit port 0 port 1 port 2 port 0 port 1 port 2 probe side (target system) ie system side (IE-789871-NS-EM1) (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 pd789871 subseries. refer to figure 4-2 equivalent circuit 2 of emulation circuit . reset signal signals related to clock input the x2 and xt2 pins are not used in the IE-789871-NS-EM1. figure 4-2. equivalent circuit 2 of emulation circuit 100 ? lv cc 1 m ? 4.7 k ? x1, xt1 reset x1, xt1 x2, xt2 reset open hc4066 probe side (target system) ie system side (IE-789871-NS-EM1) chapter 4 differences between target device and target interface circuit user ? s manual u16479ej1v0um 34 (3) fip signals the following signals operate the same as in the pd789871 subseries. ? fip0 to fip8 the functions of the following signals are switched by a relay in the IE-789871-NS-EM1 so that alternate functions between port i/o pins and fip pins and the mask option function can be realized. refer to figure 4-3 equivalent circuit 3 of emulation circuit ? port 8 (fip17 to fip24) ? port 9 (fip9 to fip16) ? v load figure 4-3. equivalent circuit 3 of emulation circuit 62 k ? 62 k ? rd5.1e-b03 port 9 (fip9 to fip16) v load port 8 (fip17 to fip24) fip0 to fip8 port 9 (fip9 to fip16) v load port 8 (fip17 to fip24) fip0 to fip8 probe side (target system) ie system side (IE-789871-NS-EM1) chapter 4 differences between target device and target interface circuit user ? s manual u16479ej1v0um 35 (4) other signals refer to figure 4-4 equivalent circuit 4 of emulation circuit . v dd0 , v dd1 pins 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 supplied from the power voltage supply pin (tm1) (lv cc ) when the target system is connected. in the IE-789871-NS-EM1, the v dd0 and v dd1 pins of the target system are exclusively used for controlling led9 (user vdd), which monitors whether the power of the target system is on. v ss0 pin the v ss pin is connected to gnd in the IE-789871-NS-EM1. ic/v pp pin the ic/v pp pin is not used in the IE-789871-NS-EM1. figure 4-4. equivalent circuit 4 of emulation circuit 100 ? 100 ? 1 m ? 0.1 f 1 m ? 22 f open e82-5nu (relay) + + ? pc393 + ? pc393 power supply detection power supply generation filter v dd0 , v dd1 v ss0 ic/v pp tm1 (low volt) tm1 (gnd) probe side (target system) ie system side (IE-789871-NS-EM1) user?s manual u16479ej1v0um 36 appendix a emulation probe pin assignment table table a-1. np-h52gb-tq pin assignments emulation probe cn1 pin no. emulation probe cn1 pin no. 1 118 27 4 2 114 28 8 3 108 29 14 4 104 30 18 5 100 31 22 6943228 7303392 8293491 9243598 10 20 36 102 11 16 37 106 12 10 38 112 13 6 39 116 14 33 40 87 15 37 41 83 16 43 42 77 17 47 43 73 18 51 44 69 19 57 45 63 20 59 46 61 21 55 47 65 22 49 48 71 23 45 49 75 24 41 50 79 25 35 51 85 26 31 52 89 remarks 1. np-h52gb-tq is a product of naito densei machida mfg. co., ltd. 2. the numbers in the ?emulation probe? column indicate the corresponding pin number on the emulation probe tip. user?s manual u16479ej1v0um 37 appendix b notes on target system design the following shows the conditions when connecting the emulation probe to the conversion adapter. 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-h52gb-tq is a product of naito densei machida mfg. co., ltd, and tgb-064sbp is a product of tokyo eletech corporation. table b-1. distance between ie system and conversion adapter emulation probe conversion adapter distance between ie system and conversion adapter np-h52gb-tq tgb-052sbp 370 mm figure b-1. distance between in-circuit emulator and conversion adapter 370 mm note in-circuit emulator ie-78k0s-ns or ie-78k0s-ns-a emulation board IE-789871-NS-EM1 conversion adapter: tgb-052sbp target system cn1 emulation probe np-h52gb-tq appendix b notes on target system design user ? s manual u16479ej1v0um 38 figure b-2. connection conditions of target system emulation probe np-h52gb-tq emulation board IE-789871-NS-EM1 23 mm 10 mm 43 mm 45 mm target system 16.45 mm pin 1 11 mm conversion adapter tgb-052sbp 16.45 mm |
Price & Availability of IE-789871-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] |