摘要
介绍了一种微处理器系统运行参数的存储方法,并且在多款微处理器系统下进行参数存储使用。本方法借助系统已有的数据存储芯片,硬件上节省了器件成本;软件复用存储芯片读写代码,节省代码,可以快捷地查找当前在用参数和历史的备份参数。通过在多款微处理器系统上的使用效果来看,该方法具有运行参数存储稳定、开机启动时参数加载可靠等特点,未出现因运行参数读取失败导致系统死机的情况。
Abstract
In the paper,a method of storing the operating parameters of a microprocessor system is introduced,and stores the parameters in many types of microprocessor systems.With the help of the existing data storage chip of the system,the hardware saves the cost of the device,and the software reuses the read and write code of the storage chip to save the amount of code,which can quickly find the current parameters in use and the historical backup parameters.According to the use effect on several microprocessor systems,it has the characteristics of stable storage of operating parameters and reliable parameter loading when starting up,and there is no case of system crash due to failure of reading operating parameters.
关键词
微处理器系统 /
运行参数 /
备份方法 /
Flash存储
Key words
microprocessor system /
operation parameters /
backup method /
Flash storage
周锋, 顾桃峰, 朱志红.
一种微处理器系统运行参数的存储方法与使用*[J]. 集成电路与嵌入式系统. 2023, 23(4): 38-40
Zhou Feng, Gu Taofeng, Zhu Zhihong.
A Storage Method and Use of Operating Parameters of Microprocessor System[J]. Integrated Circuits and Embedded Systems. 2023, 23(4): 38-40
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 张刚毅.单片机原理及应用[M].北京:高等教育出版社,2003.
[2] 谭浩强.C语言设计[M].北京:清华大学出版社,2005.
[3] Silicon Laboratories inc.C8052F020单片机DATA Sheet,2020.
[3] 意法半导体.STM32F407中文参考手册,2020.
[4] W25Q128 FLSAH数据存芯片DATA Sheet,2020.
[5] 周锋.一种基于存储芯片的小型数据备份算法及应用[J].单片机与嵌入式系统应用,2022,22(10):3.
基金
*广州市科技计划项目(No.202206010016);广东省科技计划项目(No.2019B121201002)。