>From my little experience in TinyOS, I know that this error "Resource.granted 
>not connected"
means that something needs to be wired but it is not. So, make sure that you 
wire all things correctly.

...Mohammed

On Sun, 1 Mar 2009 02:16:50 -0500, Mohammad Sajjad Hossain wrote
> Hi,
> I am trying to read the RSSI noise floor reading using CC2420ControlC since 
> it produces an interface ReadRssi. But when I try to build it, it dies with a 
> bunch of error and all of them are in CC2420ControlP.nc. Here is a snapshot:
> ------
> 
> kdir -p build/micaz
>     compiling SendAndReceiveAppC to a micaz binary
> ncc -o build/micaz/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow 
> -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
> -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 
> -DIDENT_APPNAME=\"SendAndReceiveA\" -DIDENT_USERNAME=\"sajjad\" 
> -DIDENT_HOSTNAME=\"sprinter.local\" -DIDENT_USERHASH=0xb2b0b698L 
> -DIDENT_TIMESTAMP=0x49aa2f10L -DIDENT_UIDHASH=0xf7ae7f45L -fnesc-dump=wiring 
> -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
> components)' -fnesc-dumpfile=build/micaz/wiring-check.xml 
> SendAndReceiveAppC.nc -lm 
> nesc1: warning: calls to SpiResource.isOwner in CC2420ControlP fan out, but 
> there is no combine function specified for the return type
> In component `CC2420ControlP':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:
>  In function `SpiResource.granted':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:392:
>  Resource.granted not connected
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:
>  In function `InterruptCCA.fired':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:425:
>  CC2420Power.startOscillatorDone not connected
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:
>  In function `StartupTimer.fired':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/cc2420/control/CC2420ControlP.nc:413:
>  CC2420Power.startVRegDone not connected
> In component `HplCC2420InterruptsC.CaptureSFDC':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/atm128/timer/Atm128GpioCaptureC.nc:
>  In function `Atm128Capture.captured':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/atm128/timer/Atm128GpioCaptureC.nc(HplCC2420InterruptsC.CaptureSFDC):66:
>  Capture.captured not connected
> In component `HplCC2420InterruptsC.InterruptFIFOPC':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/atm128/pins/Atm128GpioInterruptC.nc:
>  In function `Atm128Interrupt.fired':
> /Users/sajjad/Research/tools/tinyos-2.x/tos/chips/atm128/pins/Atm128GpioInterruptC.nc(HplCC2420InterruptsC.InterruptFIFOPC):39:
>  Interrupt.fired not connected
> make: *** [exe0] Error 1
> ------
> 
> Can anybody please give me some hint? 
> Thanks in advance...
> --sajjad

--

 
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to