共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 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |