Re: [Tinyos-help] make Tmote
Hi, Thanks for your help Cory. I have found 5 differents files called Makerules. I do not have the /opt/moteiv/tinyos-1.x/tools/make/ folder, so I have written: @2109-26 /opt/moteiv/apps/Delta $ export MAKERULES=/opt/moteiv/tools/make/Makerules And then I have been changing Makerule file in this folder. One time, the message was: @2109-26 /opt/moteiv/apps/Delta $ make tmote /opt/moteiv/tools/make/Makerules:330: *** mica mica2 mica2dot pc all tmote Usage: make platform make all make clean make install[.n] platform make reinstall[.n] platform # no rebuild of target make docs platform Valid platforms are: mica mica2 mica2dot pc . Stop. 3 time, it was: @2109-26 /opt/moteiv/apps/Delta $ make tmote /opt/tinyos-1.x/tos/../apps/Makerules:330: *** mica mica2 mica2dot pc all tmote Usage: make platform make all make clean make install[.n] platform make reinstall[.n] platform # no rebuild of target make docs platform Valid platforms are: mica mica2 mica2dot pc . Stop. The other time, it was: $ make tmote /opt/moteiv/tools/make/tmote.target:89: no file name for `include' /opt/moteiv/tools/make/tmote.target:89: no file name for `include' /opt/moteiv/tools/make/tmote.target:92: warning: overriding commands for target `t' /opt/moteiv/tools/make/tmote.target:92: warning: ignoring old commands for target `t' /opt/moteiv/tools/make/tmote.target:95: warning: overriding commands for target `tmote' /opt/moteiv/tools/make/tmote.target:95: warning: ignoring old commands for target `tmote' I do not understand what the problem is, sorry. Do you have any idea? Thanks a lot for your help, Andres From: Cory Sharp [EMAIL PROTECTED] To: Andres Aberasturi [EMAIL PROTECTED] CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] make Tmote Date: Wed, 5 Apr 2006 11:00:05 -0700 Make sure your MAKERULES environment variable is set to something reasonable like export MAKERULES=$TOSDIR/../tools/make/Makerules or export MAKERULES=/opt/moteiv/tinyos-1.x/tools/make/Makerules though, it's strange that is set to something invalid. The Boomerang install does not touch the MAKERULES variable. Cory On 4/5/06, Andres Aberasturi [EMAIL PROTECTED] wrote: Hi all, I bought a micaz. I installed TinyOS and it works correctly. But now, I have downloaded Boomerang for Tmote, so I have installed it, without desinstalling the previous version of TinyOS. I have two new folders: opt/moteiv and opt/mps430. I do not have a Tmote yet, but I want to try to compile some aplicacion for it. When I try it, it appears: $ make tmote Makefile:10: no file name for `include' make: *** No rule to make target `tmote'. Stop. Could it be a conflict between TinyOS for micaz and for Tmote? I do not want to desinstal TinyOS, is there any way for doing it works? Where should be the file Makerules? Thanks a lot for your help, Andres _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] display packets on the PC from UART
Hello,EveryOne! Can I receive the packet which I sent to the UART on the mote besides sink's mote? That is,only the sink's mote can send packets to the UART where we can receive the packet using some software(such as SerialForwarder) installed in the PC? Any reply will be helpful. Thanks in advance! Best Wishes! wyd [EMAIL PROTECTED] 2006-04-05 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] deluge documentation
Is deluge-manual.pdf in /doc folder sufficient to understand Deluge and how to use it ? If not, where can I find more documentation ? Thanks Andrea ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] GIO -- Output Voltage.
Pinky, You may use the MSP430GeneralIO interface for telosb/tmote. Suppose you are using P6.3 to control your sensor: In your module: ... uses { interface MSP430GeneralIO as P63; ... } ... call P63.selectIOFunc(); call P63.makeOutput(); call P63.setHigh(); ... In your configuration, wire YOUR_COMPONENT.P63 - MSP430GeneralIOC.port63. - Dongyan On 4/6/06, pinky tejwani [EMAIL PROTECTED] wrote: Hi all, Thanks for all the help with Digital output voltage. I recently moved from 1.1.13 version to 1.1.15 version and now the same code does not work. I looked in to the hardware.h file under telosb platform, it says TOSH command are not used anymore. Instead use the commands like P2OUT = 0x01 to toggle the output. I tried this, and unfortunately it does not work either. I am still debugging the code, but would like to know any thoughts or facts from the members here. Also can anyone help me with using MSP430GeneralIO interface ? Can this be used with TelosB Platform or does it needs some changes in the makerules or download some more binary utilities ? I appreciate the effort. Hope to hear from someone soon. Thanks, Pinky Tejwani. On 2/15/06, Robert Szewczyk [EMAIL PROTECTED] wrote: Look at the page 29 of MSP430 datasheet -- it has the data about how much current the MCU can source and sink through the IO pins (http://focus.ti.com/lit/ds/symlink/msp430f169.pdf). Rob On 2/15/06, Michael Schippling [EMAIL PROTECTED] wrote: also, once all that is settled, make sure that you are not trying to draw too much current from the pin to turn on your sensor. The ATMEGA specs say 40mA max, I don't have the telos chip specs but it's probably similar. Anyway I think that is pushing it, I'd be more comfortable with 10mA. MS Matthew J Whelan wrote: The output voltage of the GIO set high should be the about same as your battery voltage. Do you have the P2.0 pin setup right? P2SEL = ~(0x01);//Sets P2.0 to GIO P2DIR |= 0x01; //Sets P2.0 to output P2OUT |= 0x01; // Sets P2.0 high What about the P6.3 (since the ADC3 input is wired to pin 10 as well)? P6SEL = ~(13); //Sets P6.3 to GIO P6DIR |= ~(13); //Sets P6.3 to input Is there some significant load on your signal which is causing it to drop in voltage? Regards, Matt [EMAIL PROTECTED] wrote: - To: Tinyos-help@Millennium.Berkeley.EDU From: pinky tejwani [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] Date: 02/15/2006 02:21PM Subject: [Tinyos-help] GIO -- Output Voltage. Hello All, I have written a code for bit-banging using the TOSH macros for General I/O pins. Platform - TelosB/TmoteSky The voltage that I get on the pin 10 of U2 connector is 1.3 or 1.5 V maximum. The aim of the exercise is to use one of the digital output pins to switch on/off a sensor. Can someone tell me if there is a way to make the digital output voltage to be above 2 V ? ( I am trying to avoid using an external circuit to do that ) Hope to hear from someone. Thanks, Pinky Tejwani. Clemson University. ___ 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 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 -- Pinky Tejwani Graduate Student Clemson University [EMAIL PROTECTED] #864-650-7835 ___ 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] A question about the MAC address of WSN
Hi This is my question: In WSNroute layer, MoteID is the address of the mote, just like IP address in the Internet.Right? I just wonder that, under theroute layer,whether there is a processlooks like"ARP" when a mote send msg to another. Every mote maintains a table for MAC-MoteID translation OR, every msg is broadcasted, and, only the mote with the specified MoteID catch it? Anything helpful will be greatlyappreciated. Thanx. 你 知 道 2006 年 最 火 爆 的 电 子 邮 箱 吗 ? 多 达 1.1 亿 中 国 人 选 择 网 易 2000 兆 免 费 邮 箱 , 抢 注 再 得 280 兆 超 大 网 盘 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Control of multiple motes per USB
Hi all, funnily enough, now it seems to work. I guess after playing with the USB connections and stuff may jam them up a bit after a while. I tried again after a fresh restart and everything works. So, like I commented yesterday, I wanted to develop some kind of SerialForwarder for multiple motes connected to the computer per USB. I have been giving it some thought and I can't seem to find a way of doing it. I guess it might work for listening to the motes, but not for sending to them for the computer. For example, if we have two appications, say, one which listens to the motes, which periodically send a status message to it, and another which allows us to turn the leds on and off from the command line in the computer. If the listening application has all ports open to listen to all motes, and the led control application wants to send a command to a mote, it can't open a connection itself to that mote because it'd break the already existing connection that the listening program has with that mote. The best solution that I have thought of consists on writing a USBCom class which would handle all connections (basically create Phoenix and MoteIF objects based on the motes connected to the computer -- at first manually, but it'd be pretty interesting if it could be done automatically afterwards, a bit based on the idea David Moss commented some days ago), and integrate all independent applications into one program, a kind of shell which would allow the user to control all of them through commands, eg. listen for status messages, turn the red led on mote 5 on, etc... What do you think of this? Is it too complicated? Does anyone have a simpler/better suggestion to work on this? Any positive and negative comments will be greatly appreciated :) Thank you, - Jose. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] AVR debugger jtag
Hello, Does anyone has any experience with a jtag debugger? Does it help? Is there any correlation between the data received by the debugger and Tinyos programming? This is the links for it http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3353 Thanks Andre Cunha ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Operation of Oscilloscope GUI
Hi,I have installed OscilloscopeRF application on two nodes like this.MIB510=/dev/ttyS0 make install.1 mica2 for node1 MIB510=/dev/ttyS0 make install.2 mica2 for node2After this , i have installed the TosBase application on the mote which is connected to the gateway, like thisMIB510=/dev/ttyS0 make install.0 mica2 After this , i have started the serialforwarder with the following settings [EMAIL PROTECTED]:57600After this, i have started the oscilloscope GUI like this:java net.tinyos.oscope.oscilloscopeThis invokes the GUI , but the problem is that there is no reading coming from the sensor network.Could anyone suggest me the right approach.Thanx for reading my querry. Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1/min.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help : adding a new sensor of my own
Hi all,Has any one ever successfully added an external sensor(any other thantemp/light/accel/magnet/sounder/humidity... etc. that are available on standard sensor borards) to tinyos?Help is urgently needed to implement my strain gage sensor with MDA300+Mica2.Thanx in advance.Regards, Chandresh Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Help on XSensorMDA300
Chandresh, I am also using mica2s+MTS400CA, and hence using XSensorMTS400. I have used this, and correctly received packets, and built my own version of Listen to display and convert data. I have been trying to figure out which components need to be implemented in this to perform multi hop networking, but have not had such luck. I have been trying to experiment with Surge, as this is the only application (to my knowledge) that does multi hop. However, the surge application does not display light sensor values, as it should. I was advised to try and take apart either Surge or XSensorMTS400 and combine those with the other app. If you happen to find a solution to multi hop, I would love to hear. Josh Quoting chandresh parekh [EMAIL PROTECTED]: Hi all, I am using Mica2+MDA300. My application requires use of one differential precision analog channel where I connect my sensor, Strain gage. I program motes with MDA300 using XSensorMDA300 And Base station (the mote connected to PC via serial cable) using TOSBase. This works fine within laboratory distance.As long as I know, XSensorMDA300 supports only single hop. While my requirement is to have multi-hop. 1.Can any one suggest a way to modify XSensorMDA300 to get multi-hop? 2. If it is impossible to do that are there any other solution to send data from differential precision analog channels on MDA300 to base station in multi-hop fashion? * Does crossbow people get/read mails posted on tinyos help related to them at all ever? I have sent this problem twice earlier on tinyos help as well as 'Ask a question' section of crossbow website.I have not received any reply. Any help is welcome. Regards, Chandresh - Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. - This mail sent through IMP: http://horde.org/imp/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] make Tmote
Andreas, Moteiv Boomerang installs exclusively into /opt/moteiv/. If the install succeeded, /opt/moteiv and its children such as /opt/moteiv/tinyos-1.x/tools/make should absolutely exist. If you do not have these directories, then Boomerang is not installed and I recommend you try installing again. Cory On 4/6/06, Andres Aberasturi [EMAIL PROTECTED] wrote: Hi, Thanks for your help Cory. I have found 5 differents files called Makerules. I do not have the /opt/moteiv/tinyos-1.x/tools/make/ folder, so I have written: @2109-26 /opt/moteiv/apps/Delta $ export MAKERULES=/opt/moteiv/tools/make/Makerules And then I have been changing Makerule file in this folder. One time, the message was: @2109-26 /opt/moteiv/apps/Delta $ make tmote /opt/moteiv/tools/make/Makerules:330: *** mica mica2 mica2dot pc all tmote Usage: make platform make all make clean make install[.n] platform make reinstall[.n] platform # no rebuild of target make docs platform Valid platforms are: mica mica2 mica2dot pc . Stop. 3 time, it was: @2109-26 /opt/moteiv/apps/Delta $ make tmote /opt/tinyos-1.x/tos/../apps/Makerules:330: *** mica mica2 mica2dot pc all tmote Usage: make platform make all make clean make install[.n] platform make reinstall[.n] platform # no rebuild of target make docs platform Valid platforms are: mica mica2 mica2dot pc . Stop. The other time, it was: $ make tmote /opt/moteiv/tools/make/tmote.target:89: no file name for `include' /opt/moteiv/tools/make/tmote.target:89: no file name for `include' /opt/moteiv/tools/make/tmote.target:92: warning: overriding commands for target `t' /opt/moteiv/tools/make/tmote.target:92: warning: ignoring old commands for target `t' /opt/moteiv/tools/make/tmote.target:95: warning: overriding commands for target `tmote' /opt/moteiv/tools/make/tmote.target:95: warning: ignoring old commands for target `tmote' I do not understand what the problem is, sorry. Do you have any idea? Thanks a lot for your help, Andres From: Cory Sharp [EMAIL PROTECTED] To: Andres Aberasturi [EMAIL PROTECTED] CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] make Tmote Date: Wed, 5 Apr 2006 11:00:05 -0700 Make sure your MAKERULES environment variable is set to something reasonable like export MAKERULES=$TOSDIR/../tools/make/Makerules or export MAKERULES=/opt/moteiv/tinyos-1.x/tools/make/Makerules though, it's strange that is set to something invalid. The Boomerang install does not touch the MAKERULES variable. Cory On 4/5/06, Andres Aberasturi [EMAIL PROTECTED] wrote: Hi all, I bought a micaz. I installed TinyOS and it works correctly. But now, I have downloaded Boomerang for Tmote, so I have installed it, without desinstalling the previous version of TinyOS. I have two new folders: opt/moteiv and opt/mps430. I do not have a Tmote yet, but I want to try to compile some aplicacion for it. When I try it, it appears: $ make tmote Makefile:10: no file name for `include' make: *** No rule to make target `tmote'. Stop. Could it be a conflict between TinyOS for micaz and for Tmote? I do not want to desinstal TinyOS, is there any way for doing it works? Where should be the file Makerules? Thanks a lot for your help, Andres _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _ Descubre la descarga digital con MSN Music. Más de un millón de canciones. http://music.msn.es/ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Control of multiple motes per USB
It sounds like, minimum, you want to open a SerialForwarder per mote, so that multiple connections can be made per device. There's a number of ways to do that. You could take a look at tinyos-1.x/contrib/nestfe/java/net/tinyos/sfmultiplex/ which has a small amount of documentation here http://nest.cs.berkeley.edu/nestfe/index.php/Tier_2. Cory On 4/6/06, Jose L. Ponce [EMAIL PROTECTED] wrote: Hi all, funnily enough, now it seems to work. I guess after playing with the USB connections and stuff may jam them up a bit after a while. I tried again after a fresh restart and everything works. So, like I commented yesterday, I wanted to develop some kind of SerialForwarder for multiple motes connected to the computer per USB. I have been giving it some thought and I can't seem to find a way of doing it. I guess it might work for listening to the motes, but not for sending to them for the computer. For example, if we have two appications, say, one which listens to the motes, which periodically send a status message to it, and another which allows us to turn the leds on and off from the command line in the computer. If the listening application has all ports open to listen to all motes, and the led control application wants to send a command to a mote, it can't open a connection itself to that mote because it'd break the already existing connection that the listening program has with that mote. The best solution that I have thought of consists on writing a USBCom class which would handle all connections (basically create Phoenix and MoteIF objects based on the motes connected to the computer -- at first manually, but it'd be pretty interesting if it could be done automatically afterwards, a bit based on the idea David Moss commented some days ago), and integrate all independent applications into one program, a kind of shell which would allow the user to control all of them through commands, eg. listen for status messages, turn the red led on mote 5 on, etc... What do you think of this? Is it too complicated? Does anyone have a simpler/better suggestion to work on this? Any positive and negative comments will be greatly appreciated :) Thank you, - Jose. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] msp410
Hi all, I am trying to study msp410CA software but I cannot find any source files!!! Can someone help me? I need to use PIR sensors and Quad detection sensor but I have no idea where to find source files. please help me. Thanks in advance Paolo Ascione ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] FlashWP.nc
Hi, I was wondering about flashWPC.nc that can be found in tos/lib/flash. What is the purpose/role of this? I see it is used during the process that formats the flash as seen in the flashformat application under apps/TestDeluge but it the function it performs isn't clear to me. Cheers, Nic ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] How can I know the RAM usage of a module?
Those scripts can only report static heap usage. Arrays declared in functions are dynamically allocated on the stack. - Cory On 4/6/06, An Liu [EMAIL PROTECTED] wrote: Hi, I found that my module has no RAM usage by check_size.pl script. Even the functions in my module use large array and other variables, the RAM size showed after my compilation is only 19. That's impossible because the size of array in my function is 60 bytes. Does anyone have this problem. $ make micaz mkdir -p build/micaz compiling CodeSize to a micaz binary ncc -o build/micaz/main.exe -O0 -finline-limit=10 -Wall -Wshadow -DDEF_TOS_A M_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=mica sb -DMULTIPLE_COLLUDING -DIDENT_PROGRAM_NAME=CodeSize -DIDENT_PROGRAM_NAME_BYT ES=67,111,100,101,83,105,122,101,0 -DIDENT_USER_ID=MICAz -DIDENT_USER_ID_BYT ES=77,73,67,65,122,0 -DIDENT_HOSTNAME=snet01 -DIDENT_HOSTNAME_BYTES=115,110 ,101,116,48,49,0 -DIDENT_USER_HASH=0x16ed9648L -DIDENT_UNIX_TIME=0x44359a0fL -I /opt/tinyos-1.x/tos/lib/CC2420Radio CodeSize.nc -lm compiled CodeSize to build/micaz/main.exe 6062 bytes in ROM 19 bytes in RAM avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex writing TOS image ___ 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
Re: [Tinyos-help] FlashWP.nc
The purpose of FlashWP is to set and clear the write protect bit on the ST M25P. See the datasheet for more details on the write protect bit. -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 4/6/06, nic [EMAIL PROTECTED] wrote: Hi, I was wondering about flashWPC.nc that can be found in tos/lib/flash. What is the purpose/role of this? I see it is used during the process that formats the flash as seen in the flashformat application under apps/TestDeluge but it the function it performs isn't clear to me. Cheers, Nic ___ 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