no name

所属分类:串口编程
开发工具:C/C++
文件大小:42KB
下载次数:44
上传日期:2007-06-10 19:22:35
上 传 者72153770
说明:  rs485串口的通信源代码,希望大家多多下载啊,指点指点
(rs485 serial communications source code, I hope Members can download ah guide instructions)

文件列表:
rs485nt\Com8250.h (12021, 1997-09-02)
rs485nt\Makefile (3022, 1997-11-20)
rs485nt\Q_test.c (2586, 1997-11-20)
rs485nt\q_test.exe (42496, 1997-11-20)
rs485nt\Rs485ioc.h (1581, 1997-09-23)
rs485nt\Rs485nt.c (40564, 2004-07-25)
rs485nt\Rs485nt.dsp (3659, 2004-07-25)
rs485nt\Rs485nt.dsw (537, 2004-07-25)
rs485nt\Rs485nt.h (1817, 1997-09-26)
rs485nt\Rs485nt.lnd (403, 1997-08-20)
rs485nt\Rs485nt.lnr (277, 1997-08-20)
rs485nt\Rs485nt.ncb (58368, 2004-09-14)
rs485nt\Rs485nt.opt (53760, 2004-09-14)
rs485nt\Rs485nt.plg (10112, 2004-09-14)
rs485nt\Rs485nt.reg (419, 1997-11-20)
rs485nt\Rs485nt.sys (8448, 1997-11-20)
rs485nt\Setenv.bat (84, 1997-04-01)
rs485nt (0, 2004-09-14)

***************************************************************************** ----------------------------------------------------------------------------- DEVICE DRIVERS INTERNATIONAL, LLC welcomes you! -> All DEVICE DRIVERS INTERNATIONAL products are meant to be SIMPLE and EASY. -> As such, there isn't a ton of documentation. You don't need it. -> We cannot provide FREE technical support for this driver. -> Please read the license agreement! Driver Name: RS485NT.SYS Operating System: Windows NT v4.0 Description: A generic RS485 driver that utilizes RTS to enable the RS485 multi-drop driver enable. ----------------------------------------------------------------------------- ***************************************************************************** The driver files: ----------------- RS485NT.SYS Windows NT Kernel-Mode driver RS485NT.REG Regsitry entry for the driver The source files: ----------------- Q_TEST.C Quick test of the driver (shows how to use it!) RS485NT.C Windows NT 4.0 RS485 driver source code RS485NT.H Device extension structure for source code COM8250.H Standard 8250 UART defines RS485IOC.H IOCTL codes (used in both Q_TEST and RS485NT) RS485NT.LNR Linker "Release" command file RS485NT.LND Linker "Debug" command file MAKEFILE NMAKE compatibile make file SETENV.BAT Sets the necessary PATHS for compiling README.TXT This file *NOTE* ------ For obvious reasons we cannot supply the Microsoft tools, libraries, or includes. You need to purchase an MSDN subscription! ----------------------------------------------------------------------------- ***************************************************************************** Loading the driver: 1) Un-zip the file RS485NT.ZIP in a new directory 2) Copy RS485NT.SYS to the SYSTEM32\DRIVERS directory under the Windows NT system directory. 3) Launch REGEDIT.EXE and Import the file RS485NT.REG 4) Adjust the registry entry for RS845NT, if a change is necessary. The driver defaults to the settings for COM2, 19200 baud 5) Re-boot the machine ----------------------------------------------------------------------------- ***************************************************************************** Building the driver: 1) Make sure SETENV.BAT is modified for your particular system 2) Type NMAKE ----------------------------------------------------------------------------- ***************************************************************************** Known problems: --------------- The Microsoft NT driver SERMOUSE.SYS has a BUG! If RS485NT is allocated with the same Comport I/O and IRQ as your mouse, then SERMOUSE.SYS will generate a page fault and halt Windows NT. -> IF YOUR MOUSE IS ON COM1, CONFIGURE RS485NT FOR COM2. -> IF YOUR MOUSE IS ON COM2, COMFIGURE RS485NT FOR COM1. The fix: -------- If SERMOUSE.SYS page faults, re-boot under another OS or use the Last Known Good settings, then delete the RS485NT.SYS file under the DRIVERS subdirectory. Use REGEDIT to change the I/O base and IRQ used by RS485NT.SYS Search for RS485NT and edit any of the registry keys there. Registry Entries: ----------------- Port Address = 2F8 (COM2) and 3F8 (COM1) IRQ Line = 3 (COM2) and 4 (COM1) Baud Rate = 19200 (4B00 HEX), 38400 (9600 HEX), 57600 (E100 HEX), 15200 (1C200 HEX) Buffer Size = Minimum 1024 (400 HEX) ----------------------------------------------------------------------------- ***************************************************************************** LICENSE AGREEMENT FOR DEVICE DRIVERS INTERNATIONAL SOFTWARE This legal agreement between you, the customer or end user, and DEVICE DRIVERS INTERNATIONAL gives you certain rights, benefits, and obligations. By breaking any sealed package or by using the product, you agree to be bound by the terms of this agreement and indicate that you have read, understood, and will comply with these terms. 1. Product - The term product refers to the software supplied regardless of the media or means by which it is supplied. 2. License - The license agreement that DEVICE DRIVERS INTERNATIONAL grants is to install and use the product. 3. Copyright Notification - The product contains internal notification of copyright by DEVICE DRIVERS INTERNATIONAL. The copyright notification must remain intact regardless of any modification or usage of the product. The internal copyright notification must be displayed at least once during any product usage. Copyright notice must also appear in written form in any documentation you create in support or usage of the product. 4. You may not sell, lease, distribute, or release the product, in whole or in part, without explicit written permission from DEVICE DRIVERS INTERNATIONAL. 5. DEVICE DRIVERS INTERNATIONAL makes no warranties to the product's contents, disclaims any implied warranties of any kind, except that the product will perform functionally in accordance with the written documentation supplied. 6. DEVICE DRIVERS INTERNATIONAL shall not be liable to any person or entity for any direct, indirect, special, incidental or consequential damages resulting from the use or misuse of its product, including but not limited to loss of business, business profits, or business credibility. ***************************************************************************** ----------------------------------------------------------------------------- To Contact us: DEVICE DRIVERS INTERNATIONAL DEVICE DRIVERS INTERNATIONAL P.O. Box 451 7784 Montgomery Rd., Suite #7 Pine River, MN 5***74 Cincinnati, OH 45236-4491 Tel: 218-587-3120 Tel: 513-***4-4491 Fax: 218-587-3414 Fax: 513-***4-4697 Web: www.ddiusa.com ----------------------------------------------------------------------------- *****************************************************************************

近期下载者

相关文件


收藏者