[Tinyos-devel] ATmega128 UartByte Broken
David Moss
dmm at rincon.com
Wed Nov 28 11:30:12 PST 2007
I'll plug the micaz's back into the test bed this afternoon and we should
see results shortly thereafter. Thanks Phil
-David
-----Original Message-----
From: Philip Levis [mailto:pal at cs.stanford.edu]
Sent: Wednesday, November 28, 2007 12:20 PM
To: David Moss
Cc: 'Alec Woo'; 'Tinyos-devel list'; 'Jonathan Hui'
Subject: Re: [Tinyos-devel] ATmega128 UartByte Broken
On Nov 27, 2007, at 11:22 AM, David Moss wrote:
> Yes, the test code is available in tinyos-2.x-contrib:
>
> http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/tunit/
> tests/tiny
> os-2.x/tos/lib/serial/TestUartByte/
>
> It relies on the DirectSerialAMSenderC library to send packets over
> the
> UartByte interface, found here:
>
> http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x-contrib/tunit/
> tos/lib/di
> rectserial/
>
> The test code itself is pretty simple. Upon receiving the command
> to run
> over the regular serial interface from the java side of TUnit, the
> test
> creates the equivalent of a TUnit "test passed" message and sends the
> message to the computer over DirectSerialAMSenderC. If the computer
> receives the message, the test really did pass which demonstrates
> that the
> UartByte interface worked inside of the DirectSerialAMSenderC
> component.
>
> So there is some overlap here - I've tested the DirectSerialAMSenderC
> component with the MSP430 to ensure the test is not failing within
> that
> functionality.
>
David,
I've incorporated Alec's fixes from the -devel checkin, and added one
bug fix. I managed to get a hacked version of your UARTByte test
working, and TestSerial works correctly. If you could do a full TUnit
test run at some point that would be great.
Phil
More information about the Tinyos-devel
mailing list