摘要
以温度测控仪表为例分析了单片机系统进行非易失性数据存储时软件要解决的几个问题。运用指针解决了定义重合与地址重合问题,运用给RAM打软标记的办法解决了控制参数的初始化问题,给出了相应的C51程序。实践表明此方法易于操作,可靠性高。
Several problems need to solve for nonvolatile data storage in singlechip proc essor systems which are analyzed here for example of temperature measurement and control instrument. The problem of redefinition and readdress protected data is solved by data pointer. And the problem of control parameter initialization by means of RAM soft mark is also to be solved. The corresponding C51 program is pr esented. The method is proved convenient and reliable in applications.
出处
《计算机应用》
CSCD
北大核心
2003年第5期86-88,共3页
journal of Computer Applications
关键词
测控仪表
软件设计
非易失性数据存储
C51
单片机
measurement and control instrument
software design
nonvolatile data storage
C 51
MCU