论文部分内容阅读
本方案设计的这个串口服务器,利用1个中断源高效管理多个串口,将普通 PC 机上的一个 USB 接口扩展为8 个通用串行接口。并在设备驱动程序中将这8个串口作为虚拟串口,使得主机可以如同操作本机串口一样通过主机 USB 口对串口设备进行数据读取,从而满足了单台 PC 主机同时连接多台串口设备的需求。本文从系统设计、硬件设计和软件设计三方面,阐述了在实现过程中所需要达到的软硬件技术要求,并给出了具体的硬件电路解决办法和软件设计流程图。
This serial port server designed in this scheme, utilizes one interrupt source to manage many serial ports efficiently, expands a USB interface on the ordinary PC machine for 8 general-purpose serial interfaces. And in the device driver these eight serial ports as a virtual serial port, making the host can be the same as the operation of the serial port through the host USB port to read serial data on the device to meet the single PC host to connect multiple serial devices demand. This article elaborates the hardware and software technical requirements that need to be achieved in the process of system design, hardware design and software design from three aspects. The hardware circuit solution and software design flow chart are given.