[Tinyos-help] question on tinyos uart

David Doolin doolin at ce.berkeley.edu
Wed Jan 21 11:41:02 PST 2004



Phil,

Thanks for the comments.

I will post details of the current situation
and a few proposals on sourceforge by c.o.b.
today, pst.

Thanks again,

Dave Doolin


On Wed, 21 Jan 2004, Philip Levis wrote:

> On Wednesday, January 21, 2004, at 10:41 AM, David Doolin wrote:
>
> > You will also notice that HPLUART1M.nc is broken by
> > not matching the updated interface for tos1.1.
> >
>
> Bug reports are helpful in this regard. The Sourceforge site has a
> rather useful bug tracking facility:
>
> http://sourceforge.net/tracker/?group_id=28656&atid=393934
>
> > ps: You might also consider how having two uarts on
> > the mica2 lends itself to a parameterized interface,
> > and how handy it would be for the uart interface to
> > allow apps to set all the stuff like baud, parity,
> > etc etc etc so that source files in the tos tree
> > don't have to be modified, or copied away from the
> > tree and maintained in parallel.
>
> A parameterized interface isn't really appropriate, for a variety of
> reasons, the foremost of which is that there are really only two UARTs.
> We've run into lots of problems in the past when a parameterized
> interface declared a parameter namespace larger than what the
> underlying module supported (early versions of Timer suffered from this
> problem). The only way to discover improper wirings is through a
> runtime failure result.
>
> I'll admit that it's news to me that people's current uses require
> changing all of these parameters. We are, unfortunately, not
> omniscient; unless someone tells us there is a problem (e.g., "I use
> UART1, and need settings different than the default ones. A way to
> change the settings through an interface would be helpful.") we
> generally can't do much about it. We welcome suggestions for changes to
> make current implementations more useful to the community.
>
> Phil
>
> -------
>
> "We shall not cease from exploration
> And the end of all our exploring
> Will be to arrive where we started
> And know the place for the first time."
>
> - T. S. Eliot,  'Little Gidding'
>
>


More information about the Tinyos-help mailing list