Hi,
 
I am new to mote flash programming. I am trying to write a simple application that writes some data to the mote external flash. I have followed the mailing list examples for formatting a volume on flash first with Format.nc, then mounting the volume, and I verified that the mountdone event returned STORAGE_OK. When I try to write data into flash using the command:
 

call BlockWrite.write(0, p,STORAGE_BLOCK_SIZE);

where p indicates the address of the buffer to be written to flash memory, the write operation returns a FAIL. I know that there is something I am missing with with the write command, perhaps with the block address, and I would really appreciate any help in resolving this issue.

Thanks in advance,

--Raja

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

Reply via email to