Re: [Tinyos-help] Source code

2006-03-22 Thread Andres Aberasturi
Hi Michael, I have installed TinyOS 1.1.7, but I want to know if I have the source code of this operating system or if we need to download another thing in order to study its code. Thanks, Andres From: Michael Schippling <[EMAIL PROTECTED]> To: Andres Aberasturi <[EMAIL PROTECTED]> CC:

Re: [Tinyos-help] Make

2006-03-22 Thread Michael Schippling
Looks like you have not set some environment variables correctly: I have: TOSROOT=C:/cygwin/opt/tinyos-1.1.7 TOSDIR=/cygdrive/C/cygwin/opt/tinyos-1.1.7/tos TOSROOT should be set to your tinyos install location which looks like C:/cygwin/tinyos-1.x/ which is kind of strange because TOS

[Tinyos-help] writting into EEPROM micaz's tinyos-2.x and setting radio power levels

2006-03-22 Thread Avinash Sridharan
Hi All,  We have started using tinyos-2.x. There are not too many examples around, so would be grateful if some one could post a few examples of how to use the EEPROM on micaz's and also to set power levels on micaz under tinyos-2.x. Thanks and regards, Avinash-- Phd Dept. of Electrical Engineerin

[Tinyos-help] Make

2006-03-22 Thread Deepa Mahajan
Hi, I'm trying to make the Blink application.. but I get the following error [EMAIL PROTECTED] /cygdrive/c/cygwin/tinyos-1.x/apps/Blink $ make ../Makerules:26: /home/Deepa/tinyos-1.x/tools/make/Makerules: No such file or di rectory make: *** No rule to make target `/home/Deepa/tinyos-1.x/tools/ma

Re: [Tinyos-help] TinyOS MSP430 Binary Compatible Question

2006-03-22 Thread Robert Szewczyk
TinyOS uses GCC as its backend; the resulting binaries are in the ELF format. THere are several revisions of GDB that understand ELF (see http://www.eecs.harvard.edu/~mdw/proj/tmote-gdb/ for details); there are also notable exceptions, such as the GDB that is distributed with TI's Code Composer (

Re: [Tinyos-help] Floating point Arithmetic on MicaZ/Tmote

2006-03-22 Thread Michael Schippling
>> I am looking for accuracy upto 10^-4 or 10^-5 is not really an "accuracy" but a level. What is the range of numbers you expect, and how many 'decimal points' of "accuracy"? It might be that your arithmetic range fits in a 16 bit integer in which case you could get a lot of bang/buck out of fi

RE: [Tinyos-help] Problems with MATLAB configuration for TinyOS

2006-03-22 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] How to change saved file destination for Listen(JAVA)? I forgot to mention the operating system in which my MATLAB is running in. It is running in Windows XP. Also, i have been reading the .m files in TinyOS for MATLAB. The language structure does not seem like it

[Tinyos-help] TinyOS MSP430 Binary Compatible Question

2006-03-22 Thread Chang Li
Is TinyOS 1.x MSP430 binary compatible with TI's MSP430 binary? TI's gdb loader doesn't recognize tinyos' format.   ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos

Re: [Tinyos-help] Floating point Arithmetic on MicaZ/Tmote

2006-03-22 Thread Robert Szewczyk
Floating point support is available, but it is not fast. GCC has supported floating point ops for both avr and MSP430; fancy floating point functions (trig, exp, log, etc.) are available through libm. Cheers, Rob On 3/22/06, Sumit Rangwala <[EMAIL PROTECTED]> wrote: > Hi >Is floating point

[Tinyos-help] Problems with MATLAB configuration for TinyOS

2006-03-22 Thread #AMIT SATPATHY#
Title: Re: [Tinyos-help] How to change saved file destination for Listen(JAVA)? Hi.   I am currently trying to use MATLAB to connect with my mote network. I have tried setting up MATLAB for TinyOS from the following website - http://www.tinyos.net/tinyos-1.x/tools/matlab/doc/faq.html#setup.

Re: [Tinyos-help] FTDI-UART

2006-03-22 Thread Robert Szewczyk
Do note that there is a tristate buffer that separates the UART lines between the FTDI and the MSP430. The buffer is tristated when there is no power on the USB 5V line; in order for your solution to work you will have to access the pins on the MSP side of the Tmote Sky, before the signals reach U

[Tinyos-help] Floating point Arithmetic on MicaZ/Tmote

2006-03-22 Thread Sumit Rangwala
Hi Is floating point arithmetic available for avr and msp430 processor. None of them have hardware for floating point, however does the compiler (or libraries) provide support for it. I was modifying my code (which probably would be used on micaz or tmote) and was wondering if code like thi

Re: [Tinyos-help] UART0 on the tmote (MonibusHPLUART)

2006-03-22 Thread Joe Polastre
Hi Andrew, Using Moteiv Boomerang, accessing the shared UART is very simple and safe. I've created a sample application that uses the shared UART to send a byte. It illustrates the use of the Resource arbitration system and sending a byte. See the included nesdoc/ documentation for more infor

Re: [Tinyos-help] problems with Listen and JAVA

2006-03-22 Thread Michael Schippling
I'm a bit at a loss because this seems to work in my environment. I think your make errors are OK, up to using Listen anyway. It looks like the Deluge messages were not built by mig, but that's a problem for another day. Go look in tools/java/net/tinyos/tools and see if there is really a Listen.cl

Re: [Tinyos-help] Source code

2006-03-22 Thread Michael Schippling
start at: http://www.tinyos.net/dist-1.1.0/snapshot-1.1.14Jul2005cvs/doc/install-snapshots.html Andres Aberasturi wrote: Hi all, I want to study the source code of TinyOS, where I can find it? Anybody could help me, please? Thanks in advance, Andres ___

Re: [Tinyos-help] Writing problem in tmote sky flash

2006-03-22 Thread Jonathan Hui
Can you send some code for you 2.x implementation? How are you using commit? How are you wiring to the BlockWrite interface? -- Jonathan W. Hui [EMAIL PROTECTED] http://www.cs.berkeley.edu/~jwhui/ On 3/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi All, > > I have been trying to write

[Tinyos-help] Writing problem in tmote sky flash

2006-03-22 Thread alim
Hi All, I have been trying to write data into tmote flash but it is not working. I have tried with tinyos-1.x beta: The error is that volume can not be mounted! I have tried with tinyos-2.x: The problem is that the commit fails I have used BlockWrite for writing into flash. Can anybody help me so

[Tinyos-help] problems with Listen and JAVA

2006-03-22 Thread Daniel Villón
I have the following problem, when I try to run the "Listen" tool to watch what my TOSbase mote is sending, I run the Serial Forwarder:   java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:57600    and until that point, I'm OK, but when I run the Listen tool:   java net.tinyos.tools.Listen

[Tinyos-help] Xlisten tool

2006-03-22 Thread vijay chand uyyuru
Hi everyone,   I need help using the Xlisten tool.   I am programming the base station with TOSBase and the other node with XsensorMTS300 (found in tinyos-1.x\contrib\xbow\apps).   Then using the tool xlisten ( found in tinyos-1.x\contrib\xbow\tools\src\xlisten) by typing xlisten or xlisten.exe in

Re: [Tinyos-help] Questioning design of HPLCC2420M.readRXFIFO

2006-03-22 Thread Philip Levis
On Mar 22, 2006, at 6:31 AM, Ron Olson wrote: I'm wondering why command HPLCC2420M.readRXFIFO is written with a signaled callback after completion. The command does all its work before returning, so the callback is not needed. The callback adds complexity and time on both the called and

[Tinyos-help] question about writing to external flash when I use deluge function

2006-03-22 Thread yicheng
Hi Forks,   My application has a requirement of writing to external flash while using Deluge, I want to know which areas in the flash are free to be written when I use deluge function. I notice that before running deluge, the external flash should be formatted to 8 blocks, and some of the

Re: [Tinyos-help] Interruptions; detecting USB connection and using the "user button"

2006-03-22 Thread Joe Polastre
There is already a component that does this in Moteiv Boomerang. See UartDetectC and UartPresenceC in /opt/moteiv/doc/nesdoc/ API documentation. -Joe On 3/22/06, Gelu Contiu <[EMAIL PROTECTED]> wrote: > Hi, > > I created a component that tests whether the tmote is > connected to USB or it is w

Re: [Tinyos-help] Interruptions; detecting USB connection and using the "user button"

2006-03-22 Thread Andrew Redfern
Hi Gelu, The timer in the user button is used as a debouncer.  Without this you would get a lot of false interrupts.  As for the other problems you are seeing you'll need to post some of your code most likely for anyone to be able to help. AndrewOn 3/22/06, Gelu Contiu <[EMAIL PROTECTED]> wrote:

[Tinyos-help] questions about writing to formatted external flash memory on telosb

2006-03-22 Thread yicheng
Hi Forks,   I just read through the source code of FormatStorage module on telosb, and I get couple of questions there: 1. After formatting is done, where is the sectorTable located? Is it on the top of each sector or just on the top of the last sector (16th)? Say if I format the externa

Re: [Tinyos-help] FTDI-UART

2006-03-22 Thread Andrew Redfern
Hi Alex, I'm not really sure what the problem you are seeing is caused from.  A couple of questions:  How are you powering the tmote?  Where are you pulling the serial line from?  (are you doing it right at the output of the MSP430 or on the other side of the IO buffer?) AndrewOn 3/22/06, [EMAIL

[Tinyos-help] problem write to flash

2006-03-22 Thread Tony L
Hi, I am using t-mote to do some experiments. In my experiment, for every received message, I write three bytes to the flash. The question is, there are some bytes written on the flash are always wrong. For example, 258th, 516th ,1228th bytes of the flash. Is there anybody who can help me? Tha

[Tinyos-help] Interruptions; detecting USB connection and using the "user button"

2006-03-22 Thread Gelu Contiu
Hi, I created a component that tests whether the tmote is connected to USB or it is working on batteries, by using the MSP430InterruptC and Port12. I also created another component that uses the "user button" to switch between leds by using UserButtonC that provides MSP430Event ( port 27 is use

[Tinyos-help] Re: question about RSSI and LQI measurement

2006-03-22 Thread Roberto
>> Q1. How is this message strength calculated? Is this strength the average of the whole message? >> Does this strength consider interleaving caused by multipath? Is there anybody who can explain the ADC channel? The RSSI, using the CC2420 is calculated averaging the incoming message power over

[Tinyos-help] question about RSSI and LQI measurement

2006-03-22 Thread Tony L
Hi, I am using t-mote to do some experiments. I have some questions about RSSI and LQI. From other mails, I know that for every received message, msg.strength field is set to the received message strength read from ADC channel 0. My questions are: Q1. How is this message strength calculated?

Re: [Tinyos-help] Strange results when sending uint16_t values. (SOLVED)

2006-03-22 Thread Maxime Muller - s h o c k f i s h /
http://mspgcc.sourceforge.net/manual/x214.html the msp430 alignment joy. cheers, maxime Jose L. Ponce a écrit : Hi, I was able to solve the problem: I noticed that there was something wrong with the uint16 field: I programmed the mote to unpack the message and pack it in another one to be se

RE: [Tinyos-help] Strange results when sending uint16_t values.(SOLVED)

2006-03-22 Thread David Moss
The MSP430 microcontroller is word-aligned. All structures must be created to enforce word alignment. You'll probably notice another problem if you construct an array of these DimmerControlMSG's, because word-alignment will be off due to the uint8_t. A rule of thumb is always create structs with

Re: [Tinyos-help] Strange results when sending uint16_t values. (SOLVED)

2006-03-22 Thread Jose L. Ponce
Hi, I was able to solve the problem: I noticed that there was something wrong with the uint16 field: I programmed the mote to unpack the message and pack it in another one to be sent back to the computer. If I sent 0x0a05 the return message would be 0x0a00. I tried to divide the uint16 field in t

[Tinyos-help] Source code

2006-03-22 Thread Andres Aberasturi
Hi all, I want to study the source code of TinyOS, where I can find it? Anybody could help me, please? Thanks in advance, Andres _ Grandes éxitos, superhéroes, imitaciones, cine y TV... http://es.msn.kiwee.com/ Lo mejor para t

RE: [Tinyos-help] eclipse

2006-03-22 Thread Roland Schuler
You've missed one: http://www.dcg.ethz.ch/~rschuler/index.htm > what they do or why For the one above you can check out a tiny-flash animation that exlplains the "what does it"-part: http://www.dcg.ethz.ch/~rschuler/img/roundtrip/play.htm Best regards, Roland __

[Tinyos-help] Questioning design of HPLCC2420M.readRXFIFO

2006-03-22 Thread Ron Olson
I'm wondering why command HPLCC2420M.readRXFIFO is written with a signaled callback after completion. The command does all its work before returning, so the callback is not needed. The callback adds complexity and time on both the called and calling sides. I suppose one explanation might b

[Tinyos-help] TinyOS Eclipse IDE v 0.0.6 released

2006-03-22 Thread Richard Tynan
The latest version of the TinyOS eclipse plugin has just been released (version 0.0.6) at http://tinyoside.ucd.ie   Some of its new features include:   TinyOS Project TinyOS project builder, which builds as you save. Separated build and install options   These changes bring the Tiny

RE: [Tinyos-help] sampling rate

2006-03-22 Thread Andres Aberasturi
The ADC has a conversion time between 65-210 us. If you add this time to te sampling rate you 'll obtain the real sampling rate. Andres. From: patrick kuckertz <[EMAIL PROTECTED]> To: tinyos help Subject: [Tinyos-help] sampling rate Date: Wed, 22 Mar 2006 04:29:43 -0800 (PST) Dear all,

[Tinyos-help] sampling rate

2006-03-22 Thread patrick kuckertz
Dear all,   I have a problem with sampling audio. I use factor 5 as sampling rate. I think that this should mean 8333 Hz. Hope this is right. I use getcontinuosdata. And I record with this sampling rate. I record 390 samples (1byte...instead of 10bit).   On pc I have created a 500Hz sound,

[Tinyos-help] using moteiv without installing cygwin

2006-03-22 Thread Deepa Mahajan
I installed moteiv using the custom installation, (I didn't select the Java and cygwin since I already have cygwin on my computer). However, at the end of the installation, there was no tinyos directory on my computer. Do you know how to fix this? Thanks Deepa

[Tinyos-help] TinyOS installation on SuSe 10.0

2006-03-22 Thread Alessandro Balvis
Hy, I would install tinyos on a SuSe 10.0 machine. I don't have much experience with the linux systems and in the installation note I red that before installing is necessary to check the version of:   JDK   JAVACOMM   AVR Development   For the JDK I guess that the system is ok (I checked it w

[Tinyos-help] Re: SimpleCmd app

2006-03-22 Thread Roberto
I just solved ;-) ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] FTDI-UART

2006-03-22 Thread [EMAIL PROTECTED]
Hi, i programmed my TMote to send a byte on usb-serial port when a Timer signal the "Fired Event". Then i take the serial output BEFORE of the FTDI chip, to interface my TMote with another microcontroller using RS232 protocol, but when i remove my TMote from Usb port, and i connect it to my mi

[Tinyos-help] SimpleCmd app

2006-03-22 Thread Roberto
i'm using micaz. when I try to send commands, as shown in lesson 6 of the tutorial, i'm not able to see led on at the remote node. I used 0x7d as group id. Is that a problem or have I to do something else? ___ Tinyos-help mailing list Tinyos-help@Millen

[Tinyos-help] install problem with rpm

2006-03-22 Thread Ahren Reed
Hi, I'm installing TinyOS and nesC on a Dell Inspiron 6000 laptop. My OS is Ubuntu 5.10 "Breezy Badger". I ran into only one problem when I followed the TinyOS installation instructions: The avr-insight rpm gave me trouble. Apparently it wanted to modify a file previously installed by anoth