摘要
首次提出了在8位mcu应用环境中,高可靠网卡驱动程序的实现方法,使低性能的单片机能在高负荷的网络环境中始终正确驱动RTL8019网卡芯片。介绍了设计简化通信协议栈的方法,共实现了UDP、IP、ARP和ICMP四种协议;并提出了在中断前台程序中运行协议栈所有内容的程序结构,使得嵌入式设备能在无操作系统支持的情况下运行耗时较长的后台程序。最后将所设计的UDP协议应用在了视频字符叠加器中,实现了任意台计算机系统对叠加器的并行控制。
This paper presents a implementation of hign-reliable network card driver used in the 8-bit mcu, which enables the mcu with low performance to drive RTL8019 always correctly even in a high-load network. The method for designing a simplified communication protocol stack which includes UDP, IP, ARP and ICMP is introduced, as well as the program structure with the ability to let the embedded equipment run a long-time consumed background program without the support of a operating system by running the whole communication stack related code in the interrupt foreground program. At last this udp protocol is used in the video character mixer in order to realize parallel control of the mixer by arbitrary number of computers.
出处
《科技通报》
北大核心
2015年第9期164-167,共4页
Bulletin of Science and Technology
基金
国家自然科学基金(61300149)
关键词
嵌入式通信
字符叠加
网卡驱动
单片机
embedded communication
character superimposition
ethernet driver
mcu