Hi, You are certainly right. There can only be up to 3 32khz alarms when compiling with the cc2420x extra. I'll replace extra ones with microsecond alarms, which can be up to 6.
This is the first time I've encounter this issue. It could take me much longer to figure this out had you not replied promptly. Thanks a lot. -Xiaohui On Tue, Jan 8, 2013 at 10:21 AM, Janos Sallai <[email protected]>wrote: > Is this all the error message you're getting? > > My first guess is that you're running out of 32khz physical timers. If > that's the case, try using a microsecond resolution alarm instead. > > Janos > > > On Mon, Jan 7, 2013 at 10:07 PM, Xiaohui Liu <[email protected]> wrote: > >> Hi everyone, >> >> In the configuration: >> * components new Alarm32khz32C() as SlotTimer;* >> * Forwarder.SlotTimer -> SlotTimer;* >> In the implementation module: >> * interface Alarm<T32khz, uint32_t> as SlotTimer;* >> The following error pops up when I launch "make telosb *cc2420x*" >> *In component `IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm':* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc: >> In function `Alarm.startAt':* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):85: >> Msp430Timer.get not connected* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):89: >> Msp430Compare.setEventFromNow not connected* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):95: >> Msp430Compare.setEventFromNow not connected* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):97: >> Msp430Compare.setEvent not connected* >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):99: >> Msp430TimerControl.clearPendingInterrupt not connected* >> >> */Users/xiaohui/Dropbox/tinyos-2.1.2/tos/chips/msp430/timer/Msp430AlarmC.nc(IMACForwarderC.SlotTimer.AlarmC.Msp430Alarm):100: >> Msp430TimerControl.enableEvents not connected* >> *make: *** [exe0] Error 1* >> >> This occurs ONLY if ftsp (i.e., TimeSyncMicroC) is included and >> disappears without compilation error if no ftsp is included. Hope this >> helps. Thanks in advance. >> >> -- >> -Xiaohui Liu >> TelosB >> TinyOS 2.1.2 >> www.cs.wayne.edu/xliu/ >> > > -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
