中国半导体行业协会封装分会会刊

中国电子学会电子制造与封装技术分会会刊

导航

电子与封装 ›› 2023, Vol. 23 ›› Issue (5): 050501 . doi: 10.16257/j.cnki.1681-1070.2023.0056

• 产品、应用与市场 • 上一篇    下一篇

HTTP模式下STM32程序远程升级设计

谢昌伟;顾瀚戈;钟洪念;祁瑞   

  1. 中科芯集成电路有限公司,成都 610000
  • 收稿日期:2022-11-09 出版日期:2023-05-23 发布日期:2023-05-23
  • 作者简介:谢昌伟(1990—),男,重庆梁平人,本科,助理工程师,主要从事嵌入式软件方面的工作。

Remote Upgrade Design of STM32 Program in HTTP Mode

XIE Changwei, GU Han’ge, ZHONG Hongnian, QI Rui   

  1. China Key System &Integrated Circuit Co., LTD., Chengdu 610000, China
  • Received:2022-11-09 Online:2023-05-23 Published:2023-05-23

摘要: 针对嵌入式终端设备架设分散、数量庞大以及应用程序更新迭代速度快带来的程序升级困难局面,运用STM32微控制器的在应用中编程(IAP)原理,设计了通过以太网远程升级程序的方案。HTTP协议和LwIP协议的使用,不仅让整个方案具备高安全性、可靠性、易用性,还有效降低了硬件资源的消耗。该方案稳定可靠,操作简单,可以广泛应用于网络环境下的IAP升级,具备较高的推广价值。

关键词: 微控制器, 在应用中编程, HTTP, 远程升级

Abstract: In response to the difficulty of upgrading programs due to the scattered and large number of embedded terminal devices and the rapid iteration of application updates, a solution is designed to upgrade programs remotely via Ethernet using the STM32 microcontroller in application programming (IAP) principle. The use of HTTP and LwIP protocols not only provides high security, reliability and ease of use, but also effectively reduces the consumption of hardware resources. The solution is stable, reliable and simple to operate, and can be widely used for IAP upgrades in a network environment, which has high promotion value.

Key words: microcontroller, in application programming, HTTP, remote upgrade

中图分类号: