The mib520 user manual states that you have to install a virtual com port driver first. You can get it at
http://www.ftdichip.com/Drivers/VCP.htm

However, newer kernels (obviously from kernel 2.6.9 on) include the driver already. We are using the latest Ubuntu distribution with kernel 2.6.17-10-generic and it works nicely, without any extra driver installation.

Once everything is installed, you can program the mote with: make micaz mib520,/dev/ttyUSB0 and use it for example with: java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:micaz

Hope this helps,
   Anton Riedl


On Jan 12, 2007, at 11:51 PM, Michael Schippling wrote:

ah, if there's a USB->serial converter involved then you probably
need a driver for it...as I said, uninformed opinion...based on
using UNIX serial ports from 1980-90...
MS


Mike Magee wrote:
Yes, I'm interested in knowing what Linux needs to have running to get the /dev/ttyUSB0 and /dev/ttyUSB1 entries show up when you plug in the MIB520.
Once that works I understand how to use it.
Michael Schippling wrote:
Just my own uninformed opinion...

It should be a simple serial device attached to a raw tty port,
no special drivers are required. Rather than using COMx you probably
want to use something like /dev/ttySx or whatever the format of your
port names is.

The example you give IS for programming however. For comm using
something like Listen or SerialForwarder you set an env var
something like:  MOTECOM=serial@/dev/ttyS1:mica2
YMMV based on port and platform names of course...

MS


Mike Magee wrote:

Can someone explain how to use a MIB520 with linux? I am unclear how the device shows up or how to install a driver for it or if it needs one. I just need it for standard communication, not for programming.

I am running Fedora Core 4.

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

------------------------------------------------------------------------
Dr.-Ing. Anton Riedl
Assistant Professor
Department of Physics, Computer Science and Engineering
Christopher Newport University
1 University Place, Newport News, VA, 23606, USA
Tel: +1(757)594-7829
Fax: +1(757)594-7919
E-Mail: [EMAIL PROTECTED]
------------------------------------------------------------------------


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

Reply via email to