摘要
研究一种基于STM32系列单片机实现IAP升级固件的方案,此方案对比ST官网IAP升级固件方案有较大的改进。电子产品出厂烧录固件时无需额外烧录Boot Loader引导代码,出厂后的电子产品可使用USB线与电脑连接,通过USB接口把需要升级的固件拷贝到电子产品自带的外部FLASH中。STM32读取外部FLASH中的固件对自身的FLASH数据进行升级,整个升级过程中不受断电影响。此升级方案可应用于智能家居产品、医疗电子产品、智能家电产品等。
A research scheme of IAP firmware upgrading based on SCMs in STM32 series is introduced,which is improved greatly in comparison with the IAP firmware upgrading scheme shown in ST official website.The electronic product factory doesn′t need to burn the Boot Loader guidance code in its electronic products additionally when burning the products′ firmwares.The final electronic product is connected with computer via USB cable.The firmware needing upgrade is copied into the external FLASH built-in electronic products through USB interface.The FLASH data of the firmware itself in external FLASH is read by means of STM32 for upgrade,and the whole upgrade process isn′t affected by power outage.This upgrade scheme can be applied to the intelligent household products,medical electronic products and intelligent appliances.
出处
《现代电子技术》
北大核心
2017年第22期142-144,148,共4页
Modern Electronics Technique
基金
国家自然科学基金项目(61662017)
广西高校重点实验室"嵌入式技术与智能信息处理"开放基金
广西重点实验室"嵌入式技术与智能系统"开放基金