文档介绍:2 2 2
2 2
2
2
2 2
2
第 33卷第 3期应用科技 Vol. 33, №. 3
2006年 3月 App lied Science and Technology Mar. 2006
文章编号: 1009 - 671X (2006) 03 - 0025 - 04
基于 AVR高速单片机的 W eb sever的研究
闫保中,虞凌宏,王仁龙
(哈尔滨工程大学自动化学院,黑龙江哈尔滨 150001)
摘要:采用 AVR系列单片机 ATmega128加以太网控制器 RTL8019AS. 用 U IP嵌入 TCP / IP 协议,实现 TCP和
UDP等网络功能,且可进一步实现 HTTP协议和 CGI服务. 提供了一个接入的低成本嵌入式系统和网
络访问的有效方法. 可用于网络传输、远程监视控制、信息家电等领域.
关键词: AVR; RTL8019; U IP; W eb sever 2
中图分类号: TP273 文献标识码: A
Research on W eb sever based on AVR
YAN Bao zhong, YU L ing hong, WANG Ren long
( School of Automation, Harbin Engineering University, Harbin 150001, China)
Abstract: The system adop ts controller RTL8019AS and ATmega128 which is one of the AVR serial sin
glechip s. It can perform the function of TCP and UDP, and imp lement HTTP and CGI service by embedding U IP in
to TCP / IP p rotocol. It is a low cost embedded system for linking with , and an effective way to access the
network. The system can be used work transm ission, long distance watching control, information electrical
app liance and other fields.
Keywords:AVR; RTL8019; U IP;W eb sever
互联网络是覆盖率广、联网设备多、协议完善、 W eb sever的目的,同时又大大简化了外围电路,提
功能强大的一种通信方式,具备互联网络的接入功高了可靠型.
能,已经成为众多使用微处理器的嵌入式应用的发 RTL8019AS是由台湾睿昱(Realtek)公司生产
展方向. 现在比较多的是基于 MS 51内核的单片机的一种高度集成的 10M 以太网控制器. 与 NE2000
上网方案,由于微处理器的处理能力限制,要实现较兼容, 支持 8 位、16 位数据总线; 内置 16 KB 的
复杂的网络传输和控制有点困难. 本系统采用高速 SRAM 作为