Page 2
IE-78K0-NS-P04, IE-1615-NS-EM4 This equipment complies with the EMC protection requirements. Warning This is a ´Class A´ (EN 55022: 1994) equipment. This equipment can cause radio frequency noise when used in the residential area. In such cases, the user/operator of the equipment may be required to take appropriate countermeasures under his responsibility.
Page 3
Specific: Aircrafts, aerospace equipment, submersible repeaters, nuclear reactor control systems, life support systems or medical equipment for life support, etc. The quality grade of NEC devices is “Standard“ unless otherwise specified in NEC's Data Sheets or Data Books. If customers intend to use NEC devices for applications other than those specified for Standard quality grade, they should contact NEC Sales Representative in advance.
Page 4
Some information contained in this document may vary from country to country. Before using any NEC product in your application, please contact the NEC office in your country to obtain a list of authorized representatives and distributors. They will verify: •...
Page 5
IE-78K0-NS-P04, IE-1615-NS-EM4 Preface Product Outline The IE-78K0-NS-P04 and IE-1615-NS-EM4, in combination with the IE-78001-R-A, is used for debugging the following target devices of the 78K/0 series 8-bit single-chip microcontrollers. • µPD1615 subseries: µPD1615, µPD1616, µPD16F15 Intended Readership This manual is intended for engineers who perform system debugging using the IE-78001-R-A in combination with the IR-78K0-NS-P04 and IR-1615-NS-RM4.
Page 6
For an understanding of the basic specification → → → → → Read Chapter 1 "General". When connecting the IE-78K0-NS-P04 and IE-1615-NS-EM4 → → → → → Read Chapter 2 "Installation Procedure" and IE-78001-R-A User’s Manual. When setting the clock →...
Page 7
Document Number Document Name Japanese English IE-78001-R-A user’s manual Planned Planned IE-78001-R-BK user’s manual Planned Planned IE-78K0-NS-P04, IE-1615-NS-EM4 user’s manual — This manual IE-78K0-R-Ex1 SUD-T-3677 SUD-T-3677 EP-78230GC-R user’s manual TEMPU-0296 TEMPU-0296 Flashpro programmer user’s manual —...
External View and Part Names ..................... 12 Target Devices ..........................14 Emulation Probes ......................... 15 Notes on Use of IE-78K0-NS-P04 and IE-1615-NS-EM4 ............... 15 Installation Procedure ........................17 Differences from Target Device ....................26 Differences in Port Functions ....................26 Differences in SFR-Registers ....................
IE-78K0-NS-P04, IE-1615-NS-EM4 1. General The IE-78K0-NS-P04 is an emulation board for use with the IE-78001-R-A development system for 78K/0 series 8-bit single-chip microcontroller. Combination of this board with the separately available IE-78001-R-A and emulation probe allows efficient emulation of the subseries of µPD1615. The emulation probe with 80 pin GC package target adapter is connected to the probe board (IE-1615-NS-EM4), via the probe extender board (IE-78K0-R-EX1), which is connected to the emulation board (IE-78K0-NS-P04).
Page 10
IE-78K0-NS-P04, IE-1615-NS-EM4 Figure 1-1: IE-78K0-NS-P04 Components (1) IE- 78K0-NS-P04 Note (2) Parts Holder Parts Holder Cover Note: The actual parts holder is supplied with the cover shown on the right fitted. (3) Screw...
IE-78001-R-A and the target device, or changing switch settings, etc. (2) When carrying out target device emulation using the IE-78K0-NS-P04 and IE-1615-NS-EM4 in conjunction with the IE-78001-R-A, there are certain differences from the operation of the actual device (see Chapter 3 Differences from Target Device).
IE-78K0-NS-P04, IE-1615-NS-EM4 2. Installation Procedure This chapter describes the procedure for connecting the following items to the IE-78K0-NS-P04 and IE-1615-NS-EM4 and setting up the 78K/0 series development system. • The break board (IE-78001-R-BK) installed in the IE-78001-R-A • The emulation board (IE-78K0-NS-P04) installed on the break board (IE-78001-R-BK) •...
Page 18
IE-78K0-NS-P04, IE-1615-NS-EM4 The connection of the IE-78K0-NS-P04 and IE-1615-NS-EM4, break board, IE-78001-R-A, is described below. Procedure <1> Remove the 6 screws in the top of the IE-78001-R-A and open the lid. <2> Remove the J1 and J2 cables connecting the control/trace board (IE-78001-R-A) and the break board.
Page 19
IE-78K0-NS-P04, IE-1615-NS-EM4 Jumper JP2 Fixed Internal Main Oscillation Frequency Table 2-1: Jumper JP2 Fixed Internal Main Oscillation Frequency Jumper Position Frequency Function (1-2) 20 MHz Internal clock = 20 MHz (3-4) 16.77 MHz Internal clock = 16.77MHz (5-6) 10 MHz...
Page 20
IE-78K0-NS-P04, IE-1615-NS-EM4 Jumper JP24 FPGA Load Mode Table 2-5: Downloading Selection Jumper Position Function SERIAL LOAD Loading FPGA data via serial connector on the BK-board (default) SVLOD Loading FPGA data via device file This jumper has to be set to SERIAL LOW independent of the download procedure.
Page 21
IE-78K0-NS-P04, IE-1615-NS-EM4 <6> Setup the I/O board It is necessary to set some jumper and switches on the I/O board. The following tables describe the function of each jumper. Table 2-8: FPGA Mode Selection Jumper JP5 Jumper Position M-FSW Function...
Page 22
IE-78K0-NS-P04, IE-1615-NS-EM4 Voltage Setting Table 2-11: Voltage Setting Jumper JP8 Jumper Position Function (1 – 2) For internal testing (2 – 3) For internal testing (default) Voltage Setting Table 2-12: Voltage Setting Jumper JP7 Jumper Position Function (1 – 2) For internal testing (2 –...
Page 23
IE-78K0-NS-P04, IE-1615-NS-EM4 <7> Setup the probe board It is necessary to set a jump on the probe board.The following table discribes the function each jump. VAN serial in/out buffer type selection Table 2-14: VAN serial in/out Jumper JP1 to JP4...
Page 24
IE-78K0-NS-P04, IE-1615-NS-EM4 Figure 2-3: Connections of Boards...
IE-78K0-NS-P04, IE-1615-NS-EM4 Differences from Target Device When target device emulation is performed using the IE-78K0-NS-P04 and IE-1615-NS-EM4 in conjunction with the IE-78001-R-A, there are certain differences from the operation of the actual target device. These differences are described in this chapter.
Page 27
IE-78K0-NS-P04, IE-1615-NS-EM4 Figure 3-3: Port 8, 9, 10, 11, 12 Probe Side IE-78001-R-A Side (Target System) (Emulation Device) 8, 9, 10, 11, 12 Analog LCD-Function Switch Port 8, 9, 10, 11, 12 MAX394 Port-Function 3.1.2 Analog related Signals Figure 3-4: Analog related Signals...
Page 28
IE-78K0-NS-P04, IE-1615-NS-EM4 3.1.4 Circuits which input Signals to/from Emulation Device These circuits interface the following signals: • RESET signal • Clock input related signals Figure 3-6: Emulation Circuit Equivalent Circuit Diagram Probe Side IE-78001-R-A Side (Target System) (Emulation Device) USRV Level Shifter 4.7 kΩ...
Page 29
IE-78K0-NS-P04, IE-1615-NS-EM4 3.1.5 Circuits which input Signals to Control/Trace Module These circuit interfaces the following signals: • V signal Figure 3-7: Emulation Circuit Equivalent Circuit Diagram Probe Side IE-78001-R-A Side (Target System) (Control/Trace Module) Note S-805 User +12 V 600 Ω...
The above points must be taken into consideration when designing the target system. Caution: When the IE-78001-R-A and IE-78K0-NS-P04 and IE-1615-NS-EM4 are connected to the target system, 4.5 to 5.5 V must be supplied as the target system power supply (V...
IE-78K0-NS-P04, IE-1615-NS-EM4 Clock Setting This chapter describes the clock setting method. 4.1 Outline of Clock Setting The main system clock for use in debugging can be selected from (1) to (3) below. The subsystem clock can be selected from (1) to (3), too.
IE-78K0-NS-P04. This is useful if you want to perform debugging at a different frequency from that of the clock mounted beforehand.
Page 34
IE-78K0-NS-P04, IE-1615-NS-EM4 (3) External clock on the target hardware The external clock on the target system can be used via an emulation probe. Figure 4-5: Using an External Clock mounted on the Target Hardware IE-78001-R-A Target System Emulation Probe Clock Generator...
4.2.1 When Using Standard Clock offered by the Break Board A parts holder, wired as shown in Figure 4-9, is fitted in the X2 socket on the IE-78K0-NS-P04 when the product is shipped. If the parts holder state is the same as when the product was shipped, no particular hardware settings are necessary.
IE-78K0-NS-P04 1 2 3 4 5 6 7 <5> Install the IE-78K0-NS-P04 and the other boards in the IE-78001-R-A. 4.2.2 When using Clock mounted by User on the Emulation Board The settings shown in (1) or (2) below must be performed depending on the type of clock used.
Page 38
<2> Prepare the break board (jumper settings) and the IE-78K0-NS-P04. <3> Remove the external clock parts holder inserted in the socket (marked “X2”) on the IE-78K0-NS-P04. <4> Insert parts holder <1> in the socket (X2) from which the external clock parts holder was removed...
Page 39
<5> Confirm that the component mounted on the X1 (MAIN) socket on the break board is wired as shown in Figure 4-5. <6> Install the IE-78K0-NS-P04 and the other board in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock to be supplied to the emulation device from the mounted resonator.
Page 40
<1> Prepare the break board (jumper settings) and the IE-78K0-NS-P04. <2> Remove the external clock parts holder inserted in the socket (marked “X2”) on the IE-78K0-NS-P04. <3> Insert the crystal oscillator in the socket (marked "X2") from which the external clock parts holder was removed in <2>.
Page 41
<4> Confirm that the component mounted on the X1 (MAIN) socket on the break board is wired as shown in Figure 4-5. <5> Install the IE-78K0-NS-P04 and the other board in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock to be supplied to the emulation device from the mounted oscillator.
Page 42
<2> Confirm that the component mounted on the X1 (main) socket on the break board is wired as shown in Figure 4-5. <3> Install the IE-78K0-NS-P04 and the other board in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock to be supplied to the emulation device from the oscillator mounted fixed on the emulation board.
4.2.3 When Using External Clock on the Target Hardware A parts holder, wired as shown in Figure 4-20, is fitted in the X2 socket on the IE-78K0-NS-P04 when the product is shipped. If the parts holder state is the same as when the product was shipped, no particular hardware settings are necessary.
Page 44
<4> Confirm that the component mounted on the X1 (MAIN) socket on the break board as well as the IE-78K0-NS-P04 are wired as shown in Figure 4-5. <5> Install the IE-78K0-NS-P04 and the other boards in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock signal on the target system to be supplied to the emulation device.
IE-78K0-NS-P04, IE-1615-NS-EM4 4.2.4 Examples of Main System Clock Setting (1) Standard Clock offered by the Break Board Break Board: JP2 - Frequency selection JP4 - CLK I Emulation Board: X2 with shortcut between 6 - 8 ID78K0: Internal (2) Clock mounted by the User on the Emulation Board...
4.3.1 When Using Standard Clock offered by the Break Board A parts holder, wired as shown in Figure 4-18, is fitted in the X1 (SUB) socket on the IE-78K0-NS-P04 when the product is shipped. If the parts holder state is the same as when the product was shipped, no particular hardware settings are necessary.
The settings shown in (1) or (2) below must be performed depending on the type of clock used. No particular settings are required on the integrated debugger. (1) When ceramic resonator/crystal resonator is used Items to be prepared • Parts holder (IE-78K0-NS-P04 accessory) • Capacitor CA • Ceramic resonator or crystal resonator • Capacitor CB •...
Page 48
The area enclosed by the dotted line is the part of the circuit mounted on the parts holder. <2> Prepare the break board (jumper settings) and the IE-78K0-NS-P04. <3> Insert parts holder <1> in the socket X1 from which the external clock parts holder was removed...
Page 49
X1 (SUB) X2 (MAIN) <4> Install the IE-78K0-NS-P04 and the other boards in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock to be supplied to the emulation device from the mounted resonator.
Page 50
CLOCK OUT Procedure <1> Prepare the break board (jumper setting) and the IE-78K0-NS-P04. <2> Insert the crystal oscillator in the socket X1 from which the external clock parts holder was removed. The crystal oscillator pins should be inserted in the socket holes as shown in Figure 4-29.
Page 51
X1 (SUB) X2 (MAIN) <4> Install the IE-78K0-NS-P04 and the other board in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock to be supplied to the emulation device from the mounted oscillator.
4.3.3 When Using External Clock on the Target Hardware A parts holder, wired as shown in Figure 4-32, is fitted in the X1 socket on the IE-78K0-NS-P04 when the product is shipped. If the parts holder state is the same as when the product was shipped, no particular hardware settings are necessary.
Page 53
X1 (SUB) X2 (MAIN) <4> Install the IE-78K0-NS-P04 and the other board in the IE-78001-R-A. The following circuit is configured by means of the above procedure, enabling the clock signal on the target system to be supplied to the emulation device.
IE-78K0-NS-P04, IE-1615-NS-EM4 4.3.4 Examples of Subsystem Clock Setting (1) Standard Clock offered by the Break Board Break Board: JP5 - 32kHz Emulation Board: X1 with shortcut between 6 - 8 (2) Clock mounted by the User on the Emulation Board...
IE-78K0-NS-P04, IE-1615-NS-EM4 Appendix A IE-78K0-NS-P04, IE-1615-NS-EM4 Product Specifications Product name : IE-78K0-NS-P04, IE-1615-NS-EM4 µ Peripheral emulation device : PD1615, 16F15, 1616. Operating temperature : 0 to 50 °C Humidity : 10 to 80% RH (no condensation) Storage temperature : –15 to +60 °C Power supply : Power supply capacity : DC 200mA (MAX.)
Page 57
IE-78K0-NS-P04, IE-1615-NS-EM4 Table A-1: Connectors on IE-78K0-NS-P04 Board (Emulation Board) and IE-1615-NS-EM4 Board (Probe Board). Name Description (IE-78K0-NS-P04) Name Description (IE-1615-NS-EM4) Break board (IE-78001-R-BK) connectors Emulation board connectors (IE-78K0-NS-P04) CN10 Probe connector CN11 Probe board connectors (EP-78230GC-R) (IE-1615-NS-EM4) VAN in/out buffer select...
Page 65
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 encounter problems in the documentation.