摘要
本文介绍了一种高可靠的芯片代码升级方法,应用于微控制单元(MCU)或片上系统(SoC)中。重点是在快闪记忆体(flash)中划分专门的状态记录区域同步记录代码升级的状态信息,作用是当代码升级发生异常终止时,flash将实时状态信息写入状态记录区域中。当升级恢复时,系统读取状态记录区域中信息,延续上次失败处继续升级,以此方法提升代码升级效率、提高代码升级可靠性。
This paper introduces a highly reliable chip code upgrade method,which is applied to micro-controller units(MCU)or system on chip(SoC).The key point is to divide a dedicated status recording area in the flash memory to synchronously record the status information of code upgrades.When the code upgrade terminates abnormally,the flash writes real-time status information to the status recording area.When the upgrade is resumed,the system reads the information in the status record area and continues the upgrade from the last failure point.With the method,it improves the efficiency and reliability during the code upgrade.
作者
杨卫平
YANG Wei-ping(CFX Technology Co.,Ltd.of Zhuhai)
出处
《中国集成电路》
2024年第3期66-71,共6页
China lntegrated Circuit
关键词
代码升级
状态记录
升级可靠性
code upgrade
status records
upgrade reliability