如何访问我的9个数据位串行端口的PC上? [英] How to access my 9-data bit serial port on a PC?

查看:399
本文介绍了如何访问我的9个数据位串行端口的PC上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经开发了一个嵌入式解决方案,它通过多点总线通信的,现在我想开发一个基于PC的应用程序,监视总线上的流量。

I have developed an embedded solution which communicates over a Multi Drop Bus and now I would like to develop a PC based application which monitors traffic on the bus.

MDB支持真正的9个数据位(加上启动/停止/奇偶校验 - 与*没有捏造*使用奇偶校验位为第9位数据),而标准的Windows和Linux的图书馆提供最多8个数据位。

MDB supports true 9 data bits (plus start/stop/parity - and *no fudging* by using the parity bit as a 9th data bit) whereas standard Windows and Linux libraries offer a maximum of 8 data bits.

我有一个<一个href=\"http://intrl.startech.com/Cards-Adapters/Serial-Cards-Adapters/2-Port-16950-Serial-PCI-Card~PCI2S950\"相对=nofollow>斯达PCI2S950 支持9位数据位,但我不知道如何code我监控的应用程序和放大器PC串口卡;用Google搜索了很多没有很大的效果。

I have a StarTech PCI2S950 PC serial port card which supports 9-data bits, but am not sure how to code my monitoring app & have googled a lot to no great avail.

我想preFER至code在C(或Delphi或C ++)。我有Cygwn轻微preference,但我愿意用简单的Windows或Linux。

I would prefer to code in C (or Delp or C++). I have a slight preference for Cygwn, but am willing to use straightforward Windows or Linux.

就任何超过了PC机的串口卡读/写9位数据。

Just anything to read/write 9 data bits over that PC serial port card.

谁能帮助?

推荐答案

在的 http://www.semiconductorstore.com/pdf/newsite/oxford/ox16c950b.pdf 介绍了各种UART接口之间的差异。
当你的斯达板包括16C950,这是RS-485(9位)能力,它使用它的RS-232兼容(550)模式下,从IBM-PC天类似于八千二百五十零分之一万六千五百五十零,并支持最大8位数据。

The document at http://www.semiconductorstore.com/pdf/newsite/oxford/ox16c950b.pdf describes the differences between various UARTs. While your StarTech board includes the 16C950, which is RS-485 (and 9-bit) capable, it uses it in RS-232 compatible (550) mode, similar to 16550/8250 from IBM-PC days, and supports max 8 bit data.

您需要使用相同的芯片(16C950)一个电路板,但暴露了支持9位数据按规范的RS-485兼容950模式。任何声称董事会这种支持必须附带的Windows自定义驱动程序,因为微软的只有8位。

You need a board with the same chip (16C950) but that exposes the RS-485 compatible 950 mode that supports 9 bit data as per the spec. And any board claiming such support would have to come with custom drivers for Windows, since Microsoft's is 8 bit only.

有几个其他芯片,可以做到9位的RS-485中提到这里却又发现的Windows驱动程序支持将是棘手的。而且,当然,很多板卡使用16C950但仅在8位和/或RS-232仅模式,并且没有相应的驱动程序。

There are several other chips that can do 9-bit RS-485 mentioned here but again finding Windows driver support will be tricky. And, of course, many boards use 16C950 but only in 8-bit and/or RS-232 only mode, and without appropriate drivers.

在回答您的相关问题上的超级用户 锯末建议<一href=\"http://www.sealevel.com/store/7205e-low-profile-pci-ex$p$pss-rs-232-rs-422-rs-485-serial-interface.html\"相对=nofollow>的Sealevel 7205e ,它看起来像一个不错的选择,与Windows驱动程序支持。它是昂贵的,但他们特别提到9位,RS-485支持和Windows驱动程序。这可能是你最好的选择。

In answer to your related question on Superuser, sawdust suggested the Sealevel 7205e, which looks like a good choice, with Windows driver support. It is pricey but they specifically mention 9-bit, RS-485 support, and Windows drivers. It may well be your best option.

这篇关于如何访问我的9个数据位串行端口的PC上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆