[Tinyos-devel] ATmega128 UartByte Broken
David Moss
dmm at rincon.com
Tue Nov 13 15:02:54 PST 2007
Alec -
I checked out the Atm128UartP.nc and HplAtm128UartP.nc from that branch and
verified the version numbers. After replacing my local files with those, I
compiled and installed the TestSerial application.
In doing this, I was able to read messages on the computer side, but could
not send messages from the computer to the mote. No led's lit up, and the
console was stuck at "Sending packet 0". I haven't looked into it any deeper
than that at the moment.
This new error prevents the unit test framework from running the original
UartByte test because the framework itself is dependent upon sending packets
to the mote to kick off each test.
-David
-----Original Message-----
From: Alec Woo [mailto:awoo at archrock.com]
Sent: Tuesday, November 13, 2007 2:57 PM
To: Philip Levis
Cc: Tinyos-devel list; Jonathan Hui; David Moss
Subject: Re: [Tinyos-devel] ATmega128 UartByte Broken
In May, Jon Green, provided a fix and I have double checked it.
It was committed to the development branch and the fix didn't propagate
to the MAIN branch.
tinyos-2_0_devel-BRANCH
Atm128UartP.nc 1.1.2.5
HplAtm128UartP.nc 1.1.2.8
David, if you have time, you may want to check out the above two files and
run your test to see if they are fine.
Thanks,
alec
----- Original Message -----
From: "Philip Levis" <pal at cs.stanford.edu>
To: "David Moss" <dmm at rincon.com>
Cc: "Tinyos-devel list" <tinyos-devel at Millennium.Berkeley.EDU>, "Alec Woo"
<awoo at archrock.com>, "Jonathan Hui" <jwhui at cs.berkeley.edu>
Sent: Monday, November 12, 2007 9:01:58 AM (GMT-0800) America/Los_Angeles
Subject: Re: [Tinyos-devel] ATmega128 UartByte Broken
On Nov 9, 2007, at 8:35 AM, David Moss wrote:
> Yet another bug report for someone to look at when there's time.
>
>
>
> The ATmega128 UartByte interface appears to be broken, and has been
> for quite some time:
>
>
>
> http://www.lavalampmotemasters.com/reports/html/1_micaz/tests/
> tinyos-2/x/tos/lib/serial/9_TestUartByte.html
>
>
>
> Compare this to the MSP430 UartByte interface:
>
>
>
> http://www.lavalampmotemasters.com/reports/html/1_telosb/tests/
> tinyos-2/x/tos/lib/serial/22_TestUartByte.html
>
>
>
> The test here simply jacks a few bytes (in the form of a packet)
> into the UartByte interface. Those bytes are interpreted as a
> packet by the computer, telling the computer the test passed. When
> the computer doesn't get the message, the test fails by timing out,
> signifying a broken UartByte interface.
>
>
>
> -David
>
>
Hm. It looks like Alec Woo and Jonathan Hui (cc'd) are the developers.
Phil
More information about the Tinyos-devel
mailing list