基于IAP和USB技术的嵌入式程序升级方法  被引量:7

Embedded Software Update Based on IAP and USB

在线阅读下载全文

作  者:孟志强[1] 朱良焱[1] 石瑜[1] 

机构地区:[1]湖南大学电气与信息工程学院,湖南长沙410082

出  处:《湖南大学学报(自然科学版)》2009年第6期41-44,共4页Journal of Hunan University:Natural Sciences

基  金:国家科技部中小科技型企业创新基金资助项目(07C26224301761)

摘  要:对于内带IAP功能的嵌入式微控制器LPC2119,提出了一种基于IAP和USB技术的嵌入式系统应用程序升级新方法.采用U盘作为程序代码存储设备,并将微控制器内部存储器SRAM和Flash进行有效的区间分配.微控制器通过外部扩展的USB接口将U盘中代码读入到微控制器片内SRAM中相应区间,再调用微控制器的IAP功能将SRAM中代码写入片内相应的Flash分区中,实现嵌入式应用程序在线升级.给出了该方法的详细实现技术和程序流程图,该方案使嵌入式应用程序升级相当简单,受环境影响小.A new embedded software update solution based on IAP and USB was proposed for the microcontroller LPC2119 with IAP function. Embedded software code was copied from a USB flash disk into on-chip RAM of the microeontroller through an expanded USB interface, and then the code was written into the on-chip Flash by calling the IAP function of the microcontroller, thus online embedded software update was accomplished. The USB flash disk worked as a program code storage equipment. The on-chip Flash and the SRAM are divided into a number of storage segments. The realization technology and the flow-chart of this solution were introduced. This solution simplifies the embedded software update, and is little influenced by the environment.

关 键 词:嵌入式应用程序 存储器分配 程序升级 在应用编程 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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