---------- Forwarded message ----------
From: Chris Pettus <[EMAIL PROTECTED]>
Date: Nov 17, 2005 3:14 PM
Subject: Re: [Tinyos-help] Re: uart0 and radio on telos motes
To: Manjunath Prabhu <[EMAIL PROTECTED]>
Just as kind of a heads up, I am currently working on a demo of using the USART0 in UART mode (for a serial device) and SPI mode (for the CC2420 radio). It will have a java GUI application to receive the data from one telos mote loaded with TOSbase and the other telos mote will be loaded with the demo application. It is still maybe only 40 to 50 percent complete and I only have a few hours to work on it when I get a chance. I hope to have something soon.
Thanks,
Chris
On 11/17/05, Manjunath Prabhu <[EMAIL PROTECTED]
> wrote:
Hi david and harsh,
have you heard of any hack to work around this problem? is there anyway we can get it working at all. is there any application which demonstrates this.
Regards,
Manjunath
On 11/11/05, hpj hpj <[EMAIL PROTECTED]> wrote:Hi Manjunath & David,
I also tried using the UART0 and radio on tmote and it
didn't work. It was so frustrating. I finally switched
to mica2 for my application, even though I would have
liked to use tmote for its 12-bit ADC.
I wonder if it can really be done. Has anybody done it
before? If someone has used UART0 and radio together,
they should post it here.
If nobody else, Joe Polastre should post it -
otherwise they will lose many customers. I already
know a group in my university deciding not to use
tmote for the same reason.
Hope you find a solution.
Best,
-Harsh
> Date: Thu, 10 Nov 2005 08:49:01 +0000
> From: David Bull < [EMAIL PROTECTED] >
> Subject: [Tinyos-help] Re: uart0 and radio on telos
> motes
> To: Manjunath Prabhu < [EMAIL PROTECTED] >
> Cc: [email protected]
> Message-ID: < [EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1;
> format=flowed
>
> Hi Manjunath,
> I am still having no luck getting UART0 and the
> Radio to work together.
> I can successfully read data from UART0, I then call
> my releaseBus
> method to pass control back to the radio. My sendMsg
> method claims to
> have sent a message, but when the sendDone event is
> called the success
> parameter is always FAIL and no radio message is
> ever received. Also,
> when i then call my getBus method it also returns
> FAIL preventing me
> from accessing UART0 any more.
>
> This is as far as I have got unfortunatly. I spent
> most of last week
> banging my head against the desk trying to get this
> working again, but
> gave up after getting nowhere :-( The only thing I
> can think of is that
> there is a problem with my own getBus and releaseBus
> methods which
> configure the UART for rs232 operation or radio
> operation, or that there
> is as problem with the BusArbitration class. At the
> moment, I am at a
> complete loss.
>
> - David
>
> Manjunath Prabhu wrote:
>
> > Hi all,
> > I am trying to communicate over radio from the
> base station to a
> > remote mote. I want to send commands to the remote
> mote, which uses
> > uart0 to extract values and then sends the TOS
> packet(with the
> > extracted value) over radio back to the base
> station. I am unable to
> > send the reply back over radio
> >
> > I followed the link
> >
>
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-October/012433.html
>
> > and the dicussion between joe and david. i am
> using the bus
> > arbitration, but am getting stuck at the point
> mentioned above.
> >
> > I am able to send commands over radio and the
> remote mote is
> > successful in sending over uart0. I am not able to
> send the reply back
> > over radio. I fire a timer and glow LED when the
> send command and
> > sendDone events are called and I see the 2 LEDs
> toggling. The radio
> > seems to be sending the messages. May be
> releaseBus() is not function
> > properly. The function does work fine...again I am
> checking through LEDs.
> >
> > Please do tell me if I have missed something.
> > Any pointes and help is appreciated.
> >
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
