> > Following on from the previous email. I was wiring to a P component rather > than a C, so I guess that's what was causing the problems. I'm wiring to
> CC2420ControlC as follows: ... components CC2420ControlC; ... App.ReadRssi -> CC2420ControlC; ... and when I compile: In component `HplCC2420InterruptsC.CaptureSFDC': /opt/tinyos-2.1.1/tos/chips/msp430/timer/GpioCaptureC.nc: In function > `Msp430Capture.captured': /opt/tinyos-2.1.1/tos/chips/msp430/timer/GpioCaptureC.nc(HplCC2420InterruptsC.CaptureSFDC):68: > Capture.captured not connected In component `CC2420ControlP': /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function > `StartupTimer.fired': /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:413: > CC2420Power.startVRegDone not connected /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function > `SpiResource.granted': /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:392: > Resource.granted not connected In component `HplCC2420InterruptsC.InterruptFIFOPC': /opt/tinyos-2.1.1/tos/chips/msp430/pins/Msp430InterruptC.nc: In function > `HplInterrupt.fired': /opt/tinyos-2.1.1/tos/chips/msp430/pins/Msp430InterruptC.nc(HplCC2420InterruptsC.InterruptFIFOPC):68: > Interrupt.fired not connected In component `CC2420ControlP': /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function > `InterruptCCA.fired': /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:425: > CC2420Power.startOscillatorDone not connected make: *** [exe0] Error 1 Any ideas? I think it must be some wiring problem. Many thanks in advance, Magnus On 9 October 2010 00:58, Magnus Morton <[email protected]> wrote: > Hi, > > I'm trying to write a simple app for the telosb platform to take some noise > floor readings and get to grips with the programming. I'm using the > CC2420ControlP module and its ReadRssi interface. > When I try to compile the basic app, with only stubs for the implemented > events, I get the following problems: > > Firstly, I got this: > >> In component `CC2420ControlP': > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function >> `Init.init': > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128: >> `CC2420_DEF_RFPOWER' undeclared (first use in this function) > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128: (Each >> undeclared identifier is reported only once > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:128: for each >> function it appears in.) > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:129: >> `CC2420_DEF_CHANNEL' undeclared (first use in this function) > > those missing definitions were in CC2420.h, which it couldn't seem to find. > Do I have to specify a particular include path here? it seems to be looking > for it in the local directory. > > I managed to get past those only to get this: > >> In component `CC2420ControlP': > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function >> `ReadRssi.read': > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:372: >> RssiResource.request not connected > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc: In function >> `CC2420Config.sync': > > /opt/tinyos-2.1.1/tos/chips/cc2420/control/CC2420ControlP.nc:308: >> SyncResource.request not connected > > make: *** [exe0] Error 1 > > which has me truly lost. > > Any ideas what I'm doing wrong here? any help would be greatly appreciated. > > Magnus >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
