Hi David Gay,
I'd know which version of TinyOs you have used and what type of sensor.
I'm using TinyOS 1.1.7 and mica2 motes.
Is it possible that I'm not able to store information using matchbox because I'm using this version of TinyOS?
There are some particular flag to set?

My aid is to use matchbox with TinyDB but before to do this I have thought to test matchbox. I programmed the mote attached to serial com with Remote application and I used tools like CopyIn and CopyOut to test if matchbox works.
Then I run this command:

java net.tinyos.matchbox.tools.CopyIn Test.txt
Build a Packet source for unknown
We're connected to avrmote
Hello

Ctrl+C

java net.tinyos.matchbox.tools.Dir Prova.txt
Build a Packet source for unknown
We're connected to avrmote
Test.txt

java net.tinyos.matchbox.tools.CopyOut Test.txt
Build a Packet source for unknown
We're connected to avrmote
Hello

If I reset the mote I got this:
Build a Packet source for unknown
We're connected to avrmote

(It doesn't report the file that i have written)

If I run again CopyIn and Dir (with success), when I run CopyOut i got this:
Build a Packet source for unknown
We're connected to avrmote
error : file open

Could you help me?
Thanks for all.
Roberto.

----- Original Message -----
From: "David Gay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 25, 2006 9:06 PM
Subject: Re: Matchbox


On 7/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi David,
I'm using Matchbox. It is supposed to write on flash.
I have tryed matchbox applications (like CopyIn e CopyOut)
but when I reset the mote the file that I have written
doesn't exist more.
It seems that matchbox writes only on ram.
I'm using mica2 mote and the Remote application.
Have you any ideas about this problem?

No. Last time I tried it, it worked. There's no "temporary ram
storage" which could explain your behaviour. I'd suggest emailing the
tinyos-help mailing list.

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

Reply via email to