Home

User Manual

image

Contents

1. TEWS The Embedded VO Company TECHNOLOGIES TIP865 SW 95 QNX Neutrino Device Driver 4 Channel Serial IP Version 1 0 x User Manual Issue 1 0 0 November 2010 TEWS TECHNOLOGIES GmbH Am Bahnhof 7 25469 Halstenbek Germany Phone 49 0 4101 4058 0 Fax 49 0 4101 4058 19 e mail info tews com www tews com TIP865 SW 95 QNX Neutrino Device Driver 8 Channel RS485 Interface Supported Modules TIP865 Issue Description 1 0 0 First Issue TIP865 SW 95 QNX Neutrino Device Driver TEWS TECHNOLOGIES This document contains information which is proprietary to TEWS TECHNOLOGIES GmbH Any reproduction without written permission is forbidden TEWS TECHNOLOGIES GmbH has made any effort to ensure that this manual is accurate and complete However TEWS TECHNOLOGIES GmbH reserves the right to change the product described in this document at any time without notice TEWS TECHNOLOGIES GmbH is not liable for any damage arising out of the application or use of the device described herein 2010 by TEWS TECHNOLOGIES GmbH Date November 09 2010 Page 2 of 9 TEWS TECHNOLOGIES Table of Contents 1 INTRODUCTION EE EE EE aana iaaiiai aa aaa aaa i EEA aaia 4 MEA Device DIV ER EE EA ME ER LA EE EE 4 1 2 IPAC Carrier Driver sis Ee Re ee GE ee EE ER ER GE Re ke sake EER ek ED Ln Ek See ER bee RR ESE EE 5 2 INSTALLATION issie eeu GWEN GEGEE GEREGEER GEED U GEE SEGE ENG GEE 6 2 1 Bulld the device driv
2. D This parameter specifies the default baud rate DATABITS This parameter specifies the number of data bits Supported values are 6 7 and 8 STOPBITS This parameter specifies the number of stop bits Supported values are 1 and 2 PARITY This parameter specifies the parity mode Allowed values are Value Description NO No parity supported EVEN Even parity bit supported ODD Odd parity bit supported INBUF This parameter specifies the size to allocate for the software input buffer OUTBUF This parameter specifies the size to allocate for the software output buffer CANBUF This parameter specifies the size to allocate for the software canonical buffer EDIT This parameter specifies if the edit mode is used or not Valid values are ON and OFF TIP865 SW 95 ONX Neutrino Device Driver Page 8 of 9 TEWS TECHNOLOGIES Example This example will setup the serial device dew l865 1 The communication parameter will be set to 9600 baud 8 data bits 1 stop bit and no parity 2048 byte will be allocated for input and output buffer 128 byte will be allocated for the canonical buffer The terminal driver will use the interface in raw mode without handshaking File etc IPAC_CARRIER 865_1 txt NAME t865 BAUD 9600 DATABITS 8 STOPBITS 1 PARITY NO INBUF 2048 OUTBUF 2048 CANBUF 128 EDIT OFF TIP865 SW 95 ONX Neutrino Device Driver Page 9 of 9
3. IES IPAC carrier driver must be installed properly because this driver includes the header files ipac_ h which are part of the IPAC carrier driver distribution Please refer to the IPAC carrier driver user manual in the directory path CARRIER SW 95 on the distribution media lt is very important to extract the TIP865 SW 95 SRC tar gz in the usr sre directory because otherwise the automatic build with make will fail 2 1 Build the device driver Change to the directory usr src tipo865 driver and execute the Makefile make install After successful completion the driver dynamic library tio865 so will be installed in the directory lib dll TIP865 SW 95 ONX Neutrino Device Driver Page 6 of 9 TEWS TECHNOLOGIES 2 2 Start the driver process To start the TIP865 resource manager you have to start the TEWS TECHNOLOGIES IPAC carrier driver The IPAC carrier driver detects installed TEWS IPAC modules automatically and loads the appropriate driver dynamic libraries ipac_class amp The TIP865 resource manager registers a device for each TIP865 channel 4 channels per module in the QNX Neutrinos pathname space under the following name where n specifies the overall channel number of detected TIP865 modules The devices dev t865_1 to dev t865_4 belongs the first found TIP865 the devices dev t865_5 to dev t865_8 belongs to second found TIP865 and so forth please refer to the IPAC carrier driver manual
4. er iii rek se eN N ek Aa eN N ek ER he ed ee Wee ane ede We An ee ee wek AE ee eN 6 2 2 Start the driver DrOCeSS Ee IE EE N eed eet we De ve ee ee ee De ee ee ede 7 d CHANNEL CONFIGURATION FILES iese es ee se ss ee Ge ee Ge Ge een ee ee ee ae es ee ee ee Ge ed 8 3 1 Configuration Parameters sd Ee gese Eed ede ee EE Re ee Gede seek Re es keer eg see ke 8 TIP865 SW 95 ONX Neutrino Device Driver Page 3 of 9 1 Introduction 1 1 Device Driver The TIP865 SW 95 QNX Neutrino device driver allows the operation of a TIP865 4 Channel Serial IP on ONX Neutrino operating systems and requires the TEWS QNX Neutrino IPAC Carrier Driver Software CARRIER SW 95 TEWS TECHNOLOGIES The TIP865 SW 95 device driver is based on the standard QNX Neutrino ser8250 serial communication manager Due to this way of implementation the driver interface and function is compatible to the standard QNX Neutrino serial device manager All standard utility programs for configuration e g stty and maintaining terminal interfaces could be used in the same manner The TIP865 SW 95 device driver supports the following features VVVV The TIP865 SW 95 device driver supports the modules listed below TIP865 10 TIP865 1 1 TIP865 20 TIP865 30 TIP865 51 Extended baud rates up to 230400 Baud Only asynchronous mode is supported Direct support of different physical interfaces RS 232 TTL RS 422 RS 485 Individual startup configuration for each cha
5. for detailed information of the module search order dev t865_n This pathname must be used in the application program to open a path to the desired TIP865 device For debugging purposes you can start the IPAC carrier driver with the V verbose option Now the resource manager will print versatile information about TIP865 configuration and command execution on the terminal window For further details about debugging please see the IPAC Carrier Driver manual TIP865 SW 95 ONX Neutrino Device Driver Page 7 of 9 TEWS TECHNOLOGIES 3 Channel Configuration Files Setting up channel defaults is possible with individual configuration files The relationship between TIP865 channel device and configuration file is established by the file name The configuration file name has the format 865 n txt where n specifies the overall channel number e g the configuration file t865 4 txt belongs to the device dev t865 4 An example configuration file is part of this distribution driver t865_default txt All configuration files must be copied into the etc IPAC_CARRIER path 3 1 Configuration Parameters It is not necessary to specify all parameters Unspecified parameters will be configured to the default values see example configuration file Each parameter must start with a followed by an identifier The value must be separated with a space or a tab character NAME This parameter specifies the device name BAU
6. nnel 4 channel RS232 serial VO 4 channel TTL serial VO 4 channel RS422 serial VO 4 channel RS485 serial VO 2 channel RS485 serial VO 2 channel RS422 serial VO IndustryPack compatible IndustryPack compatible IndustryPack compatible IndustryPack compatible IndustryPack compatible To get more information about the features and use of TIP865 devices it is recommended to read the manuals listed below TIP865 User manual TIP865 Engineering Manual CARRIER SW 95 User Manual TIP865 SW 95 QNX Neutrino Device Driver Page 4 of 9 TEWS TECHNOLOGIES 1 2 IPAC Carrier Driver IndustryPack IPAC carrier boards have different implementations of the system to IndustryPack bus bridge logic different implementations of interrupt and error handling and other differences Also the varying byte ordering big endian versus little endian of CPU boards will cause problems when accessing the IndustryPack I O and memory spaces To simplify the implementation of IPAC device drivers which should work with every supported carrier board TEWS TECHNOLOGIES has designed a so called Carrier Driver that hides all differences of different carrier boards under a well defined interface The TEWS TECHNOLOGIES IPAC Carrier Driver CARRIER SW 95 is part of this TIP865 SW 95 distribution It is located in the directory CARRIER SW 95 on the corresponding distribution media This IPAC Device Driver requires a properly installed IPAC Carrier D
7. river Due to the design of the Carrier Driver it is sufficient to install the IPAC Carrier Driver once even if multiple IPAC Device Drivers are used Please refer to the CARRIER SW 95 User Manual for a detailed description on how to install and setup the CARRIER SW 95 device driver and for a description of the TEWS TECHNOLOGIES IPAC Carrier Driver concept TIP865 SW 95 ONX Neutrino Device Driver Page 5 of 9 TEWS TECHNOLOGIES 2 Installation Following files are located on the distribution media Directory path TIP865 SW 95 TIP865 SW 95 SRC tar gz GZIP compressed archive with driver source code TIP865 SW 95 1 0 0 pdf PDF copy of this manual ChangeLog txt Release history Release txt Release information The GZIP compressed archive TIP865 SW 95 SRC tar gz contains the following files and directories Directory path tip865 driver tip865 c Device driver source driver tip865def h Device driver include file driver t865_default txt Channel configuration file example driver Makefile driver common mk driver nto Makefile driver nto x86 Makefile driver nto x86 dll Makefile For installation copy the tar archive TIP865 SW 95 SRC tar gz to usr src and extract all files e g tar xzvf TIP865 SW 95 SRC tar gz Afterwards the necessary directory structure for the automatic build and the source files are available underneath the new directory called tip865 Before building a new device driver the TEWS TECHNOLOG

Download Pdf Manuals

image

Related Search

Related Contents

USER`S MANUAL  User Manual  取扱説明書【インストールガイド】  Guide to Wireless Regulations in the United States  memoambupatients.  

Copyright © All rights reserved.
Failed to retrieve file