NEC IE-789835-NS-EM1 User Manual

Emulation board

Advertisement

Quick Links

User's Manual
IE-789835-NS-EM1
Emulation Board
Target Devices
µ µ µ µ PD789835 Subseries
Document No. U16290EJ1V0UM00 (1st edition)
Date Published October 2002 N CP(K)
2002
©
1991
Printed in Japan

Advertisement

Table of Contents
loading

Summary of Contents for NEC IE-789835-NS-EM1

  • Page 1 User’s Manual IE-789835-NS-EM1 Emulation Board Target Devices µ µ µ µ PD789835 Subseries Document No. U16290EJ1V0UM00 (1st edition) Date Published October 2002 N CP(K) 2002 © 1991 Printed in Japan...
  • Page 2 [MEMO] User’s Manual U16290EJ1V0UM...
  • Page 3 NEC 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 semiconductor 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 or others.
  • Page 4 Some information contained in this document may vary from country to country. Before using any NEC product in your application, pIease contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: •...
  • Page 5 µ PD789832, 789833, 789834, 789835, 78F9835 Target Readers This manual is intended for engineers who will use the IE-789835-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 usage methods and to be knowledgeable about debugging.
  • Page 6 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-78K0S-NS or IE-78K0S-NS-A and the IE-789835-NS-EM1. Conventions Data significance: Higher digits on the left and lower digits on the right...
  • Page 7: Table Of Contents

    CONTENTS CHAPTER 1 GENERAL..........................10 System Configuration..........................11 Hardware Configuration ..........................13 Basic Specifications ..........................14 CHAPTER 2 PART NAMES ........................15 Parts of Main Unit ............................16 Initial Switch and Jumper Settings ......................17 Check Point Block ............................. 17 CHAPTER 3 INSTALLATION........................18 Connection ..............................
  • Page 8 Figure No. Title Page System Configuration ............................11 Basic Hardware Configuration .......................... 13 IE-789835-NS-EM1 Part Names........................16 Check Point Block............................. 17 Connection of Emulation Probe (1)........................19 Connection of Emulation Probe (2)........................20 Connection of Emulation Probe (3)........................20 Connecting TM1 and Power Supply Voltage of Target System................ 22 External Circuits Used as System Clock Oscillator ..................
  • Page 9 LIST OF TABLES Table No Title Page Correspence Between Emulation Probe and Conversion Connector..............12 Basic Specifications ............................14 Initial Switch and Jumper Settings........................17 Switch and Jumper Settings on IE-78K0S-NS....................21 Switch and Jumper Settings on IE-78K0S-NS-A ....................21 Power Supply Settings of Target Interface ......................22 Main System Clock Settings..........................26 Subsystem Clock Settings..........................30 LCD Switch Settings............................34...
  • Page 10: Chapter 1 General

    CHAPTER 1 GENERAL The IE-789835-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-789835-NS-EM1’s system configuration and basic specifications.
  • Page 11: System Configuration

    CHAPTER 1 GENERAL 1.1 System Configuration Figure 1-1 illustrates the system configuration of the IE-789835-NS-EM1. Figure 1-1. System Configuration Debugger Device file Note 1 ID78K0S-NS (available separately) (sold separately) Control software Host machine PC-9800 series or IBM PC/AT or compatibles...
  • Page 12 Notes 1. The device file is as follows, in accordance with the subseries. µ S××××DF789835: µ PD789835 Subseries The device file can be downloaded from the NEC Electron Devices Web site (URL: http://www.ic.nec.co.jp/micro). 2. The emulation probe SWEX-144SD-1 is a product of TOKYO ELETECH CORPORATION.
  • Page 13: Hardware Configuration

    1.2 Hardware Configuration Figure 1-2 shows the IE-789835-EM1’s position in the basic hardware configuration. Figure 1-2. Basic Hardware Configuration Dedicated bus interface IE system IE-78K0S-NS or IE-78K0S-NS-A IE-789835-NS-EM1 Interface board 78K0S main board Emulation board Host machine (Sold separately) (Sold separately)
  • Page 14: Basic Specifications

    Internal: Clock mounted on the emulation board (32.768 kHz) or clock mounted on the parts board by the user Target interface = 1.8 to 3.6 V (same as the target device) voltage The IE-789835-NS-EM1 operates on the internal power supply (3 V) when not connected to the target system. User’s Manual U16290EJ1V0UM...
  • Page 15: Chapter 2 Part Names

    CHAPTER 2 PART NAMES This chapter introduces the parts of the IE-789835-NS-EM1 main unit. The packing box contains the emulation board (IE-789835-NS-EM1), packing list, user’s manual, and guarantee card. If there are any missing or damaged items, please contact an NEC sales representative.
  • Page 16: Parts Of Main Unit

    CHAPTER 2 PART NAMES 2.1 Parts of Main Unit Figure 2-1. IE-789835-NS-EM1 Part Names LowVolt CP79 EXTOUT CP78 EXTIN Check point block CN1 connector for connecting emulation probe CN2, CN3 CP57 auxiliary connectors for emulation probe VLC3 Note CN2 and CN3 are not connectors for connecting the emulation probe.
  • Page 17: Initial Switch And Jumper Settings

    2.3 Check Point Block The through holes of the check point block (refer to Figure 2-1 IE-789835-NS-EM1 Part Names) are provided at intervals of 2.54 mm (1 inch) both vertically and horizontally, allowing confirmation of the signal of each port pin inside the IE-789835-NS-EM1.
  • Page 18: Chapter 3 Installation

    CHAPTER 3 INSTALLATION This chapter describes methods for connecting the IE-789835-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.
  • Page 19: Connection

    Note When using the IE-78K0S-NS-A, refer to the IE-78K0S-NS-A User’s Manual (U15207E). (2) Connection with emulation probe Connect an emulation probe and supplied FG cable to the IE-789835-NS-EM1 as follows. On this board, connect the emulation probe to CN1. Caution Incorrect connection may damage the IE system.
  • Page 20 CHAPTER 3 INSTALLATION <2> Open the upper side of the IE-78K0S-NS or IE-78K0S-NS-A main unit and connect the emulation probe to the probe connector (CN1) on the IE-789835-NS-EM1. Figure 3-2. Connection of Emulation Probe (2) Emulation probe SWEX-144SD-1 (sold separately)
  • Page 21: Switch And Jumper Settings Of Main Unit

    3.2 Switch and Jumper Settings of Main Unit (1) Settings on the IE-78K0S-NS When using the IE-789835-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).
  • Page 22: Power Supply Voltage Setting Of Target Interface

    When debugging at the same voltage level as that of the target system, supply the TM1 terminal pin of the IE-789835-NS-EM1 with the same voltage as that of the target system (the same applies when the voltage is 3 For how to select the operating power supply, refer to the ID78K Series Ver.
  • Page 23: Clock Settings

    CHAPTER 3 INSTALLATION 3.4 Clock Settings 3.4.1 Overview of clock settings The main system and subsystem clocks 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.
  • Page 24 (used) Clock oscillator or external clock (not used) Remark The clock that is supplied by the IE-789835-NS-EM1’s oscillator (encircled in the figure) is used. (b) For subsystem clock A crystal resonator (XTC1) is already mounted on the emulation board. Its frequency is 32.768 kHz.
  • Page 25 CHAPTER 3 INSTALLATION (2) Clock that is mounted by user The user is able to mount any clock supported by the set specifications on the IE-789835-NS-EM1. This is useful when using a different frequency from that of the pre-mounted clock.
  • Page 26: Main System Clock Settings

    3.4.2 Main system clock settings The main system clock settings of the IE-789835-NS-EM1 are as shown in Table 3-4. The following shows the respective IE-789835-NS-EM1 settings for the main system clocks used in (1) to (3) in Table 3-4. Table 3-4. Main System Clock Settings...
  • Page 27 CHAPTER 3 INSTALLATION (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).
  • Page 28 INSTALLATION <2> Prepare the IE-789835-NS-EM1. <3> Remove the crystal oscillator that is mounted in the IE-789835-NS-EM1’s socket (the socket marked as X1). <4> Connect the parts board (from <1> above) to the socket (X1) from which the crystal oscillator was removed.
  • Page 29 <Steps> <1> Prepare the IE-789835-NS-EM1. <2> Remove the crystal oscillator that is mounted in the X2 socket of the IE-789835-NS-EM1. <3> Mount a crystal oscillator in the X2 socket from which the crystal oscillator was removed in <2> above. Insert the crystal oscillator pin into the socket aligning the pins as shown in the figure below.
  • Page 30: Subsystem Clock Settings

    When the IE-789835-NS-EM1 is shipped, a 32.768 kHz crystal resonator (XTC1) and the parts board (X2) on which pins 6 and 8 are shorted are already mounted on the IE-789835-NS-EM1. Short the 2 to 3 side on the IE- 789835-NS-EM1’s jumper (JP2). There is no need to make any other settings via the integrated debugger (ID78K0S-NS).
  • Page 31 CHAPTER 3 INSTALLATION <Steps> <1> Prepare the IE-789835-NS-EM1. <2> Solder the ceramic resonator or crystal resonator, resistor Rx, capacitor CA, and capacitor CB (all with suitable oscillation frequency) onto the supplied parts board (X2) (as shown below). Figure 3-14. Connections on Parts Board (Subsystem Clock) Parts board (X2) Pin No.
  • Page 32 <4> Install the IE-789835-NS-EM1 in the IE-78K0S-NS or IE-78K0S-NS-A. (3) When inputting pulse from target system Short the 1 and 2 side of the jumper (JP2) on the IE-789835-NS-EM1. There is no need to make any settings via the integrated debugger (ID78K0S-NS).
  • Page 33: External Trigger

    ID78K Series Integrated Debugger Ver. 2.30 or Later Operation (Windows Based) User’s Manual (U15185E) for the usage methods. (1) EXTOUT Outputs a low level from the EXTOUT pin on the IE-789835-NS-EM1 for 1.3 µ s upon the occurrence of a break event. Caution Connect a pull-up resistor on the target system since this is an open-drain output.
  • Page 34: Lcd Emulation

    CHAPTER 3 INSTALLATION 3.6 LCD Emulation (1) LCD emulation Using the LCD emulation circuit, the VLC and CAP signals can be switched to the IE system side or target system side through switch activation, and an external boost circuit can also be used. The circuit configuration shown in Figure 3-18 is used on the IE system side.
  • Page 35 CHAPTER 3 INSTALLATION (2) External boost circuit SW1 of the external boost circuit is set to OFF at shipment, and connection of an external boost circuit is possible by setting this switch to ON. The external boost circuit is a circuit that re-boosts the reference value set to VLCD00 (FFB3H).
  • Page 36: Chapter 4 Differences Between Target Devices And Target Interface Circuits

    (2) Signals input from the target system via a gate (3) Other signals The following shows the circuit of the IE-789835-NS-EM1 for the signals in (1) to (3) above. The same applies to alternate pins for which no circuit is provided in the IE system.
  • Page 37 The SEL pin is not used in the IE-789835-NS-EM1. The IE system is fixed to ceramic/crystal oscillation. • V ROUT pin is not used in the IE-789835-NS-EM1. This pin is connected to GND via a capacitor of 47 µ F in The V ROUT the IE system.
  • Page 38 LED1 that indicates whether the target system’s power is on or off in the IE-789835-NS-EM1. • V The V pin is are connected to GND in the IE-789835-NS-EM1. • IC/V The IC/V pin is not used in the IE-789835-NS-EM1.
  • Page 39 CHAPTER 4 DIFFERENCES BETWEEN TARGET DEVICES AND TARGET INTERFACE CIRCUITS Figure 4-3. Equivalent Circuit of Emulation Circuit 3 Probe side IE system side (Target system) Power supply 100 Ω detection − µ PC393 µ 1 MΩ 0.1 F G6H-2F (Relay) Power supply Filter generation...
  • Page 40: Chapter 5 Restrictions

    The SEL pin, which is left open, does not accept input. The IE system is fixed to ceramic/crystal oscillation. Emulating the oscillator is limited to the functions described in 3.4 Clock Settings. • • • • The power supply voltage of the subsystem clock cannot be changed in the IE-789835-NS-EM1 The V pin is fixed to V : 1.8 V to 3.6 V).
  • Page 41: Appendix A Emulation Probe Pin Assignment Table

    APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. SWEX-144SD-1 Pin Assignments (1/2) Pin No. Pin No. Pin No. Tip on Target Tip on Target Tip on Target System Side System Side System Side − − − − − − −...
  • Page 42 APPENDIX A EMULATION PROBE PIN ASSIGNMENT TABLE Table A-1. SWEX-144SD-1 Pin Assignments (2/2) Pin No. Pin No. Pin No. Tip on Target Tip on Target Tip on Target System Side System Side System Side − − − − − − −...
  • Page 43: Appendix B Cautions On Designing Target System

    SWEX-144SD-1, NQPACK144SD, and YQPACK144SD described in this appendix are products of TOKYO ELETECH CORPORATION. Figure B-1. Distance Between In-Circuit Emulator and Conversion Connector In-circuit emulator IE-78K0-NS or IE-78K0-NS-A Target system Emulation board IE-789835-NS-EM1 335 ±8 mm CN2 CN3 Emulation probe SWEX-144SD-1 Conversion connector NQPACK144SD +...
  • Page 44 [MEMO] User’s Manual U16290EJ1V0UM...
  • Page 45 [MEMO] User’s Manual U16290EJ1V0UM...
  • Page 46 [MEMO] User’s Manual U16290EJ1V0UM...
  • Page 47 Facsimile Message Although NEC has taken all possible steps to ensure that the documentation supplied to our customers is complete, bug free and up-to-date, we readily accept that From: errors may occur. Despite all the care and precautions we've taken, you may Name encounter problems in the documentation.

Table of Contents