RE: [Tinyos-help] Please help strange error in Installation of Ti nyOS 2.0 version

2008-01-09 Thread Murray, Ben
any idea if installing xubuntos/vmware alongside an existing cygwin tos setup (under XP) is likely to cause any problems with either install? (sorry for hijack!) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kevin Klues Sent: 09 January 2008 07:02

[Tinyos-help] Upgrading TinyOS

2008-01-09 Thread BEN LOLO ANAT
Hello All, I have upgraded TinyOS version from 1.0 to 2.0.2 , and I didn't get any rpm error, but when I am trying to compile any program I get an error. I work with Tmoteinvent, does anybody know if it can work with TinyOS 2.0.2 ? Thanks, Anat This message (including any attachments)

[Tinyos-help] BaseStation and net.tinyos.tools.Listen

2008-01-09 Thread rodolfo de paz
Hi all, I am following Tinyos2 tutorial-lesson 4. Here, I tried to communicate BaseSation application with Listen java tool without success. To do that I use Avrora and TinyOS-2.x in the following way: - I open a terminal with avrora and I run java avrora/Main -platform=mica2

RE: [Tinyos-help] Please help strange error in Installation of TinyOS 2.0 version

2008-01-09 Thread Michiel Konstapel
-Original Message- From: [EMAIL PROTECTED] [mailto:tinyos-help- [EMAIL PROTECTED] On Behalf Of Murray, Ben Sent: woensdag 9 januari 2008 9:42 To: 'Kevin Klues' Cc: Tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] Please help strange error in Installation of TinyOS 2.0

[Tinyos-help] LESSON7 of tinyos tutorial

2008-01-09 Thread subhash nemani
hi i have installed SimpleCmd in one mote with id as 1 and in the basestation i dumped the TOSBase by giving the commands such as led_on,led_off java net.tinyos.tools.BcastInject.led_on it is giving message like sending payload 1 1 0 0 0 0 0 0 0 [EMAIL PROTECTED]:resynchronising and quiting but

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

2008-01-09 Thread David
Thank-you very much for the feedback! Right now I'm a little busy so I'll not have time to respond so quickly this time. Hi there again. I don't mean to be impatient, but could you give me an idea of when we will be able to resume testing and fixing these Deluge problems? Thanks, David.

[Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Hi. I'm using tinyos-2.x, as installed by the Ubuntu tinyos package ver 2.0.2. My app uses both deluge, and does it's own config updates to flash. Here is my volumes-stm25p.xml file: volume_table volume name=DELUGE0 size=65536/ volume name=DELUGE1 size=65536/ volume name=CONFIG

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread Philip Levis
On Jan 9, 2008, at 7:05 AM, David wrote: Hi. I'm using tinyos-2.x, as installed by the Ubuntu tinyos package ver 2.0.2. My app uses both deluge, and does it's own config updates to flash. Here is my volumes-stm25p.xml file: volume_table volume name=DELUGE0 size=65536/ volume

[Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Tal Rusak
Hi, I need to use one packet source (i.e., a program sending packets to motes over the serial port) to communicate with two SerialForwarders on two different machines, forwarding the packets generated to both. Is this possible, and if so, how? If this is not possible directly, does

[Tinyos-help] Question about parameterized interfaces

2008-01-09 Thread Eric Decker
I'm trying to use a parameterized interface to supply a client id to a central power manager component I'm writing for a sensor array. All the examples I've looked at seem to be wrapped inside of a generic module. I've tried various ways that don't use the generic module but nothing I've done

Re: [Tinyos-help] Send Data from Tmote Sky to PC via UART

2008-01-09 Thread Michael Schippling
I'd have to know more about your application to opine on data structures, if it's just image data then a one-D array seems reasonable. What didn't work about your 2D array? You are probably looking at the T2 tutorial which I don't have. If it's about using EEPROM storage on the mote then that's

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Philip Levis
On Jan 9, 2008, at 9:35 AM, Tal Rusak wrote: Hi, I need to use one packet source (i.e., a program sending packets to motes over the serial port) to communicate with two SerialForwarders on two different machines, forwarding the packets generated to both. Is this possible, and if so,

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Michael Schippling
If by packet source you mean the java PacketSource class, then no... I believe the destination address, COM or inet port, is basically defined into each PacketSource instance. However you can have multiple instances with different addresses in one program if that will suffice. Look into

Re: [Tinyos-help] LESSON7 of tinyos tutorial

2008-01-09 Thread Michael Schippling
Is your basestation Tmote really at COM42? Try using motelist and then set your MOTECOM to what it says. Mine is: export MOTECOM [EMAIL PROTECTED]:tmote MS subhash nemani wrote: hi i have installed SimpleCmd in one mote with id as 1 and in the basestation i dumped the TOSBase by giving the

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Tal Rusak
Instantiating two MoteIF object appears to work in principle. However, this will require two calls to send: moteIF0.send(0, payload); moteIF1.send(1, payload); I am not sure if this will introduce substantial time lag/drift/jitter. Is there any obvious way around this limit? For example,

[Tinyos-help] Fwd: Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Hi Jonathan. I posted this mail to tinyos-help, and it was suggested that I CC it to you. Can you help me? Thanks :-) (I've CC'd tinyos-help with this mail, so that others and the archives get the benefit of any answers). Regards, David. -- Forwarded message -- From: David

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Michael Schippling
You're pretty much facing a One-Port One-Message limitation. Hacking MoteIF to do two sends under the covers isn't going to save you much time. About the only way you could get two messages to go out, nearly, simultaneously is to ensure that each sender is running on a separate processor that is

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Tal Rusak
Thanks for your reply. The application is as follows: I have two motes connected to two internet-enabled PC's. One acts as a sender, the other as a receiver. However, due to the channel condition the receiver may not always receive every sent packet. Nonetheless, the receiver must make

Re: [Tinyos-help] Using One Packet Source to Packets to two SerialForwarders

2008-01-09 Thread Michael Schippling
You might want to look into various time synchronization methods. Search this list for pointers. MS Tal Rusak wrote: Thanks for your reply. The application is as follows: I have two motes connected to two internet-enabled PC's. One acts as a sender, the other as a receiver. However,

[Tinyos-help] The largest number of motes TOSSIM can simulate

2008-01-09 Thread Chris Yao
Hi, I am wondering the largest number of motes TOSSIM can simulate. I am using XubunTOS. I write a Driver.c simulation program. It works fine with 4 nodes. When I use 5000 nodes, I have the following code segment in Driver.c #define Num_of_Nodes 5000 ... for

[Tinyos-help] interface RadioBackoff not working properly

2008-01-09 Thread Hauke Holtkamp
Hi, I am using TinyOS 2 on MicaZ motes. My mote sends a radio message every second which I would like to modify using the RadioBackoff interface. Each request event is visualized by one LED: async event void RadioBackoff.requestInitialBackoff(message_t* msg){ call

Re: [Tinyos-help] The largest number of motes TOSSIM can simulate

2008-01-09 Thread Tal Rusak
Hi, There is a variable TOS_MAX_NODES that is defined in tos.h in the tinyos-2.x/tos/lib/tossim directory, on line 67: #define TOSSIM_MAX_NODES 1000 By default it is 1000, which is why the segmentation fault is happening when you are running with 5000 nodes. You can change this number

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread Razvan Musaloiu-E.
Hi! On Wed, 9 Jan 2008, David wrote: Hi. I'm using tinyos-2.x, as installed by the Ubuntu tinyos package ver 2.0.2. My app uses both deluge, and does it's own config updates to flash. Here is my volumes-stm25p.xml file: volume_table volume name=DELUGE0 size=65536/ volume name=DELUGE1

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

2008-01-09 Thread Razvan Musaloiu-E.
Hi! On Wed, 9 Jan 2008, David wrote: Thank-you very much for the feedback! Right now I'm a little busy so I'll not have time to respond so quickly this time. Hi there again. I don't mean to be impatient, but could you give me an idea of when we will be able to resume testing and fixing

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread Razvan Musaloiu-E.
Hi! On Wed, 9 Jan 2008, Razvan Musaloiu-E. wrote: Hi! On Wed, 9 Jan 2008, David wrote: Hi. I'm using tinyos-2.x, as installed by the Ubuntu tinyos package ver 2.0.2. My app uses both deluge, and does it's own config updates to flash. Here is my volumes-stm25p.xml file: volume_table

Re: [Tinyos-help] The largest number of motes TOSSIM can simulate

2008-01-09 Thread Sarfraz Nawaz
On Tinyos-1.x installation, /opt/tinyos-1.x/tools/make/pc.target defines NESC_NIDO_TOSNODES ?= 1000 which is then passed on to the compiler as PFLAGS += -pthread -fnesc-nido-tosnodes=$(NESC_NIDO_TOSNODES) -fnesc-simulate so tossim in tinyos-1.x can simulate 1000 nodes. If you are using

[Tinyos-help] question about volumes

2008-01-09 Thread Razvan Musaloiu-E.
Hi! In section 4.1 from TEP 103 [1] there a sentence that says: A volume MUST NOT be used with more than one storage abstraction instance. What exactly does it mean? I a volume VOLUME_V0 I should not do more than one new BlockStorageC(VOLUME_DELUGE0)? [1]

Re: [Tinyos-help] Question about parameterized interfaces

2008-01-09 Thread Kevin Klues
Is the only way to get parameterized interfaces to instantiate is via first a generic interface? Short answer.. no its not. Try sending some code snippets of what youa re trying to do exactly and maybe we can help some more. Kevin thanks, eric

Re: [Tinyos-help] The largest number of motes TOSSIM can simulate

2008-01-09 Thread Chris Yao
Thanks for the reply. I am using TinyOS 2.x. I have changed NESC_NIDO_TOSNODES to 6000. and I can see the change when ncc is running. But why do I get the same errors? Thanks for help. Sarfraz Nawaz [EMAIL PROTECTED] wrote: On Tinyos-1.x installation,

[Tinyos-help]: The maximum payload length of Serial communication

2008-01-09 Thread Renee Azhen
hi, ankur, I read your post here: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2007-August/027484.html you said that you can use the TOSH_DATA_LENGTH=240 when communication between PC and motes?? In fact, the maximum length of message payload length in 805.14 is 128

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Hi there. 1) How can those sizes be so large? According to my specs for tmote sky, there is only 48k flash, but each of the above slots are 64k. The minimum unit for erasing for stp24p is 64k. I understand that. I only read last night that tmote sky has a total of 1MB flash storage. Up

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
2) Why do config slots need to be that size? I tried to use a 65536 size for that also (the minimum, as required by the tinyos make files for stm25p), but mounting always fails. I borrowed 131072 from the Flash memory tutorial lesson (7), and that works. I don't know much about the

Re: [Tinyos-help] question about volumes

2008-01-09 Thread David
In section 4.1 from TEP 103 [1] there a sentence that says: A volume MUST NOT be used with more than one storage abstraction instance. What exactly does it mean? I a volume VOLUME_V0 I should not do more than one new BlockStorageC(VOLUME_DELUGE0)? [1]

[Tinyos-help] Re: LESSON7 of tinyos tutorial

2008-01-09 Thread subhash nemani
hi i have installed SimpleCmd in one mote with id as 1 and in the basestation i dumped the TOSBase by giving the commands such as led_on,led_off java net.tinyos.tools.BcastInject.led_on it is giving message like sending payload 1 1 0 0 0 0 0 0 0 [EMAIL PROTECTED]:resynchronising and

Re: [Tinyos-help] question about volumes

2008-01-09 Thread Jonathan Hui
On Jan 9, 2008 3:25 PM, Razvan Musaloiu-E. [EMAIL PROTECTED] wrote: Hi! In section 4.1 from TEP 103 [1] there a sentence that says: A volume MUST NOT be used with more than one storage abstraction instance. What exactly does it mean? I a volume VOLUME_V0 I should not do more than

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread Jonathan Hui
Responses inline. On Jan 9, 2008 7:05 AM, David [EMAIL PROTECTED] wrote: 2) Why do config slots need to be that size? I tried to use a 65536 size for that also (the minimum, as required by the tinyos make files for stm25p), but mounting always fails. I borrowed 131072 from the Flash memory

Re: [Tinyos-help] Dumb question about basestation.

2008-01-09 Thread David
I know it's a classical way of doing things in order to use tossim.. I've been searching everywhere and I just can't find an easy way to do the basestation thing. I know I could copy/paste some could from the basestation program but I think it's a bit dirty. Is there some easy way to act

Re: [Tinyos-help] TestSerial and Tes Application

2008-01-09 Thread Tal Rusak
Hi, I have conducted further tests regarding this issue. Unfortunately, it seems that in every application that for which I use serial packet sending from a PC to a mote, the successful reception of sent packets stops happening after between 10 and 500 packets are successfully sent and

Re: [Tinyos-help] Deluge invalidating non-deluge flash volumes?

2008-01-09 Thread David
Thanks for your reply. Responses also inline. Erase unit on the ST serial flash is one 64KB sector. Config needs two sectors so that it can buffer swap. Please update the docs to mention this :-) Are you using the *same* volume table for both programs? They need to be the same for this