Abstract摘要——IAP(在应用程序)是嵌入式产品的固件更新程序的方法。通过网络远程更新嵌入式产品的固件,现在变得越来越流行了。因此,本文基于LwIP协议栈,我们设计了一个新的平台在STM32F107 IAP的方法,它是基于HTTP的STM32F107的以太网接口的编程方法。在介绍了系统模型的概述,介绍了如何以STM32F107港口LWIP协议栈和如何实现IAP程序细节。最后,在IAP方法的性能进行评估,结果表明,与其他的在线编程方法,这种编程方法有很多优点,可用于一般的嵌入式产品。IAP (In Application Programming) is a method of updating firmware program of the embedded products. It is now becoming more and more popular to update the firmware of the embedded products via the network remotely. So, in this paper, based on LwIP stack, we designed a new IAP method on the platform of STM32F107, which is the IAP method based on HTTP through the Ethernet interface of STM32F107. After introducing the overview of the system model, this paper shows how to port LwIP stack to STM32F107 and how to implement this IAP program in details. At the end, the performance of the IAP method is evaluated, and the result shows that comparing to other on-line programming methods, this IAP method has a lot of advantages, and can be used for general embedded products.
I. INTRODUCTION介绍
IAP(在应用编程)指的是动态更新的嵌入式产品的固件程序,而不影响其正常工作。在工业控制领域,必须保证嵌入式产品能够连续、稳定、可靠地工作。原因是多方面的,固件程序必须更新,通过给定的通信接口,如UART,USB,以太网等,而产品的工作。所以,许多客户都对嵌入式产品的IAP功能明确需求。许多ARM芯片都支持IAP、ISP(在系统编程)功能,但与ISP、IAP的灵活性的优点,更方便,不需要三分之一的bootloader程序[ 1 ]。现在越来越和更新固件的嵌入式产品更受欢迎,通过远程网络,在本文中,我们设计了基于HTTP的编程方法。IAP (In Application Programming) refers to updating firmware program of the embedded products dynamically, while not affecting the normal working of them. In industry controlling area, it must be ensured that the embedded products can work continuously, stably and reliably. For many reasons, firmware program must be updated via the given communication interface, like UART, USB, Ethernet, etc, while the product is working. So many customers have a clear demand for IAP function of the embedded products. Many ARM chips both support IAP and ISP (In System Programming) functions, but in contrast to ISP, IAP has the advantage of flexibility, much convenience and no need of a third bootloader program[1]. It is now becoming more and more popular to update the firmware of the embedded products via the network remotely, so, in this paper, we designed the IAP method based on HTTP.
This work is supported by the Fundamental Research Funds for the Central Universities grant 78220021.
II. BACKGROUND AND RELATED WORK背景及相关工作
IAP can be realized through many ways, for example, though UART, though USB, and even though CAN. But these IAP methods all have some disadvantages. Taking IAP through UART as an example, IAP in this way can rarely have remote operation ability, moreover, data transfer speed via UART is very slow. In opposite, Ethernet interface has many advantages to implement IAP: high speed communication rate, remote programming ability through the network (LAN or WAN), standardized application protocols on top of the TCP/IP stack, like FTP, TFTP, HTTP… , and so on. So, Ethernet is often the preferred interface for implementing IAP capability in embedded products.
Nowadays, products with remote updating capability are no doubt very popular to the customers. The IAP method based on HTTP can reduces much work and traveling fee of after service engineers. Try to imagine that if there are 200 embedded terminals in a network needed to be updated for new firmware software, ISP method or IAP though UART require the engineer to go t
本论文由英语论文网提供整理,提供论文代写,英语论文代写,代写论文,代写英语论文,代写留学生论文,代写英文论文,留学生论文代写相关核心关键词搜索。