[Tinyos-help] tmote connect and Tinyos-2.x
Philip Levis
pal at cs.stanford.edu
Tue Mar 4 13:02:04 PST 2008
On Mar 4, 2008, at 12:52 PM, Eric Keller wrote:
> I am trying to use the tmote-connect with
> tinyos-2.02. I have been using it successfully with Boomerang.
>
> The tmote-connect says it's version is V2.3R29
>
> I have programmed a mote with the base station
> software, and another with the Oscilloscope program. This works
> with the base station on my desktop computer.
>
> So I hooked the base station up to the tmote-connect, and I get
>
> MOTECOM=sf at 192.168.10.102:9001 java Oscilloscope
> sf at 192.168.10.102:9001 died - exiting (java.io.IOException:
> protocol error)
>
> Same thing happens if I I run the serial forwarder locally with
> java net.tinyos.sf.SerialForwarder -comm sf at 192.168.10.102:9001
>
> I get sf at 192.168.10.102:9001 died -restarting protocol error
>
> When I use netcat, I issue:
> echo protocol auto | nc 192.168.10.102 10001
> and get
> error, unknown control command: protocol
> same thing if the protocol auto is in quotes.
>
> So I think this is a long winded way of asking how to update my
> firmware, and where to get the latest firmware, and if this will help
>
This isn't a firmware issue. The problem is you're not finding a
serial forwarder running. The command
> java net.tinyos.sf.SerialForwarder -comm sf at 192.168.10.102:9001
doesn't mean "run a serial forwarder that listens on port 9001" but
rather "run a serial forwarder that connects to port 9001." So if
there isn't a serial forwarder listening on port 9001, it exits. You
want to specify the serial port the mote is connected to as the -comm
parameter.
Phil
More information about the Tinyos-help
mailing list