基于IAP的嵌入式系统在线编程设计

文丰, 温倩, 武慧军

集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (12) : 37-41.

PDF(1316 KB)
PDF(1316 KB)
集成电路与嵌入式系统 ›› 2022, Vol. 22 ›› Issue (12) : 37-41.
技术纵横

基于IAP的嵌入式系统在线编程设计

  • 文丰, 温倩, 武慧军
作者信息 +

Embedded System Online Programming Design Based on IAP

  • Wen Feng, Wen Qian, Wu Huijun
Author information +
文章历史 +

摘要

为了实现嵌入式系统程序的在线升级,提出一种基于IAP在线编程的程序更新方法。以STM32L431控制器为例,该方法对控制器的片内FLASH进行区域划分,分别存放引导程序、执行程序及待更新程序。系统通过运行引导程序将待更新程序更新到执行程序的FLASH区域,程序更新成功后跳转至新的执行程序运行。该设计成功实现了FLASH程序的在线更新并进行了实验验证,其操作简单、速度快、正确率高。

Abstract

In order to realize the online upgrade of embedded system program,a program update method based on IAP online programming is proposed.Taking STM32L431 controller as an example,the method divides the FLASH region of the controller,storing the bootstrap program,executing program and the program to be updated respectively.The system updates the program to be updated to the FLASH area of the execution program by running the boot program.After the program is successfully updated,the system jumps to the new execution program.The design has successfully realized the online update of FLASH program and has been verified by experiments.It is simple,fast and accurate.

关键词

IAP / FLASH / STM32L431 / 嵌入式系统

Key words

IAP / FLASH / STM32L431 / embedded system

引用本文

导出引用
文丰, 温倩, 武慧军. 基于IAP的嵌入式系统在线编程设计[J]. 集成电路与嵌入式系统. 2022, 22(12): 37-41
Wen Feng, Wen Qian, Wu Huijun. Embedded System Online Programming Design Based on IAP[J]. Integrated Circuits and Embedded Systems. 2022, 22(12): 37-41
中图分类号: TP311.1   

参考文献

[1] 王巍,俞冠中,靳子洋.基于CortexM的嵌入式设备固件更新方法研究[J].单片机与嵌入式系统应用,2021,21(6):6973.
[2] 姜晓道,赵紫君.基于IAP的通用嵌入式系统在线升级功能设计[J].电子制作,2022,30(6):2023.
[3] 黄钰强,岳伟.Ethernet的嵌入式系统BootLoader设计[J].单片机与嵌入式系统应用,2021,21(9):1013.
[4] 倪文龙,钱宏文,付强,等.工业以太网系统IAP升级设计[J].自动化仪表,2021,42(8):5053.
[5] 周振齐.单片机IAP在应用软件升级的方法探究[J].数码世界,2016(5):1112.
[6] 陈晨,莫付江,赵岗岗,等.STM32串口IAP中的关键问题分析[J].工业控制计算机,2020,33(5):5256.
[7] 唐鹏程,汪旭明,胡力.用IAP技术在线升级STM32单片机固件[J].吉首大学学报(自然科学版),2019,40(1):2126.
[8] 李富民,周风余,姜志飞.基于GPRS与IAP技术的监控系统远程升级软件设计[J].单片机与嵌入式系统应用,2016,16(8):1416,19.
[9] 李光学,郭燕红,李超,等.基于STM32的高可靠IAP在线烧写设计[J].电子测量技术,2018,41(17):105109.
[10] 常浩,王彬,王云飞.基于CKS32F103CBT6的IAP固件升级的设计[J].电子与封装,2021,21(12):7781.
[11] 康燕萍,程小辉,黄鹏.基于STM32系列电子产品的IAP研究[J].现代电子技术,2017,40(22):142144,148.
[12] 郭俊,虞致国,洪广伟,等.基于RISCV处理器的固件更新系统设计[J].计算机工程与应用,2022,58(4):298303.

PDF(1316 KB)

Accesses

Citation

Detail

段落导航
相关文章

/