[Tinyos-devel] cc2420 radio stack and deputy

Vlado Handziski handzisk at tkn.tu-berlin.de
Tue Jun 24 09:17:57 PDT 2008


I can't explain why we are getting different warnings, but I am still
getting:

/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning:
#warning "*** LOW POWER COMMUNICATIONS DISABLED ***"
/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitP.nc: In
function `CC2420TransmitP$CaptureSFD$captured':
/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/transmit/CC2420TransmitP.nc:275:
warning: passing arg 2 of `CC2420TransmitP$TXFIFO_RAM$write' from
incompatible pointer type
/home/hanjo/tos/tinyos-2.x/tos/system/SchedulerBasicP.nc: In function `
SchedulerBasicP$Scheduler$init':
/home/hanjo/tos/tinyos-2.x/tos/system/SchedulerBasicP.nc:117: warning:
passing arg 1 of `memset' discards qualifiers from pointer target type
/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc: In function
`CC2420CsmaP$Send$send':
/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc:138:
warning: assignment from incompatible pointer type
/home/hanjo/tos/tinyos-2.x/tos/chips/cc2420/csma/CC2420CsmaP.nc:139:
warning: assignment from incompatible pointer type
/home/hanjo/tos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc: In function `
TransformCounterC$0$Counter$get':
/home/hanjo/tos/tinyos-2.x/tos/lib/timer/TransformCounterC.nc:70: warning:
`rv' might be used uninitialized in this functio


The improvement from yesterday however is that the safe version seems to be
working without problems when installed now.

Vllado


On Tue, Jun 24, 2008 at 17:53, John Regehr <regehr at cs.utah.edu> wrote:

> Ok here is the Deputy error message (for RadioCountToLeds from HEAD on
> telosb):
>
> AMQueueImplP$0$queue <= AMQueueImplP$0$queue + last + 1 (with no overflow):
> /home/regehr/tinyos-2.x/tos/system/AMQueueImplP.nc:156: Assertion failed in
> CPtrArithAccess:
>  AMQueueImplP$0$queue + last + 1 <= AMQueueImplP$0$queue + 1 (with no
> overflow)
>
> translation: Deputy thinks that "last" is out of bounds at line 156 of
> AMQueueImplP.nc.
>
> Can someone more familiar with this component check if this is plausible?
>
> Vlado it would be nice if you could confirm that this is the error you are
> also seeing.  The Safe TinyOS web page explains how to decode the error
> message (see "interpreting safety violations").  You would need to "make
> install" in tinyos-2.x/tools to get the script installed.
>
> Thanks,
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080624/76ab9582/attachment.htm 


More information about the Tinyos-devel mailing list