摘要
随着嵌入式产品功能的不断迭代,嵌入式软件的在线升级变得尤为重要。目前,基于二级启动的升级方案因高效性和较低的人力成本而被广泛应用。然而,这种方法仍需要通过代码实现完整性校验,且存在加载程序和软件程序入口地址不固定的问题。为解决这些问题,文章提出了一种新的升级方法,该方法支持程序在非易失性存储器中运行,并能够自我更新。通过设计特殊的链接文件,为应用程序的执行代码添加了校验字段,实现了自动完整性校验功能。同时,该方法支持应用程序初始化入口地址的固定,从而使二级启动变得更加通用。实验验证基于TMS320F28335数字信号处理平台,证明了该升级方法的有效性。
With the continuous iteration of embedded product functions,online upgrades of embedded software have become particularly important.At present,upgrade schemes based on secondary startup are widely used due to their high efficiency and low labor costs.However,this method still requires integrity verification to be implemented through code,and there is a problem of inconsistent loading program and software program entry addresses.To address these issues,a new upgrade method has been proposed that supports programs running in non-volatile memory and is capable of self updating.By designing special link files,verification fields have been added to the execution code of the application,achieving automatic integrity verification functionality.Meanwhile,this method supports fixed entry addresses for application initialization,making secondary startup more universal.Experimental verification based on the TMS320F28335 digital signal processing platform has demonstrated the effectiveness of the upgrade method.
作者
吴晋成
罗云鹏
王铜柱
潘宇
WU Jincheng;LUO Yunpeng;WANG Tongzhu;PAN Yu(No.30 Institute of CETC,Chengdu 610041,China)
出处
《计算机应用文摘》
2024年第17期160-163,166,共5页
Chinese Journal of Computer Application