Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Andres Vahter
I tried default-lpl branch. There seems to be something wrong with RadioControl, because event void RadioControl.startDone(error_t err) is never called. event void SerialControl.startDone(error_t err) { if (TOS_NODE_ID % 500 == 0) { call Lpl.setLocalSleepInterval(0); }

[Tinyos-help] time to radio shutdown

2009-06-22 Thread Carmine Ambrosino
Hello to all, I am using the telosb platform and I send short messages with radio every second. I also used LPL module  to reduce consumption, I noticed that the time when the radio is on for forward is very large (112ms) compared to the amount of payload transmitted (8 uint16_t ). If you could ex

[Tinyos-help] AntiTheft application compilation error (java part)

2009-06-22 Thread Mazid H Chowdhury
Hello everybody, I have successfully compiled the NesC part of The AntiTheft application provided in IPSN. But in the 6th step of the compilation process (java compile) I get a long list of errors as follows - - xubun...@xubuntos-tinyos:/opt/tinyos-2.1.0/apps/AntiT

[Tinyos-help] need help in installing code into mote

2009-06-22 Thread trilok i
Hi to all, Please help me 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 set-mote-id build/micaz/main.srec build/micaz/main.srec.out-0 0 installing micaz binary using mib

Re: [Tinyos-help] cost accumulation and path cost

2009-06-22 Thread Rémi Villé
I really think there's a problem with the way the cost of a path is calculated for the collection tree routing. Is there any publication on this subject? maybe I could understand by myself why I would be wrong. ___ Tinyos-help mailing list Tinyos-help@mi

[Tinyos-help] TinyOS-1.x installation problem in Ubuntu Gutsy

2009-06-22 Thread bharat naik
Hi, I was installing TinyOS-1.x on Ubuntu 7.10 when I encountered the following problems: 1. I converted the avr-insight-pre6.0cvs.tinyos-1.3.i386.rpminto .deb using alien -d -c and then did dpk

Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Andres Vahter
I also tried default-lpl-new, but it doesn't compile on micaz. I got following error: /opt/git/tinyos-2.x/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning: #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***" In component `LplAMSenderC': /opt/git/tinyos-2.x/tos/system/LplAMSenderC.nc:25:

[Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
Hi, Could someone help me out? I ran 'make pc' for the Blink application and it gave me the following errors: compiling Blink to a pc binary ncc -o build/pc/main.exe -g -O0 -board=micasb -pthread -target=pc -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -fnesc-nido-tosnodes=1000 -fnesc-cfi

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
HI guys, When I ran ./toscheck there was something important that I forgot to mention. It also shows an error for avarice. Also, there is no avr-gdb in my /usr/local/bin. Any idea, how to fix this. As mentioned in a previous mail, I was not able to install avr-insight properly. I conver

Re: [Tinyos-help] cost accumulation and path cost

2009-06-22 Thread Roy Shea
Howdy, > ...the way the cost of a path is calculated for the collection tree > routing. > > Is there any publication on this subject? maybe I could understand by > myself why I would be wrong. http://www.tinyos.net/tinyos-2.x/doc/html/tep123.html http://www.tinyos.net/tinyos-2.x/doc/html/tep124.h

Re: [Tinyos-help] need help in installing code into mote

2009-06-22 Thread Faisal Aslam
Hi, I am not sure what is your error but I find some differences in your code as compared to our code. We use directly /dev/ttyUSB0 and do not create any soft link. We use --wr_fuse_h=0xd9 instead of 0xd8. We use avr-objectcopy with argument "-O ihex". and following command uisp -dprog=mib510

Re: [Tinyos-help] cost accumulation and path cost

2009-06-22 Thread Rémi Villé
I already know these documentation, but that's not the subject ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] need help in installing code into mote

2009-06-22 Thread ma. pratama
Have you tried to change the makexbowlocal setting?? And make sure your virtual COM port is set for your MIB510 programmer board. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailma

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
Hi, I checked out the avr-libc deb package and found that the header files: inttypes.h,string.h,etc are included in /usr/loca/avr/include. So these header files are definitely present. Could someone explain why these files are not being included (or maybe in the call chain, it doesn't reach thi

Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Razvan Musaloiu-E.
Hi! On Mon, 22 Jun 2009, Andres Vahter wrote: > I also tried default-lpl-new, but it doesn't compile on micaz. > I got following error: > > /opt/git/tinyos-2.x/tos/chips/cc2420/lpl/DefaultLplC.nc:39:2: warning: > #warning "*** USING DEFAULT LOW POWER COMMUNICATIONS ***" > In component `LplAMSend

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
Hi, Following certain posts on the mail archives, I performed the following. I wrote a simple C program that compiled successfully using avr-gcc. However, when I included the header file: pthread.h, it didn't compile( should I use the -p option?). The make directory not being in /opt/tinyos-1.x

Re: [Tinyos-help] TinyOS-1.x installation problem in Ubuntu Gutsy

2009-06-22 Thread Eric Decker
Why are you using Gutsy. That is getting quite dated. deb http://tinyos.stanford.edu/tinyos/dists/ubuntu hardy main points at 8.04/8.10 packages that you can install directly using apt-get or friends. And by the way to force the installation you are trying to do you can use one of the --force s

[Tinyos-help] How to make the AVR JTAGICE MK-II work with the Sensor Broad MIB510

2009-06-22 Thread ChuEric
Hi, Is there any body can give me a lesson how to make the debugging device (AVR JTAGICE MK-II) work with mica2 with sensor board Mib510? I tried a lot. But the message is : -"Connection refused" -"Failed to synchronise with the JTAG ICE (is it connected and powered?)" Can a

Re: [Tinyos-help] TestNetworkLpl

2009-06-22 Thread Razvan Musaloiu-E.
Hi! On Mon, 22 Jun 2009, Andres Vahter wrote: > I tried default-lpl branch. > There seems to be something wrong with RadioControl, because event void > RadioControl.startDone(error_t err) is never called. > > > event void SerialControl.startDone(error_t err) { > if (TOS_NODE_ID % 500 == 0) { >

[Tinyos-help] install program on multiple nodes

2009-06-22 Thread BAI LI
Hi, Every time, I install the application on nodes and I have to do it one by one. Or I can use deluge to spread application image to the rest of nodes. I am just wondering if it is possible to install one program on several nodes through usb hub? Anyone done that before? Should I write up a scrip

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
The problem is similar to the one Shweta had I think: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg01634.html Now, I'm unsure as to how she removed the problem (since she hasn't posted a solution). Also her problem occurred due to installing from /dist-1.2.0/tools/linux wherea

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
Hi, So I upgraded the binutils to 2.15, the problems persist and new ones cropped up. It's saying avr-gdb is not the proper version (during toscheck), previously there was no such error. So I again installed avr-binutils-2.13 (using dpkg -i ). However, the gdb version error is still present. H

Re: [Tinyos-help] TOSSIM Error

2009-06-22 Thread bharat naik
Hi, An update to the TOSSIM error. I had installed all the rpm packages, i.e avarice-2.0.20030825cvs-1.i386.rpm avr-binutils-2.13.2.1-1.i386.rpm

[Tinyos-help] Help needed for TOSSIM Error

2009-06-22 Thread bharat naik
Hi, I read almost every post on complation error related to Blink and have still not come up with a correct solution. Could someone enlighten me on the problem I'm facing. Even 'why', the problem is occurring will be greatly helpful. I think it has to do with setting the PFLAGS, but I'm not su