With the rapid development of the embedded technology, research and implement of the Internet of things will be a new technology revolution, yet the implement of the Internet of things is on the base of the communicat...With the rapid development of the embedded technology, research and implement of the Internet of things will be a new technology revolution, yet the implement of the Internet of things is on the base of the communication between the things. For this reason, realizing the function of communication between singlechip is particularly important. Based on the characteristics of the embedded microcontroller, we analyzed the traditional PC TCP/IP protocol, and appropriately tailored TCP/IP protocol cluster on the basis of the characteristics of embedded singlechip. At last, we realized the reduced TCP/IP protocol cluster suitable for embedded singlechip, on AVR singlechip platform.展开更多
为了提高TCP/IP协议栈的实时性,并保证其可靠性和可扩展性,满足物联网工程低功耗的需求,采用LPC2124ARM微控制器和ENC28J60网络芯片,实现了嵌入式的TCP/IP精简协议栈.该协议栈以实时操作系统μC/OS-Ⅱ为内核,除了基本TCP/IP协议簇外,还...为了提高TCP/IP协议栈的实时性,并保证其可靠性和可扩展性,满足物联网工程低功耗的需求,采用LPC2124ARM微控制器和ENC28J60网络芯片,实现了嵌入式的TCP/IP精简协议栈.该协议栈以实时操作系统μC/OS-Ⅱ为内核,除了基本TCP/IP协议簇外,还包含了DHCP、ICMP、Socket接口以及DNS协议以增强灵活性和可靠性.使用纯C和汇编语言编写,利用keil进行编译,proteus模拟仿真.完成了系统的移植、硬件驱动和协议栈的实现.使用wireshark等工具进行了一系列的功能、性能测试和实验.实验和测试结果表明,精简的协议栈在实现基本功能的基础上带来了更短的代码量(7.6 K RAM,48K ROM),其UDP传输速率达到了16.5K/s.而且协议栈支持扩展,用户可以根据需求自行设计.展开更多
文摘With the rapid development of the embedded technology, research and implement of the Internet of things will be a new technology revolution, yet the implement of the Internet of things is on the base of the communication between the things. For this reason, realizing the function of communication between singlechip is particularly important. Based on the characteristics of the embedded microcontroller, we analyzed the traditional PC TCP/IP protocol, and appropriately tailored TCP/IP protocol cluster on the basis of the characteristics of embedded singlechip. At last, we realized the reduced TCP/IP protocol cluster suitable for embedded singlechip, on AVR singlechip platform.
文摘为了提高TCP/IP协议栈的实时性,并保证其可靠性和可扩展性,满足物联网工程低功耗的需求,采用LPC2124ARM微控制器和ENC28J60网络芯片,实现了嵌入式的TCP/IP精简协议栈.该协议栈以实时操作系统μC/OS-Ⅱ为内核,除了基本TCP/IP协议簇外,还包含了DHCP、ICMP、Socket接口以及DNS协议以增强灵活性和可靠性.使用纯C和汇编语言编写,利用keil进行编译,proteus模拟仿真.完成了系统的移植、硬件驱动和协议栈的实现.使用wireshark等工具进行了一系列的功能、性能测试和实验.实验和测试结果表明,精简的协议栈在实现基本功能的基础上带来了更短的代码量(7.6 K RAM,48K ROM),其UDP传输速率达到了16.5K/s.而且协议栈支持扩展,用户可以根据需求自行设计.