[Tinyos-help] Flash a mote without make

2009-04-23 Thread as2
Hi, if I have an app compiled, can I install it in a mote without a tinyos full instalation system(Using the files in build/platform)? Is there any light weight flasher for use in a small linux system? thanks -- View this message in context:

Re: [Tinyos-help] (no subject)

2009-04-23 Thread Janos Sallai
Now with the new toolchain I tried to build /apps/Blink with make iris, but I get following error: /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:222 internal compiler error: in start_function, at c-decl.c:6248 Please submit a full bug report, with preprocessed... That

Re: [Tinyos-help] Flash a mote without make

2009-04-23 Thread Urs Hunkeler
Hi, If you look in detail at the installation process you will see the following steps: - compiling the actual program into a main.exe file - modifying some symbols in the binary (node id) and changing the format to .srec. This involves platform specific versions of objdump and objcopy as well

[Tinyos-help] Carefully play around typecasting

2009-04-23 Thread 王悦
Just a NOTICE, hope to help:) *Be very careful when using integers of different types in an arithmetic expression. NesC compiler doesn't seem to convert them into one appropriate type during evaluation. * Because TinyOS doesn't have a full-featured debugging mechanism(though I appreciate printf,

[Tinyos-help] tinysec keys

2009-04-23 Thread Amel Badaoui
Hi all, I used the inteface TinySecControl in an application to get and update the MAC key after the receive of a message and before resending it. But when i start simulation, it stops when trying to get the MACkey. Why is it blocked? Thx by advance.

Re: [Tinyos-help] startOneShot

2009-04-23 Thread Ittipong Khemapech
I start the timer within the receive() event and *nothing* happens. No packet is transmitted by the source. I'm pretty sure that the radio is on at that time. I posted this problem several weeks ago and still got no reply. That's why I have to use the InitW2RTimer and it's started in the

[Tinyos-help] help with imote2 and tinyos-1.x

2009-04-23 Thread David Rodenas Herráiz
Hi I have problems with tinyos-1.x and imote2. I found this post http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg19542.html and my problem is the same. I followed the same steps, at

Re: [Tinyos-help] Help needed

2009-04-23 Thread shirish
My problem is solved, and for future when ever some one gets this problem , go to /localization/Makefile and in the place where you find Makerules, replace that with MakeCalamari... But again after doing that i am facing one more problem when i do make pc i receive an error In component

[Tinyos-help] how many time for one ADC convertion in TelosB

2009-04-23 Thread Carmine Ambrosino
Hi all, I have a question for you, Do you know how many cycle attempt for ADC convertion for TelosB (MSP430F1611)? CA Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail ___ Tinyos-help mailing list

[Tinyos-help] Can't compile the apps.

2009-04-23 Thread John Smith
Hi everone :) . I'm new to this. Here is what happens when I compile the apps folder using cygwin. $ make Blink ../Makerules:26: /opt/tinyos-2.x/tos/../apps/Makerules: No such file or director y make[1]: *** No rule to make target `/opt/tinyos-2.x/tos/../apps/Makerules'. St op. make: ***

Re: [Tinyos-help] Can't compile the apps.

2009-04-23 Thread Ittipong Khemapech
Hi, Make sure that the compile is conducted under the .../apps/Blink. Ittipong 2009/4/23 John Smith yoursurrogate...@gmail.com Hi everone :) . I'm new to this. Here is what happens when I compile the apps folder using cygwin. $ make Blink ../Makerules:26:

[Tinyos-help] Time to convert ADC for Telos B

2009-04-23 Thread Carmine Ambrosino
Hi, How can I see the time used for one convertion with ADC for Telos B. thanks everyone CA Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Help with the printf printfflush()

2009-04-23 Thread Sisu Xi
Dear All: Hi. I am following the tutorials on TinyOS Doc. And I have encountered this problem: source code: *uint8_t dummyVar1 = 123; event void Boot.booted() { for (; dummyVar1 0; dummyVar1--) { printf(%u , dummyVar1); printfflush(); for

[Tinyos-help] Sensd a message to all node in the   neighborhood

2009-04-23 Thread moadsofiane
Hi, I am using tossim to my simulations and i want to send a message to a neighborhood of the node. My first question is: How can send this message to the neihbohood of the node? My secode question: How can I know the node's ID of my neghbors? Thank you for your help. Best regards,

Re: [Tinyos-help] Timestamp

2009-04-23 Thread Ittipong Khemapech
Please send your post to the list and try search the archives at http://www.tinyos.net/scoop/special/support#mailing-lists. There are a lot of useful hints out there. If you have got some errors about the missing interfaces, use them and don't forget to do the wiring. According to the code,

Re: [Tinyos-help] Flash a mote without make

2009-04-23 Thread Michael Schippling
Examine the last couple of lines in the make install output and you will find the actual command line for doing the download. MS as2 wrote: Hi, if I have an app compiled, can I install it in a mote without a tinyos full instalation system(Using the files in build/platform)? Is there any light

Re: [Tinyos-help] Carefully play around typecasting

2009-04-23 Thread Michael Schippling
I'd have to go look at the rule book, but I think the general idea is that types are promoted to the largest referenced on the right hand side of the expression. In your case they are both uint8 so no implicit conversion gets done. I will go further and assume that your declared sum should have

Re: [Tinyos-help] Time to convert ADC for Telos B

2009-04-23 Thread Michael Schippling
You'll probably have to go rummage in the controller manual to find how many clocks the ADC needs, and then figure out what clock pre-scaler is being used. I only know (IIRC, approximately) 25 scaled-instruction-clocks is the number for the micas. MS Carmine Ambrosino wrote: Hi, How can I see

Re: [Tinyos-help] Setting the MAKERULES variable.

2009-04-23 Thread Michael Schippling
Make sure the file actually exists. The error says it can't find a tinyos-2.x rules file, but it looks like you have posted a tinyos-1.x file. MS John Smith wrote: Hi again, I'm trying to have my simple program compile. This is the error that I'm getting. $ make ../Makerules:28:

Re: [Tinyos-help] Setting the MAKERULES variable.

2009-04-23 Thread John Smith
Yes, the one in tinyos-2.x does exist, I just looked at it. I haven't changed anything there and it's the stock Makerules file from when I first installed tinyos. Here it is: #-*-Makefile-*- vim:syntax=make #$Id: Makerules,v 1.6 2008/09/26 20:13:58 klueska Exp $ # @author Cory Sharp

Re: [Tinyos-help] Setting the MAKERULES variable.

2009-04-23 Thread Michael Schippling
So the T1 file was a red herring to see if we were paying attention? heh... Try this from the directory where your make is failing: ls -l $MAKERULES just to make sure you have the variable set right and the file is accessible. After that I'm at a loss... MS John Smith wrote: Yes, the

[Tinyos-help] Questions about Implementing Jamming Signals

2009-04-23 Thread Jane
I am trying to implement jamming signals using iris motes with mib520 chip. My goal is to completely block other nodes' communication. In the program, I broadcast a node ID using AMPacket. The ID is sent non stop by put a send signal in the sendDone event and CCA has been disabled. Then I used

Re: [Tinyos-help] Questions about Implementing Jamming Signals

2009-04-23 Thread Miklos Maroti
Dear YanYan, On Thu, Apr 23, 2009 at 9:49 PM, Jane janesjunk...@yahoo.com wrote: I am trying to implement jamming signals using iris motes with mib520 chip. My goal is to completely block other nodes' communication. In the program, I broadcast a node ID using AMPacket. The ID is sent non stop

[Tinyos-help] Help: SerialForwarder and Hyperterminal

2009-04-23 Thread Vishal Pal
Hello, I am trying to use Hyperterminal with SerialForwarder but I am not able to see any data in Hyperterminal. Please help me. This is my setup: 1. I simulated Oscilloscope application in TOSSIM. 2. I started SerialForwarder java application and connected it to TOSSIM to receive the

[Tinyos-help] USB port permission in XUBUNTOS Vmware

2009-04-23 Thread Akankshu Dhawan
Hi All I am using vmware to run XUBUNTOS but I am unable to access my usb port. I tried changing permissions using chmod 666 /dev/ttyUSB0 but it says permission denied. Has anyone else used this setup and faced a similar issue ? Would really appreciate your help. Regards Akankshu -- First

Re: [Tinyos-help] Questions about Implementing Jamming Signals

2009-04-23 Thread Jane
Hi Miklos, Thanks so much for the help. I will test the procedure that you suggested and let you know if it works. Sorry I mixed up mib520 and the RF chip. Anyway, is it possible to send tone? Thank you! YanYan --- On Thu, 4/23/09, Miklos Maroti mmar...@math.u-szeged.hu wrote: From: Miklos

[Tinyos-help] Help: SerialForwarder not sending data to MATLAB application

2009-04-23 Thread Vishal Pal
Hello, I am trying to connect my MATLAB GUI with SerialForwarder application to fetch the data from it. I wrote a simple client application in MATLAB to connect port 9001. After the connection has been established, SerialForwarder application sent 2 bytes (85 32) to my MATLAB application. I

[Tinyos-help] Help: SerialForwarder and Hyperterminal

2009-04-23 Thread Vishal Pal
Hello, I am trying to use Hyperterminal with SerialForwarder but I am not able to see any data in Hyperterminal. Please help me. This is my setup: 1. I simulated Oscilloscope application in TOSSIM. 2. I started SerialForwarder java application and connected it to TOSSIM to receive the