[Tinyos-help] can't load library 'libtermcap.so.2'

2008-02-07 Thread Alessandro Turella

Hi all,

I'm trying to debug my msp430 device (Tmote Sky) with the Blink program using
msp430-jtag.
I'm using debian testing, and when i try to start the msp430gdb it returns to 
me an error:

can't load library 'libtermcap.so.2'

so i tried to install the |termcap-compat| package. but it require the old libc5 instead of libc6 required by tinyos system 

I installed TOS2.x on debian using the ubuntu repository... 
it seems to work, i can compile but not debug, anyone can help?


Regards,
Alex



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
by Markus Madlener @ http://www.copfilter.org


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
by Markus Madlener @ http://www.copfilter.org


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
by Markus Madlener @ http://www.copfilter.org
begin:vcard
fn:Alessandro Turella
n:Turella;Alessandro
org:Veneta Engineering S.r.l.;Direzione
adr:;;Via Lovanio 8/10;Verona;VR;37135;Italia
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Responsabile Qualit=C3=A0
tel;work:045 820 09 48
tel;fax:045 820 19 82
tel;cell:347 96 96 057
x-mozilla-html:TRUE
url:http://www.venetaengineering.it
version:2.1
end:vcard

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

RE: [Tinyos-help] can't load library 'libtermcap.so.2'

2008-02-07 Thread Murray, Ben
one of the top returns from google:
http://www.nabble.com/FET-and-gdb-on-Ubuntu-td11928081.html
seems to have had the same two steps of errors as you so far, and seems to
have fixed it by the end of the page. Might help?


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Alessandro Turella
 Sent: 07 February 2008 08:43
 To: tinyos-help@millennium.berkeley.edu
 Subject: [Tinyos-help] can't load library 'libtermcap.so.2'
 
 
 Hi all,
 
 I'm trying to debug my msp430 device (Tmote Sky) with the 
 Blink program using
 msp430-jtag.
 I'm using debian testing, and when i try to start the 
 msp430gdb it returns to me an error:
 
 can't load library 'libtermcap.so.2'
 
 so i tried to install the |termcap-compat| package. but it 
 require the old libc5 instead of libc6 required by tinyos system 
 
 I installed TOS2.x on debian using the ubuntu repository... 
 it seems to work, i can compile but not debug, anyone can help?
 
 Regards,
 Alex
 
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
 AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
 by Markus Madlener @ http://www.copfilter.org
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
 AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
 by Markus Madlener @ http://www.copfilter.org
 
 
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Scanned with Copfilter Version 0.84beta3a (ProxSMTP 1.6)
 AntiVirus: ClamAV 0.92-exp/5726 - Thu Feb  7 09:11:05 2008
 by Markus Madlener @ http://www.copfilter.org
 

***
Please consider the environment before printing this email.
***
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research  Technology
(UK) Limited.
***

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


[Tinyos-help] group_id change at runtime

2008-02-07 Thread Mustafa gozkun
Dear all,
Can we change the group id (in cc2420 packet header)
in runtime?? 
thanks a lot..
  MUSTAFA


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] STARGATE : install postgresql and xserve

2008-02-07 Thread Marios Milis
Dear all,

 

We would be very grateful if someone could provide us with a step by step
guidance of installing and starting the xserve and postgresql applications
on STARGATE.

 

Thanks a lot in advance

Kind Regards

MM

 

 

-

Mr Marios Milis

Project Manager, SignalGeneriX Ltd

Maximos Court, Block B

3rd Floor

Leontiou A

P.O.Box 51341

3504 Limassol

Cyprus

Telephone: +357 25870072

Fax:  +357 25870076

Email:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]

 http://www.signalgenerix.com/ www.signalgenerix.com

-

 

This message and any files transmitted with this email are legally
privileged and intended for the sole use of the individual(s) to whom they
are addressed. Access to this e-mail by anyone else is unauthorised, and any
disclosure, copying, distribution or other use of this e-mail is prohibited
and may be unlawful. We will not under any circumstances have any
responsibility or liability arising out of or in connection with any
unauthorised use of this e-mail. Please notify the sender if you have
received this in error.

 

 

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

[Tinyos-help] Re: RSSI MICA2

2008-02-07 Thread Dimas Abreu Dutra
Here you go. If you want to measure the RSSI noise floor use CC1000RssiP.
Also, this code is for T2, but for tinyos 1.x it is very similar.**

~Dimas~


== code ==

#include message.h //Unnecessary if using the send or receive interfaces.

  //Put this inside your module
  uint16_t getRssi(message_t *msg){
cc1000_metadata_t *md =(cc1000_metadata_t*) msg-metadata;
return md-strength_or_preamble;
  }

== end code ==

2008/2/6, Vassilios Papacharalambous [EMAIL PROTECTED]:

  Hi, i am trying to read the RSSI values from mica2 motes. Do you have a
 simple code that does it?Could you please send it to me??

 Thanks
 Vas

 --
 She said what? About who? Shameful celebrity quotes on Search 
 Star!http://www.msnsearchstar.com

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

RE: [Tinyos-help] STARGATE : install postgresql and xserve

2008-02-07 Thread Yong, Chee Yeew
Have you tried the XServe user manual?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marios
Milis
Sent: 07 February 2008 10:53
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] STARGATE : install postgresql and xserve



Dear all,

 

We would be very grateful if someone could provide us with a step by step
guidance of installing and starting the xserve and postgresql applications
on STARGATE.

 

Thanks a lot in advance

Kind Regards

MM

 

 

-

Mr Marios Milis

Project Manager, SignalGeneriX Ltd

Maximos Court, Block B

3rd Floor

Leontiou A

P.O.Box 51341

3504 Limassol

Cyprus

Telephone: +357 25870072

Fax:  +357 25870076

Email:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]

 http://www.signalgenerix.com/ www.signalgenerix.com

-

 

This message and any files transmitted with this email are legally
privileged and intended for the sole use of the individual(s) to whom they
are addressed. Access to this e-mail by anyone else is unauthorised, and any
disclosure, copying, distribution or other use of this e-mail is prohibited
and may be unlawful. We will not under any circumstances have any
responsibility or liability arising out of or in connection with any
unauthorised use of this e-mail. Please notify the sender if you have
received this in error.

 

 


***
Please consider the environment before printing this email.
***
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research  Technology
(UK) Limited.
***

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

RE: [Tinyos-help] STARGATE : install postgresql and xserve

2008-02-07 Thread Yong, Chee Yeew
Try also the Stargate manual found at (3rd from bottom of list): 
http://www.xbow.com/Support/wUserManuals.aspx
http://www.xbow.com/Support/wUserManuals.aspx 
 
That's what I used when I was playing around with the Stargate. Good luck.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marios
Milis
Sent: 07 February 2008 10:53
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] STARGATE : install postgresql and xserve



Dear all,

 

We would be very grateful if someone could provide us with a step by step
guidance of installing and starting the xserve and postgresql applications
on STARGATE.

 

Thanks a lot in advance

Kind Regards

MM

 

 

-

Mr Marios Milis

Project Manager, SignalGeneriX Ltd

Maximos Court, Block B

3rd Floor

Leontiou A

P.O.Box 51341

3504 Limassol

Cyprus

Telephone: +357 25870072

Fax:  +357 25870076

Email:  mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED]

 http://www.signalgenerix.com/ www.signalgenerix.com

-

 

This message and any files transmitted with this email are legally
privileged and intended for the sole use of the individual(s) to whom they
are addressed. Access to this e-mail by anyone else is unauthorised, and any
disclosure, copying, distribution or other use of this e-mail is prohibited
and may be unlawful. We will not under any circumstances have any
responsibility or liability arising out of or in connection with any
unauthorised use of this e-mail. Please notify the sender if you have
received this in error.

 

 


***
Please consider the environment before printing this email.
***
This email and any files transmitted with it are intended solely for the use of
the individual or entity to whom they are addressed and may not be divulged to
any third party without the express permission of the originator.  Any views
expressed in this message are those of the individual sender, except where the
sender specifically states them to be the views of Thales Research  Technology
(UK) Limited.
***

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

Re: [Tinyos-help] can't load library 'libtermcap.so.2'

2008-02-07 Thread Greg Hackmann

Alessandro Turella wrote:

Hi all,

I'm trying to debug my msp430 device (Tmote Sky) with the Blink 
program using

msp430-jtag.
I'm using debian testing, and when i try to start the msp430gdb it 
returns to me an error:


can't load library 'libtermcap.so.2'

so i tried to install the |termcap-compat| package. but it require the 
old libc5 instead of libc6 required by tinyos system
I installed TOS2.x on debian using the ubuntu repository... it seems to 
work, i can compile but not debug, anyone can help?


Regards,
Alex


msp430-gdb seems to have been built on a system where libtermcap was 
aliased to libncurses.  I was able to get msp430-gdb to work by 
installing the libncurses5 package and running


  ln -s libncurses.so /usr/lib/libtermcap.so.2

Be warned that this could break older programs compiled against the 
real libtermcap.


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


[Tinyos-help] Varying transmitter power level

2008-02-07 Thread sstl vls
Hello all,

Iam trying to estimate the minimum required power level of a mote, based on the 
actual transmission power level of packets from neighbhors and received 
strength (RSSI) of the packets. Iam using TmoteSky nodes. I used the uint8_t 
getPower( message_t* p_msg ) command provided by CC2420Packet interface to 
estimate the transmitted power level and  int8_t getRssi( message_t* p_msg ) 
comand to get the RSSI values. 

From CC2420 Chipcon data sheets, I learnt that the PA_LEVEL (getPower) can be 
any of 3, 7, 11, 15, 19, 23, 27, 31 (CC2420Packet interface says it can be 
between 0 and 32.) I assume they are Hexadecimal values..
 
The problem is when I tested it on actual motes, I get a range of values for   
getPower  : 00 or 1f to 23 or d0 to df

The values d0 to df are incorrect (and I get them very often ).  Can someone 
please tell me why this is happening. Is something wrong?

Did someone implement this already?

- Sreevalli







Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Varying transmitter power level

2008-02-07 Thread sstl vls
Thankyou Greg for your help

I
have actually programmed the mote such that it reads its own
transmitter power level setting using getpower() (before sending the
packet) and embeds the value in the packet body and sends the value
with the packet. The receiver estimates the RSSI and compares it with
the transmitter's setting (extracted from packet body) and evaluates
the required power level. 


Do getPower() and setPower() not
estimate and vary the transmitter power level (respectively) actually?
Then how do I vary the power level?  Even setPower() didn't work and I
get the same values. 

- Sreevalli




- Original Message 
From: Greg Hackmann [EMAIL PROTECTED]
To: tinyos-help@millennium.berkeley.edu
Sent: Thursday, February 7, 2008 10:31:42 PM
Subject: Re: [Tinyos-help] Varying transmitter power level

sstl 
vls 
wrote:
  
From 
CC2420 
Chipcon 
data 
sheets, 
I 
learnt 
that 
the 
PA_LEVEL 
(getPower) 
 
can 
be 
any 
of 
3, 
7, 
11, 
15, 
19, 
23, 
27, 
31 
(CC2420Packet 
interface 
says 
 
it 
can 
be 
between 
0 
and 
32.) 
I 
assume 
they 
are 
Hexadecimal 
values..

These 
are 
actually 
decimal 
values, 
not 
hex.

 
The 
problem 
is 
when 
I 
tested 
it 
on 
actual 
motes, 
I 
get 
a 
range 
of 
values 
 
for  
getPower  
: 
00 
or 
1f 
to 
23 
or 
d0 
to 
df
 
 
The 
values 
d0 
to 
df 
are 
incorrect 
(and 
I 
get 
them 
very 
often 
).  
Can 
 
someone 
please 
tell 
me 
why 
this 
is 
happening. 
Is 
something 
wrong?

The 
getPower() 
and 
setPower() 
commands 
manipulate 
the 
TinyOS 
packet 
metadata, 
which 
does 
not 
get 
transmitted 
across 
the 
radio.  
If 
you 
try 
to 
read 
this 
value 
on 
a 
packet 
received 
from 
another 
mote, 
you'll 
just 
get 
uninitialized 
data.

If 
you 
want 
motes 
to 
know 
the 
PA_LEVEL 
setting 
used 
for 
the 
packets 
that 
they 
receive, 
then 
you'll 
need 
to 
store 
that 
information 
in 
the 
packet's 
body.

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







Send instant messages to your online friends http://uk.messenger.yahoo.com ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] ADC_MSP430_how

2008-02-07 Thread John Griessen

antonio gonga wrote:
if I want to read  data from example ADC0, ADC1, ADC2? The example that I found 
in

/opt/tinyos-2.x/tos/chips/msp430/adc12/README.txt does not help so much...



There's code in tinyos-2.x-contrib/ecosensory/apps/ReadMoistureSensors/
that uses the MSP430 adc's in multichannel mode, where you get data from several
channels as fast as possible.   I have not done a tutorial write up of it, but 
plan to.
It depends on a sensorboard that is a  mux to get more effective channels, but 
you can
still use it as a guide for ADC0, ADC1, ADC2, ADC3   reading.  It's a mostly 
compete app
that sends readings in a struct as messages over the radio every second.  In 
the near future,
I will add low power mode of operating to it, and some received message 
controls for
asking for a single reading of all now, changing the reading time and period, 
etc.

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] TinyOS on Linux AMD64 OS

2008-02-07 Thread John Griessen

Joey Wilson wrote:

I am having a lot of problems installing tinyOS on my linux (Ubuntu 7.10)
AMD 64-bit operating system.  I have tried using the stanford repositories,
converting the RPMs to DEB files, and a lot of other things, but nothing is
working.  Any suggestions or help?



If you use the xubuntos install to get a working system, you can then apt-get 
upgrades
that get you  working with KDE or gnome desktop installation.

There's also a way to list all .deb dependencies...   I could figure that out 
and you'd have a list
for apt-get to use, but you'd still have to have different binaries for AMD64, 
so
from source m ay be the way.

John G
--
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


[Tinyos-help] Re: POSSIBLE BUG RECIEVE WITH RECIEVE INTERFACE IN TINYOS 2.x

2008-02-07 Thread Omprakash Gnawali
On Feb 7, 2008 4:43 AM, Adriano Pasquali [EMAIL PROTECTED] wrote:
 Hi,

 portTerminal is a terminal like Hiperterminal of Windows. I don't believe
 that there are collision because sniffer  display only my frame on channel
 26. I believe that there is a memory problem or sincronization of primitive
 in Micaz.

 Thaks



People normally use serialforwarder and sflisten, not portTerminal or
hyperterminal. That might be the problem. What kind of programming
board are you using? Please refer to the tutorial on how to log the
packets that the motes are sending.

I have already tested your program on TelosB motes so I don't think
there is any problem with your program. But you insist there is
something wrong. And maybe you are right. The source code for entire
TinyOS is available for you to read. If you think there is memory
problem, could you please investigate that and let me know how to fix
it? I will be happy to commit your patch. I do not know what kind of
synchronization primitive you refer to. There as well, I will be happy
to commit your patch.

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


[Tinyos-help] Tmote Sky - External Power Supply

2008-02-07 Thread Jose Araujo
Dear all,

 

I wanted to have na external vcc to supply my tmote sky but the tmote
datasheet is not conclusive about it. Does anyone implemented already? I was
thinking about connecting the 3V supply to the pin 1 and 9 of the external
16 pin connector i.e. AVCC and Gnd, with a L from ExternalVCC to AVCC, as
its seen in the battery supply schematic (Vccin with C1, L2 and C2 turned
into DVCC)

 

Thanks to all,

 

José

 

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

RE: [Tinyos-help] msp430.util missing - msp430-jtag

2008-02-07 Thread Michiel Konstapel
 I tried to program my msp430 device with the Blink program using 
 msp430-jtag. But there's an error
 
 Traceback (most recent call last):
 File /opt/msp430/bin/msp430-jtag, line 15, in module from 
 msp430.util import hexdump, makeihex
 ImportError: No module named msp430.util 
 
 I installed TOS2.x on ubuntu using the ubuntu repository... compiling 
 works fine... but I didn't find any fix to this problem.

I think there's a mismatch in versions in the current Ubuntu repository.
That module's been renamed to mspgcc.util, but msp430-jtag still refers
to the old name. I think I worked around it by downloading a newer
version from the mspgcc site or their CVS repository and putting that on
my $PATH. Would be nice to have the Ubuntu stuff work out-of-the-box,
though.
Michiel

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


Re: [Tinyos-help] What's the unit for booting nodes up in TOSSIM?

2008-02-07 Thread Philip Levis


On Feb 7, 2008, at 10:22 AM, EunKyung Lee wrote:


t.getNode(0).bootAtTime(1000);
t.getNode(1).bootAtTime(2000);
t.getNode(2).bootAtTime(3000);
t.getNode(3).bootAtTime(4000);
t.getNode(4).bootAtTime(5000);
t.getNode(5).bootAtTime(6000);
t.getNode(6).bootAtTime(7000);
t.getNode(7).bootAtTime(8000);
t.getNode(8).bootAtTime(9000);

I booted the nodes up in this way .
I thought this could be 0.1 ms = 100,000,000 ns

but when I check the time in simulation in tossim  using function  
sim_time_string()

It is 0.01ms.

DEBUG (0): (0:0:0.00100) RadioCountToLedsC: Booted!!
DEBUG (1): (0:0:0.00200) RadioCountToLedsC: Booted!!
DEBUG (2): (0:0:0.00300) RadioCountToLedsC: Booted!!
DEBUG (3): (0:0:0.00400) RadioCountToLedsC: Booted!!
DEBUG (4): (0:0:0.00500) RadioCountToLedsC: Booted!!
DEBUG (5): (0:0:0.00600) RadioCountToLedsC: Booted!!
DEBUG (6): (0:0:0.00700) RadioCountToLedsC: Booted!!
DEBUG (7): (0:0:0.00800) RadioCountToLedsC: Booted!!
DEBUG (8): (0:0:0.00900) RadioCountToLedsC: Booted!!

What's the unit for using bootAtTime(___) function?

Please correct my opinion if i'm wrong
and any reply will be appreciated .. Thank you


You should use Tossim.ticksPerSecond() as a basis, rather than  
hardcoded values.


Phil

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


[Tinyos-help] Regarding Install

2008-02-07 Thread Coalton Bennett
I have a Intel based MacBook Pro and I have installed TinyOS on my  
machine along with all of the other necessary components. I am having  
issues though compiling the micaz application Blink. I have received  
the following errors when trying to compile the Blink application ($  
make micaz):


avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
commandline: failed to preprocess /opt/local/stow/tinyos-2.x-tools/ 
lib/ncc/nesc_nx.h

avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
commandline: failed to preprocess /Users/coaltonbennett/tinyos-2.x/ 
tos/system/tos.h

avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
commandline: failed to preprocess /Users/coaltonbennett/tinyos-2.x/ 
tos/system/TinySchedulerC.nc
commandline: Scheduler `TinySchedulerC' has no scheduling interface  
named `TaskBasic'

avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
commandline: failed to preprocess BlinkAppC.nc

Would anyone be able to provide me with some insight or even a  
possible solution for this error. I have been trying to install  
TinyOS and compile applications now for some time. Any help would be  
much much appreciated.


C.B.



___
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 - External Power Supply

2008-02-07 Thread John Griessen

Jose Araujo wrote:

Dear all,

 


I wanted to have na external vcc to supply my tmote sky but the tmote
datasheet is not conclusive about it. Does anyone implemented already? 



You need to use the tmote sky schematics.

Sure, just unsolder the battery clip plastic module and attach wires
to your power supply in its pcb holes.

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] TinyOS on Linux AMD64 OS

2008-02-07 Thread Peizhao Hu
converting from RPM to DEB is not a very clean way... look for 
alternative installation methods.


Regards;

Peizhao



Kevin Klues wrote:

What sort of problems?

On Feb 5, 2008 1:40 PM, Joey Wilson [EMAIL PROTECTED] wrote:
  

I am having a lot of problems installing tinyOS on my linux (Ubuntu 7.10)
AMD 64-bit operating system.  I have tried using the stanford repositories,
converting the RPMs to DEB files, and a lot of other things, but nothing is
working.  Any suggestions or help?

Thanks.

___
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] Varying transmitter power level

2008-02-07 Thread Greg Hackmann

sstl vls wrote:
 From CC2420 Chipcon data sheets, I learnt that the PA_LEVEL (getPower) 
can be any of 3, 7, 11, 15, 19, 23, 27, 31 (CC2420Packet interface says 
it can be between 0 and 32.) I assume they are Hexadecimal values..


These are actually decimal values, not hex.

The problem is when I tested it on actual motes, I get a range of values 
for  getPower  : 00 or 1f to 23 or d0 to df


The values d0 to df are incorrect (and I get them very often ).  Can 
someone please tell me why this is happening. Is something wrong?


The getPower() and setPower() commands manipulate the TinyOS packet 
metadata, which does not get transmitted across the radio.  If you try 
to read this value on a packet received from another mote, you'll just 
get uninitialized data.


If you want motes to know the PA_LEVEL setting used for the packets that 
they receive, then you'll need to store that information in the packet's 
body.


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


[Tinyos-help] Regarding TinyOS install

2008-02-07 Thread Coalton Bennett

I followed the instructions on the following website:

http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_% 
28Tiger_%26_Leopard%29#Installing_the_Developer_Tools


which seemed to be very helpful. If anyone can help identify what my  
problem is I would greatly appreciate it.


Coalton Bennett, Ph.D Candidate
School of Electrical and Computer Eng.
Cornell University
(607) 255-4222
444 Rhodes Hall
Ithaca, NY 14853



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

Re: [Tinyos-help] can't load library 'libtermcap.so.2'

2008-02-07 Thread Razvan Musaloiu-E.

Hi!

On Thu, 7 Feb 2008, Alessandro Turella wrote:


Hi all,

I'm trying to debug my msp430 device (Tmote Sky) with the Blink program 
using msp430-jtag.
I'm using debian testing, and when i try to start the msp430gdb it returns to 
me an error:


can't load library 'libtermcap.so.2'

so i tried to install the |termcap-compat| package. but it require the old 
libc5 instead of libc6 required by tinyos system 
I installed TOS2.x on debian using the ubuntu repository... it seems to work, 
i can compile but not debug, anyone can help?


I recompile the gdb in order to make it work. Here are the required files 
plus a script automate the steps:

http://cs.jhu.edu/~razvanm/wsn/msp430-gdb/
Note: the install path is $HOME/local.

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


Re: [Tinyos-help] Internal compiler error

2008-02-07 Thread Sandip Bapat
David, Greg:

I did verify that I am using 3.2.3 and I also uninstalled the 
mspgcc-win32tinyos package and reinstalled the msp430tools-gcc package. But 
that doesn't seem to have solved the problem. 
I did get BaseStation to compile on another machine which has the same set of 
file versions so perhaps its just some corrupted file on this machine. 
Anyway, since I can compile other apps for now, I'll try and reinstall tinyos 
over the weekend and see if that helps. 

Thanks.
Sandip


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping___
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] CTP + LPL

2008-02-07 Thread David Moss
Matt and Phil - 

This is meant to serve only as a private interface within the CC2420 stack
right now, not an interface provided by the ActiveMessage façade.  After
all, once the interface is provided by ActiveMessage, it is no longer a
private CC2420-specific interface.

This is absolutely not a CTP or MultiHop protocol changing interface, since
that would make those libraries platform dependent, which is bad.  This is
also not an LPL interface. Rather, the point of this interface is to simply
signal an event at the top of the stack that says the radio is sending a
message. Your application can do what it wants with that event.
 
For developers who want CTP + LPL on a CC2420 platform, this single
notification event gives them the ability to make it happen *right now*
without modifying any libraries.  No modifications to CTP, no modifications
to LPL, no modifications to the radio stack, and nearly 0 cost. 

You're correct: we should document this interface in the CC2420 TEP, or add
this to some other TEP to standardize it across radio stacks.  A second
direction would be to continue adding onto the LowPowerListening interface
to make each outbound message use your local LPL settings, but I would be
hesitant to make those kinds of changes without a lot of backing.

-David




-Original Message-
From: Matt Welsh [mailto:[EMAIL PROTECTED] On Behalf Of Matt Welsh
Sent: Wednesday, February 06, 2008 3:10 PM
To: David Moss
Cc: 'TinyOS Development'; 'tinyos-help@Millennium.Berkeley.EDU list'
Subject: Re: [Tinyos-devel] CTP + LPL

While I like this idea, are we going through a TEP vetting process  
before adding new calls in the radio stack interface? I could think of  
a lot of things that one might want to add to the CC2420 radio stack  
but I thought the idea of the TEP process was to air these ideas  
through feature extension proposals before just adding things when  
they seem like a good idea. Then again maybe we need to draw a  
distinction between public interfaces and private ones; I suppose  
one could consider the internals of the CC2420 stack to be private  
-- that is until any upper level code starts relying on the existence  
of this interface and makes it impossible to port to other radio stacks.




On Feb 5, 2008, at 8:26 AM, David Moss wrote:

 I just added a hook to the CC2420 radio stack in CVS to configure an  
 outbound message. The interface is called SendNotifier, and has a  
 single event:

   event void aboutToSend(am_addr_t addr, message_t *msg);

 This event is provided by CC2420ActiveMessageC, and is parameterized  
 by am_id_t.

 You can access this interface to configure packets sent by any  
 module in your application, modifying the outbound packet based on  
 AM type, destination, etc.  The main intention is CTP + LPL  
 integration (with examples attached – modify as necessary), but you  
 can use it to add all sorts of system-wide functionality to your  
 application.  Here’s a small example:

   event void SendNotifier.aboutToSend[AM_CTP_DATA](am_addr_t addr,  
 message_t *msg) {
 call LowPowerListening.setRxSleepInterval(msg, 512);
   }

 Simply create a module that defines an LPL policy for your system,  
 and use the SendNotifier interface to enforce it.

 If this hook works out, we can extend this to other radio stacks as  
 necessary.

 -David


 CtpLplC.ncCtpLplP.nc
 ___
 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] Re: [Tinyos-devel] CTP + LPL

2008-02-07 Thread Philip Levis


On Feb 7, 2008, at 6:00 AM, David Moss wrote:


Matt and Phil -

This is meant to serve only as a private interface within the  
CC2420 stack
right now, not an interface provided by the ActiveMessage façade.   
After
all, once the interface is provided by ActiveMessage, it is no  
longer a

private CC2420-specific interface.

This is absolutely not a CTP or MultiHop protocol changing  
interface, since
that would make those libraries platform dependent, which is bad.   
This is
also not an LPL interface. Rather, the point of this interface is  
to simply
signal an event at the top of the stack that says the radio is  
sending a

message. Your application can do what it wants with that event.

For developers who want CTP + LPL on a CC2420 platform, this single
notification event gives them the ability to make it happen *right  
now*
without modifying any libraries.  No modifications to CTP, no  
modifications

to LPL, no modifications to the radio stack, and nearly 0 cost.

You're correct: we should document this interface in the CC2420  
TEP, or add
this to some other TEP to standardize it across radio stacks.  A  
second
direction would be to continue adding onto the LowPowerListening  
interface
to make each outbound message use your local LPL settings, but I  
would be

hesitant to make those kinds of changes without a lot of backing.




Oh, I think I misunderstood. I thought you were suggesting a change  
to the CTP code in CVS.


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


[Tinyos-help] Regarding simulation

2008-02-07 Thread Saravanan Sivaji
hi,
   
  I want to know how to simulate two motes and make them to communicate with 
each other.  Can any give me a proper(high level) procedure for that?  what are 
the components and interfaces needed? please I didnt have enough background of 
motes hardware and electronics. I am new to WSN and I am from software 
engineering discipline.  
   
  eagerly waiting for reply
   
  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