Home

IE-784937-NS-EM1 Emulation Board UM

image

Contents

1. Remarks 1 The NP 100GF NP 100GF TQ and NP H100GF TQ are products 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 U16556EJ1VOUM 39 APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN CIRCUIT EMULATOR When performing programmable debugging using the in circuit emulator wait control must be performed by setting programmable wait control register 1 PWC1 and programmable wait control register 2 PWC2 If an external wait is set for the internal ROM area the CPU becomes deadlocked The deadlock status is cleared only by reset input 40 User s Manual U16556EJ1VOUM APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN CIRCUIT EMULATOR 1 Program wait control register 1 PWC1 of in circuit emulator Address OFFC7H After reset AAH R W Symbol 7 6 5 4 3 2 1 0 PWC1 PW31 PW30 PW21 PW20 PW11 PW10 PW01 PWOO n 0 to 3 Wait Target 00C000H 008000H 004000H 000000H Address to to to to OOFFFFH OOBFFFH 007FFFH O03FFFH No address wait insertion 1 wait access wait insertion 2 wait access wait insertion Access wait insertion for low level time input to WAIT pin 2 Program wait control register 2 PWC2 of in circuit emulator Address OFFC8H After reset AAAAH WwW Symbol 15 14 13 12 11 10 9 8 pwoz 7 6 5 4 3 2 1 0 PW71 PW70 PWe1 PW60 PW51
2. IE 784937 NS EM1 Emulation Board This manual ID78K Series Integrated Debugger Ver 2 30 or Later Windows Based Operation U15185E UPD784938A Subseries Hardware U15609E Caution The related documents listed above are subject to change without notice Be sure to use the latest version of each document for designing 6 User s Manual U16556EJ1VOUM CONTENTS CHAPTER 1 GENERA ier 10 1 1 Sy stem Configu atO mm ECC 11 1 2 Hardware Configuration ccscccscseeneeeseeseeeeseeeeseeeeeseeesseeeeeeeeneneeeseeeaseeeasesaeeeeaseeeaseeeaseeeaeeesaseeeeneesaseneeae 13 1 3 CIS CIU Pipe M 14 CHAPTER 2 PART NAMES RESEARCH 15 2 1 Parts Of Main Unit 16 CHAPTER S INSTALLATION oeoa ae enean ae decease Shel a Eed Ee Reade eee 18 3 1 COMME e 19 3 2 Selection of Emulator Main Unit eeseeeeeeeeeseeee eene eene nnn tnter nn nnn nn nnn na tnn nn nnn natnra 20 3 3 ClOCK Sete me M 20 3 3 1 Overview of clock settings icio cerei eec eerta ENEE einen e n an 20 3 3 2 Main system clock Settings nene ee Ce E Hn Pee ER p ERES E SHE e E UEBER Ka RR ARA SERRA 22 3 33 Timer clock settings EE 26 3 4 Pin Mask Function Settings ier rLecceneci deeg deed s uas chu ER ncn Reed 29 3 4 1 NMI interrupt mask Settingiano eae inneren nnne nnne nnne nnne n
3. Korea Tel 02 558 3737 Succursale Francaise V lizy Villacoublay France NEC Electronics Shanghai Ltd Tel 01 30 67 5800 Shanghai P R China M f Tel 021 6841 1138 e Filiale Italiana Milano Italy NEC Electronics Taiwan Ltd Tel 02 66 75 41 Taipei Taiwan Branch The Netherlands EES Eindhoven The Netherlands Tel 040 244 5845 NEC Electronics Singapore Pte Ltd Novena Square Singapore Tyskland Filial Tel 6253 8311 Taeby Sweden Tel 08 63 80 820 United Kingdom Branch Milton Keynes UK Tel 01908 691 133 J03 4 User s Manual U16556EJ1VOUM Product Overview Target Readers Organization Purpose INTRODUCTION The IE 784937 NS EM1 is designed to be used with the IE 78K4 NS to debug the following target devices that belong to the 78K IV Series of 16 bit single chip microcontrollers e uPD784938A Subseries DD784935A 784936A 784937A 784938A 78F4938A This manual is intended for engineers who will use the IE 784937 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 functions and use methods and to be knowledgeable about debugging When using the IE 784937 NS EM1 refer to not only this manual supplied with the IE 784937 NS EM1 but also the manual that is supplied with the IE 78K4 NS IE 78K4 NS IE 784937 NS EM1 User s Manual User s Manual e Basic specifications e General e Syste
4. Subseries Their AC characteristics and DC characteristics are therefore different from uPD784938A Subseries making it necessary to observe a stricter timing design than in the case of u PD784938A Subseries e RESET signal e Signals related to clock input Figure 4 2 Equivalent Circuit 2 of Emulation Circuit LVcc 4 7 KQ VHC244 ALTERA RESET SE EPM7128 15 i O RESET JP3 ALS157 Multiplier IE 784937 NS EM1 UMCLK mounted clock Input gt Output ACT86 RZT025P V ALS157 P 4 7 KQ VHC244 O O CLK IN X10 Multiplier O Input gt gt Output ACT86 RZT025P X20 Open Remark When using the IE 784937 NS EM1 with the IE 78K4 NS set JP3 with 1 and 2 shorted 34 User s Manual U16556EJ1VOUM CHAPTER A DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4 3 Equivalent Circuit 3 of Emulation Circuit Probe side IE system side 10 MQ Veo HCUO4 HCUO4 SEM B VHC244 p IC socket 470 kQ USCLK 32 768 kHz 22 pF L 22 pF 777 XT1 XT2 IC VrP O Open 3 Other signals e Vop pin When the emulation CPU is operating at 5 V its power is supplied from the internal IE system but when operating at low voltage its power is supplied from the low voltage pin TP1 The Voo pin of the target system is only used to control the LED USERV o in the IE system that monitors the input of the target system s power
5. 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 e 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 c
6. e Signals related to port 2 e Signals related to port 3 e Signals related to port 7 A D converter input e Signals related to port 9 e Signals related to port 10 e Signals related to PWM e Signals for ASTB CLKOUT e Signals related to IEBus controller e Signals related to A D converter e AVREF1 e AVss e AVpp Note The AVop 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 AVpp pin of the emulation CPU 32 User s Manual U16556EJ1VOUM CHAPTER A DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4 1 Equivalent Circuit 1 of Emulation Circuit Prove side IE system side 220 POO to P07 O O 220 P10 to P17 O O 1 MO LVcc 4 7 KQ 220 P20 SW1 O 1 MO 7T 220 P21 to P27 O O 1 MO 229 77 P30 to P37 O O 1 MO 22Q IT P40 to P47 O O 1 MO 22Q Se P50 to P57 O Q 220 P60 to P65 P67 O O 22 Q P66 O SW1 O 1 MO P70 to P77 O O 22 Q P90 to P97 O O 1 MO 22 Q P100 to P107 O O 1 MO AVreF1 O O LVcc AVop O Open L O AVss O O PWMO PWM1 O ASTB CLKOUT O O TX RX O O User s Manual U16556EJ1VOUM CHAPTER A DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS 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 that of the u PD784938A
7. supply e Vss pin The Vss pin is connected to GND inside the IE system User s Manual U16556EJ1VOUM 35 36 CHAPTER 5 RESTRICTIONS The IE 784937 NS EM1 has the following restrictions e The specification of the STOP mode of the watch timer function is different from that of the target device When the count clock is selected as the main clock the timer stops in the target device in STOP mode however the timer does not stop in the IE 784937 NS EM1 User s Manual U16556EJ1VOUM CHAPTER 6 CAUTIONS When using the IE 784937 NS EM1 observe the cautions below e Set the IE 784937 NS EM1 as follows when using it in combination with the IE 78K4 R EX3 in the IE 784000 R Note that the setting described in 3 1 Installation Procedure 2 of the IE 78K4 R EX3 Users Manual U16346E is not required 1 Set JP3 with 2 and 3 shorted 2 Mount a crystal oscillator in the UMCLK socket A 12 580 MHz crystal oscillator is mounted at shipment 3 Set SW1 as shown below Use the integrated debugger to manipulate the mask settings of WAIT HOLD and NMI Table 6 1 SW1 Setting When Using IE 784000 R Swi DIP Switch 1 2 3 4 5 6 7 seine ow ow e w ow 9 we Note SW1 7 is for setting the internal clock Table 6 2 SW1 7 Setting When Using IE 784000 R Connection of Target System Voo Detection Clock Frequency ON initial setting Connected 6 290 MHz divided by 2 Not connected 12 580 MHz Connected
8. 6 290 MHz divided by 2 Not connected 6 290 MHz divided by 2 Note When a 12 580 MHz crystal oscillator is mounted in the UMCLK socket shipment setting 3 Connect the 4937 PROBE Board GF to the IE 784937 NS EM1 Connect the 4937 PROBE Board GF to the IE 784937 NS EM1 aligning ACN1 and RCN3 on both sides Caution The 4937 PROBE Board GC is used for expansion It is not used in normal operation User s Manual U16556EJ1VOUM 37 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A 1 NP 100GF NP 100GF TQ NP H100GF TQ Pin Assignments 1 2 Emulation Probe ACN1 Pin No Emulation Probe ACN1 Pin No O aMaINI OI aAyT RI wo I A o E N k wo un A E oa A Oo EF N E co E ae ba o N A N N N wo Po Ka h Ru pe o N J Nm co N Cc o wo A o N WV 4 Remarks 1 The NP 100GF NP 100GF TQ and NP H100GF TQ are products 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 38 User s Manual U16556EJ1VOUM APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A 1 NP 100GF NP 100GF TQ NP H100GF TQ Pin Assignments 2 2 Emulation Probe ACN1 Pin No Emulation Probe ACN1 Pin No
9. NS EM1 Pins 6 and 8 on the parts board USCLK are shorted There is no need to make any other settings via the integrated debugger ID78K4 NS 2 When using clock mounted by user The settings described under either a or b are required depending on the type of clock to be used There is no need to make any other settings via the integrated debugger ID78K4 NS a When using a ceramic resonator or crystal resonator 9 items to be prepared e Parts board e Capacitor CA e Ceramic resonator or crystal resonator e Capacitor CB e Resistor Rx e Solder kit lt Steps gt lt 1 gt Solder the target ceramic resonator or crystal resonator resistor Rx capacitor CA and capacitor CB all with a suitable oscillation frequency onto the supplied parts board as shown below 26 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION Figure 3 9 Connections on Parts Board When Using Timer Clock or User Mounted Clock Parts board USCLK Pin No Connection Capacitor CB Capacitor CA Ceramic resonator or crystal resonator Resistor Rx Short Oo 0 fF Q LD Circuit diagram NEL ME 4p f 1 mM 3 CA CB 1 1 2 Remark The sections enclosed in broken lines indicate parts that are attached to the parts board 2 Prepare the IE 784937 NS EM1 3 Remove the parts board that is mounted in the IE 784937 NS EM1 s socket the socket marked as USCLK 4 Connect the pa
10. PW50 PW41 PW40 n 4 to 7 Wait Target 080000H 040000H 020000H 010000H Address to to to to OFFFFFH 07FFFFH O3FFFFH 01FFFFH No address wait insertion 1 wait access wait insertion 2 wait access wait insertion Access wait insertion for low level time input to WAIT pin Remark Wait cycle insertion is controlled by the entire address space except peripheral RAM area User s Manual U16556EJ1VOUM 41 APPENDIX C 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 100GF TQ and NP H100GF TQ are products of Naito Densei Machida Mfg Co Ltd and TGF 100RBP is a product of TOKYO ELETECH CORPORATION Table C 1 Distance Between IE System and Conversion Adapter Emulation Probe Conversion Adapter Distance Between IE System and Conversion Adapter NP 100GF TQ TGF 100RBP 155 mm NP H100GF TQ 355 mm Figure C 1 Distance Between IE System and Conversion Adapter In circuit emulator IE 78K4 NS Target system Emulation board IE 784937 NS EM1 Note 155 mm ACN1 Emulation probe NP 100GF TQ NP H100GF TQ Conversion adapter TGF 100RBP Note Distance when NP 100GF TQ is used When NP H100GF TQ is used the distance is 355 mm 42
11. Settings 3 4 4 NMI interrupt mask setting By setting switch 1 of the DIP switch SW1 in the IE 784937 NS EM1 it is possible to mask the NMI interrupt which is the alternate function of the P20 pin Table 3 3 DIP Switch Setting for NMI Interrupt Mask Status DIP Switch Setting 1 NMIMSK No NMI mask initial setting ON NMI masked OFF Caution Because the NMI interrupt is the alternate function of the P20 pin this pin cannot operate as the P20 pin when the NMI mask status has been set 3 4 2 Wait WAIT hold HOLD mask function By setting switches 2 to 4 of the DIP switch SW1 in the IE 784937 NS EM1 it is possible to mask the wait WAIT and hold HOLD alternate functions of the P66 pin in the PD784938A Subseries Table 3 4 DIP Switch Setting for Wait WAIT Hold HOLD Mask Function Status DIP Switch Setting 2 WAITMSK 3 HOLDMASK 4 P66ON No mask initial setting Hold masked Wait masked Caution Do not set the DIP switch to settings other than those above 3 4 8 Wait display function setting By setting switch 5 of the DIP switch SW1 in the IE 784937 NS EM1 it is possible to display the status of waiting with an LED light Table 3 5 DIP Switch Setting for Wait Display Function Status DIP Switch Setting 5 WAITLED Wait WAIT status not displayed OFF Wait WAIT status displayed initial setting ON Caution When pin P66 is used as a port pin unle
12. shown in the figure below 24 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION Figure 3 8 Pin Alignment of Crystal Oscillator and Socket naaister CY ON Crystal Oscillator Pin Name Socket Pin No NC Vcc NC 1 14 GND 2 13 3 42 CLOCK OUT 4 11 Voc 5 10 6 9 GND CLOCK OUT 7 8 lt 4 gt Connect the IE 784937 NS EM1 to the IE 78K4 NS The above steps configure the circuit and enable supply of the clock from the mounted resonator to the emulation device 3 When using external clock No hardware settings are required for this situation When starting the integrated debugger ID78K4 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 User s Manual U16556EJ1VOUM 25 CHAPTER 3 INSTALLATION 3 3 8 Timer clock settings Table 3 2 Timer Clock Settings Frequency of Timer Clock IE 784937 NS EM1 Parts Board USCLK When using clock that is already 32 768 kHz 6 and 8 shorted mounted on emulation board When using clock mounted by user Other than 32 768 kHz Oscillator assembled by user Remark The IE 784937 NS EM1 s factory settings 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 784937 NS EM1 is shipped a 32 768 kHz crystal resonator is already mounted on the IE 784937
13. 12 B si Sp cifications ere cni ere ea ite dai Te LO P Pte Eu ve Veto dece sc dide 14 Main System ere ln e EE 22 subsystem Glock Settihgs intet e ed ete ie Bete Dee des 26 DIP Switch Setting for NMI Interrupt Mask A 29 DIP Switch Setting for Wait WAIT Hold HOLD Mask Function 29 DIP Switch Setting for Wait Display Function sssssseseseeeeeennenneeenenennenn nennen nennen nnne 29 DIP Switch Setting for Hold Display Function seseseeeeeeneeneeneee nne 30 SW1 Setting When Using IE 84000 37 SW1 7 Setting When Using IE 784000 R sssessssssseseseeeeen nennen nennen en rene nnne nnne nnns enne nnne nnns 37 NP 100GF NP 100GF TQ NP H100GF TQ Pin Assignments sssssssssseeeeeeeeneenneen 38 Distance Between IE System and Conversion Adapter sssssssssseeneeeeneeeneennenennn 42 User s Manual U16556EJ1VOUM 9 CHAPTER 1 GENERAL The IE 784937 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 IV Series of 16 bit single chip microcontrollers This chapter describes the IE 784937 NS EM1 s system configuration and basic specifications Target devices e uPD784938A Subseries 10 User s Manual U16556EJ1VOUM CHAPTER 1 GENERAL 1 1 System Configuration Figure 1 1 illustrates the IE 784937 NS EM1 s system configuration Figure 1 1 System Co
14. CA CB 1 14 2 Remark The sections enclosed in broken lines indicate parts that are attached to the parts board User s Manual U16556EJ1VOUM 23 CHAPTER 3 INSTALLATION lt 2 gt Prepare the IE 784937 NS EM1 lt 3 gt Remove the crystal oscillator that is mounted in the IE 784937 NS EM1 s socket the socket marked as UMCLK 4 Connect the parts board from 1 above to the socket UMCLK from which the crystal oscillator was removed see 3 above Check the pin 1 mark to make sure the board is mounted in the correct direction 5b 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 Connect the IE 784937 NS EM1 to the IE 78K4 NS The above steps configure the circuit and enable supply of the clock from the mounted resonator to the emulation device b When using a crystal oscillator 9 items to be prepared e Crystal oscillator see pinouts shown in Figure 3 7 Figure 3 7 Crystal Oscillator When Using Main System Clock or User Mounted Clock NC Vcc GND CLOCK OUT Steps 1 Prepare the IE 784937 NS EM1 2 Remove the crystal oscillator that is mounted in the IE 784937 NS EM1 s socket the socket marked as UMCLK 8 Connect the crystal oscillator from 2 above to the socket UMCLK from which the crystal oscillator was removed Insert the crystal oscillator pin into the socket aligning the pins as
15. To our customers Old Company Name in Catalogs and Other Documents On April 17 2010 NEC Electronics Corporation merged with Renesas Technology Corporation and Renesas Electronics Corporation took over all the business of both companies Therefore although the old company name remains in this document it is a valid Renesas Electronics document We appreciate your understanding Renesas Electronics website http www renesas com April 1 2010 Renesas Electronics Corporation Issued by Renesas Electronics Corporation http www renesas com Send any inquiries to http www renesas com inquiry 24 NC S AS 10 11 12 Notice All information included in this document is current as of the date this document is issued Such information however is subject to change without any prior notice Before purchasing or using any Renesas Electronics products listed herein please confirm the latest product information with a Renesas Electronics sales office Also please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website Renesas 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 Renesas Electronics products or technical information described in this document No license express implied or otherwise is g
16. User s Manual U16556EJ1VOUM APPENDIX C NOTES ON TARGET SYSTEM DESIGN Figure C 2 Connection Conditions of Target System When NP 100GF TQ Is Used Emulation board IE 784937 NS EM1 Emulation probe Ba NP 100GF TQ SC A Conversion adapter TY I e SS TGF 100RBP R Mke f o IN T0 di ae j p j E A Bin CUu 275 mm Target system Figure C 3 Connection Conditions of Target System When NP H100GF TQ Is Used Emulation board IE 784937 NS EM1 Emulation probe NP H100GF TQ Conversion adapter Rem Uam Mem JJ JJ d User s Manual U16556EJ1VOUM 43
17. but Renesas Electronics does not warrant that such information is error free Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein Renesas Electronics products are classified according to the following three quality grades Standard High Quality and Specific The recommended applications for each Renesas Electronics product depends on the product s quality grade as indicated below You must check the quality grade of each Renesas Electronics product before using it in a particular application You may not use any Renesas Electronics product for any application categorized as Specific without the prior written consent of Renesas Electronics Further you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as Specific or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics The quality grade of each Renesas Electronics product is Standard unless otherwise expressly specified in a Renesas Electronics data sheets or data books etc Standard Computers offic
18. correspondence between emulation probes and conversion adapters that are sold separately Table 1 1 Correspondence Between Emulation Probes and Conversion Adapters Emulation Probe Conversion Adapter 100 pin plastic QFP NP 100GF Probe length 200 mm EV 9200GF 100 GF 3BA type NP 100GF TQ Probe length 200 mm TGF 100RBP NP H100GF TQ Probe length 400 mm 12 User s Manual U16556EJ1VOUM CHAPTER 1 GENERAL 1 2 Hardware Configuration Figure 1 2 shows the IE 784937 NS EM1 s position in the basic hardware configuration Figure 1 2 Basic Hardware Configuration Dedicated bus interface IE system EE R58 IE 78K4 NS sold separately IE 784937 NS EM1 DEE Interface board 78K4 main board Emulation board sold separately G 78K4 MAIN Board This product H 78K4 emulation board G 78K4 EM Board Interface card sold separately Emulation probe sold separately User s Manual U16556EJ1VOUM 13 CHAPTER 1 GENERAL 1 3 Basic Specifications The IE 784937 NS EM1 s basic specifications are listed in Table 1 1 Table 1 2 Basic Specifications Parameter Description Target device LPD784935A 784936A 784937A 784938A 78F4938A Subseries System clock 12 58 MHz Main system clock supply External Input via an emulation probe from the target system Internal Mounted on emulation board 12 58 MHz or mounted on the board by the user Timer clock supply External Input
19. d Mount the 4937 PROBE Board when using the IE 784000 R Refer to CHAPTER 6 CAUTIONS User s Manual U16556EJ1VOUM 19 CHAPTER 3 INSTALLATION 3 2 Selection of Emulator Main Unit JP3 in the IE 784937 NS EM1 must be set in accordance with the emulator main unit to be used as follows Using IE 784937 NS EM1 in combination with IE 78K4 NS Short 1 and 2 shipment setting Using IE 784000 R in combination with IE 784937 NS EM1 and IE 78K4 R EX3 Short 2 and 3 3 3 Clock Settings 3 3 1 Overview of clock settings The main system clock to be used during debugging can be selected from 1 to 3 below and the timer clock from 1 and 2 below 1 Clock that is already mounted 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 that is mounted by user For an internal clock the target device is connected to a resonator and the target device s internal oscillator is used An example of the external circuit is shown in part a of Figure 3 2 During emulation the resonator that is mounted on the target system is not used Instead it uses the clock that is mounted on the emulation board which is installed for the IE 78K4 NS If the target system includes an external clock select 3 External clock For an external clock a clock signal is supplied from outside of the target device and
20. e equipment communications equipment test and measurement equipment audio and visual equipment home electronic appliances machine tools personal electronic equipment and industrial robots High Quality 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 medical equipment or systems for life support e g artificial life support devices or systems surgical implantations or healthcare intervention e g excision etc and any other applications or purposes that pose a direct threat to human life You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics especially with respect to the maximum rating operating supply voltage range movement power voltage range heat radiation characteristics installation and other product characteristics Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges Although Renesas Electronics endeavors to improve the quality and reliability of its products semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under c
21. ertain use conditions Further Renesas Electronics products are not subject to radiation resistance design Please be sure to implement safety measures to guard them against the possibility of physical injury and injury or damage caused by fire in the event of the failure of a Renesas Electronics product such as safety design for hardware and software including but not limited to redundancy fire control and malfunction prevention appropriate treatment for aging degradation or any other appropriate measures Because the evaluation of microcomputer software alone is very difficult please evaluate the safety of the final products or system manufactured by you Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances including without limitation the EU RoHS Directive Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations This document may not be reproduced or duplicated in any form in whole or in part without prior written consent of Renesas Electronics Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electro
22. ication 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 U16556EJ1VOUM 3 Regional Information Some information contained in this document may vary from country to country Before using any NEC Electronics product in your application please contact the NEC Electronics office in your country to obtain a list of authorized representatives and distributors They will verify Device availability e Ordering information e Product release schedule Availability of related technical literature e 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 NEC Electronics Europe GmbH NEC Electronics Hong Kong Ltd Santa Clara California Duesseldorf Germany Hong Kong Tel 408 588 6000 Tel 0211 65 03 01 Tel 2886 9318 800 366 9782 Sucursal en Espana NEC Electronics Hong Kong Ltd Madrid Spain Seoul Branch Tel 091 504 27 87 Seoul
23. lassified 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 appl
24. m configuration e Part names e External interface functions e Installation e Differences between target devices and target interface circuits e Restrictions e Cautions This manual s purpose is to explain various debugging functions that can be performed when using the IE 784937 NS EM1 User s Manual U16556EJ1VOUM 5 Terminology The meanings of certain terms used in this manual are listed below 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 a real chip that is the target for emulation Target system This includes 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 IE 78K4 NS and the IE 784937 NS EM1 Conventions Data significance Higher digits on the left and lower digits on the right Note Footnote for item marked with Note in the text Caution Information requiring particular attention Remark Supplementary information Related Documents The related documents users manuals indicated in this publication may include preliminary versions However preliminary versions are not marked as such Document Name Document No IE 78K4 NS In Circuit Emulator U13356E
25. n OO EE ole HA3 SN Z 67v82 3l EXTOUT External sense EXTIN User s Manual U16556EJ1VOUM 31 CHAPTER A 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 784937 NS EM1 s target interface circuit Although the target device is a CMOS circuit the IE 784937 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 wPD784938A Subseries For the signals related to ports excluding port 7 having alternate function as a pin for A D converter however a 1 MQ pull down resistor and 22 Q resistor are inserted in series e Signals related to port 0 e Signals related to port 1
26. n Emulation Board 21 When Using User Mounted Clock AAA 21 When Using an External OCock A 22 Connections on Parts Board When Using Main System Clock or User Mounted Clock 23 Crystal Oscillator When Using Main System Clock or User Mounted Clock ssssesessssss 24 Pin Alignment of Crystal Oscillator and Gocket AA 25 Connections on Parts Board When Using Timer Clock or User Mounted Clock sessssse 27 Crystal Oscillator When Using Timer Clock or User Mounted Clock cccceeseeceeeeeeeeeeeesseeeeeeesneeeeeees 28 External Trigger Input Position 3 eei RR ORO ree E RC EE ER HERI RN IER 31 Equivalent Circuit 1 of Emulation Circuit sessessesseeeeeeneenneennee nennen nennen nennen enne nnne 33 Equivalent Circuit 2 of Emulation Circuit eessseessesseesseeeeneeneneennee nennen nennen rennen nnne nennen 34 Equivalent Circuit 3 of Emulation Circuit essen ener 35 Distance Between IE System and Conversion Adapter AA 42 Connection Conditions of Target System When NP 100GF TQ Is Usedt 43 Connection Conditions of Target System When NP H100GF TQ Is Used sese 43 User s Manual U16556EJ1VOUM Table No 1 1 1 2 3 1 3 2 3 3 3 4 3 5 3 6 6 1 6 2 A 1 C 1 LIST OF TABLES Title Page Correspondence Between Emulation Probes and Conversion Adapters sese
27. nfiguration Debugger Device fi gNete 1 ID78K4 NS sold separately sold separately G LL lj Control software Host machine PC 9800 Series or IBM PC AT or compatibles Interface board Interface board Interface board IE 70000 98 IF C IE 70000 PC IF C IE 70000 PCI IF A sold separately sold separately sold separately J U 0 Interface cable NS IF Cable Interface cable IE BKA NS sold separately In circuit emulator mma mom RR e adco n D m A IE 70000 CD IF A sold separately IE 784937 NS EM1 This product 2 dee AC adapter IE 70000 MC PS B sold separately Emulation probeete 2 sold separately J Conversion socket conversion adapterNete 3 sold separately User s Manual U16556EJ1VOUM 11 CHAPTER 1 GENERAL Notes 1 The device file is as follows LSxxxxDF784937 uPD784938A Subseries The device file can be downloaded from the website of NEC Electronics http www necel com micro 2 The emulation probes NP 100GF NP 100GF TQ and NP H100GF TQ are products 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 TGF 100RBP is a product of TOKYO ELETECH CORPORATION For further information contact Daimaru Kogyo Co Ltd Tokyo Electronics Department TEL 81 3 3820 7112 Osaka Electronics Department TEL 81 6 6244 6672 Table 1 1 shows the
28. ngs When starting the integrated debugger ID78K4 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 User s Manual U16556EJ1VOUM When using the factory set mode settings there is no need to make any other CHAPTER 3 INSTALLATION 2 When using clock mounted by user The settings described under either a or b are required depending on the type of clock to be used When starting the integrated debugger ID78K4 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 9 items to be prepared e Parts board e Capacitor CA e Ceramic resonator or crystal resonator e Capacitor CB e Resistor Rx e Solder kit Steps 1 Solder the target ceramic resonator or crystal resonator resistor Rx capacitor CA and capacitor CB all with a suitable oscillation frequency onto the parts board as shown below Figure 3 6 Connections on Parts Board When Using Main System Clock or User Mounted Clock Parts board UMCLK Connection Capacitor CB Capacitor CA Ceramic resonator or crystal resonator Resistor Rx Oo 0 fF Q IN Short Circuit diagram Tot 989 CLOCK OUT OW H x ael aeri n l I pers deemed I
29. nics products or if you have any other inquiries Note 1 Renesas Electronics as used in this document means Renesas Electronics Corporation and also includes its majority owned subsidiaries Note 2 Renesas Electronics product s means any product developed or manufactured by or for Renesas Electronics 434 NE SAS User s Manual IE 784937 NS EM1 Emulation Board Target devices uPD784938A Subseries Document No U16556EJ1VOUMOO 1st edition Date Published May 2003 N CP K NEC Electronics Corporation 2003 Printed in Japan MEMO 2 User s Manual U16556EJ1VOUM 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 January 2003 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 e 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
30. nne 29 3 4 2 Wait WAIT hold HOLD mask TIuncton nennen 29 3 4 8 Wait display function setting nennen nennen nennen nnne nennen nnns 29 3 4 4 X Hold display function settings nsnsi iiie deei iie g ie atadai ani 30 3 5 Low Voltage Emulation Setting csccccsceseseeeeeeeeeneeeeeeeeeeeeeeenseeeeeeeeeseeeeeseeeasaeeseeeeaseeeseeeaseeeaeeeeseneeeeneeas 30 3 6 IJACIOEUBREI TER EE 31 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS 32 CHAPTER RESTRICTIONS 3 12 ergeet Eege 36 CHAPTER 6 CAUTIONS erret eterne eise seer eset etie ec a a aa anaa aaa eaaa e ne seustuasateesuevetsdte 37 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE eene 38 APPENDIX B PROGRAM WAIT CONTROL REGISTER SETTINGS IN IN CIRCUIT EMULATOR 40 APPENDIX C NOTES ON TARGET SYSTEM DESIGN eere nnns nnns nennen 42 User s Manual U16556EJ1VOUM 7 Figure No 1 1 1 2 2 1 2 2 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 3 10 3 11 4 1 4 2 4 3 C 1 C 2 C 3 LIST OF FIGURES Title Page En Meel e E TEE 11 Basic Hardware Configuration essen enne nennen e eino e iiaeiai eie edana 13 IE 784937 NS EM1 Part Names AAA 16 4937 PROBE Board Part Names AA 17 Connection of Emulation Probe kiesne cete ee V ue d vie eter nln aea iaaeaie 19 External Circuits Used as System Clock Oscillator eene 20 When Using Clock That Is Already Mounted o
31. or expansion User s Manual U16556EJ1VOUM 17 CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE 784937 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 changes must be carried out after the power supply to both the IE system and the target system has been switched OFF 18 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION 3 1 Connection 1 Connection with IE 78K4 NS main unit See the IE 78K4 NS User s Manual U13356E for a description of how to connect the IE 784937 NS EM1 to the IE 78K4 NS 2 Connection with emulation probe See the IE 78K4 NS User s Manual U13356E for a description of how to connect an emulation probe to the IE 784937 NS EM1 Connect the emulation probe to ACN1 on this board Cautions 1 Incorrect connection may damage the IE system Be sure to read the emulation probe s user s manual for a detailed description of the connection method 2 Do not use ACN2 which is for expansion Figure 3 1 Connection of Emulation Probe Emulation probe Emulation board sold separately G 78K4 EM Board ACN for expansion ACN1 100GF RCNS for IE 784000 R Emulation board IE 784937 NS EM1 Main board G 78K4 MAIN Board 3 Mounting 4937 PROBE Board The 4937 PROBE Board need not be mounted when the IE 78K4 NS is use
32. ranted hereby under any patents copyrights or other intellectual property rights of Renesas Electronics or others You should not alter modify copy or otherwise misappropriate any Renesas Electronics product whether in whole or in part Descriptions of circuits software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples You are fully responsible for the incorporation of these circuits software and information in the design of your equipment Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits software or information When exporting the products or technology described in this document you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military including but not limited to the development of weapons of mass destruction Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture use or sale is prohibited under any applicable domestic or foreign laws or regulations Renesas Electronics has used reasonable care in preparing the information included in this document
33. rts board from 1 above to the socket USCLK from which the parts board was removed see 3 above Check the pin 1 mark to make sure the board is mounted in the correct direction 5b Connect the IE 784937 NS EM1 to the IE 78K4 NS The above steps configure the circuit and enable supply of the clock from the mounted resonator to the emulation device User s Manual U16556EJ1VOUM 27 CHAPTER 3 INSTALLATION b When using a crystal oscillator items to be prepared e Crystal oscillator see pinouts shown in Figure 3 10 Figure 3 10 Crystal Oscillator When Using Timer Clock or User Mounted Clock NC Vcc GND CLOCK OUT lt Steps gt lt 1 gt Prepare the IE 784937 NS EM1 2 Remove the parts board that is mounted in the IE 784937 NS EM1 s socket the socket marked as USCLK lt 3 gt Connect the crystal oscillator from lt 2 gt above to the socket USCLK from which the parts board was removed Insert the crystal oscillator pin into the socket aligning the pins as shown below Crystal oscillator CX Socket Crystal Oscillator Pin Name Socket Pin No NC ds x in GND 2 13 3 12 CLOCK OUT 4 11 Ver 5 10 6 9 GND CLOCK OUT 7 8 lt 4 gt Connect the IE 784937 NS EM1 to the IE 78K4 NS The above steps configure the circuit and enable supply of the clock from the mounted oscillator to the emulation device 28 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION 3 4 Pin Mask Function
34. ss the DIP switch is turned OFF the LED may light up User s Manual U16556EJ1VOUM 29 CHAPTER 3 INSTALLATION 3 4 4 Hold display function setting The IE 784937 NS EM1 lights the LED during hold to indicate the status The hold display function can be selected by setting 6 of the DIP switch SW1 Table 3 6 DIP Switch Setting for Hold Display Function DIP Switch Setting 6 HOLDLED Hold HOLD status not displayed initial setting OFF Hold HOLD status displayed ON Caution When using the P66 pin as a port set the DIP switch to OFF Otherwise the LED may be lit 3 5 Low Voltage Emulation Setting Low voltage 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 784937 NS EM1 Set the target voltage between 2 7 and 5 5 V during 6 29 MHz operation and between 4 5 and 5 5 V during 12 58 MHz operation e Maximum current consumption of TP1 5V 300 mA 2 7V 250mA 30 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION 3 6 External Trigger To set up an external trigger connect it to the IE 784937 NS EM1 s check pin EXTOUT pin and EXTIN pin as shown below For pin characteristics refer to the IE 78K4 NS User s Manual U13356E For usage details refer to the ID78K Series Ver 2 30 or Later Windows Based Operation User s Manual U15185E Figure 3 11 External Trigger Input Positio
35. the target device s internal oscillator is not used An example of the external circuit is shown in part b of Figure 3 2 Figure 3 2 External Circuits Used as System Clock Oscillator a Internal clock b External clock Target device Target device External clock X1 or XT1 X1 or XT1 X2 or XT2 X2 or XT2 inal 20 User s Manual U16556EJ1VOUM CHAPTER 3 INSTALLATION 1 Clock that is already mounted on emulation board A crystal oscillator is already mounted on the emulation board Its frequency is 12 58 MHz Figure 3 3 When Using Clock That Is Already Mounted on Emulation Board IE 78K4 NS IE 784937 NS EM1 Target system Mounted Emulation probe oscillator to be used Resonator not used Remark The clock that is supplied by the IE 784937 NS EM1 s oscillator encircled in the figure is used 2 Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE 784937 NS EM1 First mount the resonator on the parts board then attach the parts board to the IE 784937 NS EM1 This method is useful when using a different frequency from that of the pre mounted clock Figure 3 4 When Using User Mounted Clock Parts board IE 784937 NS EM1 Resonator Target system to be used Emulation probe Resonator not used Remark The clock that is supplied by the IE 784937 NS EM1 s resonator encircled in the figure is used User s Man
36. ual U16556EJ1VOUM 21 CHAPTER 3 INSTALLATION 3 External clock An external clock connected to the target system can be used via an emulation probe Figure 3 5 When Using an External Clock IE 78K4 NS IE 784937 NS EM1 Target system Emulation probe Clock generator to be used Remark The clock supplied by the target system s clock generator encircled in the figure is used 3 3 2 Main system clock settings Table 3 1 Main System Clock Settings Frequency of Main System Clock IE 784937 NS EM1 CPU Clock Source Selection ID78K4 NS Parts Board UMCLK When using clock that is 12 580 MHz Oscillator used Internal already mounted on emulation board When using clock mounted Other than 12 580 MHz Oscillator assembled by user by user When using external clock Oscillator not used External Caution When using an external clock open the configuration dialog box when starting the integrated debugger ID78K4 NS and select External in the area Clock for selecting the CPU s clock Remark The IE 784937 NS EM1 s factory settings are those listed above under when using clock that is already source this selects the user s clock mounted on emulation board 1 When using clock that is already mounted on emulation board 22 When the IE 784937 NS EM1 is shipped a 12 580 MHz crystal oscillator is already mounted in the IE 784937 NS EM1 s UMCLK socket hardware setti
37. via an emulation probe from the target system Internal Mounted on emulation board 32 768 kHz or mounted on the board by the user Low voltage support 2 7 to 5 5 V at 6 29 MHz operation 4 5 to 5 5 V at 12 58 MHz operation 14 User s Manual U16556EJ1VOUM CHAPTER 2 PART NAMES This chapter introduces the parts of the IE 784937 NS EM1 main unit The packing box contains the emulation board IE 784937 NS EM1 4937 PROBE Board GC and 4937 PROBE Board GF If there are any missing or damaged items please contact an NEC sales representative Fill out and return the guarantee document that comes with the main unit User s Manual U16556EJ1VOUM 15 CHAPTER 2 PART NAMES 2 1 16 Parts of Main Unit Figure 2 1 IE 784937 NS EM1 Part Names SW1 JP3 UMCLK USCLK IE 784937 NS EM1 User s Manual U16556EJ1VOUM WAIT LED2 HOLD LED3 GND TP1 LowVolt EXTOUT External sense EXTIN Probe connector ACN for expansion Probe connector ACN1 100GF Connector for IE 784000 R RCN3 USER VDD LED CHAPTER 2 PART NAMES Figure 2 2 4937 PROBE Board Part Names a 4937 PROBE Board GF b 4937 PROBE Board GC RCN3 RCN3 p ACN1 ACN2 Caution The 4937 PROBE Board GF is used when the IE 784937 NS EM1 and IE 78K4 R EX3 are combined to connect to the IE 784000 R The 4937 PROBE Board GF is not used for connection with the IE 78K4 NS the 4937 PROBE Board GC is used f

Download Pdf Manuals

image

Related Search

Related Contents

  取扱説明書・料理集 - 取扱説明書ダウンロード  User Manual - Hydrometeorology and Remote Sensing Laboratory  Kaspersky Mobile Security 7.0 Enterprise Edition  取扱説明書 - 三共電子  systema inverter multi split unità interna manuale di installazione  c. how to use “pinky voice”  CONFERENCE SYSTEM Operating Instructions  Husky MPL4136-BLK Use and Care Manual  BA63GV - Wincor Nixdorf  

Copyright © All rights reserved.
Failed to retrieve file