基于IAP的嵌入式系统在线编程设计  被引量:13

Embedded System Online Programming Design Based on IAP

在线阅读下载全文

作  者:文丰[1] 温倩 武慧军[1] Wen Feng;Wen Qian;Wu Huijun(National Key Laboratory for Electronic Measurement Technology,North University of China,Taiyuan 030051,China)

机构地区:[1]中北大学电子测试技术国家重点实验室,太原030051

出  处:《单片机与嵌入式系统应用》2022年第12期37-41,共5页Microcontrollers & Embedded Systems

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

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象