[Tinyos-devel] more bugging about current consumption on MicaZ in
tinyos-2.x
Philip Levis
pal at cs.stanford.edu
Wed Jul 12 16:32:16 PDT 2006
On Jul 12, 2006, at 4:08 PM, Razvan Musaloiu-E. wrote:
> Hi!
>
> A few weeks ago I wrote [1] on the tinyos-help list about some high
> consumptions on MicaZ in tinyos-2.x. I rerun the tests using the
> beta2 and
> the results I'm getting are still wrong. I attached a small
> application
> that demonstrate this. Its based on the TestSleep [2] (which doesn't
> compile) and the only thing it does is to call the McuSleep.sleep() in
> Boot.booted(). The current value I'm getting is 0.14mA. Could
> someone else
> run the program and confirm or disprove this problem? :-)
>
> Some notes: I'm using avr-gcc 3.4.3, avr-libs 1.2.3 and avr-
> binutils 2.15.
>
> [1] http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2006-
> June/017531.html
> [2] http://tinyos.cvs.sourceforge.net/tinyos/tinyos-2.x/apps/tests/
> TestSleep/?pathrev=tos-2-0-0-beta2-r3
I think TestSleep has gone the way of the dinosaur: it makes calls on
components that have never really existed except when there was
random 1.x code in the 2.x repository. In theory, power management in
TinyOS 2.x should (at this level) be automatic.
An app that does something similar would be Null.
I'll take a look. Chances are that some pins are not in the right
default configurations.
Phil
More information about the Tinyos-devel
mailing list