[Tinyos-devel] tmote P3.6 / P3.7 direction
David Moss
dmm at rincon.com
Thu Jul 3 10:59:32 PDT 2008
What Phil's saying is the PlatformC file gets setup regardless of whether or
not the serial stack is in the system. In the case where the serial stack
is not compiled in, then PlatformC will set the pins up properly so there's
no conflict (assumes the no-USB connected case). Then, when the serial
stack is present, the PlatformC's settings get overridden so the pins are
setup correctly to use USB.
-David
_____
From: geoffrey.werner.allen at gmail.com
[mailto:geoffrey.werner.allen at gmail.com] On Behalf Of Geoffrey Werner-Allen
Sent: Thursday, July 03, 2008 10:52 AM
To: Philip Levis
Cc: David Moss; tinyos-devel at millennium.berkeley.edu
Subject: Re: [Tinyos-devel] tmote P3.6 / P3.7 direction
My understanding was that the problem was being caused by the lack of a
serial stack when USB is present. If the application does not use the
serial port how do the pins get set up properly, since the "no serial stack"
defaults are what creates the conflict with the buffer. Am I missing
something?
-gwa-
geoffrey werner-allen :: 617.694.7261 :: www.eecs.harvard.edu/~werner
On Thu, Jul 3, 2008 at 12:37 PM, Philip Levis <pal at cs.stanford.edu> wrote:
On Jul 2, 2008, at 5:48 PM, David Moss wrote:
There's nothing wrong with your proposal - except I read the line of emails
in reverse order, missing the serial stack proposal in the first place. :)
So if the serial stack takes care of it, is there a way to do the flippage
in a platform independent manner? Maybe through the tmote platform's
PlatformSerial StdControl.start()/stop()? Or are you thinking of a
different way
My assumption was that PlatformInit (PlatformC) would set the pins up for
when there is no serial stack, and then the serial stack would configure
them for its own use in a SoftwareInit, and the serial stack's command call
graph would eventually hit the UART HPL. Would this work?
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080703/62333f1a/attachment.htm
More information about the Tinyos-devel
mailing list