[Tinyos-help] ConfigStorageC help

David Gay dgay42 at gmail.com
Wed Jan 17 10:40:16 PST 2007


On 1/15/07, Dimas Abreu Dutra <d1ma5 at yahoo.com> wrote:
>
> Hello,
>
>  I'm having a problem with the ConfigStorageC module in a mica2 mote using
> T2. I create the volumes, do the writes and get success in every error_t
> returned, do a successful commit but don't get a true in "call
> ConfigStorage.valid()" the next time I restart the mote.
>
>  Does anybody have a clue about what that may be? I tried the
> ConfigStorage.getSize() command but that returned 250 bytes and I only use
> 8.

Does the ConfigStorage test app work for you? It's in
apps/tests/storage/Config. You probably want to try the following:

  make mica2 install.15 # do a basic test
  # wait for the green led on the mica2 (red means test failed)
  make mica2 reinstall.115 # reboot and check you can read the previous results
  # wait for the green led on the mica2 (red means test failed)
(see the README.txt for more details)

David Gay


More information about the Tinyos-help mailing list