基于uC/OS-II的嵌入式网络通信模块  被引量:7

Embedded Network Communication Module Based on uC /OS-II

在线阅读下载全文

作  者:郝玉胜 逯玉兰 

机构地区:[1]兰州交通大学光电技术与智能控制教育部重点实验室,甘肃兰州730070 [2]甘肃农业大学信息科学技术学院,甘肃兰州730070

出  处:《计算机与现代化》2014年第2期142-146,153,共6页Computer and Modernization

摘  要:为了给嵌入式系统提供一个节省资源且体积微小的网络通信模块,在移植了uC/OS-II实时操作系统的基础上,设计并实现基于嵌入式以太网控制器ENC28J60和uIP协议栈的嵌入式TCP/IP协议通信模块,详述ENC28J60寄存器配置方法,提供芯片初始化代码,实现ENC28J60驱动程序并给出uIP协议的使用方法。另外,针对uIP在UDP通信过程中存在的问题提出一种解决思路并予以实现。测试结果显示,PC机和开发板之间能够建立TCP连接,可以进行UDP通信。In order to provide a small and resource saving network communication module for embedded system, after the trans- plantation of uC/OS-Ⅱ, this paper introduces an embedded network communication module based on ENC28J60 and uIP stack, detailedly describes the register configuration methods, provides the chip initialization code, implements the driver of ENC28J60 and shows how to use uIP stack. Besides, a method is also proposed and implemented to fix the bug of uIP in UDP communica- tion. The test results show that a TCP connection can be established between PC and evaluation board, UDP communication can also be carried on.

关 键 词:UC OS-Ⅱ 嵌入式网络通信模块 ENC28J60 UIP协议栈 

分 类 号:TP271[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象