On Feb 13, 2007, at 9:35 PM, Jiakang Lu wrote:

Hi all,

I need to mention that I meet the same problem on TinyOS 2.0 under Ubuntu, generally following the instructions "http://www. 5secondfuse.com/tinyos/install.html". The JDK I use is SUN jdk1.5.0_11, the same as I installed under WinXP.

If possible, can anyone that works fine with it tell me how you install and configure the environment, either Cygwin or Linux? Since I'm urgent to move on, your information will help a lot. :-)

I have definitely observed this in Ubuntu. I haven't had a chance to get to the bottom of the problem, though.

What you want to do is run a C serial forwarder. You can of course then use Java tools that connect to a serial forwarder. For example, you can start a C serial forwarder then run net.tinyos.tools.MsgReader.

Try

./sf.exe 9002 /dev/ttyS6 115200

This tells the C serial forwarder to listen for connections on port 9002 and to read packets from the serial port /dev/ttyS6 at speed 115200.

You should then be able to to stuff like

java net.tinyos.tools.MsgReader -comm [EMAIL PROTECTED]:9002 <some class>


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

Reply via email to