基于DM9000A的TCP通信设计毕业论文.docx基于DM9000A的TCP通信设计 摘 要 随着时代的发展,因特网的广泛普及,人们对智能化产品需求的增加,许多应用 领域纷纷与网络技术结合,出现了信息家电如PDA、可视电话、移动电话、机顶盒和 数码相机等嵌入式设备,它们正逐渐走向网络化,以共享互联网中庞大的信息资源。本 课题设计了一个基于DM9000A的TCP通信,以DM9000A以太网控制器为核心,TCP/IP 协议为重点,采用软硬结合方式实现设计o课题系统的介绍了硬件网络控制器DM9000A 的内部结构与特点,并编写了相应的程序代码及阐述了它的驱动原理,采用软件编程虔 义TCP/IP协议层的各帧结构,通过分析协议的通信原理及具体实现过程,将简化的 TCP/IP协议移植到ARM硬件平台。并利用协议的接口函数编写上层应用程序,最后在 应层实现EM客户端与PC服务器端之间的数据传输。实验证明,本课题的设计能够成 功的实现ARM平台上的移植,并完成数据的准确传输,这将为以后网络之间的通信提 供了方便。 关键词: DM9000A;以太网;TCP/IP协议 TCP communication design based on DM9000A Abstract With the development of the times, the popularization of internet widespread, people's demand on the increase of intelligent product, many application domains in abundance with networking union. Appeared information home appliances such as PDA, videophone, mobile telephone, set-top boxes and digital camera etc, they are gradually embedded equipment, to share internet towards network in the enormous information resources. This topic is TCP communication design based on DM9000A, takes the DM9000A Ethernet controller as the core, TCP/IP protocol for key point, and selects the soft and hard union method to realize the design. This topic systematically introduces the hardware network controller DM9000A9s internal structure and characteristics, and have compiled the corresponding procedure code and elaborated its actuation principle. Using software programming definition TCP/IP protocol layer each frame structure, and realizes the process specifically through the analysis agreement^ correspondence principle, will simplify the TCP/IP protocol transplanted to ARM hardware platform. And using agreement connection function compilation upper formation application procedure, finally in should the level realize between the EM client side and the PC server end data transmission. The experiment proved that this topic's design can succeed realizes in the ARM platform transplant, and completes the data the accurate transmission, this will be for the communication between netw