I'm trying to run the test application TestSerial, but something is going
wrong.

I install the application on the mote with sudo make mica2
mib510,/dev/ttyUSB0  (that's correct, I'm sure), and then I try to run the
java apllication. Here is my output:

[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/tests/TestSerial$ java TestSerial
-comm serial@/dev/ttyUSB0:57600
Sending packet 0
serial@/dev/ttyUSB0:57600: resynchronising
Sending packet 1
Sending packet 2
Sending packet 3
Sending packet 4
Sending packet 5
Sending packet 6
Sending packet 7
Sending packet 8
Sending packet 9
Sending packet 10
Sending packet 11
Sending packet 12
Sending packet 13
[...]

I also tried the following:
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/tests/TestSerial$ java
net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2 &
[3] 12816
[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/tests/TestSerial$ java TestSerial
Sending packet 0
Sending packet 1
Sending packet 2
Sending packet 3
Sending packet 4
Sending packet 5
Sending packet 6
Sending packet 7
Sending packet 8
Sending packet 9
Sending packet 10
Sending packet 11
Sending packet 12
[...]
But my sf kept "resynchronizing". This is what appears on its screen:
Listening to serial@/dev/ttyUSB0:mica2
Listening for client connections on port 9002
serial@/dev/ttyUSB0:57600: resynchronising
write failed
write failed
[...]


I'm using a MIB520 board, and it is connected on the computer through its
USB cable, I guess it should also work, right?




Thansks,
Fernando.

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

Reply via email to