Page 2
Microsoft. Other names may be trademarks of their respective companies. The Easylon ISA-Bus Interface card and the Easylon PC/104 Interface card incorporate the MIP/P50 or NSI programs from the Echelon Corporation. The aforesaid company holds all rights relating to this software.
ISA bus Interface card in PC/104 format. NOTE: In this manual both cards are generally referred to as “Interface cards”. If differ- ences between the two have to be described, they are explicitly referred to as “Easylon ISA-Bus Interface” or “Easylon PC/104 Interface”. 5/44...
Firmware are alternatively MIP/P50 or NSI. While MIP is the cheaper solution offering more memory NSI will always be needed if LNS is used. The Easylon ISA-Bus Interface card is provided with a service button and LED. In the TP/XF and FTT variants, this card is equipped with two connectors, either...
Setting the I/O Addresses Both the Easylon ISA-Bus Interface and the Easylon PC/104 Interface are as- signed four I/O addresses on the ISA bus of the PC. The base address of this I/O range is set via DIP switches (cf. Figure 1-1, (7) and Figure 1-2, (6)). Before set- ting the base address, establish which address range is available on your comput- er in its current configuration.
Insertion of the Card Prior to inserting the interface cards read the Mounting instructions enclosed in the delivery. When inserting the Easylon ISA-Bus Interface card or the Easylon PC/104 card in your computer, please be sure to observe all the computer manu- facturer's instructions regarding the insertion of additional interface cards.
Furthermore there are drivers for Win- dows CCE, Linux and MS-Dos. Latest driver versions you can downloadvia the Easylon Support pages of our web site: www.gesytec.com. Installation is described in the following sections: Windows operating systems chapter 2.3.1...
Page 13
However, this may require stepping through up to 15 dialog boxes. If you are using this method anyway, please select the setup file „LpcWdm.inf“ and the „Gesytec LPC WDM Driver ISA/PC-104“ driver. One advantage you will get using this method: resource selection will be made during the installation procedure.
ISA-Bus Interface User Manual Installation 2.3.1.2 Update In case you want to update an existing driver start FastUpd.exe from the “Lpclpp” directory on the CD-ROM. A new version will be installed from CD within a few seconds. 2.3.1.3 Parameter Setting Certain operating conditions may require special settings for the Easylon Inter- faces.
Page 15
ISA-Bus Interface User Manual Installation Lon Adapter You can assign a name „LON1“ ... „LON9“ to the interface board, as some ap- plications may require. ATTENTION The name chosen must not be in use by any other driver. The device will not start if a name is used twice.
This can be turned off by selecting “None”. 2.3.1.4 De-installation De-installation uses the Windows Device Manager. Select the driver „Gesytec LPCxxx“ under „LON Adapters“ with the right mouse key and choose de-install 2.3.2 Windows 95 / NT Driver This section describes the driver setup for the Easylon Interface cards for the Windows 95 and Windows NT operating systems.
2.3.2.2 De-installation De-installation of the drivers is done via the system control software. For this, first choose the item "Easylon ISA-Bus Interface" and then click "Insert/Delete". After the de-installation, the system has to be restarted. 2.3.3 EasyCheck – Test Utility for Windows Drivers In addition to the drivers, the test utility “EasyCheck”...
ISA-Bus Interface User Manual Installation 2.3.4 Windows and 16 Bit Applications The Windows driver for the 32 bit Windows versions also provides a 16 bit in- terface. (Unfortunately Microsoft does not support this in the 64 bit versions.) To use it, the following entry has to be made in the file „config.nt“, usually found in the windows\system32 directory: Device=%SystemRoot%\system32\ lpxdos.exe –Llpcwdm340 A more specific definition of the 32 bit LON device used is made by optional pa-...
To use an Easylon Interface card as device named LON1 with the base address 0x340 and interrupt IRQ 10 (=0x0A hex) you have to add following in the file „Lpcdrv.reg“: [HKEY_LOCAL_MACHINE\Gesytec\Lpcdrv\LON1] "IoBase" = dword:0340 "Irq" = dword:a The .reg file is provided in the Windows CE driver directory.
A main functionality of Windows CE driver support is to be able to register a driver several times. This driver will handle several devices in parallel. However, this release of the Gesytec LonWorks network driver for Windows CE does not support this mechanism! As a workaround you have to copy and rename the driver, e.g.
ISA-Bus Interface User Manual Installation The driver can be taken form the CD-ROM’s „DOS“ directory. There are two versions: Driver without interrupt „lpcdrv.exe“ Driver with interrupt „lpcdrv2.exe“. The driver files „lpcdrv.exe“ or „lpcdrv2.exe“ have to be copied onto the hard disk of your computer, e.g.
LON1: ... LON9: already defined Increasing the input buffer The input and output buffers of the Easylon ISA-Bus Interface network driver are configured as byte-level FIFOs, i.e. the space requirement of a message is dependent on its length. Consequently, a buffer capacity of 2 Kbytes (default, approx.
Page 23
ISA-Bus Interface User Manual Installation /R The option /R additionally enables modification of the device number. Example: lpcdrv -r13 changes the name LON1: to LON3: If the first device number does not exist, or if the second number has al- ready been assigned to another device driver, the message Invalid or duplicate device name will appear.
ISA-Bus Interface User Manual Technical Description Technical Description This chapter describes the ISA-Bus interface card and two generations of the Ea- sylon PC/104 Interface. The PC/104 cards can be identified by the type codes “LP4” for the old and “LP42” for the new cards. Wherever necessary these names are used to discern both.
3.5.1 Easylon ISA-Bus Interface The Easylon ISA-Bus Interface provides 9-pin D-type connectors (Figure 1-1, (4)) for network connection. In the TP/XF and FTT variants, the card is addi- tionally equipped with a 2 pin screw-plug terminal (Figure 1-1, (3)), which can be used alternatively.
ISA-Bus Interface User Manual Technical Description 3.5.2 Easylon PC/104 Interface The Easylon PC/104 Interface has one 10-pin block terminal for L net- ORKS work connection. (some customized version may have different connectors.) However there are differences in both card generations concerning the signal available.
ISA-Bus Interface User Manual Technical Description Service LED The service LED (Figure 1-1, (2) and Figure 1-2, (1)) signals the card status. Additional to the service LED signals defined by Echelon following status sig- nals are defined: Service LED Status Remarks Flash (1 Hz) No driver installed or...
ISA-Bus Interface User Manual Technical Description Technical Specification 3.8.1 General Bus Interface 8 bit data (I/O) in accordance with Personal Computer Bus Stan- dard P996 (PC/104 Specification, Version 2.3) I/O addresses 4, settable via DIP switches Control register 8 bit Status register n8 bit Interrupts...
ISA-Bus Interface User Manual Technical Description 3.8.2 Easylon ISA-Bus Interface Dimensions 160 mm x 107 mm, for short 16-bit ISA slot EN50081-1 EN50082-1 Network interface Order- Network Trans- Network connector Protection Code* interface mission type rate P.P10001 TP/XF 78 kbps...
P.P10615 * cf. Table 1-2 for variant identifiers on the card. Electromagnetic Compatibility The Easylon ISA-Bus Interface and the Easylon Interface cards are CE certified products and meet the intent of Directive 2004/108 for Electromagnetic Compa- tibility. To ensure electromagnetic compatibility under operation in accordance with the...
ISA-Bus Interface Manual Programming Instructions Programming Instructions This chapter gives programming instructions to both the Easylon ISA-Bus Inter- face and Easylon PC/104 Interface. They are generally referred to as interface card or interface node. Network Node ORKS The Easylon Interface card is a network node in the L network.
N Chip (NHS) to control the data flow can be checked via the EURON status byte of the Easylon ISA-Bus Interface. Please refer to the N 3150 EURON Chip data book with regard to the data communication mechanisms in Slave_A mode.
ISA-Bus Interface Manual Programming Instructions Device Status Applications have to take care of the status of the Easylon Interface card. As an example some parts of code are shown below. The structures used are taken from the so called HOST APPLICATION of the Echelon Corp. This application is available from the Echelon web site: www.echelon.com.
Page 36
ISA-Bus Interface Manual Programming Instructions BYTE my_domain[15] = {0,0,0,0,0,0, 0x01, 0xC0, 0, 0xFF,0xFF,0xFF,0xFF,0xFF,0xFF}; int send_local( int len ) { int ldv_err; msg_out.cmq = niLOCAL; msg_out.svc_tag = SVC_request; msg_out.flags = 8; msg_out.len = len + 15; msg_out.data_len = len + 1; if( ldv_write( &msg_out, len + 17 ) ) return(0);...
ISA-Bus Interface Manual Programming Instructions ISA Bus Interface The ISA bus interface is implemented as an 8-bit I/O interface in accordance with "Personal Computer Bus Standard P996, Draft D2.01". This module is assigned four I/O addresses: For timing reasons, the data-flow control information (N Chip and EURON data driver) is not derived from the read and write strobes of the ISA bus,...
ISA-Bus Interface Manual Programming Instructions Data bit Description D7...D2 reserved, must be written as 0 D1, D0 ..00: NSI, ..01: MIP, ..10: reserved (currently acts like NSI) ..11: EEBLANK 4.3.1.1 Signal Assignments Control Byte Data bit Signal Description Interrupt enable, see Table 4.6 Interrupt select, see Table 4.6 Interrupt select, see Table 4.6 Interrupt select, see Table 4.6...
ISA-Bus Interface Manual Programming Instructions 4.3.1.2 Signal Assignments Status Byte Data bit Signal Description Read back D7 of Control register Read back D6 of Control register Read back D5 of Control register Read back D4 of Control register /NINT Status of N Chip interrupt flip-flop, EURON low active...
ISA-Bus Interface Manual Programming Instructions Windows CE – Application Interface 4.4.1 CreateFile Opens a LON device. Syntax: ni_handle = CreateFile(szDevName, GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0, NULL); Parameter Type Description SzDevName TCHAR* Device name, e.g. TEXT("LON1:") Return value Type Description ni_handle HANDLE file handle of the LON device or INVALID_HANDLE_VALUE...
ISA-Bus Interface Manual Programming Instructions 4.4.4 WriteFile Writes a telegram according to the application layer format. This function returns immediately. Syntax: WriteFile(ni_handle, pMsg, len, &rLen, NULL); Parameter Type Description ni_handle HANDLE file handle of the LON device pMsg void* pointer to an „explicit message buffer“ DWORD length of the buffer [bytes] rlen...
ISA-Bus Interface Manual Programming Instructions Parameter Type Description ni_handle HANDLE file handle of the LON device outbuffer BYTE* pointer to the buffer that contains the com- mands and data to send to the watcher inbuffer BYTE* pointer to the buffer that contains the data sent by the watcher BytesReturned DWORD number of bytes which are received by the...
Figure 3-2 Block diagram Easylon PC/104 Interface ............26 List of Tables Table 1-1 Variants, order-codes and type identifiers for Easylon ISA-Bus Interface ..7 Table 1-2 Variants, order-codes and type identifiers for Easylon PC/104 Interface ...8 ...
Need help?
Do you have a question about the Easylon ISA-Bus and is the answer not in the manual?
Questions and answers