What version of the USB-dock do you have? The original version did not have a pass-through for the serial lines, i.e. you could not use a Shimmer in the dock as BaseStation.
Vlado On Sun, May 24, 2009 at 18:30, Martin Kjeldsen <kjeld...@gmail.com> wrote: > Hi everyone, > > I've done some testing on the tinyos BaseStation app and why i can'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 : > > * <p>The LEDS are programmed to toggle as follows:</p> > * <ul> > * <li><b>RED Toggle:</b>: Message bridged from serial to radio</li> > * <li><b>GREEN Toggle:</b> Message bridged from radio to serial</li> > * <li><b>YELLOW/BLUE Toggle:</b> Dropped message due to queue overflow in > either direction</li> > * </ul> > > *None *of these events happens when i forward packets via the > SerialForwarder, so initial conclusions were that: > > * 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.) > * Or ... the BaseStation application was not properly flashed or is simply > not working? > * Or.. Hardware issues. > > I'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 "live". This works fine! The basestation is now > happily blinking primes. When i run the SPINE test application at this > point, the following happens: > > * SerialForwader registers a client connection (The test application) and > attempts to forward the packet to serial@/dev/ttyUSB0 > * The basestation stops blinking! Apparently something has happened to the > running application on the shimmer. > * Write fails (as before) > > 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. > > Can anyone shed some light on this? Anyone with similar experiences? > Thanks in advance! > > Kind regards, > Martin > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help