On 16 April 2012 15:01, kaustav das <[email protected]> wrote:

> Hi,
> I am trying to write packets in flash of  telosb motes using block write
> command. Each packet is of size 56 bytes. After receiving a certain no. of
> packets (configurable) I am trying to write them. In the BlockWrite.write()
> function I am calling BlockWrite.sync(). This function fails and the
> writing is not getting happened. Can you tell me where I am doing wrong?
>

Until BlockWrite.writeDone() is signaled, the storage controller will be
busy and cannot accept further commands. With the limited information
provided, this would be my diagnosis of what's going on.

Regards,
/Johny
-- 
Johny Mattsson
Senior Software Engineer

DiUS Computing Pty. Ltd.
*where ideas are engineered
*
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to