解決済! 解決策の投稿を見る。
Hello
Just a small correction here.
Make sure to define your variable in a __GPAGE_SEG segment as follows:
#pragma DATA_SEG __GPAGE_SEG MY_INT
int my_int;
#pragma DATA_SEG DEFAULT
CrasyCat
Yeah,
Thats what I figured. With the S12 I could do this.
nvm.data = 0x23;
and it would be routed through the datapage routines because nvm was mapped to a far (but not physically present) address. Now I'll have to change it to
NVMWrite( nvm.data, 0x23);
Hello
Just a small correction here.
Make sure to define your variable in a __GPAGE_SEG segment as follows:
#pragma DATA_SEG __GPAGE_SEG MY_INT
int my_int;
#pragma DATA_SEG DEFAULT
CrasyCat