A design and implement of IAP based on HTTP

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.