No subject


Thu Apr 16 08:11:01 PDT 2009


starts blinking again, and if i insert it back into the dock, it stops. Most
peculiar. I have simply added some timers to the BaseStation app, so that
shouldnt have any effect on communication. But the behavior is consistent
with before.

Can anyone shed some light on this? Anyone with similar experiences?
Thanks in advance!

Kind regards,
Martin

--0016e6587a0cbd9af2046aab01ef
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi everyone,<br><br>I&#39;ve done some testing on the tinyos BaseStation app and why i
can&#39;t get it to work with the tinyOS SerialForwarder on a SHIMMER in a shimmer USB-programming dock.
First, i checked the BaseStation nesC src and found :<br><br>* &lt;p&gt;The LEDS are programmed to toggle as follows:&lt;/p&gt;<br>* &lt;ul&gt;<br>* &lt;li&gt;&lt;b&gt;RED Toggle:&lt;/b&gt;: Message bridged from serial to radio&lt;/li&gt;<br>


* &lt;li&gt;&lt;b&gt;GREEN Toggle:&lt;/b&gt; Message bridged from radio to serial&lt;/li&gt;<br>* &lt;li&gt;&lt;b&gt;YELLOW/BLUE Toggle:&lt;/b&gt; Dropped message due to queue overflow in either direction&lt;/li&gt;<br>* &lt;/ul&gt;<br>


<br><b>None </b>of these events happens when i forward packets via the SerialForwarder, so initial conclusions were that:<br><br>*
The is either something wrong with the TinyOS serial forwarder, in
terms of being unable to forward packets to the specified address. ( I
can install applications to motes just fine using the same serial
address i define in this SF.) <br>
* Or ... the BaseStation application was not properly flashed or is simply not working?<br>
* Or.. Hardware issues.<br>
<br>I&#39;ve now modified the BaseStation app to BaseStation-prime which
uses the leds to toggle all representations of primes on 3 bit - a
modification of /apps/Blink - to give me an idea of nesC programming,
and to test if the BaseStation app was even &quot;live&quot;. This works fine!
The basestation is now happily blinking primes. When i run the SPINE
test application at this point, the following happens:<br>
<br>* SerialForwader registers a client connection (The test application) and attempts to forward the packet to serial@/dev/ttyUSB0<br>* The basestation stops blinking! Apparently something has happened to the running application on the shimmer.<br>

* Write fails (as before) <br><br>From
this point on, If i take the shimmer out of its programming dock, it
starts blinking again, and if i insert it back into the dock, it stops.
Most peculiar. I have simply added some timers to the BaseStation app,
so that shouldnt have any effect on communication. But the behavior is
consistent with before.<br>
<br>
Can anyone shed some light on this? Anyone with similar experiences?<br>
Thanks in advance!<br>
<br>
Kind regards,<br>
Martin

--0016e6587a0cbd9af2046aab01ef--


More information about the Tinyos-help mailing list