当前位置:主页 > 科技论文 > 计算机论文 >

基于Linux和DM9000的网卡驱动设计

发布时间:2018-10-23 15:36
【摘要】:Linux技术是当前计算机技术中最大的一个热点,在我国以及全世界得到了迅猛的发展,被广泛的应用于嵌入式系统、服务器、网络系统、安全等领域。掌握在Linux环境下的开发技术是当今嵌入式系统开发行业中引人注目的热点,而Linux驱动程序开发成为当前嵌入式系统开发的难点,尤其是在物联网产品日益普及和发展的今天,开发高效的Linux下网卡驱动程序对物联网行业的发展具有重要的实际意义。嵌入式系统的网卡驱动程序成为系统能否运作的一个关键性环节,如果网卡驱动不存在,网卡将不能实现网络数据的传输,也就相当于人的大脑不能接受需处理的数据,这必然将会是一个严重的问题。 本论文的方案实现了S3C2440与DM9000的以太网卡接口设计,使100M以太网大量数据的快速传输成为可能。采用该方案,除了可以充分利用PC机上各种资源,还可以实现嵌入式系统产品间的数据交换。并且该设计方案对大多数嵌入式设备的网络应用具有较高的通用性。论文对基于ARM的网络设备驱动程序开发进行了研究,分析了嵌入式Linux网络设备驱动程序的实现原理和运行过程,,讲述了嵌入式系统中网络设备驱动开发的具体过程,在嵌入式Linux中实现了DM9000网卡驱动。具体分析了网络设备的初始化、设备的打开与关闭、数据的传送和接收以及超时处理等相关过程。 相对于操作系统中内核提供的驱动程序大多是基于CS8900芯片和RTL8019芯片而设计开发的,由于该类网卡具有接线复杂因而造成驱动程序结构复杂、占用内存多、传输速度慢等缺点,本文设计了一种基于linux和DM9000的网卡驱动,文中的驱动程序具有结构简单、占用程序内存少、传输数据稳定和速度快等优点,当运用在物联网家电中时,其占用内存少、传输数据稳定和快速等优点会为物联网的普及带来极大的方便。
[Abstract]:Linux technology is the biggest hot spot in the current computer technology. It has been developed rapidly in our country and all over the world. It has been widely used in embedded system, server, network system, security and other fields. Mastering the development technology under the Linux environment is a hot spot in the embedded system development industry nowadays, and the development of the Linux driver has become a difficult point in the embedded system development, especially in the days when the Internet of things products are becoming more and more popular and developed. It is of great significance for the development of the Internet of things industry to develop an efficient Linux network card driver. The network card driver of the embedded system becomes a key link in the operation of the system. If the network card driver does not exist, the network card will not be able to realize the transmission of network data, which is equivalent to that the human brain cannot accept the data to be processed. This will certainly be a serious problem. In this paper, the design of Ethernet card interface between S3C2440 and DM9000 is realized, which makes it possible for 100m Ethernet to transmit a lot of data quickly. This scheme can not only make full use of all kinds of resources on PC, but also realize the data exchange between embedded system products. And this design scheme has high universality to the network application of most embedded devices. This paper studies the development of network device driver based on ARM, analyzes the realization principle and running process of embedded Linux network device driver, and describes the specific process of network device driver development in embedded system. The DM9000 network card driver is implemented in embedded Linux. The initialization of network equipment, the opening and closing of the device, the transmission and reception of data and the processing of timeout are analyzed in detail. The drivers provided by the kernel in the operating system are mostly designed and developed on the basis of CS8900 chips and RTL8019 chips. Because of the complex wiring of this kind of network cards, the structure of the driver program is complex, the memory is occupied more, the transmission speed is slow, and so on. A kind of network card driver based on linux and DM9000 is designed in this paper. The driver in this paper has the advantages of simple structure, less program memory, stable data transfer and high speed. When it is used in the Internet of things home appliances, it occupies less memory. The advantages of stable and fast data transmission will bring great convenience to the popularization of the Internet of things.
【学位授予单位】:辽宁大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP334.7;TP368.1

【参考文献】

相关期刊论文 前2条

1 赵贻竹;鲁宏伟;郭俊甫;;Google硬件体系结构分析[J];计算机工程与科学;2007年09期

2 陈帮鹏;王焕文;;Linux操作系统之浅见[J];民营科技;2007年07期



本文编号:2289672

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2289672.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户c67b5***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com