[Tinyos-help] net.tinyos.tools.Listen MIB600 No data is seen on the Display Please Help

2008-02-13 Thread Giovanni Abu-Aita




   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.--- Begin Message ---
hello everybody,
I am running the Oscilloscope Application on the mote that is connected to 
MIB600.
I am trying to read the packets and display them on the screen using  
net.tinyos.tools.Listen but nothing seems to appear on the screen. with MIB510 
everything goes fine. with MIB600 I set the value of MOTECOM: 
export MOTECOM:[EMAIL PROTECTED]:10001 but still the Listen gives me: 
[EMAIL PROTECTED]:10001: resynchronising and stops there. anybody can 
help in this. 
P.S. : 
1) I had this problem before and I have changed the settings of the MIB600 by 
browsing it: I set the Speed of channel 1 to 115200 and the speed of channel 2 
57600 and i made sure the ports are 10001 and 10002 respectively. Fortunately 
It worked. But now I don;t know what I did wrong; I even restored to factory 
settings  plus the changes above but it did;t work. 
2) I also tried the SerialForwarder but it seemed it doesn't read the packets.

Any help??? Thanks in advance

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Strange error about type definition

2008-02-13 Thread David Gay
On Feb 13, 2008 3:23 PM, Flavio Pompermaier <[EMAIL PROTECTED]> wrote:
> Hi to all,
> I have a very problem in defining a message types to send over the radio!
> I want to make they endianess-indipendent so I use the nx_ suffix with 
> structures and basic types.
> However, when I compile my application I get errors like the following:
>
> 'DataMsg' defined as wrong kind of tag.

Did you bychance previously declare (not define) "struct DataMsg"
somewhere (e.g. used 'struct DataMsg *p' somewhere)? If so, you've
told the compiler that DataMsg is a regular struct, so it complains
when you later tell it that it's a nx_struct...

David Gay

> and this is the type definition:
>
> typedef nx_struct DataMsg{
>nx_uint16_t dato;
>ControlInfo control;
> } DataMsg;
>
> typeDef nx_struct ControlInfo{
>   nx_uint16_t some_info;
> } ControlInfo
>
> Is it because I use a type inside another one??
> Could anyone help me??
>
> Thanks in advance,
> Flavio
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] RSSIsample error in tinyos2.0

2008-02-13 Thread Philip Levis


On Feb 13, 2008, at 6:20 PM, Hardik Mehta wrote:


hi,

 I am trying to run an application for RSSISample on MicaZ motes  
using tinyos2.0. Although I am able to compile the mote, I am  
unable to check whether the application has been loaded properly on  
the mote. Whenever I try to check it using the .class  file using  
the following command :


$ java RssiSample.class - comm [EMAIL PROTECTED]:10002

I receive the following error :
Exception in thread "main" java.lang. NoClassDefFoundError:  
RssiSample/class


 Can anybody suggest me the correct command or the right manner to  
program micaZ motes to sample RSSI ?


As the error suggests, you have a bad class name. The class name is  
RssiSample, not RssiSample.class. This has nothing to do with the  
RssiSample; it's just standard Java naming.


Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] RSSIsample error in tinyos2.0

2008-02-13 Thread Tal Rusak
 Which OS are you using? Try
java RssiSample -comm [EMAIL PROTECTED]:10002

Thanks,
Tal

> hi,
>
>  I am trying to run an application for RSSI*Sample* on MicaZ motes using
> tinyos2.0. Although I am able to compile the mote, I am unable to check
> whether the application has been loaded properly on the mote. Whenever I
> try
> to check it using the .class  file using the following command :
>
> $ java RssiSample.class - comm [EMAIL PROTECTED]:10002
>
> I receive the following error :
> Exception in thread "main" java.lang. NoClassDefFoundError:
> RssiSample/class
>
>  Can anybody suggest me the correct command or the right manner to program
> micaZ motes to sample RSSI ?
>
> thanks in advance
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] RSSIsample error in tinyos2.0

2008-02-13 Thread Hardik Mehta
hi,

 I am trying to run an application for RSSI*Sample* on MicaZ motes using
tinyos2.0. Although I am able to compile the mote, I am unable to check
whether the application has been loaded properly on the mote. Whenever I try
to check it using the .class  file using the following command :

$ java RssiSample.class - comm [EMAIL PROTECTED]:10002

I receive the following error :
Exception in thread "main" java.lang. NoClassDefFoundError: RssiSample/class

 Can anybody suggest me the correct command or the right manner to program
micaZ motes to sample RSSI ?

thanks in advance
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Strange error about type definition

2008-02-13 Thread Flavio Pompermaier
Hi to all, 
I have a very problem in defining a message types to send over the radio!
I want to make they endianess-indipendent so I use the nx_ suffix with 
structures and basic types. 
However, when I compile my application I get errors like the following:

'DataMsg' defined as wrong kind of tag.

and this is the type definition:

typedef nx_struc DataMsg{
   nx_uint16_t dato;
   ControlInfo control;
} DataMsg;

typeDef nx_struct ControlInfo{
  nx_uint16_t some_info;
} ControlInfo

Is it because I use a type inside another one??
Could anyone help me??

Thanks in advance,
Flavio



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Component initialization

2008-02-13 Thread Philip Levis


On Feb 13, 2008, at 3:04 PM, Flavio Pompermaier wrote:


Hi to all,I have a quick question:
suppose I have a component that when initialized starts a timer.
The main program is however another one, which needs that component
in order to work. How do I need to initialize the first component?
Should I need to declare it as implementing Init, StdControl,
SplitControl or something else? It is not a two-phase component, so
using StdControl or SplitControl sounds to me like a waste, whereas
using Init could be more reasonable..however do I need to call  
Init.init

from Boot.booted of the second component or from
MainC.softwareInit?? Do you have some example about it to suggest me?



Init should only be called in the boot sequence. You should not have  
components calling Init on one another later than that, unless you  
want to re-initialize for some reason.


Your component should handle the booted event and start its timer there.

Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Component initialization

2008-02-13 Thread Flavio Pompermaier
Hi to all,I have a quick question:
suppose I have a component that when initialized starts a timer.
The main program is however another one, which needs that component
in order to work. How do I need to initialize the first component?
Should I need to declare it as implementing Init, StdControl,
SplitControl or something else? It is not a two-phase component, so
using StdControl or SplitControl sounds to me like a waste, whereas
using Init could be more reasonable..however do I need to call Init.init
from Boot.booted of the second component or from
MainC.softwareInit?? Do you have some example about it to suggest me?

Thanks,
Flavio


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Deluge(ify) MultihopOscilloscope

2008-02-13 Thread Andrew Parson O'Brien

Hello,

I'm trying to modify a vanilla MultihopOscilliscope so that it may  
serve as a Deluge T2-enabled app.


Following the manual, I included "TINYOS_NP=BNP" in the Makefile and  
added a DelugeC component in MultihopOscilliscopeAppC.nc.  At first it  
complained about StorageVolumes.h but after I copied Blink's  
volumes-at45db.xml and volumes-stm25p.xml to the program directory it  
compiles fine.


At that point I can compile, inject and successfully reboot the mote  
using the build/telosb/tos_image.xml file.


When I try to compile it with "CFLAGS=-DDELUGE_BASESTATION make  
telosb" however, I get the following errors:


msp430-ld: address 0x1010a of build/telosb/main.exe section .text is  
not within region text
msp430-ld: section .vectors [ffe0 -> ] overlaps section  
.text [4a00 -> 00010109]
msp430-ld: build/telosb/main.exe: section .vectors lma 0xffe0 overlaps  
previous sections

make: *** [exe0] Error 1

Am I doing this properly?

The GoldenImage and Blink apps work fine.

I'm using tinyos-2.x's latest CVS,
ncc: 1.2.4,
nescc: 1.2.9,
gcc: gcc (GCC) 4.1.2,
"msp430-ld --version" reports GNU ld version 2.17

TIA!
Andy






___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] In Xubuntos2, how to switch from TinyOS 2.x to TinyOS 1.x?

2008-02-13 Thread Chad Metcalf
Assuming you're using BASH and therefore the .bash_tinyos file its:

[EMAIL PROTECTED]:~$ tos1
Setting up for TinyOS 1.x
... Do TinyOS 1.x work ...
[EMAIL PROTECTED]:~$ tos2
Setting up for TinyOS 2.x ...
... Do TinyOS 2.x work


The commands are just tos1 and tos2.

Chad

On Feb 13, 2008 12:16 PM, Chris Yao <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have followed:
>
> http://sing.stanford.edu/klueska/installing_xubuntos_vm.html
>
> to install Xubuntos2. The default configuration is TinyOS 2.x
>
> How do I switch the environment to TinyOS 1.x?
>
> Thanks,
>
> Chris
>
> --
> Never miss a thing. Make Yahoo your 
> homepage.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] In Xubuntos2, how to switch from TinyOS 2.x to TinyOS 1.x?

2008-02-13 Thread Chris Yao
Hi,

I have followed: 

http://sing.stanford.edu/klueska/installing_xubuntos_vm.html

to install Xubuntos2. The default configuration is TinyOS 2.x

How do I switch the environment to TinyOS 1.x?

Thanks,

Chris

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] CC2420Packet Interface (Tinyos2)

2008-02-13 Thread Damien O'Rourke
Hi Rodo,

Remove "message_t*" from the function call.

Regards,
Damien.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodolfo de
Paz Alberola
Sent: 13 February 2008 18:28
To: tinyos-help
Subject: [Tinyos-help] CC2420Packet Interface (Tinyos2)

Hi,

I was trying to get some metadata values from my msg using CC2420Packet
Interface. For that, I modified BlinkToRadio inserting the following
lines:

BlinkToRadioAppC.nc

components CC2420ActiveMessageC;

App.CC2420Packet -> CC2420ActiveMessageC;

---

BlinkToRadioC.nc (in event Receive.receive)
-
rssi = call CC2420Packet.getRssi(message_t* msg);
lqi = call CC2420Packet.getLqi(message_t* msg);
pow = call CC2420Packet.getPower(message_t* msg);
---

However, I obtain the same error in the three lines that I added in
BlinkToRadioC.nc

BlinkToRadioC.nc: In function `Receive.receive':
BlinkToRadioC.nc:64: syntax error before `message_t'
BlinkToRadioC.nc:67: syntax error before `message_t'
BlinkToRadioC.nc:70: syntax error before `message_t'
make: *** [exe0] Error 1

So, it seems to me that I don't have access to this commands of the
CC2420Packet interface since the compiler doesn't recognize them. What I
did wrong?

I would appreciate any suggestions.

--
Rodo
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-13 Thread Vlado Handziski
The access to the refvolt generator has to be properly arbitrated between
the ADC and the DAC. Pins, timers, etc. are all potential shared resource
between the two. Jan, who is responsible for the msp430 ADC stack, is at a
project meeting and probably has not read the thread. Please get in touch
with him to coordinate. No #ifdefs please :)

Vlado

On Wed, Feb 13, 2008 at 6:43 PM, John Griessen <[EMAIL PROTECTED]> wrote:

> Sandip Bapat wrote:
>
>  a DAC module would either have to wire to Msp430RefVoltArbiterP (in which
> case it also has to provide the
>
> AdcConfigure interface) or be expected to provide wiring for these
> interfaces.
>
> This is fine for apps that just want to use the DAC and not ADC but what
> if both are used and the
>
> ADC is already using Ref Voltage ? I guess we could use #ifdefs in the DAC
> but wouldn't having
>
> a Msp430RefVoltArbiterC that does the wirings required for
> Msp430RefVoltGeneratorP be better?
>
> The best thing would be to create new function in the RefVoltArbiter so it
> can stay on after an ADC12 or
> Dac12 call has requested it if another request is heard within a time
> period.  As far as I can tell,
> Dac12 and Adc12 of a MSP430F1611 can both be going at once.
>
> John Griessen
>
> --
> Ecosensory   Austin TX
> tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
> ___
> Tinyos-devel mailing list
> [EMAIL PROTECTED]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CC2420Packet Interface (Tinyos2)

2008-02-13 Thread Rodolfo de Paz Alberola
Hi,

I was trying to get some metadata values from my msg using CC2420Packet
Interface. For that, I modified BlinkToRadio inserting the following
lines:

BlinkToRadioAppC.nc

components CC2420ActiveMessageC;

App.CC2420Packet -> CC2420ActiveMessageC;

---

BlinkToRadioC.nc (in event Receive.receive)
-
rssi = call CC2420Packet.getRssi(message_t* msg);
lqi = call CC2420Packet.getLqi(message_t* msg);
pow = call CC2420Packet.getPower(message_t* msg);
---

However, I obtain the same error in the three lines that I added in
BlinkToRadioC.nc

BlinkToRadioC.nc: In function `Receive.receive':
BlinkToRadioC.nc:64: syntax error before `message_t'
BlinkToRadioC.nc:67: syntax error before `message_t'
BlinkToRadioC.nc:70: syntax error before `message_t'
make: *** [exe0] Error 1

So, it seems to me that I don't have access to this commands of the
CC2420Packet interface since the compiler doesn't recognize them. What I
did wrong?

I would appreciate any suggestions.

--
Rodo
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] TMote Sky and Mica Mote

2008-02-13 Thread Michael Schippling

The telos/tmotes are handy because they don't require a separate
base-station adapter, but they make up for it by not having as
many available I/O pins. They also have a higher rez ADC (12 bits
vs 10 on the micas) and may run a bit faster over all. I don't
know about comparative power usage if that's a factor for you.

From the standpoint of software development the tmote Boomerang
overlay may have developed hooks into more of the controller
features, but I haven't done a real comparison. At a higher level,
if the features you need are supported, the two platforms are
pretty much the same.

On mica 2 vs Z you need to look at your radio requirements.
The lower freq 2 has a bit better range and obstacle tolerance,
but the Z is (way) faster and seems to be more reliable when in
range.

MS

Chris Yao wrote:

Hi,

I am wondering which brand of products is better in terms of application 
development? TMote Sky or Mica Mote?


Please share experience.

Best Regards,

Chris


Looking for last minute shopping deals? Find them fast with Yahoo! 
Search. 
 






___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] How to view the datas from MultiHop network?

2008-02-13 Thread Roberto Vittorio
Hi all,

my problem is : I have installed the MultihopOscilloscopeLqi application on two 
motes(Telosb),and on a third the BaseStation application. How can I to view the 
datas that receives the mote on the usb connect(with BaseStation installed 
on)?The application java Oscilloscope under MultiHopOscilloscopeLqi/java  not 
views nothing, but the SerialForwarder reads the packets.

Thanks a lot Roberto Vittorio


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] AMPacket interface

2008-02-13 Thread Philip Levis


On Feb 13, 2008, at 9:45 AM, Flavio Pompermaier wrote:

Hi to all, I've a doubt regard the AMPacket interface: it is useful  
in order to set AM fields of the Packet, right? However there are 3  
components that provide this interface: ActiveMessageC, AMSenderC e  
AMReceiverC. Which should I use? Are they equivalent? Or should I  
choose one or the other respect to what I'm doing (sending/receiving)?


If you look closely, AMSenderC and AMReceiverC just wire to  
ActiveMessageC's. They provide it as a convenience, so you only have  
to name one component in a configuration. I.e.:


components new AMSenderC(AM_FOO);
A.AMSend -> AMSenderC;
A.AMPacket -> AMSenderC;

rather than

components new AMSenderC(FOO), ActiveMessageC;
A.AMSend -> AMSenderC;
A.AMPacket -> ActiveMessageC;

Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Tinyos-2.x Oscilloscope save button?

2008-02-13 Thread Philip Levis


On Feb 13, 2008, at 12:02 AM, Alexandros Karagiannis wrote:


Hello everyone,

Before i describe my case i'd like to express a big THANK YOU for  
the help that this list provides to those people trying to deal and  
experiment on WSN and Tinyos-NesC.
Moving now to the problem. I was using in Tinyos-1.x the  
oscilloscope application which is a very helpful tool to visualize  
data i got from Tmote Sky network. Porting now the code to T2, or  
modifying and writing new code to use oscilloscope application i  
realized that there is no possibility to save the stream of data  
that this application visualizes. In the beginning i thought it was  
something i missed, i started searching the mailing list for any  
similar issue and then by googling it i came to the conclusion that  
there is no evident reason for not having the save button.
After digging in the java source of the oscilloscope application (/ 
opt/tinyos-2.x/apps/Oscilloscope/java) it was clear that the  
application actually saves the data stream by using two objects  
Data,Node but it wasn't obvious how can somebody gets access to the  
saved stream.
If i missed something then i apologize but could someone point me  
any way to save data stream from serialForwarder in Tinyos-2.x ? My  
only alternative for now is the Listen tool.




You could modify the Java code so the GUI has a save button. When you  
click the button, it iterates over the Data,Node pairs and writes the  
data out to a file.


Because SerialForwarder allows multiple concurrent clients, as you  
point out, a parallel Listen is another simple option. It's often the  
case that having the complete packet is useful; among other things,  
it lets you clean the data of corrupted packets that passed CRC.


Phil
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] AMPacket interface

2008-02-13 Thread Flavio Pompermaier
Hi to all, I've a doubt regard the AMPacket interface: it is useful in order to 
set AM fields of the Packet, right? However there are 3 components that provide 
this interface: ActiveMessageC, AMSenderC e AMReceiverC. Which should I use? 
Are they equivalent? Or should I choose one or the other respect to what I'm 
doing (sending/receiving)?

Thanks in advance,
Flavio


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: [Tinyos-devel] DAC and MSP430RefVoltGenerator in T2

2008-02-13 Thread John Griessen

Sandip Bapat wrote:

 a DAC module would either have to wire to Msp430RefVoltArbiterP (in which case 
it also has to provide the

AdcConfigure interface) or be expected to provide wiring for these interfaces.

This is fine for apps that just want to use the DAC and not ADC but what if 
both are used and the

ADC is already using Ref Voltage ? I guess we could use #ifdefs in the DAC but 
wouldn't having

a Msp430RefVoltArbiterC that does the wirings required for 
Msp430RefVoltGeneratorP be better?

The best thing would be to create new function in the RefVoltArbiter so it can 
stay on after an ADC12 or
Dac12 call has requested it if another request is heard within a time period.  
As far as I can tell,
Dac12 and Adc12 of a MSP430F1611 can both be going at once.

John Griessen

--
Ecosensory   Austin TX
tinyOS devel on:  ubuntu Linux;   tinyOS v2.0.2;   telosb ecosens1
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] disabling external flash

2008-02-13 Thread Janos Sallai
Mustafa,

The typical standby current of the at45db041b (used on the mica2 and not
too recent micaz motes) is 2uA. This is what the chip draws if there is
no read/write/erase operation in progress. You cannot go any lower than
that. The data sheet is at
http://www.atmel.com/dyn/resources/prod_documents/doc3443.pdf

The newer micazs and the iris motes are equipped with a at45db041d,
where the standby current is slightly higher, typically 25uA. You can
switch this version of the flash chip to deep powerdown mode, where it
typically draws 5uA. 

If you consider 20uA a "considerable amount of ampere", you may want to
check page 24 of the datasheet where it is explained how to enter deep
power-down mode. The data sheet is at
http://www.atmel.com/dyn/resources/prod_documents/doc3595.pdf

Janos

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mustafa gozkun
Sent: Wednesday, February 13, 2008 4:14 AM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] disabling external flash

Hi all,
 Isnt there anybody to answer how to disable external
flash? I will gain considerable amount of ampere by
doing so. I would be happy to hear from someone. 
   thanks in advance


 


Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] CC2420 setRFPower

2008-02-13 Thread Dimas Abreu Dutra
Hello,

The problem is that setPower should be done for each packet. The older
setRFPower is for all messages sent over the radio. It is easier then
keeping track of every place that sends, and also works for the messages
sent on disseminations, collections and deluge (I believe). Using
CC2420Packet.setPower to change the power of those messages would require
unnecessary and error-prone hackings.

~Dimas~

2008/2/13, Razvan Musaloiu-E. <[EMAIL PROTECTED]>:
>
> Hi!
>
> Take a loot at tos/chips/cc2420/interfaces/CC2420Packet.nc. The interface
> is offered by CC2420ActiveMessageC.nc. :-)
>
> On Tue, 12 Feb 2008, Dimas Abreu Dutra wrote:
> > Is there an alternative to using the  CC2420Packet.setPower command on
> every
> > packet sent?
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] How to measure the memory cost

2008-02-13 Thread Janos Sallai
Roberto,

 

The local automatic variables are not counted when the make system
prints out the RAM usage. I suspect you have some of those in your code.

 

They are created dynamically on the stack, and thus, it's hard to tell
what is the maximum possible stack depth. (There exist static stack
depth analysis tools, but, as of now, the TinyOS make system does not
make use of any of them.) 

 

Janos

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
AIGroup
Sent: Tuesday, February 12, 2008 6:51 AM
To: TinyOS
Subject: [Tinyos-help] How to measure the memory cost

 

Hi all,

 

solved the problems explained in my previous post, I'm interesting to
study the memory cost.

I know the importante of RAM and ROM value following the command "make
micaz"

But, enough I allocate many variables an many arrays, the corresponding
RAM value is 453bytes.

Is it possibile?

The style of my code is very simple (is taken from Blink example). In
Blink I  include two file : an header file (svm.h) and an implementation
C file (svm.c).

May the C code doesn't involve the Rom and Ram values?

My variables and arrays are just in the C code.

I hope my explation is good.

Thanks for your help in advance

 

Roberto

 

ps

the Rom value is about 67K

 

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Is it possible to implement this scenario? Is it possible to simulate a mobile node in TOSSIM, TinyViz?

2008-02-13 Thread Saravanan Sivaji
Hi all,
   
  I am new to TinyOS, TOSSIM.  I want to simulate a scenario in TOSSIM, 
TinyViz? Can any tell me whether it is possible or not?
   
  here is the scenarioI want to visualize the output through TinyViz
   
  I am deploying set of sensor nodes in geographical field(TinyViz left panel), 
which all unaware of their location.  I am introducing a mobile node, which is 
location aware node (assumed).  The mobile node traverse through the sensor 
field and helps the sensor nodes to estimate their location.  While in travel, 
the mobile node broadcast beacon message at regular periodic interval. The 
sensor nodes who receive the beacon message will acknowledge to the mobile node.
   
  I saw the output of TestTinyViz application.  I partially understood. I am 
still working out.  I dont enough background of sensor motes and other 
electronic components. I am from pure software engineering discipline.  I am 
good in java.  
   
  what I want to know is, Is it possible to simulate a mobile node in 
TOSSIM?
   
  Assume that, I want similar output of TestTinyViz application with single 
mobile node traverse through set of sensor nodes(they are static).  
   
  please give me idea? where to start?
   
  thanks
  Sarwan
   
   

   
-
Never miss a thing.   Make Yahoo your homepage.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CC2420 setRFPower

2008-02-13 Thread Razvan Musaloiu-E.

Hi!

Take a loot at tos/chips/cc2420/interfaces/CC2420Packet.nc. The interface 
is offered by CC2420ActiveMessageC.nc. :-)


--
Razvan ME

On Tue, 12 Feb 2008, Dimas Abreu Dutra wrote:


Hello everyone!

I noticed that CC2420 doesn't have a setRFPower command like CC1000. Is
there an alternative to using the  CC2420Packet.setPower command on every
packet sent? Looking at the list, I found out that tinyos 1.x has this
command.

Is there a reason why it was removed? Will it be implemented? If not, I
looked at how it was implemented in tinyos1.x, and it seems to be somewhat
easy to port. Is there any special catch I should be aware of while copying
the code?

Thanks in advance,
~Dimas~


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Read from external flash with GPS problem!

2008-02-13 Thread Mustafa Hammad
Hi,
   
  I used ReadData/WriteData interfaces to write and read data from the external 
flash memory in Tinyos1.x. 
  When I added the GPS related components, I get only F’s or 0’s from the 
external flash!!. 
  Can anyone help me? 
   
  Regards,
  Mustafa Hammad

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error while Programming Imperial BSN Node V2.0

2008-02-13 Thread antonio gonga

Hey all,

When I try to install the application to the BSN node, It seems to install 
everything but suddenly  I get  "An error occurred: Timeout"
BSN stands for Body Sensor Networks, and the version that I'm using it's from 
Imperial College of London)

I need your help.


_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error while Programming Imperial BSN Node V2.0

2008-02-13 Thread antonio gonga

Hey all,

I'm having an strange error while programming an Imperial BSN Node V2.0( BSN - 
Stands for Body Sensor Network). I know that there are some Applications 
running on these sensors(TinyOS-1.x) , but I'm trying to upload a TinyOS-2.x 
application, once they use TinyOS.

Error output:
mkdir -p build/telosb
mig java -target=null -java-classname=AccelTempMsg AccelTemp.h AccelTemp -o 
AccelTempMsg.java
javac AccelTempMsg.java
compiling AccelTempC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow 
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb -fnesc-c$
compiled AccelTempC to build/telosb/main.exe
   13812 bytes in ROM
 336 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
writing TOS image
cp build/telosb/main.ihex build/telosb/main.ihex.out
found mote on /dev/ttyUSB0 (using bsl,auto)
installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
An error occoured:
Bootstrap loader synchronization error
make: *** [program] Error 1




_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] disabling external flash

2008-02-13 Thread miriam herraiz
Hi all,

I'm new in this. I did the tutorial for tmote version 1 and now I have to
implement a power supply with the tmote sky, and the tmote should read the
amount of voltage. Anybody know how to implement a power supply with a
tmote??

thanks
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] disabling external flash

2008-02-13 Thread Mustafa gozkun
Hi all,
 Isnt there anybody to answer how to disable external
flash? I will gain considerable amount of ampere by
doing so. I would be happy to hear from someone. 
   thanks in advance


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] (no subject)

2008-02-13 Thread miriam herraiz

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Re: Tinyos-2.x Oscilloscope save button?

2008-02-13 Thread Alexandros Karagiannis

Αλέξανδρος Καραγιάννης wrote:

Hello everyone,

Before i describe my case i'd like to express a big THANK YOU for the 
help that this list provides to those people trying to deal and 
experiment on WSN and Tinyos-NesC.
Moving now to the problem. I was using in Tinyos-1.x the oscilloscope 
application which is a very helpful tool to visualize data i got from 
Tmote Sky network. Porting now the code to T2, or modifying and 
writing new code to use oscilloscope application i realized that there 
is no possibility to save the stream of data that this application 
visualizes. In the beginning i thought it was something i missed, i 
started searching the mailing list for any similar issue and then by 
googling it i came to the conclusion that there is no evident reason 
for not having the save button.
After digging in the java source of the oscilloscope application 
(/opt/tinyos-2.x/apps/Oscilloscope/java) it was clear that the 
application actually saves the data stream by using two objects 
Data,Node but it wasn't obvious how can somebody gets access to the 
saved stream.
If i missed something then i apologize but could someone point me any 
way to save data stream from serialForwarder in Tinyos-2.x ? My only 
alternative for now is the Listen tool.


Thank you


I forgot to inform you about my setup.
I use xubuntos-2.0
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tinyos-2.x Oscilloscope save button?

2008-02-13 Thread Alexandros Karagiannis

Hello everyone,

Before i describe my case i'd like to express a big THANK YOU for the 
help that this list provides to those people trying to deal and 
experiment on WSN and Tinyos-NesC.
Moving now to the problem. I was using in Tinyos-1.x the oscilloscope 
application which is a very helpful tool to visualize data i got from 
Tmote Sky network. Porting now the code to T2, or modifying and writing 
new code to use oscilloscope application i realized that there is no 
possibility to save the stream of data that this application visualizes. 
In the beginning i thought it was something i missed, i started 
searching the mailing list for any similar issue and then by googling it 
i came to the conclusion that there is no evident reason for not having 
the save button.
After digging in the java source of the oscilloscope application 
(/opt/tinyos-2.x/apps/Oscilloscope/java) it was clear that the 
application actually saves the data stream by using two objects 
Data,Node but it wasn't obvious how can somebody gets access to the 
saved stream.
If i missed something then i apologize but could someone point me any 
way to save data stream from serialForwarder in Tinyos-2.x ? My only 
alternative for now is the Listen tool.


Thank you
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help