| 
					阅读:1996回复:5
				 串口问题
					   两个9针串口设备(都是木头),单独都可以和串口调试助手相互通信,但是当两个设备相互连接起来(不经过电脑)不能通信!!后来发现其中的一个设备只需要2,3,5三条线就可以和串口调试助手通信,而另一个设备必须用所有的9条才能够和串口调试助手通信,请问如何连线才能使这量个设备通信??
 以前有本书《串行端口大全》好象写过这个问题描述如何将三线的串口和全协议串口相连,现在没有这本书了也记不清是不是这个书,是不是有这个方法,请高手赐教 | |
| 最新喜欢: daniel... | 
| 沙发#发布于:2003-06-16 21:39 
					将9条的那个的所有输入信号都接上有效电平就可以了。我记得东南大学有本教材上讲过的。				 | |
| 
 | 
| 板凳#发布于:2003-06-19 05:43 
					你要的是 \"NULL Modem\"cable.
 自己造不难 设备A 设备B 2<---->3 rx/tx 3<---->2 tx/rx 4<---->6 dtr/dsr 5<---->5 gnd/gnd 6<---->4 dsr/dtr 7<---->8 rts/cts 8<---->7 cts/rts 9<---->9 ri/ri 设备A/B的1针接到自己的6针上 | |
| 地板#发布于:2003-07-02 18:23 你要的是 \"NULL Modem\"cable. 楼上的哥们,你知道虚拟的串口驱动程序怎么做吗?给点思路,谢先 | |
| 
 | 
| 地下室#发布于:2003-07-03 05:49 
					虚拟的串口驱动程序怎么做 ??
 例子如下 : http://www.driverdevelop.com/forum/viewthread.php?tid=30840 | |
| 5楼#发布于:2003-07-03 12:18 
					Cut & Paste from news group
 I just completed a project like this for a client. Here are the steps: 1) Create a bus driver FDO that will attach to the root device node. 2) The bus driver FDO calls IoInvalidateDeviceRelations() to force the PNP manager to issue an IRP_MN_QUERY_DEVICE_RELATIONS. 3) The bus driver FDO responds to this IRP by returning a list of PDOs in the DEVICE_RELATIONS structure. These PDOs will be the PDOs for your virtual serial ports - one for each port that will be created. 4) The PNP Manager will then send a IRP_MN_QUERY_ID to the top of your stack. 5) The Virtual serial port PDO responds to this IRP with the hardware ID of a serial port. 6) Using the .inf file for the virtual serial port FDO, the PnP manager can now execute the AddDevice routine with the pointer to the virtual port PDO. | |
 
							 
				 
				 
				