摘要
针对嵌入式产品程序更新问题,提出了一种基于IAP技术的STM32单片机在线固件升级方案,设计了STM32单片机最小系统硬件电路和USB转串口通信电路,并给出了Bootloader程序、APP程序、PC上机程序的实现流程.实验结果表明,该方案具有简单实用、稳定性高、维护成本低和设备使用效率高的特点,适用于嵌入式产品升级.
For the problem of updating embedded products program,an online firmware upgrade scheme of STM32 single chip microcomputer based on IAP technology is proposed.This scheme not only elaborates the principle of IAP technology in detail but also provides the design of the minimum system hardware circuit of STM32 MCU,the design of USB for serial communication circuit,and the implementation flow of Bootloader program,APP program and PC program.The experiment results show that the scheme is simple,practical and highly stable.In addition,it can be used to actual embedded product upgrading,significantly reducing maintenance costs and improving the efficiency of equipment.
作者
唐鹏程
汪旭明
胡力
TANG Pengcheng;WANG Xuming;HU Li(College of Physics and Electromechanical Engineering,Jishou University,Jishou 416000,Hunan China;College of Information Science and Engineering,Jishou University,Jishou 416000,Hunan China)
出处
《吉首大学学报(自然科学版)》
CAS
2019年第1期21-26,共6页
Journal of Jishou University(Natural Sciences Edition)
基金
吉首大学研究生校级科研项目(JDY47)