Hi
I am trying to use blockstorage on tmote sky platform.
I want to store some data on flash whenever I receive
something ovewr radio. This listener mote doesnot
transmit anything. After receiving four or five radio
packets , it gets stuck. Then if I reset the mote
manually it again starts receiving and gets stuck
after four or five packets. I am giving the code how I
wired the interfaces. 

Another thing is, I am actually not writing anything
to flash now, I just wires the blockstorage interface.
If I remove that wiring it works fine and does not get
stuck.

Any idea? 
Is there any hardware conflict or arbitration that I
need to resolve?


thanks


includes BlockStorage;
includes Storage;
configuration Watcher {
}
implementation {
  components Main, WatcherM, RadioCRCPacket as Comm,
BlockStorageC, LedsC, FormatStorageC, ResetC;

  Main.StdControl -> WatcherM;


  WatcherM.RadioControl -> Comm;
  WatcherM.RadioSend -> Comm;
  WatcherM.RadioReceive -> Comm;

  WatcherM.Leds -> LedsC;



  WatcherM.Mount ->
BlockStorageC.Mount[BLOCKSTORAGE_MYCOMPONENT];   
  WatcherM.BlockWrite ->
BlockStorageC.BlockWrite[BLOCKSTORAGE_MYCOMPONENT]; 
  WatcherM.BlockRead ->
BlockStorageC.BlockRead[BLOCKSTORAGE_MYCOMPONENT]; 
  WatcherM.FormatStorage -> FormatStorageC;

  WatcherM.Reset -> ResetC;

}


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to