摘要
提出一种改进HDiffPatch算法并在复旦微单片机上实现小内存差分升级的方案,即使用单片机内的Flash空间替代算法占用的RAM空间,从而减少算法对单片机RAM空间的需求,以满足小内存微处理器的差分升级,同时对算法内存分配释放函数进行优化,以最大限度地利用RAM空间。实验结果表明,改进后的HDiffPatch算法可以实现在小内存嵌入式设备上的差分升级。
In the paper,a scheme to improve the HDiffPatch algorithm and realize the differential upgrade of small memory on the Fudan microcontroller is proposed,that is,the Flash space in the microcontroller is used to replace the RAM space occupied by the algorithm,so as to reduce the requirement of the algorithm for the RAM space of the microcontroller,and to meet the differential upgrade of small memory microprocessors.At the same time,the algorithm memory allocation release function is optimized to maximize the use of RAM space.Finally,the experiment results show that the improved HDiffPatch algorithm can achieve differential upgrade on small memory embedded devices.
作者
李维
禹云辉
肖秋
Li Wei;Yu Yunhui;Xiao Qiu(Aircraft Technology Branch,Hunan AerospaceCo.,Ltd.,Changsha 410000,China)
出处
《单片机与嵌入式系统应用》
2023年第5期20-24,共5页
Microcontrollers & Embedded Systems