Fwd: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ming
Hi allI am try to run the SerialForwarder for telos byjava net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:telosHowever the follow error is displayed.Listening to serial@/dev/ttyUSB0:telosb Platform telosListening for client connections on port 9001serial@/dev/ttyUSB0:57600 died -

RE: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ben Kelley
the sun one, let me know and Ill try to dig it up. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ming Sent: Thursday, June 29, 2006 12:05 To: tinyos-help@Millennium.Berkeley.EDU Subject: Fwd: [Tinyos-help] Problem to run SerialForwarder on telos Hi all I am try

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Justin Dugger
This is a one of those fantastic features of using Java for hardware access. Java has no idea what ports qualify as serial ports, and rather than let you specify at the command line a particular file, it will error out if it doesn't match it's own list of such things. If you're using sun's java,

RE: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ben Kelley
- [EMAIL PROTECTED] On Behalf Of Justin Dugger Sent: Thursday, June 29, 2006 16:31 To: Ming Cc: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Problem to run SerialForwarder on telos This is a one of those fantastic features of using Java for hardware access. Java has no idea

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Justin Dugger
I haven't noticed this, however I have noticed that you might want to configure udev to bind motes to a particular device node. Otherwise you get races like which mote gets which device node when plugging in a micaz base station and a telosb. I haven't figured out yet how to get the MIB520

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Philip Levis
On Jun 29, 2006, at 2:47 PM, Ben Kelley wrote: Just as an aside to this; I did this and it worked (for the java comm)but then all of a sudden the driver crashed on the third or fourth access of the port. TOSComm seems to work fairly well if you can get it installed. Yeah, all of these

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ming
I am using the SUN's JAVACOMM and I have installed the TOSCOMM before. Should I un-install the TOSCOMM first? And how to do that?CMing On 6/29/06, Philip Levis [EMAIL PROTECTED] wrote: On Jun 29, 2006, at 2:47 PM, Ben Kelley wrote: Just as an aside to this; I did this and it worked (for the java