Re: [Tinyos-help] MicaZ_XubunTOS2.0

2007-12-19 Thread weiping SONG
Hi, Here is some steps to use mib520 in open suse, I hope this will be helpful: 1. have a look at this link: http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/programmers.html 2. using dmesg you should see two ports to be assigned once you plug mib520 into you system. To confirm

[Tinyos-help] Development wanted for Deluge T2

2007-12-19 Thread David
Hi TinyOS developers. Our company is starting some new embedded development, and would like to do this development in TinyOS 2.x rather than 1.x (nicer docs and easier development. Includes Dissemination and Collection network algorithms, etc). Our main problem with using TinyOS 2.x is that

[Tinyos-help] Is uint16_t a unsigned int type?

2007-12-19 Thread Hristo Bojkov
Hello coders, I have question regarding uint16_t type. I was assuming that it is 16bit unsigned integer. But when I use such type, and set a value over 32K, I receive a warning during compilation, an example is: / */ const uint16_t FT_TIMER_MIN = 6; /**/ The result from

[Tinyos-help] 答复: Tinyos-help Digest, V ol 56, Issue 89

2007-12-19 Thread handsomezhu
Did Tinyos support another storage chip, at45db041d ? It seems a totally different chip with at45db041b which was out of date and atmel stopped it from last year. If someone has developed the driver of this chip in tinyos 2.02, it will be a big help for me. Handsomezhu 2007-12-19 -邮件原件-

Re: [Tinyos-devel] Re: [Tinyos-help] Re: Problems with tinyos-1.x vs. 2.x

2007-12-19 Thread David E. Culler
I guarantee that it will be worth it. TOS2 is fundamentally more robust, flexible, and sound going forward. The learning tools and examples are coming into place. Hanging on to TinyOS1.x dusty desk at this point would surely be penny wise pound foolish. Philip Levis wrote: On Dec 16,

[Tinyos-help] current MAC protocol in TinyOS

2007-12-19 Thread Tie Luo
Dear All, Is the current MAC protocol in TinyOS B-MAC or X-MAC? I searched on tinyos.net and it seems to be B-MAC. I just want to confirm. Thanks. -- Regards, Tie ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] RSSI and TOSSIM

2007-12-19 Thread Tal Rusak
Hi, I noticed that TOSSIM uses the following formula to compute RSSI: rcv-strength = (int8_t)(floor(10.0 * log(pow(10.0, power/10.0) + pow(10.0, noiseStr/10.0)) / log(10.0))); (in CpmModelC.nc) I notice that this is adding the signal power (gain) and noise levels. I am wondering if

Re: [Tinyos-help] Adding NesC syntax files to tinyos debs

2007-12-19 Thread Ariel Mauricio Nunez Gomez
I just checked and there was no one for Gedit. This is the one I created based on the cpp one. It goes in */usr/share/gtksourceview-2.0/language-specs/ncc.lang *on Ubuntu Gutsy. I doesn't (yet) automatically apply the style to .nc files (you have to check View- Highlight mode - Sources - NesC) I

RE: [Tinyos-help] Re: Is uint16_t a unsigned int type?

2007-12-19 Thread Michiel Konstapel
Another way to do it is to specify the type of the constant: const uint16_t FT_TIMER_MIN = 6U; The U makes it an unsigned int constant. You can also append an L to make it a long: const uint32_t ONE_MILLION = 100UL; HTH, Michiel -Original Message- From: [EMAIL PROTECTED]

[Tinyos-help] TOS2.0 ADC PINS showing very low impedance, how to configure?.

2007-12-19 Thread Saverio De Vito
Dear all, we are currently porting to TOS 2.0 a TOS 1.1 application that read from multiple external analog sensors. All has been quite straightforward but unfortunately, it seems that ADC pins now show a far lower input impedance seriously affecting the measurements. It seems to be an ADC

Re: [Tinyos-help] current MAC protocol in TinyOS

2007-12-19 Thread Avinash Sridharan
Could be you be more specific about the platform and the version of TinyOS you are using ? -Avinash On Dec 18, 2007 8:23 PM, Tie Luo [EMAIL PROTECTED] wrote: Dear All, Is the current MAC protocol in TinyOS B-MAC or X-MAC? I searched on tinyos.net and it seems to be B-MAC. I just want to

[Tinyos-help] XSensorMDA320 Application

2007-12-19 Thread Abdullah Kadri
Hello, Can anyone tell me what the function of XSensorMDA320 application is? I want to know what to install in the sensing mote which is connected to MDA320 and what to install in the base station node in order to see the functionalities of this application. How can I monitor the signals of

[Tinyos-help] deterministic time stamping (CC2420)

2007-12-19 Thread John Griessen
Miklos Maroti wrote: The only important thing is how stable that oscillator is, and I do not care if the rate is 5% off as it is quite easy to compensate for that in software. Yes, a software mostly approach is bettor for tinyOS at this time, you're right. I'll still be thinking of a good way

Re: [Tinyos-help] TOS2.0 ADC PINS showing very low impedance, how to configure?.

2007-12-19 Thread John Griessen
Saverio De Vito wrote: Dear all, Provided that we only implemented AdcConfigure for all sensors There is a new interface for multiple reads on MSP430. What platform do you use? There is a MSP430 example here that may help:

[Tinyos-help] Xlisten tool in XBow

2007-12-19 Thread Abdullah Kadri
Dear all, Any one knows where can I find the XListen tool under MoteWorks? Best, Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 ___

Re: [Tinyos-help] Si può campion are un Timer prima dell'overflow?

2007-12-19 Thread roberto pagliari
Ciao, prima di tutto dovresti scrivere in inglese per avere qualche risposta ;) Per avere una misura di tempo, la suluzione migliore è usare i timers dell'atmega128, o del controllore che usa il tuo nodo. Sono molto precisi e puoi misurare tempi, oltre che settare firings. ciao On Dec 18, 2007

[Tinyos-help] CC2420ReceiveP RXFIFO.readDone

2007-12-19 Thread André Cunha
Hello all, I am trying to change the default code in RXFIFO.readDone in TOS2.0. I have some doubts on some parts of the code. I have some basic questions: 1. What is the meaning of the return of the following functions call FIFO.get() and call FIFOP.get()? 2. If I have more than one

Re: [Tinyos-help] Hardware Address Recognition

2007-12-19 Thread Tiago Camilo
Hi David, I tried to search for the PacketLink component, but it seems not many people is using it, moreover it does not have any kind of reference in nesdoc, only the TEP. I found the example of PacketLink, more specific TestPacketLink, in the tinyos-2.x-contrib folder and even after i

RE: [Tinyos-help] Power-down ADC on MicaZ ATMega128

2007-12-19 Thread Murray, Ben
Hi I have had this /exact/ same issue with MICAz motes in TinyOS-2.x! I compiled and recompiled apps/null as provided with the tos2 download but the current consumption for my motes was /always/ well over the suggested 5-10uA by at least around 100uA, usually more like 400-500. I found that /most/

Re: [Tinyos-help] Adding NesC syntax files to tinyos debs

2007-12-19 Thread David Gay
On Dec 19, 2007 6:41 AM, Ariel Mauricio Nunez Gomez [EMAIL PROTECTED] wrote: I just checked and there was no one for Gedit. This is the one I created based on the cpp one. It goes in /usr/share/gtksourceview-2.0/language-specs/ncc.lang on Ubuntu Gutsy. I doesn't (yet) automatically apply the

[Tinyos-help] Interaction between LocationPlugin and FakeLocation?--for Matt!

2007-12-19 Thread Antonio C
Hi all, i am trying to implement an application that uses multihopping(I'm using Surge, as it is in examples). I execute the application with this command line /surge/build/pc/main.exe -gui 7 tinyviz first of all i enable SetLocation plugin on tinyviz, then i move motes clicking and dragging

RE: [Tinyos-help] Xlisten tool in XBow

2007-12-19 Thread Giri Baleri
Xlisten tool has been replaced by XServe in MoteWorks and this can be found under \opt\MoteWorks\tools\xserve. - Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Abdullah Kadri Sent: Wednesday, December 19, 2007 9:08 AM To:

Re: [Tinyos-help] TestPrintf error

2007-12-19 Thread Kevin Klues
Try updating to libc 1.4 or greater. Kevin On Dec 18, 2007 7:10 PM, yvonne er [EMAIL PROTECTED] wrote: I am using avr-libc 1.2.3-1 on micaz motes. Please advice. Thank You. Yvonne On Dec 19, 2007 9:31 AM, Kevin Klues [EMAIL PROTECTED] wrote: Which platform are you compiling for? Only

RE: [Tinyos-help] Xlisten tool in XBow

2007-12-19 Thread Abdullah Kadri
Does XServe work for both XSensor and XMesh applications? Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western Ontario Department of Electrical and Computer Engineering Phone: (519) 661-2111 ext. 81271 _ From: Giri Baleri [mailto:[EMAIL PROTECTED] Sent: Wednesday,

[Tinyos-help] Problem with TOSSIM

2007-12-19 Thread Lorenzo Mainardi
Hi everybody, I'm triyng to run up TOSSIM in an Ubuntu Box with Python 2.5. So, all the compilation process is going right, but when I try to import the TOSSIM module I obtain this error: import TOSSIM Traceback (most recent call last): File stdin, line 1, in module File TOSSIM.py, line 4,

Re: [Tinyos-help] RSSI and TOSSIM

2007-12-19 Thread Philip Levis
On Dec 19, 2007, at 6:09 AM, Tal Rusak wrote: Hi, I noticed that TOSSIM uses the following formula to compute RSSI: rcv-strength = (int8_t)(floor(10.0 * log(pow(10.0, power/10.0) + pow(10.0, noiseStr/10.0)) / log(10.0))); (in CpmModelC.nc) I notice that this is adding the signal

Re: [Tinyos-help] Si può campionare un Timer pr ima dell'overflow?

2007-12-19 Thread Philip Levis
On Dec 19, 2007, at 9:00 AM, roberto pagliari wrote: Ciao, prima di tutto dovresti scrivere in inglese per avere qualche risposta ;) Si. Posso leggere un po d'italiano, mai sempre un po. Anche, penso che non sono nella majority. :) Phil ___

RE: [Tinyos-help] XSensorMDA320 Application

2007-12-19 Thread Giri Baleri
The XSensorMDA320 is app samples data from the ADC and/or DIO channels and forwards it to UART (when connected directly to a PC via MIB board) or over the radio to a base station running TOSBase. The data received over the UART of the MIB board can be viewed using XServe/XSniffer tool. Please

RE: [Tinyos-help] XSensorMDA320 Application

2007-12-19 Thread Abdullah Kadri
Thanks Giri. Please correct me if I am wrong. MDA320 and MIB520 can not connect to each other through the 51 pin junction, can they? I tried but I could not do this because J3 on MIB520 hinder the MDA320 board. Cheers, Abdullah Kadri, P.Eng., Ph.D. Candidate The University of Western

RE: [Tinyos-help] Hardware Address Recognition

2007-12-19 Thread David Moss
Hi Tiago - The TestPacketLink directory is for TUnit unit testing, and will not compile or run under normal circumstances. The interface itself should be easy to use: simply use the PacketLink interface in your BaseStation app, and wire it to CC2420ActiveMessageC. You'll also need to define the

RE: [Tinyos-help] CC2420ReceiveP RXFIFO.readDone

2007-12-19 Thread David Moss
1. FIFO and FIFOP are GPIO pins provided by the CC2420 radio. These are status pins, and I believe they're used to indicate data exists in the RX FIFO that can be read out by the microcontroller. The datasheet provides more details. 2. If you haven't toggled the CSN line, and haven't used the

Re: [Tinyos-help] Development wanted for Deluge T2

2007-12-19 Thread Chieh-Jan (Mike) Liang
1.) Initially, the plan was to write a new storage manager for Deluge T2. Unfortunately, it never got completed, and Deluge T2 is still using a simple storage manager. 2.) Yes, this is not in the current Deluge T2. 3.) To add more image volumes, just update the volume XML file and a

Re: [Tinyos-help] tmote mini tinyos 2.x compatibility question

2007-12-19 Thread Dimas Abreu Dutra
Thanks everyone, I am indeed using the usb red board tmote mini development kit. The tmote-bsl worked fine on windows with tinyos-2.x, but I'm having some problems with the linux version, from linux/moteiv- tools-0.2-20070507-i386.tar.gz in the install CD. When I run on the terminal I get [EMAIL

Re: [Tinyos-help] Si può campion are un Timer prima dell'overflow?

2007-12-19 Thread roberto pagliari
Hi Philip. I'm glad to see you know italian a little bit :) we met at sensys, I had the demo regarding synchronization by using pulse coupled oscillator. Leonardo asked if it is possible to measure the time elapsed from the last firing of a timer_repeat timer. I simply answer he should use atmega

Re: [Tinyos-help] CC2420ReceiveP RXFIFO.readDone

2007-12-19 Thread roberto pagliari
yeah, the FIFOP pin is triggered whenever the number of bytes, tipically set to the length of the message, is equal or exceeds a programmable threshold, while the FIFO pin indicates if there are bytes buffered by the radio and available to be downloaded. On Dec 19, 2007 12:14 PM, David Moss

[Tinyos-help] Cannot read and send more than one ADC channel

2007-12-19 Thread John Grimm
I have been working on a project with a telos rev A for the last couple of months. I have run into a brick wall recently. We are trying to read an external accelerometer and send the raw date. That's it. The problem is that I can read and send the x-axis no problem but I cannot seem to read all