新增的Windows NT/2000/XP支持AN3315并

通信设计应用

63人已加入

描述

Abstract: This application note is a supplement to two previous application notes, which effectively extend the usage of the parallel-port, 2-wire hardware (presented in AN3230) and software (presented in AN3315) to computers operating on Windows® NT/2000/XP platforms.

Introduction

A common problem with the Windows NT/2000/XP operating systems (OS) is that they require drivers to access the parallel port, which often makes parallel-port software written for Windows 95/98 incompatible. A solution to get around this OS restriction is to purchase a third-party driver that allows an existing Windows 95/98 parallel-port programs to operate on a Windows NT/2000/ XP platform without modification.

Direct I/O® is shareware software, which is available for download from the Direct I/O website (http://www.direct-io.com). As of the time this application note was written, Direct I/O offered a 30-day trial period. However, see the Direct I/O website for their present terms and conditions of use. Dallas Semiconductor accepts no liability for any damages that may be caused by the using the Direct I/O software.

The AN3315 parallel-port, 2-wire software presented in this application note is free and available "as is" for use by our customers. Dallas Semiconductor accepts no liability for any damages the software may cause. Use the software at your own risk.

Using Direct I/O to Operate the AN3315 Parallel-Port 2-Wire Software on Windows NT/2000/XP

The following instructions can be used to install Direct I/O and configure it for use with the Dallas Semiconductor parallel-port, 2-wire software.
  1. Download the Dallas Semiconductor parallel-port, 2-Wire software from our ftp (http://files.dalsemi.com/system_extension/AppNotes/AN3315/) and save it to the hard disk.
  2. Download Direct I/O from http://www.direct-io.com and install it using the typical installation settings. This installation will require administrative privileges to complete.
  3. Once Direct I/O is installed, start the Direct I/O control panel (Figure 1) from the start menu.
  4. On the I/O Ports tab of the control panel, enter "378" in the Begin box and "37A" in the End box, and press the Add button to add a new I/O port range. These are the begin and end memory addresses of the I/O port range for LPT1. To run ParDS2W.exe on a different parallel port, the begin and end addresses will have to be modified to match the address of the parallel port that will be utilized.
  5. Click on the Securities tab, then click the Browse button and navigate to the location where ParDS2W.exe was saved on the hard disk. Highlight "ParDS2W.exe" with the mouse and click the Open button. This will show the path and application name (e.g. C:\ParDS2W.exe) in the edit box below the Allowed Processes title. Next, click the Add button to add ParDS2W.exe to the list box below.
  6. Click the OK button at the bottom of the control panel dialog to accept the configuration and close the control panel.
  7. Start the ParDS2W.exe application (Figure 2), which will now operate as it would normally on a Windows 95/98 computer.
端口
Figure 1. Configuring Direct I/O to Work with ParDS2W.exe.

端口
Figure 2. Parallel-Port, 2-Wire software running on Windows XP.

Conclusion

Direct I/O is a third-party shareware application that can be used to run parallel-port applications written for Windows 95/98 on Windows NT/2000/XP computers. This application note shows the steps required to install Direct I/O and configure it for the ParDS2W.exe application. This allows customers using any modern Windows OS to use the hardware circuit described in AN3230 to communicate with Dallas Semiconductor 2-wire products using the parallel-port, 2-wire software. For more information about the parallel-port, 2-wire software, please refer to AN3315.


打开APP阅读更多精彩内容
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

全部0条评论

快来发表一下你的评论吧 !

×
20
完善资料,
赚取积分