tinyos-help:
    Hello,All
    I wrote a new interface to access info flash, the definition as follows:
    async command result_t InfoFlashAccess.setFlag(uint8_t offset, uint8_t 
value);
    the first  parameter offset stands for the offset from the address 0x1000, 
and the second parameter means the value
to be set for the internal storage location that defines by the first 
parameter. But when I use the interface I found that If 
I transfer a real number to the second parameter, we can get right value to be 
set to the objective storage. However, 
when I transfer a variable to the second  parameter, I found no matter the 
value of the variable is, the value write to the 
target flash unit is zero. I am very confused and hop for help.
     Thanks!

email:[EMAIL PROTECTED]



                                                2008-07-30
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to