摘要
文中提出了一种低成本、高性能的嵌入式串口服务器的硬软件设计方案。该服务器以ARM7芯片LPC2210为核心控制器,采用RTL8019以太网控制器处理网络数据,TL16C554异步通信组件处理串口数据。对轻便TCP/IP协议栈LWIP在μC/OS-Ⅱ实时操作系统中进行了移植,并对16路串行通道设计了实时多任务方案,使串口服务器能够以TCP/UDP模式在网口和串口端进行双向232/485通信。实验证明本服务器能使传输数据实时,准确。
The paper presents a low-cost design scheme for the embedded serial server's hardware and software. Based on ARM7 chip LPC2210, the server uses RTLS019 as the Ethernet controller to process network data and selects TL16C554 as a synchronous communication module to process serial data. By transplanting lightweight TCP/IP protocol stack LWIP into RTOS μC/OS-Ⅱ and designing a real time multi-processing scheme for 16 serial channels, the serial server realizes bi-direetional communieation between the net interface with TCP/UDP protocols and the 232/485 serial port. Experiment results show that the server transmits data in real time with accuracy.
出处
《电子科技》
2009年第5期11-13,共3页
Electronic Science and Technology