摘要
以基于精简指令集(RISC)技术的AT90S8515单片机和RTL8139以太网接口控制器(NIC)为硬件平台,针对嵌入式系统资源有限的特点,提出了一种通用的嵌入式系统以太网接口设计与实现方案.详细阐述了RTL8139NIC的逻辑结构、工作原理、直接内存访问(DMA)控制器数据发送接收原理及以太帧封装过程,深入讨论了NIC初始化、数据帧收发、本地远程DMA操作的寄存器编程过程,给出了一个完整的以太帧接收发送实现方案.
In this paper, a design and implementation scheme of a general embedded system Ethernet interface is proposed based on AT90S8515 single chip that uses RISC technology and RTL-8139 network interface controller hardware platform. The design aims at the characteristics that the embedded system only has limited resources. The logic structure, operation principle, DMA controller data sending / receiving principles of RTL-8139 NIC and Ether frame encapsulation course have been explained in detail. The register programming process of NIC initializing, data frame receiving and dispatching, operation of local/remote DMA controller have been deeply discussed, providing a completed implementation scheme of sending/receiving an Ethernet frame.
出处
《山东大学学报(工学版)》
CAS
2005年第3期93-97,共5页
Journal of Shandong University(Engineering Science)
基金
教育部博士学科点专项科研基金资助项目(20030145030)