科技广场
科技廣場
과기엄장
SCIENCE TECHNOLOGY PLAZA
2012年
5期
248-253
,共6页
串口服务器%STM32F107VCT6%嵌入式系统%TCP/IP%uCO/OS-Ⅲ
串口服務器%STM32F107VCT6%嵌入式繫統%TCP/IP%uCO/OS-Ⅲ
천구복무기%STM32F107VCT6%감입식계통%TCP/IP%uCO/OS-Ⅲ
Serial Sever%STM32F107VCT6%Embedded System%TCPflP%uCO/OS-Ⅲ
本文提出了一种低成本、高性能的以太网串口服务器的软硬件设计方案。该服务器以Codex.M3的芯片STM32F107VCT6为核心控制器,采用DP83848CW以太网控制器处理网络数据,使用通信串行接口RS-232传输数据。同时,将TCP/IP协议移植到uCO/OS-Ⅲ实时操作系统中,并用嵌入式系统建立实时多任务,使串口服务器能够以TCP/UDP模式在网口和串口端进行相互通信。研究证明,本服务器能实时、稳定地传输数据,并可以与设置好IP地址的网页进行相应数据的通信。
本文提齣瞭一種低成本、高性能的以太網串口服務器的軟硬件設計方案。該服務器以Codex.M3的芯片STM32F107VCT6為覈心控製器,採用DP83848CW以太網控製器處理網絡數據,使用通信串行接口RS-232傳輸數據。同時,將TCP/IP協議移植到uCO/OS-Ⅲ實時操作繫統中,併用嵌入式繫統建立實時多任務,使串口服務器能夠以TCP/UDP模式在網口和串口耑進行相互通信。研究證明,本服務器能實時、穩定地傳輸數據,併可以與設置好IP地阯的網頁進行相應數據的通信。
본문제출료일충저성본、고성능적이태망천구복무기적연경건설계방안。해복무기이Codex.M3적심편STM32F107VCT6위핵심공제기,채용DP83848CW이태망공제기처리망락수거,사용통신천행접구RS-232전수수거。동시,장TCP/IP협의이식도uCO/OS-Ⅲ실시조작계통중,병용감입식계통건립실시다임무,사천구복무기능구이TCP/UDP모식재망구화천구단진행상호통신。연구증명,본복무기능실시、은정지전수수거,병가이여설치호IP지지적망혈진행상응수거적통신。
This paper puts forward a kind of low cost, high performance Ethemet serial server design of the software and hardware solutions. The server uses Cortex-M3 chip STM32F107VCT6 as the core controller, selects the DP83848CVV Ethernet controller to process network data, and makes use of the communication interface RS232 to transfer serial data. At the same time, the TCP/IP protocol is transplanted into uCO/OS-Ⅲ real-time op- erating system, and in this system builds the embedded system real-time tasks, and that the server can work in TCP/UDP mode between Ethernet interface and the serial port for write to each other. Research proves that the server can transmit data real-time, steady, and can work with web page set valid IP address for the corresponding data communications.