基于嵌入式Linux串口专用交换机的设计
[Abstract]:This design is based on the communication module of automobile detection line system, which solves the problem that the traditional RS-232C serial communication must add multiple serial cards to PC when connecting multiple devices. And in order to realize the communication between a large number of intelligent instruments and remote hosts, the data transmission rate and data reliability of serial communication in long-distance transmission will be greatly reduced. And the serial communication network based on RS-232C will become very complicated. In this paper, an embedded serial port special exchange device based on ARM9 and Linux operating system is developed. The device can make the existing intelligent instrument have the function of networking, realize the long-distance data transmission, remote data acquisition and control and so on. The system can receive the data from 8 serial ports, store and process the data, and transform it into Ethernet data packet which can be transmitted in the network. Data packets from Ethernet can also be received and unpacked, analyzed, converted and judged, and then sent to a specified serial port. The two-way transparent transmission of serial terminal data and TCP/IP network data is realized. The research contents of this paper include: 1. The target of the design of embedded serial port special purpose exchange is analyzed, and the detailed system design scheme is worked out. The S3C2440A of Samsung Company is chosen as microprocessor and embedded Linux system as the operating system of this design. 2. Hardware circuit design. Firstly, the overall scheme of hardware design is described. Then the system hardware is divided into four parts: processor module circuit design, Ethernet interface module circuit design, serial port expansion module circuit design and communication isolation module circuit design. The design process is described in detail. 3. The construction of embedded system. Including Uboot porting, Linux operating system transplantation, root file system making and device driver development, the development of device driver is emphatically introduced. Finally, the special platform of the embedded serial port exchange is constructed, which provides the necessary environment for the running and debugging of the application program. 4. Software design. Using multi-thread network program design under Linux platform, the server-side program of embedded serial port special exchange is designed. In the Windows platform, the API function of the client side is designed by using Socket network programming, which is convenient for the user to carry on the second development.
【学位授予单位】:南京航空航天大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TN915.05;TP368.1
【参考文献】
相关期刊论文 前9条
1 黄文力;马礼;王玉超;;嵌入式Internet中TCP/IP协议栈的研究与设计[J];电脑开发与应用;2008年01期
2 张凡;刘益成;;一种制作YAFFS2嵌入式文件系统的方法[J];电脑开发与应用;2010年09期
3 王达伟;曹政;刘新春;游定山;孙凝晖;;高性能互联网络交换机研究与设计[J];计算机研究与发展;2008年12期
4 史晓丹;;浅析集线器、交换机和路由器[J];科技传播;2011年05期
5 肖军;韩党群;储海燕;毕杨;;基于ARM的嵌入式TCP/IP协议的实现[J];现代电子技术;2009年02期
6 韦峰;卢再奇;刘伟;;YAFFS2在嵌入式系统中的实现[J];现代电子技术;2010年08期
7 Kiseon Kim;;Diffserv AQM algorithm for edge and core routers[J];Journal of Systems Engineering and Electronics;2010年06期
8 ;Key Technology of Embedded System Implementation for Software-based CNC System[J];Chinese Journal of Mechanical Engineering;2010年02期
9 邹颖婷;李绍荣;;ARM9上的嵌入式Linux系统移植[J];自动化技术与应用;2009年06期
相关硕士学位论文 前6条
1 张丙晨;基于Linux的嵌入式系统的技术及应用[D];铁道部科学研究院;2001年
2 官媛;嵌入式串口通讯服务器的研究和设计[D];浙江大学;2006年
3 赵国冬;安全嵌入式系统体系结构研究与设计[D];哈尔滨工程大学;2006年
4 范炜;基于ARM的嵌入式多串口网络服务器的设计与实现[D];北京交通大学;2008年
5 周田军;基于S3C2410A和Linux2.6.22的嵌入式系统构建[D];吉林大学;2008年
6 陈航;基于Linux的无线通信网关的设计与实现[D];北京邮电大学;2010年
,本文编号:2451180
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2451180.html