RE: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-23 Thread Liu, Ping \(Research\)
Hi all, 

Thanks for the reply, I really appreciate it.

Just to clarify a few things:
1) The little black switch is off. 

2) I programmed it currently with Surge, so that I can test serialForwarder. (I 
had programmed it with my stuff earlier).

3) I also tried on mica2 platform, same problem but a little different. 

First, I tried the command
java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:mica2 
or  java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:57600

Both case serialForwarder did not report "write failed" as that in micaz case, 
nothing was read from the motes and the topology info does not show up in the 
java surge view either.  

Next,  I used the following command to specify the baudrate to 19200,

java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:19200

 It will report "write failed", so this at least verified that serialForwarder 
will respond to wrong baudrate setting, now it seems the reading part is a 
problem. Any suggestions?

Thanks many!
-Ping


-Original Message-
From: Harri Siirtola [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 8:57 AM
To: Tran Trong Tri; Liu, Ping (Research)
Cc: Cory Sharp; tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] What could be the reason for "write failed"
in serialForwarder



If it wasn't OFF, he wouldn't have been able to program the mote in the 
first place... However, if he's testing his motes out-of-the-box (they're 
shipped with Surge installed) this could be the case.

Regards,

 Harri

At 09:33 PM 12/21/2005 +0800, Tran Trong Tri wrote:
>Hi,
>This may sound stupid to you but check if the little black switch on the 
>programmer board(along the side) is set to OFF...If it's not OFF, the 
>"write failed" error occurs...So just turn it OFF...
>Hope it helps
>
>
>On 12/16/05, Liu, Ping (Research) 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:
>Cory,
>
>Thanks for the reply.
>
>I am using xbow micaz motes on linux.  Isn't the baudrate automatically 
>set to be 57600? Or I need to set it specifically again.
>
>java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz
>
>Thanks again.
>T.
>
>-Original Message-
>From: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 
>[mailto:<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Behalf Of
>Cory Sharp
>Sent: Thursday, December 15, 2005 2:57 PM
>To: Liu, Ping (Research)
>Cc: 
><mailto:tinyos-help@millennium.berkeley.edu>tinyos-help@millennium.berkeley.edu
> 
>
>Subject: Re: [Tinyos-help] What could be the reason for "write failed"
>in serialForwarder
>
>
>
>That's usually a mismatched baud rate -- the serial forwarder is
>configured for a different baud rate than what the mote is using.
>This page, while not exactly appropriate for your problem, will give
>you some idea about where you can look:
>
><http://www.moteiv.com/community/Change_the_default_UART_baud_rate>http://www.moteiv.com/community/Change_the_default_UART_baud_rate
> 
>
>
>Cory
>
>On 12/15/05, Liu, Ping (Research) 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > What could be the reason for "write failed" while trying the 
> serialForwarder?
> >
> > I am on 1.1.14. and serialForwarder was working fine for me earlier on 
> 1.1.7.
> >
> > Thanks many!
> > -T.
> >
> > ___
> > Tinyos-help mailing list
> > 
> <mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU
>  
>
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
>___
>Tinyos-help mailing list
><mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU
> 
>
>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>___
>Tinyos-help mailing list
>Tinyos-help@Millennium.Berkeley.EDU
>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-21 Thread Harri Siirtola


If it wasn't OFF, he wouldn't have been able to program the mote in the 
first place... However, if he's testing his motes out-of-the-box (they're 
shipped with Surge installed) this could be the case.


Regards,

Harri

At 09:33 PM 12/21/2005 +0800, Tran Trong Tri wrote:

Hi,
This may sound stupid to you but check if the little black switch on the 
programmer board(along the side) is set to OFF...If it's not OFF, the 
"write failed" error occurs...So just turn it OFF...

Hope it helps


On 12/16/05, Liu, Ping (Research) 
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

Cory,

Thanks for the reply.

I am using xbow micaz motes on linux.  Isn't the baudrate automatically 
set to be 57600? Or I need to set it specifically again.


java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz

Thanks again.
T.

-Original Message-
From: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 
[mailto:<mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] Behalf Of

Cory Sharp
Sent: Thursday, December 15, 2005 2:57 PM
To: Liu, Ping (Research)
Cc: 
<mailto:tinyos-help@millennium.berkeley.edu>tinyos-help@millennium.berkeley.edu 


Subject: Re: [Tinyos-help] What could be the reason for "write failed"
in serialForwarder



That's usually a mismatched baud rate -- the serial forwarder is
configured for a different baud rate than what the mote is using.
This page, while not exactly appropriate for your problem, will give
you some idea about where you can look:

<http://www.moteiv.com/community/Change_the_default_UART_baud_rate>http://www.moteiv.com/community/Change_the_default_UART_baud_rate 



Cory

On 12/15/05, Liu, Ping (Research) 
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

> Hi,
>
> What could be the reason for "write failed" while trying the 
serialForwarder?

>
> I am on 1.1.14. and serialForwarder was working fine for me earlier on 
1.1.7.

>
> Thanks many!
> -T.
>
> ___
> Tinyos-help mailing list
> 
<mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU 


> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

___
Tinyos-help mailing list
<mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU 


https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-21 Thread Tran Trong Tri
Hi,
This may sound stupid to you but check if the little black switch on the programmer board(along the side) is set to OFF...If it's not OFF, the "write failed" error occurs...So just turn it OFF...
Hope it helps 
On 12/16/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
Cory,Thanks for the reply.I am using xbow micaz motes on linux.  Isn't the baudrate automatically set to be 57600? Or I need to set it specifically again.
java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micazThanks again.T.-Original Message-From: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]]On Behalf OfCory SharpSent: Thursday, December 15, 2005 2:57 PMTo: Liu, Ping (Research)Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] What could be the reason for "write failed"in serialForwarderThat's usually a mismatched baud rate -- the serial forwarder isconfigured for a different baud rate than what the mote is using.
This page, while not exactly appropriate for your problem, will giveyou some idea about where you can look:http://www.moteiv.com/community/Change_the_default_UART_baud_rate
CoryOn 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:> Hi,>> What could be the reason for "write failed" while trying the serialForwarder?
>> I am on 1.1.14. and serialForwarder was working fine for me earlier on 1.1.7.>> Thanks many!> -T.>> ___> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-21 Thread Harri Siirtola


Using just "[EMAIL PROTECTED]:57600" mostly works for me.

Regards,

Harri

At 11:31 AM 12/20/2005 -0700, Jacob Sorber wrote:
I use the C serial forwarder, not the java versions, so take this with 
grain of salt.


The C serial forwarder reports "write failed" when it does not receive an 
ACK for the packet within the timeout period.  So the problem might be on 
the mote side.  What is running on the mote?  Is the Framer component 
wired properly?  Is it getting started?  It could be baudrate.  It could 
be a packet format problem.  I know the C serial forwarder doesn't accept 
"micaz" as a valid format (at least the version I'm using doesn't).  I use 
only telosb motes, so I don't know what the right format is for micaz, but 
you could try both mica2 or telos.  Just a thought.


Good luck,

Jacob Sorber

On 12/15/05, Liu, Ping (Research) 
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

Hi,
Just to be more specific about the problem and steps that I am doing, 
hopefully someone could point out where the problem might be.



1. Programmed surge to mote 0, 1, 2, 3 etc.

2. Connect the micaz mote 0 to MIB5100 board, the battery was taken out 
from mote 0 as suggested in xbow "getting started guide". In my case, it 
actually didn't matter whether I had battery or not, nor did switching 
on/off mote 0 mattered either.


3. Start the serial forwarder
  Listening to serial@/dev/ttyS0:micaz
  Platform micaz
  Listening for client connections on port 9001
  serial@/dev/ttyS0:57600: resynchronising

4. Start the surge java program:
  java net.tinyos.surge.MainClass 0x7d

5. If I start send root beacon from the surgejava interface, the 
serialForwarder will always report "write failed", meanwhile, the packets 
read count remains 0.
Cory mentioned that it might be baudrate failure, but the serialforwarder 
automatically set it to be baudrate 57600, right? Whatelse could have 
been wrong?


Thanks,
-T.


-Original Message-
From: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of

Cory Sharp
Sent: Thursday, December 15, 2005 3:44 PM
To: Liu, Ping (Research)
Cc: 
<mailto:tinyos-help@millennium.berkeley.edu>tinyos-help@millennium.berkeley.edu

Subject: Re: [Tinyos-help] What could be the reason for "write failed"
in serialForwarder


I haven't used MicaZ motes in Linux.  Hopefully someone else can chime
in.  - Cory

On 12/15/05, Liu, Ping (Research) 
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

> Cory,
>
> Thanks for the reply.
>
> I am using xbow micaz motes on linux.  Isn't the baudrate 
automatically set to be 57600? Or I need to set it specifically again.

>
> java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz
>
> Thanks again.
> T.
>
> -Original Message-
> From: <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Behalf Of

> Cory Sharp
> Sent: Thursday, December 15, 2005 2:57 PM
> To: Liu, Ping (Research)
> Cc: 
<mailto:tinyos-help@millennium.berkeley.edu>tinyos-help@millennium.berkeley.edu

> Subject: Re: [Tinyos-help] What could be the reason for "write failed"
> in serialForwarder
>
>
> That's usually a mismatched baud rate -- the serial forwarder is
> configured for a different baud rate than what the mote is using.
> This page, while not exactly appropriate for your problem, will give
> you some idea about where you can look:
>
> 
<http://www.moteiv.com/community/Change_the_default_UART_baud_rate>http://www.moteiv.com/community/Change_the_default_UART_baud_rate

>
> Cory
>
> On 12/15/05, Liu, Ping (Research) 
<<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> wrote:

> > Hi,
> >
> > What could be the reason for "write failed" while trying the 
serialForwarder?

> >
> > I am on 1.1.14. and serialForwarder was working fine for me earlier 
on 1.1.7.

> >
> > Thanks many!
> > -T.
> >
> > ___
> > Tinyos-help mailing list
> > 
<mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU
> > 
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

> >
>

___
Tinyos-help mailing list
<mailto:Tinyos-help@Millennium.Berkeley.EDU>Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-20 Thread Jacob Sorber
I use the C serial forwarder, not the java versions, so take this with grain of salt.The C serial forwarder reports "write failed" when it does not receive an ACK for the packet within the timeout period.  So the problem might be on the mote side.  What is running on the mote?  Is the Framer component wired properly?  Is it getting started?  It could be baudrate.  It could be a packet format problem.  I know the C serial forwarder doesn't accept "micaz" as a valid format (at least the version I'm using doesn't).  I use only telosb motes, so I don't know what the right format is for micaz, but you could try both mica2 or telos.  Just a thought.
Good luck,Jacob SorberOn 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
Hi,Just to be more specific about the problem and steps that I am doing, hopefully someone could point out where the problem might be.
1. Programmed surge to mote 0, 1, 2, 3 etc.2. Connect the micaz mote 0 to MIB5100 board, the battery was taken out from mote 0 as suggested in xbow "getting started guide". In my case, it actually didn't matter whether I had battery or not, nor did switching on/off mote 0 mattered either.
3. Start the serial forwarder  Listening to serial@/dev/ttyS0:micaz  Platform micaz  Listening for client connections on port 9001  serial@/dev/ttyS0:57600: resynchronising4. Start the surge java program:
  java net.tinyos.surge.MainClass 0x7d5. If I start send root beacon from the surgejava interface, the serialForwarder will always report "write failed", meanwhile, the packets read count remains 0.
Cory mentioned that it might be baudrate failure, but the serialforwarder automatically set it to be baudrate 57600, right? Whatelse could have been wrong?Thanks,-T.-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf OfCory SharpSent: Thursday, December 15, 2005 3:44 PMTo: Liu, Ping (Research)
Cc: tinyos-help@millennium.berkeley.eduSubject: Re: [Tinyos-help] What could be the reason for "write failed"in serialForwarderI haven't used MicaZ motes in Linux.  Hopefully someone else can chime
in.  - CoryOn 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:> Cory,>> Thanks for the reply.>> I am using xbow micaz motes on linux.  Isn't the baudrate automatically set to be 57600? Or I need to set it specifically again.
>> java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz>> Thanks again.> T.>> -Original Message-> From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of> Cory Sharp> Sent: Thursday, December 15, 2005 2:57 PM> To: Liu, Ping (Research)> Cc: 
tinyos-help@millennium.berkeley.edu> Subject: Re: [Tinyos-help] What could be the reason for "write failed"> in serialForwarder>>> That's usually a mismatched baud rate -- the serial forwarder is
> configured for a different baud rate than what the mote is using.> This page, while not exactly appropriate for your problem, will give> you some idea about where you can look:>> 
http://www.moteiv.com/community/Change_the_default_UART_baud_rate>> Cory>> On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> > Hi,> >> > What could be the reason for "write failed" while trying the serialForwarder?> >> > I am on 1.1.14. and serialForwarder was working fine for me earlier on 
1.1.7.> >> > Thanks many!> > -T.> >> > ___> > Tinyos-help mailing list> > 
Tinyos-help@Millennium.Berkeley.EDU> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> >
>___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-20 Thread Liu, Ping \(Research\)
Hi, 
Just to be more specific about the problem and steps that I am doing, hopefully 
someone could point out where the problem might be.


1. Programmed surge to mote 0, 1, 2, 3 etc.

2. Connect the micaz mote 0 to MIB5100 board, the battery was taken out from 
mote 0 as suggested in xbow "getting started guide". In my case, it actually 
didn't matter whether I had battery or not, nor did switching on/off mote 0 
mattered either. 

3. Start the serial forwarder 
  Listening to serial@/dev/ttyS0:micaz
  Platform micaz
  Listening for client connections on port 9001 
  serial@/dev/ttyS0:57600: resynchronising

4. Start the surge java program: 
  java net.tinyos.surge.MainClass 0x7d

5. If I start send root beacon from the surgejava interface, the 
serialForwarder will always report "write failed", meanwhile, the packets read 
count remains 0.  
Cory mentioned that it might be baudrate failure, but the serialforwarder 
automatically set it to be baudrate 57600, right? Whatelse could have been 
wrong?

Thanks,
-T. 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Cory Sharp
Sent: Thursday, December 15, 2005 3:44 PM
To: Liu, Ping (Research)
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] What could be the reason for "write failed"
in serialForwarder


I haven't used MicaZ motes in Linux.  Hopefully someone else can chime
in.  - Cory

On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> Cory,
>
> Thanks for the reply.
>
> I am using xbow micaz motes on linux.  Isn't the baudrate automatically set 
> to be 57600? Or I need to set it specifically again.
>
> java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz
>
> Thanks again.
> T.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Cory Sharp
> Sent: Thursday, December 15, 2005 2:57 PM
> To: Liu, Ping (Research)
> Cc: tinyos-help@millennium.berkeley.edu
> Subject: Re: [Tinyos-help] What could be the reason for "write failed"
> in serialForwarder
>
>
> That's usually a mismatched baud rate -- the serial forwarder is
> configured for a different baud rate than what the mote is using.
> This page, while not exactly appropriate for your problem, will give
> you some idea about where you can look:
>
> http://www.moteiv.com/community/Change_the_default_UART_baud_rate
>
> Cory
>
> On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > What could be the reason for "write failed" while trying the 
> > serialForwarder?
> >
> > I am on 1.1.14. and serialForwarder was working fine for me earlier on 
> > 1.1.7.
> >
> > Thanks many!
> > -T.
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-20 Thread Liu, Ping \(Research\)
Cory, 

Thanks for the reply. 

I am using xbow micaz motes on linux.  Isn't the baudrate automatically set to 
be 57600? Or I need to set it specifically again.

java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz

Thanks again.
T.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Cory Sharp
Sent: Thursday, December 15, 2005 2:57 PM
To: Liu, Ping (Research)
Cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] What could be the reason for "write failed"
in serialForwarder


That's usually a mismatched baud rate -- the serial forwarder is
configured for a different baud rate than what the mote is using. 
This page, while not exactly appropriate for your problem, will give
you some idea about where you can look:

http://www.moteiv.com/community/Change_the_default_UART_baud_rate

Cory

On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What could be the reason for "write failed" while trying the serialForwarder?
>
> I am on 1.1.14. and serialForwarder was working fine for me earlier on 1.1.7.
>
> Thanks many!
> -T.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-15 Thread Cory Sharp
I haven't used MicaZ motes in Linux.  Hopefully someone else can chime
in.  - Cory

On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> Cory,
>
> Thanks for the reply.
>
> I am using xbow micaz motes on linux.  Isn't the baudrate automatically set 
> to be 57600? Or I need to set it specifically again.
>
> java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyS0:micaz
>
> Thanks again.
> T.
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Cory Sharp
> Sent: Thursday, December 15, 2005 2:57 PM
> To: Liu, Ping (Research)
> Cc: tinyos-help@millennium.berkeley.edu
> Subject: Re: [Tinyos-help] What could be the reason for "write failed"
> in serialForwarder
>
>
> That's usually a mismatched baud rate -- the serial forwarder is
> configured for a different baud rate than what the mote is using.
> This page, while not exactly appropriate for your problem, will give
> you some idea about where you can look:
>
> http://www.moteiv.com/community/Change_the_default_UART_baud_rate
>
> Cory
>
> On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > What could be the reason for "write failed" while trying the 
> > serialForwarder?
> >
> > I am on 1.1.14. and serialForwarder was working fine for me earlier on 
> > 1.1.7.
> >
> > Thanks many!
> > -T.
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-15 Thread Cory Sharp
That's usually a mismatched baud rate -- the serial forwarder is
configured for a different baud rate than what the mote is using. 
This page, while not exactly appropriate for your problem, will give
you some idea about where you can look:

http://www.moteiv.com/community/Change_the_default_UART_baud_rate

Cory

On 12/15/05, Liu, Ping (Research) <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What could be the reason for "write failed" while trying the serialForwarder?
>
> I am on 1.1.14. and serialForwarder was working fine for me earlier on 1.1.7.
>
> Thanks many!
> -T.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] What could be the reason for "write failed" in serialForwarder

2005-12-15 Thread Liu, Ping \(Research\)
Hi, 

What could be the reason for "write failed" while trying the serialForwarder?

I am on 1.1.14. and serialForwarder was working fine for me earlier on 1.1.7. 

Thanks many!
-T.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help