[Tinyos-help] using the hardware multiplier on msp430 for FFT
Hello all, I need to use the hardware multiplier in msp430 for FFT calculations. Is there any interface provided to do this. -jagan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Fwd: [Tinyos-help] interface BaresendMsg in Boomerang
-- Forwarded message -- From: jagan nath <[EMAIL PROTECTED]> Date: Jun 11, 2006 5:22 AM Subject: Re: [Tinyos-help] interface BaresendMsg in Boomerang To: Joe Polastre <[EMAIL PROTECTED]> well, I built this application in boomerang which is using various SendMsg and receivemsg iinterfaces(parameterised). The application has various nodes connected to accelerometers and measure vibration. These nodes send the data to a base station via single/multihop. Each node will RTS to the BS and upon receipt of a CTS the node transfers data.and I want the Base station to send all packets to the PC Now im facing a strange problem with the base station, The RTS/CTS and data transfer part are happening correctly( can see with blinking LEDs) but the Uart send task ( coded similar to the TOS Base) that is supposed to send all packets to the PC connected to the BS. is not sending any packets to the Uart. I have observed that the command Uartsend.send is returning a FAIL. But however if I run a TOS base seperately while the nodes communicate with the BS, It is showing all packets on the screen. I also observed that Im not able to use Baresendmsg and SendMsg in the same application( comilation error)and If I try to use the TOSMsg packet that comes from the Receive.receive(Msg) to pass it to UartSend.send(&Msg) it is returning a FAIL.( Since TOSBase is showing the packets on the screen, I tried to use BaresendMsg) -jagan On 6/11/06, Joe Polastre <[EMAIL PROTECTED]> wrote: TOSBase wires directly to the radio. Why would you use BareSendMsg? It is not intended to be used except within the raido stack. Can you describe what you're trying to build rather than the interfaces you think you should be using? -Joe On 6/10/06, jagan nath <[EMAIL PROTECTED]> wrote: > Hi all, > Im trying to use the interface Baresendmsg in my application( variant > of TOSBase). > when Im compiling Im getting the following error, > > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/RadioCRCPacket.nc:49:2: > warning: #warning Using old communication interfaces; recommend switch > to SP > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/TranslateBareSendMsgC.nc:29:2: > warning: #warning Using old communication interfaces; recommend switch > to SP > In component `GenericComm': > C:/PROGRA~1/UCB/cygwin/opt/moteiv/tinyos-1.x/tos/system/GenericComm.nc:87: > cannot find `Control' > make: *** [exe0] Error 1 > > PS I m making the same makefile that is used for TOSBase, > > When TOSBase is compiling with above warnings, how is it that my > application is throwing errors > any workaround > > TIA > -jagan > ___ > Tinyos-help mailing list > Tinyos-help@Millennium.Berkeley.EDU > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] AM address types and InternalFlash usage
I'm looking for a current list or standards for both AM address types used, and InternalFlash storage usage for Telosb or TmoteSky. Are there any lists or standards of AM address types used or assigned? Are there any lists or standards of InternalFlash usage addresses? I have generated a spreadsheet of AM_types from Boomerang 2_0_2, but can't find any published list anywhere. TIA francis ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] interface BaresendMsg in Boomerang
TOSBase wires directly to the radio. Why would you use BareSendMsg? It is not intended to be used except within the raido stack. Can you describe what you're trying to build rather than the interfaces you think you should be using? -Joe On 6/10/06, jagan nath <[EMAIL PROTECTED]> wrote: Hi all, Im trying to use the interface Baresendmsg in my application( variant of TOSBase). when Im compiling Im getting the following error, C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/RadioCRCPacket.nc:49:2: warning: #warning Using old communication interfaces; recommend switch to SP C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/TranslateBareSendMsgC.nc:29:2: warning: #warning Using old communication interfaces; recommend switch to SP In component `GenericComm': C:/PROGRA~1/UCB/cygwin/opt/moteiv/tinyos-1.x/tos/system/GenericComm.nc:87: cannot find `Control' make: *** [exe0] Error 1 PS I m making the same makefile that is used for TOSBase, When TOSBase is compiling with above warnings, how is it that my application is throwing errors any workaround TIA -jagan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] delay time and memory calculation
Hi everyone , If I wanna get the time and memory cost on some paragragh of the code(ex, a function call), what should I do ? For real expriment, not for simulation. Does tinyos offer some system call to get the real time value or memory cost value at some time point? Thanks a lot . Xing Jin __Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] interface BaresendMsg in Boomerang
Hi all, Im trying to use the interface Baresendmsg in my application( variant of TOSBase). when Im compiling Im getting the following error, C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/RadioCRCPacket.nc:49:2: warning: #warning Using old communication interfaces; recommend switch to SP C:/PROGRA~1/UCB/cygwin/opt/moteiv/tos/lib/CC2420Radio/TranslateBareSendMsgC.nc:29:2: warning: #warning Using old communication interfaces; recommend switch to SP In component `GenericComm': C:/PROGRA~1/UCB/cygwin/opt/moteiv/tinyos-1.x/tos/system/GenericComm.nc:87: cannot find `Control' make: *** [exe0] Error 1 PS I m making the same makefile that is used for TOSBase, When TOSBase is compiling with above warnings, how is it that my application is throwing errors any workaround TIA -jagan ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] clock on mote
Hi, I use MDA300 as sensorboard on mote, and send data wirelessly back to PC. I want to record the time whenever I get each incoming sampling data. Is there anyone has made a real time clock on mote so that I can get a timestamp (for example 06/09/2006 11:26:38) for each record? Thanks for your help. Tony ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Re: question on mica sense carrier
Hi,I think I've got the answer. If you look at the following code from ChannelMonC.nc 1 TOSH_SIGNAL(SIG_OUTPUT_COMPARE2) {2 uint8_t bit = TOSH_READ_RFM_RXD_PIN();3 atomic { // Unnecessary, but nesC doesn't understand SIGNAL 4 //fire the bit arrived event and send up the value.5 if (CM_state == IDLE_STATE) {6 CM_search[0] <<= 1;7 CM_search[0] = CM_search[0] | (bit & 0x1); 8 if(CM_waiting != -1){9 CM_waiting --;10 if(CM_waiting == 1){11 if ((CM_search[0] & 0xfff) == 0) { // see if it's 12 consecutive 0's 12 CM_waiting = -1;13 signal ChannelMon.idleDetect();14 }else{15 CM_waiting = (call Random.rand() & 0x1f) + 30;16 } 17 }18 }19 if (( CM_search[0] & 0x777) == 0x707){ // preamble20 CM_state = START_SYMBOL_SEARCH;21 CM_search[0] = CM_search[1] = 0;22 CM_startSymBits = 30;23 }24 }else if( CM_state == START_SYMBOL_SEARCH){25 unsigned int current = CM_search[CM_lastBit];26 CM_startSymBits--;27 if (CM_startSymBits == 0){28 CM_state = IDLE_STATE; 29 }30 if (CM_state != IDLE_STATE) {31 current <<= 1;32 current &= 0x1ff; // start symbol is 9 bits33 if(bit) current |= 0x1; // start symbol is 9 bits34 if (current == 0x135) { 35 cbi(TIMSK, OCIE2); 36 CM_state = IDLE_STATE;37 signal ChannelMon.startSymDetect();38 }39 if (CM_state != IDLE_STATE) {40 CM_search[CM_lastBit] = current; 41 CM_lastBit ^= 1;42 }43 }44 }45 }46 return;47 }The test of 12 consecutive 0's (line 11) is in the state of IDLE_STATE (line 5), but when it's really starting to receive data, it should be in the state of START_SYMBOL_SEARCH (line 24). So even when someone is sending a lot of 0's, the receiving node is in the state of START_SYMBOL_SEARCH, so the test of 12 consecutive 0's (line 11) will never be executed.Cheers, HaibinOn 6/7/06, Liu Haibin <[EMAIL PROTECTED]> wrote: Hi,I have a question on mica/ChannelMonC.nc, the implementation of the CSMA/CA on mica. The code below shows that uint8_t bit = TOSH_READ_RFM_RXD_PIN(); CM_search[0] <<= 1; CM_search[0] = CM_search[0] | (bit & 0x1); if ((CM_search[0] & 0xfff) == 0) { // 12 clock ticks CM_waiting = -1; signal ChannelMon.idleDetect(); }after a random delay, it checks if during the past 12 clock ticks a single 1 bit is received. If not, then it signals that channel is idle. But my question is if some node is transmitting a long sequence of 0s, then the idleness is falsely detected. Why is it so? Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] dataset of redwood or great duck island experiment
Hi,Does anybody have the complete data sets of the Great duck experiments or the Redwood experiments? I managed to get a hold of the Intel data set on their site. but need more datasets to conduct some experiments.If you do, could you mail back a pointer to it or the actual data itself? Regards,/manj ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Is it the tinydb "Cannot load fonts for IMF" error casues the tinydb cannot display result?
Hello,everyone:I have two quesitons:1.Is it the tinydb "Cannot load fonts for IMF" error casues the tinydb cannot display result?2.How can I make the DemoApp using the tossim instead of reading the serial port? I tried the tinydb in my fedora core4 using tossim.But I get the error of "Cannot load fonts for IMF".Although the tinydb still can run and appears the GUI but the query result could not displayed on the GUI.Is it the "Cannot load fonts for IMF" error casues the tinydb cannot display result? The packages I used are:tinyos-1.1.0-1tinyos-tools-1.2.1-3task-tinydb-1.1.0-1 ps:I have changed the gcc to 3.4.4 and nesc 1.2.4 also recompiled. toscheck returns no errors. The tinyviz can work normally. In addition, how can I use the DemoApp in the tinydb directory with tossim. How can I specify the program to read the tossim but not the serial port? I find it reads a config file:tinydb.conf, and have a line "comm-string:[EMAIL PROTECTED]". Whether change that line have effect? 1.What is the reason of "Cannot load fonts for IMF"? Is it this error causes the tinydb GUI could not display results?[EMAIL PROTECTED] java]# java net.tinyos.tinydb.TinyDBMain -simCatalog file in use: net/tinyos/tinydb/catalog.xmlCreating PhoenixSource with tossim-serialOpening tossim-serial sourceConnecting to Tossim event port at localhost:10585Connection opened to TOSSIM event portConnecting to Tossim command port at localhost:10584Connection opened to Tossim command portCannot load fonts for IMF.Cannot load fonts for IMF.Cannot load fonts for IMF.headings = [Epoch, temp, nodeid]h = tempquery = Fields in query:0 temp1 nodeid0 expressions representing query:Epoch Duration = 102Query ID = 0 headings = [Epoch, temp, nodeid]h = nodeidquery = Fields in query:0 temp1 nodeid0 expressions representing query:Epoch Duration = 102Query ID = 0 Cannot load fonts for IMF. 2. How can I make the DemoApp using the tossim instead of reading the serial port?[EMAIL PROTECTED] java]# java net.tinyos.tinydb.DemoAppCatalog file in use: net/tinyos/tinydb/catalog.xmlCreating PhoenixSource with [EMAIL PROTECTED]:57600[EMAIL PROTECTED]:57600: resynchronisingSending query.JVMDG217: Dump Handler is Processing Signal 2 - Please Wait.JVMDG215: Dump Handler has Processed Interrupt Signal 2. __赶快注册雅虎超大容量免费邮箱?http://cn.mail.yahoo.com___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help