Re: Fwd: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

2006-05-18 Thread Cory Sharp
For your particular benchmarks, use setPeriodic. Timers fire through a task, which must wait to be executed in the task queue. With setOneShot, you are accumulating error. setPeriodic sets the alarms at periodic times from the previous alarm, giving only jitter with no accumulation. But for

[Tinyos-help] Master-Slave

2006-05-18 Thread giovanni gamba
Hi, i'm working with Tmote Sky and i'm studiing this scenario: a master polls a number of slave in a round-robin fashion, and each slave listen to master's requests and answer waiting its turn. The master should also manage asynchronous alarms caming from slaves.. Is there any application that

[Tinyos-help] Routing

2006-05-18 Thread antonio gonga
I'm having problems with routing, I want to transmit data from one mote to TOSbase, but there is a mote between emiter and receiver(TOSBASE) the middle Motemust intercept the data and dysplays the content of payload into Leds ,please if any one knows how to intercept data and displays the content

Re: [Tinyos-help] problems with sending messages to a Java application

2006-05-18 Thread adina
Hi! The Data_Message_PC is encapsulated in the TOS_Msg.data. The idea is the following: I receive from a mote via radio the following payload: 01 00 02 00 03 00 04 00 05 00 06 00 This data I want to stuff in the field actualData from the Data_Message_PC. typedef struct Data_Message_PC {

[Tinyos-help] How to increase the size of the taskqueue

2006-05-18 Thread jagan nath
I have tried by including teh following line in the make file PFLAGS= -DTOSH_MAX_TASKS_LOG2=n, but dont know how big can be the n value, I tried putting n=8; but it doesnt improve the performance of my application. what is the max size permissable -jagan

Re: Fwd: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

2006-05-18 Thread jagan nath
1.Its working now with setPeriodic, but if I put my counter in event ADC.dataready() , the sampling seems to have reduced again, is it because of the ADC conversion time, that the task queue is overflowing.( I dont know how to increase the task queue size) 2.How do i use the hardware timers to

[Tinyos-help] Routing and Intercept

2006-05-18 Thread antonio gonga
I'm having problems with routing, I want to transmit data from one mote to TOSbase, but there is a mote between emiter and receiver(TOSBASE) the middle Mote must intercept the data and dysplays the content of payload into Leds ,please if any one knows how to intercept data and displays the

[Tinyos-help] RE: Welcome to the Tinyos-help mailing list (Digest mode)

2006-05-18 Thread pradeep.ramakrishna
Hi , In the reset vector address we place the instruction branch or jump and even the address to where we have to jump or branch but the address itself is 32 bits...? How is it that we are able to accommodate the 32 bits address and even the instruction in the 32 bits space Thanks and

Re: [Tinyos-help] RE: Welcome to the Tinyos-help mailing list (Digest mode)

2006-05-18 Thread Aditya Bhave
I do not think the JUMP or BRANCH instructuon is actually stored in the interrupt vector table. It would be redundant information. Basically the interrupt vector number is used as an index into the interrupt vector table (IVT). The entry at that index will give the 32 bit address to jump to to

Re: Fwd: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

2006-05-18 Thread Matthew J Whelan
I'd suggest reading the MSP430 Family Guide which can be found on the ti.com website. In the section on the ADC12, you will find the registers to setup sample timing through the use of the hardware timers.Matt[EMAIL PROTECTED] wrote: -To: "Cory Sharp" [EMAIL PROTECTED]From: "jagan nath" [EMAIL

[Tinyos-help] Radio On/Off

2006-05-18 Thread Diego Bartolomé Arquillo
Hi all, I am trying to get the power consumption on tmote sky with a digital oscilloscope. Turning the radio on (calling "GenericComm.start")only when a package is going to send, I can see that the current consuption is always of20 mA. This means that, really, the radio circuit is not off.

[Tinyos-help] MoteIF stops relaying packets

2006-05-18 Thread Jacques Panchard
Hi, I am facing a peculiar problem with MoteIF. The setting is the following. A distant machine is connected to a sensor network via a base station. On the distant machine, I use a SerialForwarder to forward the messages received on the COM port. On my local machine, I am connecting to the

Re: Fwd: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

2006-05-18 Thread jagan nath
I 'm still not sure whether my task queue is overflowing, I have done the following modification in Sched.C else { __nesc_atomic_end(fInterruptFlags); TOSH_CLR_YELLOW_LED_PIN(); return FALSE; } (ref: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg01508.html) this

RE: [Tinyos-help] tinyos RAM calculation: just .bss (not .data)?

2006-05-18 Thread Janos Sallai
Leonardo, Yes, .data is considered. Since .data goes to the ROM, its added to .text. This is what gets printed out. If youre asking this because you face some out-of-memory issues, its probably because of the stack overwriting the top of the .bss. Of course, objudump wont tell you

Re: [Tinyos-help] Radio On/Off

2006-05-18 Thread Joe Polastre
You should download Boomerang and use SP as your mechanism for turning the radio on and off. -Joe On 5/18/06, Diego Bartolomé Arquillo [EMAIL PROTECTED] wrote: Hi all, I am trying to get the power consumption on tmote sky with a digital oscilloscope. Turning the radio on (calling

[Tinyos-help] Installing applications on the imote2

2006-05-18 Thread [EMAIL PROTECTED]
I am trying to do some simple work with the imote2s, but I can't seem to get them to program correctly. The applications will build and program without any errors, but when I restart the node, nothing happens. Here's a quick sample:

Re: [Tinyos-help] MoteIF stops relaying packets

2006-05-18 Thread David Gay
On 5/18/06, Jacques Panchard [EMAIL PROTECTED] wrote: I am facing a peculiar problem with MoteIF. The setting is the following. A distant machine is connected to a sensor network via a base station. On the distant machine, I use a SerialForwarder to forward the messages received on the COM port.

Re: [Tinyos-help] tinyos RAM calculation: just .bss (not .data)?

2006-05-18 Thread David Gay
On 5/18/06, Janos Sallai [EMAIL PROTECTED] wrote: Yes, .data is considered. Since .data goes to the ROM, it's added to .text. This is what gets printed out. No. The original poster is correct - .data contains modifiable data that is stored in RAM. What is stored in ROM is the initial values

[Tinyos-help] Current consumption of a tmote sky

2006-05-18 Thread Roman Lim
Hello I've just done a few current measurements and compared them to the datasheet from moteiv (http://www.moteiv.com/products/docs/tmote-sky-datasheet.pdf) I can't find out, why my numbers for MCU standby are so far away from the one in the datasheet (that says 5.1 μA avg., 21μA max.):

[Tinyos-help] Multi-Hop

2006-05-18 Thread Arya Afrashteh
We have developed a small application that reads in data from the ADC and sends this data to the base station which displays it to the computer. We want to make our application so that it has multi-hop capability. How exactly do we add multi-hop capability? Do we simply wire a couple of

[Tinyos-help] Multi-Hop

2006-05-18 Thread Matthew S. Nassr
Yes, I think. Look in tos/lib/Route or tos/lib/MintRoute. Both are basicially a mote AODV as far as I know. I think it's set up such that the destination (sink) is whichever mote has ID 0, and it takes care of sending packets from any node to that sink. You wire to MultiHopM, you'd have to look at

Re: [Tinyos-help] Help - NoClassDefFoundError: javax/comm/SerialPortEventListen

2006-05-18 Thread Michael Schippling
Looks like you have not installed or configured the javax.comm package correctly. Assuming you are on MSWidows I have a copy: http://www.etantdonnes.com/TMP/javacomm20-win32.zip MS Srivastava, Niraj (ASD) wrote: Hi I am trying to install Tinyos and run SerialForwarder but keep getting the

RE: [Tinyos-help] Help - NoClassDefFoundError: javax/comm/SerialPortEventListen

2006-05-18 Thread Srivastava, Niraj (ASD)
Thank you. I had two versions of JAVA installed on my machine and the make was picking up the wrong java and javac. TinyOS is picky about using 1.4. Once I did that and followed the directions from MS, I am golden :) so far! Again thanks. Regards, Niraj -Original Message- From:

Re: Fwd: [Tinyos-help] Maximum samplingrate with TimerJiffy.nc

2006-05-18 Thread Michael Schippling
Actually why not try skipping the timer altogether, at least to see what happens. Put the ADC.getData() in dataReady() to start a new conversion as soon as the last is done. I think dataReady runs in interrupt context so they should be pretty regular. Then you should be able to see if the

Re: [Tinyos-help] problems with sending messages to a Java application

2006-05-18 Thread Michael Schippling
OK, I'm starting to get the picture I think... But can you just send me the whole module code, I'm having trouble figuring out which data is what. Make sure you are using ints everywhere, especially when calculating lengths. You may have some place that thinks of your buffer as chars, which

Re: [Tinyos-help] Multi-Hop

2006-05-18 Thread Aditya Bhave
I belive there are multi-hop components in tinyos-1.1.15. But its quite easy to code it yourself. This is what I did in my project.Assume you want to send a packet of type ABC to the base station. ABC can be made to hold your ADC readings. Each node in the netwrok maintains a link list.. call it

[Tinyos-help] turning on/off telosb

2006-05-18 Thread Leijun Huang
Hello, I am new to telosb motes. It seems there is no on/off switch on telosb. Do I have to remove the batteries to turn it off? Or is there a more convenient way to do that? Another similar question is: do I need to remove the batteries when programming telosb through the USB port? Thanks a

[Tinyos-help] debug with jtag and mica2, mib510

2006-05-18 Thread s n
Hi, are there some documents about how to debug with jtag step by step? I have read http://www.tinyos.net/tinyos-1.x/doc/nesc/debugging.html, but still I have some problem. I use AVR JTAG ICE II, mib510, mica2. Now I have the following problem: 1. it is said that for mib510 board, AVR JTAG

Re: [Tinyos-help] turning on/off telosb

2006-05-18 Thread Cory Sharp
On 5/18/06, Leijun Huang [EMAIL PROTECTED] wrote: Hello, I am new to telosb motes. It seems there is no on/off switch on telosb. Do I have to remove the batteries to turn it off? Or is there a more convenient way to do that? When you install TOSBoot, configured when the environment variable

[Tinyos-help] warning: uncombined call

2006-05-18 Thread jose m
Hello all, I receive this warning after compilation. ¿what this means? calls to Pool.allocate in CPSReceiveM are uncombined thanks in advance, José ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!,

Re: [Tinyos-help] warning: uncombined call

2006-05-18 Thread Cory Sharp
It means you have _more than one_ component wiring to an event that is expecting _at most one_ component wiring to it. Expecting at most one means the event returns some value that is uncombined, so the signaller receives the return value from only one of the wired components. Cory On 5/18/06,

Re: [Tinyos-help] turning on/off telosb

2006-05-18 Thread Cory Sharp
Sleep mode during program execution is LPM3. With the radio off I have personally and recently measured this at 6uA. Deep sleep means LPM4 wich can only be woke from an external reset, which is even lower power. Cory On 5/18/06, Roman Lim [EMAIL PROTECTED] wrote: Hi Cory You described this

Re: [Tinyos-help] turning on/off telosb

2006-05-18 Thread Roman Lim
ok, I don't know what i'm doing wrong. I just took this tmote sky, did this sleep gesture and the leds all dimmed out. I had a multimeter between the battery and the minus pole on the board and measured this 35uA. I'm really confused Roman Cory Sharp wrote: Sleep mode during program execution

[Tinyos-help] Blackbook v.5.0 released

2006-05-18 Thread David Moss
Mark, The latest version of the Blackbook flash file system has been uploaded to the tinyos-1.x CVS under /contrib/rincon/apps/Blackbook5 The full size is about 16.5 kB ROM, 1012 bytes RAM, which is much smaller than the 24k ROM we saw before. A dictionary-only implementation is also available,

[Tinyos-help] Serial and Internal flash

2006-05-18 Thread Raghu Ganti
Hi: I am wondering if the values written in the serial and internal flash are retained even after the mote is reprogrammed? This is specific to MicaZ motes. I tried to read the values after reprogramming the mote, from the internal flash, and I get all FFs, whereas if I check the values

[Tinyos-help] 802.15.4 Question

2006-05-18 Thread Affan Syed
Just wanted to post this question to the academic minded people. 802.15.4 is using DSSS, with a code that is fixed for a particular network that you want to deploy. This makes sense if you are in the industry since it will allow non-interfering sensor networks in your home from different vendors.

[Tinyos-help] problem with serial comm on latest dev branch for tmote tinyos-2.x

2006-05-18 Thread Avinash Sridharan
Hi,I updated my tinyos-2.x dev branch a few days back. I was trying to compile an application which reads data of the flash of a tmote or micaz using the serial forwarder and a JAVA app (that I wrote using mig). This application was running without any problem a while back ( I hadn't updated my

Re: [Tinyos-help] tinyos RAM calculation: just .bss (not .data)?

2006-05-18 Thread Tehn Yit Chin
You can also use the size utility to find out sizes of various sections as well, or the avr equivalent avr-size. Tehn Yit Chin Software Engineer, Grey Innovation Pty. Ltd. Leonardo B. Oliveira wrote: Hi all, it seems that .data is not considered while tinyos calculate the amount of RAM mem