在coderwarrior 下怎么能在烧写代码的时候将EEPROM的内容 指定为特定的值

- UID
- 338970
- 性别
- 男
|
在coderwarrior 下怎么能在烧写代码的时候将EEPROM的内容 指定为特定的值
在coderwarrior 下怎么能在烧写代码的时候将EEPROM的内容 指定为特定的值 |
111111111111111111111111111111111111 |
|
|
|
|
|

- UID
- 114982
- 性别
- 男
|
使用const数组存储在指定地址。下面语句:
volatile const char Array_Name[] @0xffff ={1,2,3,4}
0xffff是地址,修改成你的,如果你刷进去以后,希望通过SCI和其它的通信修改,就必需加volatile,否则编译器就优化了可能就出错.
0xffff前面的符号的是键盘2上面的Email中间的at符号。 |
|
|
|
|
|
 
- UID
- 127135
- 性别
- 男
|
这种表达不是所有版本的CW都支持吧 不知道楼上的用的是什么芯片的编译器 |
|
|
|
|
|

- UID
- 114982
- 性别
- 男
|
|
|
|
|
|