Re: [Tinyos-help] sending packets via Tython

2007-06-06 Thread Sarfraz Nawaz
Have you started GenericComm? On 6/7/07, Faisal Karim <[EMAIL PROTECTED]> wrote: Hi Sarfraz Thanks. Things worked out fine and now im able to send messages via tython (at least tython prompt says send msg :) Now the problem arises that node 20 is not receiving the message following is my code

[Tinyos-help] TinyDB

2007-06-06 Thread Spidernet Lists
Hi, Can we use TinyDB for TinyOS-2.x? Cheers VJ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Flash Storage Help

2007-06-06 Thread Ian Welch
I have a few questions regarding flash storage. I'm using the MICA2DOT mote. I'm trying to store 3 sample sets of 7-bytes each (21 bytes total) to a AT45DB Log storage every 10ms. In TEP:103 it claims that the smallest block that can be written to the AT45DB is 257B (I'm assuming this is bytes no

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread David Gay
On 6/6/07, Ákos Maróy <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] $ java TestSerial serial@/dev/ttyUSB0:115200: resynchronising ... read: 03 03 03 Sending packet 0 ... wrote: 7e 44 0e 00 00 00 00 00 02 00 09 00 00 fc 59 7e ... read: 00 Sending packet 1 ... wrote: 7e 44 0f 00 00 00

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread David Gay
On 6/2/07, Ákos Maróy <[EMAIL PROTECTED]> wrote: Aurélien Francillon wrote: > IIRC (not sure), i tracked it back to some known regression of gcc 4.1.x ... > it works fine with gcc-3.x I tried with gcc-3.x, and while it doesn't crash - it doesn't work either. A bit more investigation here. As

[Tinyos-help] Help , error when compiling

2007-06-06 Thread Chittal, Sandeep U
Hi, I am getting the following error when compiling: Can't execute /usr/lib/ncc/nesc-compile. make: *** [exe0] Error 1 What does this error mean and how can it be rectified? Warm regards, Sandeep. ___ Tinyos-help mailing list Tinyos-help@Millenniu

[Tinyos-help] Question about MultiOscilloscope Application

2007-06-06 Thread M A
Hi I have started learning tinyos-2.x and I have a simple question related to MultiOscilloscope function in directory tinyos-2.x/apps/MultihopOscilloscope. In the file MultioscilloscopeC.nc we declare a message buffer " message_t uartbuf ". But I dont understand where is this initialized. We call

[Tinyos-help] WSAN2007:CALL FOR DEMOS/POSTERS

2007-06-06 Thread Mari Paz
[Apologies if you receive multiple copies of this e-mail] * *CALL FOR DEMOS/POSTERS * * * * WSAN 2007 * *

[Tinyos-help] How to use MIG with telosb for tinyos1.x

2007-06-06 Thread Javed, Huma
Hi Hope some body would help me out on this. I am trying to generate Java file automatically using MIG. I created a Makefile in java/tools/net/tintos/multisend. Then I typed make pc in apps/MultiSend. Nothing happened no .java file was created. My make file is given below. Can any one please tell

Re: [Tinyos-help] Writing to tinynode via usbserial converter

2007-06-06 Thread Shane Clark
Thanks! That did the job quite nicely. I will have to look at what those switches do. -Shane On Wed, 2007-06-06 at 21:12 +0200, Maxime Muller - s h o c k f i s h / wrote: > try the following: > cd $TOSROOT/apps/Blink/ > tos-bsl --invert-reset -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex >

Re: [Tinyos-help] Writing to tinynode via usbserial converter

2007-06-06 Thread Maxime Muller - s h o c k f i s h /
try the following: cd $TOSROOT/apps/Blink/ tos-bsl --invert-reset -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex supposing /dev/ttyUSB0 is the right device cheers, maxime I am trying to program a tinynode using tinyos-1.x and it is not working through my usb-serial converter. I get the err

Re: [Tinyos-help] sending packets via Tython

2007-06-06 Thread Faisal Karim
Hi Sarfraz Thanks. Things worked out fine and now im able to send messages via tython (at least tython prompt says send msg :) Now the problem arises that node 20 is not receiving the message following is my code abc.nc configuration abc { } implementation { components GenericComm;

[Tinyos-help] Writing to tinynode via usbserial converter

2007-06-06 Thread Shane Clark
I am trying to program a tinynode using tinyos-1.x and it is not working through my usb-serial converter. I get the error below: compiled Blink to build/tinynode/main.exe 3126 bytes in ROM 42 bytes in RAM msp430-objcopy --output-target=ihex build/tinynode/main.exe build/t

[Tinyos-help] Error TOSSIM [sim-exe] Error 2

2007-06-06 Thread Latro 2000
Hello. When I try to compile Blink Application to TOSSIM, I get the error showed below. It seems I have an environment variable wrong, but I was looking for it, so, It seems ok. I'm using tinyos 2.0.1, Win XP SP2 + Cygwin. TOSROOT=/opt/tinyos-2.x TOSDIR=/opt/tinyos-2.x/tos MAKERULES=/opt/tinyo

[Tinyos-help] Sampling ADC channels 0 and 1 on mda300ca (mounted on mica2)

2007-06-06 Thread Vipin Kashyap
Hi all! Sorry for the repeat post. The earlier one did not have a subject. I have been trying to sample adc channels in mda300ca connected with mica2 mote. i am specifically interested in sampling adc channels 0 &1 (or for that matter any two adc channels). I presume adc channels 0 & 1 are pins A

[Tinyos-help] (no subject)

2007-06-06 Thread Vipin Kashyap
Hi all! I have been trying to sample adc channels in mda300ca connected with mica2 mote. i am specifically interested in sampling adc channels 0 &1 (or for that matter any two adc channels). I presume adc channels 0 & 1 are pins A0 and A1 on MDA300CA. The relevant extract of the code is as below:-

Re: [Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Hugo Sousa
Hi Phil, that's exactly it, thank you! :) I was just using those values because I'm not yet interested in simulating a real noise environment. Maybe you should add that restriction to the tutorial. Thanks again Hugo On 6/6/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Jun 6, 2007, at 7:16 AM

RE: [Tinyos-help] TEP 126 and AES

2007-06-06 Thread David Moss
Hi Steve, TEP 126 must be incorrect - I documented that information based on someone else's experiences with enabling encryption, not my own. A layer that enables hardware encryption would be extremely beneficial to the TinyOS CC2420 stack. If you're interested in pursuing this functionality, le

[Tinyos-help] tinyos for telos rev-b

2007-06-06 Thread nirfan
Hi I am trying to run blink application for telos Rev-b in tinyos and getting error message. Can anybody suggest me what should I do regards Nazish Error message: compiling Blink to a telos binary ncc -o build/telos/main.exe -O -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420R adio -I/opt/tiny

[Tinyos-help] RE: Write Fails in BlackBook Files System

2007-06-06 Thread David Moss
Yup - just like I explained in that last email, by default Blackbook offers 19 MAX_FILES (BlackbookConst.h). One of those files is taken up by the checkpoint file (bb.cp_). So that leaves you with 18 files. Without deleting some files, you'll be stuck. If you want to increase the number of f

[Tinyos-help] RE: SOS on BBFS ;)

2007-06-06 Thread David Moss
Hi Mayur, I see two emails from you. I'll get to this one first, but I'll probably need to wait 'till later to get to the next. - does bbfs handles flash access contention itself, or do I need to add a bool, to allow only single access to bbfs read/write. Blackbook does not queue up re

Re: [Tinyos-help] Compiling Blink for micaz

2007-06-06 Thread Michael Schippling
I think those -- sbi(), cbi(), etc -- are in \usr\local\avr\include\avr\sfr_defs.h so you're still not getting the right AVR includes for some reason. MS M.Soledad Escolar Díaz wrote: Thanks for your reply. I solved this error but I can't compile Blink still (make pc is ok). When I do

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 8:31 AM, Benjamin Madore wrote: On Wed, June 6, 2007 6:15 am, Ákos Maróy said: I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. let's suppose I would have motes with the following installed on them: mo

Re: [Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 7:16 AM, Hugo Sousa wrote: I've searched the archives and still can't get to sendDone to be signaled in TOSSIM. I have the topology file and noise file, and the python script is basically a copy-paste from lesson 11, only with the range of nodes from 0 to 2, but the sendDone

Re: [Tinyos-help] Hardware v. Software Acks in TEP 126

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 5:40 AM, John Hendrie wrote: Hi, TEP 126 (s5.1) talks about how software acknowledgements are used over hardware acknowledgements. I'm trying to reproduce the false acknowledgements situation but I'm not having much success, under what conditions does this occur? It's very

Re: [Tinyos-help] Help with TestNetwork Application

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 12:04 AM, Murtuza wrote: Hello friends I have a doubt in TestNetwork Application in tinyos-2.x/apps/tests/ TestNetwork directory. I feel it is a real stupid question to ask but I cant figure out whats happening in real. In the file TestNetworkC.nc we have void sendMessag

[Tinyos-help] TEP 126 and AES

2007-06-06 Thread Steve McKown
Hi, TEP 126 in 10.1 states that the CC2420 radio cannot begin encryption at a particular offset. However, v1.3 of the CC2420 data sheet in section 21.5 specifically states that this is possible, via the SECCTRL1.SEC_TXL and SEC_RXL register fields. Does the comment in 10.1 come from testing r

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread David Gay
On 6/6/07, Ákos Maróy <[EMAIL PROTECTED]> wrote: I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. The README does it seem a bit brief... From reading the code: let's suppose I would have motes with the following installed on

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread Benjamin Madore
On Wed, June 6, 2007 6:15 am, Ákos Maróy said: > I'm not sure I understand how Multihop Oscillator works, after reading > up on the README file that is along with it. > > let's suppose I would have motes with the following installed on them: > > mote #0 - MultihopOscillator > mote #1 - MultihopO

Re: [Tinyos-help] Active message protocol

2007-06-06 Thread Steve McKown
On Tuesday 05 June 2007 13:46, jose m wrote: > > On Monday 04 June 2007 13:38, jose m wrote: > > > Checking out the AMStandard.nc file I see that, if you are transmitting a > > > radio message, the AMStandard component is occupied until the tx is done, > > > and you cannot tx to UART until then.

Re: [Tinyos-help] Question on MultiOscilloscope Application

2007-06-06 Thread Benjamin Madore
Sorry, "tab-space" sends on this webmail client. I need to be more careful about that. Anyone know how to adjust tab to field behavior in Firefox 2? On Tue, June 5, 2007 5:44 pm, M A said: > Hi > > I have started learning tinyos-2.x and I have a simple question related to > MultiOscilloscope funct

[Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Hugo Sousa
I've searched the archives and still can't get to sendDone to be signaled in TOSSIM. I have the topology file and noise file, and the python script is basically a copy-paste from lesson 11, only with the range of nodes from 0 to 2, but the sendDone never happens. I have tinyos cvs updated yester

[Tinyos-help] Write Fails in BlackBook Files System

2007-06-06 Thread Mayur Maheshwari
Hi David It seems that write fails after 18 files have been written. (I am trying to write a new file every 3 seconds). Any idea why this should happen? I am using telosb with tinyos 2.0.1 The write app which I am using is as follows: module WriteCheckC { uses interface BBoot; uses int

[Tinyos-help] Regarding backhaul connectivity with mib-510

2007-06-06 Thread ankur jain
hi all, i developed an application to monitor temperature over a certain area using some no. of sensors and i am sending the data thru the gateway to the pc where an application running on web server extracts the temp. from packet and writes to a file. From this file another application reads

[Tinyos-help] Hardware v. Software Acks in TEP 126

2007-06-06 Thread John Hendrie
Hi, TEP 126 (s5.1) talks about how software acknowledgements are used over hardware acknowledgements. I'm trying to reproduce the false acknowledgements situation but I'm not having much success, under what conditions does this occur? Thanks, John ___

[Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread Ákos Maróy
I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. let's suppose I would have motes with the following installed on them: mote #0 - MultihopOscillator mote #1 - MultihopOscillator mote #100 - BaseStation if so, mote #1 would send

Re: [Tinyos-help] can't compile MultihopOscilloscope for telosa

2007-06-06 Thread Ákos Maróy
Philip Levis wrote: > It's allocating too much RAM for the telosa. I see.. > Compiling for telosb, it looks like the app is allocating 3K of RAM. 2K > of this is in PoolP, which is the component that allocates packets for > queues. The default forwarding queue for routing is 12 (it should > proba

[Tinyos-help] mps430 TimerA stops when I use ADC

2007-06-06 Thread Michele Paselli
Hi all, firstly thanks to everybody replied to my issue on watchdog timer, it was very helpful to me. I'm trying now to use the TimerA as a clock generator and to configure the ADC to get some samples from a sensor. I'm using an msp430f149 and TinyOS 1.0, and ADC and ADCControl interfaces for the

[Tinyos-help] Sensor and actor

2007-06-06 Thread fatima cabot
* *CALL FOR DEMOS/POSTERS * * * * WSAN 2007 * * * * September 24

Re: [Tinyos-help] the TinyOS 2 serial protocol

2007-06-06 Thread Ákos Maróy
David Gay wrote: > You just need to replace net/tinyos/packet/SerialByteSource.java. And, > conveniently, there's already a javacomm implementation, in > tinyos-1.x/tools/java/net/tinyos/packet/SerialByteSource.java (get it > from sourceforge CVS if you don't have tinyos 1.x installed), which by >

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread Ákos Maróy
So, what I did now is that I downloaded a 32-bit SUN JDK, and compiled the shared objects for 32bit with -m32, and installed them. I also uncommented the printf() lines in the read() and write() functions in the shared object - so that displays what's being written and read. here I don't get a seg

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread Ákos Maróy
David Gay wrote: > Hmm, trying this on an x86_64 kernel, I did find one bug which is > fixed by the following patch (the change to the Makefile is necessary > to keep Sun's JDK happy at least): I see the change in the makefile will make it compile in 32-bit mode. If I'm using 64-bit JDKs (both SUN

[Tinyos-help] (lesson 3 : mote mote radio communication]

2007-06-06 Thread vazoumana fofana
Hello, i want to know something about lesson 3 Sending and receiving a message. I don'tr understand exactly the goal of this application. i succeeded in compiling and running this application. But when i paused a mote, the second mote doesn t act like they said in the tutorial. So i m asking s

RE: [Tinyos-help] Compiling Blink for micaz

2007-06-06 Thread M.Soledad Escolar Díaz
Thanks for your reply. I solved this error but I can't compile Blink still (make pc is ok). When I do 'make mica' I get the next error messages: [EMAIL PROTECTED] Blink]# make mica compiling Blink to a mica binary ncc -o build/mica/main.exe -Os -board=micasb -target=mica -Wall -Wshadow -DDEF

[Tinyos-help] Help with TestNetwork Application

2007-06-06 Thread Murtuza
Hello friends I have a doubt in TestNetwork Application in tinyos-2.x/apps/tests/TestNetwork directory. I feel it is a real stupid question to ask but I cant figure out whats happening in real. In the file TestNetworkC.nc we have void sendMessage() { TestNetworkMsg* msg = (TestNetworkMsg*)cal