共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 跳转至页
回复
我要赚赏金打赏帖 |
|
|---|---|
| PCF8574功能模块及其使用被打赏¥20元 | |
| 传感器LSM6DSO及LIS3MDL的功能检测被打赏¥18元 | |
| LPS25HB气压传感器及其检测被打赏¥18元 | |
| HTS221温湿度传感器及其检测被打赏¥18元 | |
| 【S32K3XX】HSE FW 版本更新被打赏¥21元 | |
| 基于ArduinoUNO开发板的AT24C02读写测试被打赏¥16元 | |
| TCS3472S传感器及其色彩检测被打赏¥19元 | |
| 【S32DS】S32K3 RTD7.0.1 HSE 组件配置报错问题解决被打赏¥27元 | |
| 【S32K3XX】MCME 启动 CORE1被打赏¥23元 | |
| AG32VH407下温度大气压传感器及其检测被打赏¥20元 | |
我要赚赏金
