共2条
1/1 1 跳转至页
INFO,FLASH 关于INFO FLASH的使用
问
版主:我用f149片子,资料上说它有256个字节的INFO FLASH,那么我是否可以拿来保存一些保存数据,当再次上电时我能读出这些数据呢?请问在IAR WORKBENCH里怎么定义呢?谢谢!
答 1:
you CAN use a assembly lanuage, the examples is as belows:
ORG 01000H
DB "MSP430 INFORMATION FLASH TESTIN"
DB "COMPLIER"
DB __DATE__
DB __TIME__
END
adding the file to your project , after compiling and linking,and then download into information flash with application code together. 答 2: 那么请问C语言有什么定义的方法,还是用写FLASH功能? 答 3: 引用: 答 4: For factory parameters use that method mentioned just. Only using flash routine to handle flash area while access random data.
In C language presents as follows:
const unsigned char[] 0x1000={"1234566"};
Because it never is invoked, and will be igored by compiler. maybe this is a bug of compiler. 答 5: AQ430下怎么不行呢? 答 6: 不管是AQ430还是IAR EW430都可以对FLAHS区进行操作,包括INFO FLASH
ORG 01000H
DB "MSP430 INFORMATION FLASH TESTIN"
DB "COMPLIER"
DB __DATE__
DB __TIME__
END
adding the file to your project , after compiling and linking,and then download into information flash with application code together. 答 2: 那么请问C语言有什么定义的方法,还是用写FLASH功能? 答 3: 引用: 答 4: For factory parameters use that method mentioned just. Only using flash routine to handle flash area while access random data.
In C language presents as follows:
const unsigned char[] 0x1000={"1234566"};
Because it never is invoked, and will be igored by compiler. maybe this is a bug of compiler. 答 5: AQ430下怎么不行呢? 答 6: 不管是AQ430还是IAR EW430都可以对FLAHS区进行操作,包括INFO FLASH
共2条
1/1 1 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| OK1126B-S开发板下函数构建及步进电机驱动控制被打赏¥25元 | |
| 【S32K3XX】LPI2C 参数配置说明被打赏¥20元 | |
| OK1126B-S开发板的脚本编程及应用设计被打赏¥27元 | |
| 5v升压8.4v两节锂电池充电芯片,针对同步和异步的IC测试被打赏¥35元 | |
| 【S32K3XX】S32DS LPI2C 配置失败问题解决被打赏¥22元 | |
| 【S32K3XX】FLASH 的 DID 保护机制被打赏¥19元 | |
| OK1126B-S开发板串口通信及其使用被打赏¥18元 | |
| 【S32K3XX】多核 CORE ID 获取被打赏¥18元 | |
| OK1126B-S开发板的GPIO资源及其使用被打赏¥20元 | |
| 【分享开发笔记,赚取电动螺丝刀】三分钟快速上手驱动屏幕(Arduino IDE环境)被打赏¥23元 | |
我要赚赏金
