Re: [Tinyos-help] LQI value in IRIS..

2010-04-26 Thread Andreas Weigel
Hi,

first, I would rather use the RF230PacketC (instead of ...P) to avoid 
having to wire the used interface myself. The experience I have made 
with the LQI on IRIS motes is that it nearly always reports values of 
255 unless you really approach the boundary of the communication range 
(or have some strong external interference, but still then, nearly all 
packets get lost rather than beeing received with a decreased LQI 
value). But once there, other values ARE reported. Have you really tried 
"any" distance?

After all, when staying well within the communication range, you also 
have a packet error rate near 0% with IRIS motes -- an LQI of 255 is 
exactly what should be expected in that case.

Regards
Andreas
>
> Hi,
>
> I changes IRIS program to LQI program and I am using 
>
> components  RF230PacketP;
>   App -> RF230PacketP.PacketLinkQuality;
>
> The problem is I am getting 255 values at any distance could any one 
> tell me any other interface i can use ..
>
> 
> The New Busy think 9 to 5 is a cute idea. Combine multiple calendars 
> with Hotmail. Get busy. 
> 
>  
>
> 
>
> ___
> 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] Checking the Cache 2 times in CtpForwardingEngineP

2010-04-26 Thread Anurag Rai
Hi all,
I am not able to find the reason for using the cache lookup again in
sendTask. cache lookup and a search in queue are already performed when a
message is received to be forwarded.
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TelosB command

2010-04-26 Thread Arik Sapojnik
The command is *re*install.
You can use it with the same syntax as install.
Instead of compiling the image again, it loads the ready bin file.

Arik


On Tue, Apr 27, 2010 at 03:28, Group  wrote:

> Hi,
>
> I'm just wondering if there is any command to directly load the image on
> TelosB mote.
> I would like to skip the compilation part as it is taking lot of time. I
> tried executing the
>  command found in 'make telosb install.1' execution output.
>
> Something like this..
> $tos-set-symbols --objcopy msp430-objcopy <...>
>
> but this is not working.
>
> Can any one suggest me on how to do this. Thanks in advance.
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

[Tinyos-help] TelosB command

2010-04-26 Thread Group
Hi,

I'm just wondering if there is any command to directly load the image on
TelosB mote.
I would like to skip the compilation part as it is taking lot of time. I
tried executing the
command found in 'make telosb install.1' execution output.

Something like this..
$tos-set-symbols --objcopy msp430-objcopy <...>

but this is not working.

Can any one suggest me on how to do this. 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] suggestion for ipv6 testbed (iris telosb)

2010-04-26 Thread TheMrOrange
Hello,
Could I ask for your suggestion?
I've to realize a testbed using 5 mote (iris and telosb) in a mesh  
multi-hop network.
I want generate request from the central node (or gateway) to each  
node asking for a reply packet: containing sensors data, battery  
level,  Link Quality and Received Signal Strength (of the request  
received). I'll collect all information in an external DB.
I want to use the 6LoWPAN stack in order to exchange messages on ipv6.
I want to implement a routing protocol to manage routes inside the  
multi-hop mesh network.

I've installed blip and tested successfully IPBaseStation and UDPecho  
on telosb. Do you suggest me to use this code as starting point or you  
can suggesti me something more complete?

How and where should I implement the routing protocol? Which routing  
protocol are available in blip and how can I modify/select it? Can OTA  
tools (nwprog) be useful?

Can you point me on the proper code/wiki/manual to start with?

Many thanks

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


Re: [Tinyos-help] oscilloscope values

2010-04-26 Thread Steven Hodgson
Hi Carlo,
Check out http://docs.tinyos.net/index.php/Boomerang_ADC_Example for the
physical value conversion for the tmote sky.

Date: Mon, 26 Apr 2010 16:44:44 + (GMT)
From: Carlo Desogus 
Subject: [Tinyos-help] oscilloscope values
To: tinyos help 
Message-ID: <141203.5787...@web27003.mail.ukl.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Where can i find the formula for the values conversion of light,
temperature, humidity and the others skills of the sensors.
I`m using tmote sky and telos crossbow under tinyos 2.1.1. (linux).
Is the same the formula??


Thanks



-- next part --
An HTML attachment was scrubbed...
URL:
https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100426/06a6be06/attachment.htm
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] GPS data showing zeros ( MTS420CC problem) - On IRIS motes

2010-04-26 Thread basem sa'adeh
Hello,

I am using MTS420 and trying to read GPS data.But i am getting values as
*zeros*. The sensor board is giving other packet data properly.
I am using a fresh new batteries.Even after more than an hour i am not
getting gps data.Antenna is kept outside , above roof which is
exposed to open air.

I am using tos-base at my base station and *XMeshMTS420 *in gps mote.
My hardware is *IRIS*, test program in from xbow CD contrib folder.

Can anyone help me in this.
Thank you

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

[Tinyos-help] Pinging IPv6 addresses from motes

2010-04-26 Thread research help
Hi,
I followed the BLIP tutorial and can successfully communication with nodes
running UDPEcho. Using the UDP shell on the node, I can ping the base
station node (fec::64) as well as the IPv6 address of the machine connected
to the base station mote. However, I am unable to ping any other IPv6
address from that node (such as ipv6.google.com). Are there any settings I
need to change to enable this? I can ping IPv6 addresses directly from my
base station machine without any problem.
Thanks,
Sarah
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to create a mesh topology in TOSSIM

2010-04-26 Thread chikh omar
Hello,
did any body know how to create a mesh topology in TOSSIM.
What to put in the python file. Note that i have a several node  and it is a 
hard task to add link node by node.

thanks in advance, 
**
Omar Cheikhrouhou 
Engineer & Researcher @SENS Lab (Software Engineering and Network Security)
Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 
Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 
437 Fax: : (+216)74 431 386
Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National 
School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369  
Coordinator C2i @ ISET Sfax (Certified C2i since 2008)


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

Re: [Tinyos-help] reading sensors

2010-04-26 Thread Carlo Desogus
I know, but the oscilloscope application measure just the light.
Isn`t it?





Da: Carlo Desogus 
A: David Conde 
Inviato: Lun 26 aprile 2010, 17:40:07
Oggetto: Re: [Tinyos-help] reading sensors


I know, but the oscilloscope application measure just the light.
Isn`t it?







Da: David Conde 
A: Carlo Desogus ; tinyos-help@millennium.berkeley.edu
Inviato: Lun 26 aprile 2010, 17:40:42
Oggetto: RE: [Tinyos-help] reading sensors

 
Take a look to Oscilloscope application.
 
Regards
 
De:tinyos-help-boun...@millennium.berkeley.edu
[mailto:tinyos-help-boun...@millennium.berkeley.edu] En nombre de Carlo
Desogus
Enviado el: lunes, 26 de abril de 2010 18:16
Para: tinyos-help@millennium.berkeley.edu
Asunto: [Tinyos-help] reading sensors
 
I`m reading your Sampler applications because i should work
with several sensors (light, temperature, humidity...).
Did you also develop a java application to show the data received??

Thanks
CD


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

[Tinyos-help] oscilloscope values

2010-04-26 Thread Carlo Desogus
Where can i find the formula for the values conversion of light, temperature, 
humidity and the others skills of the sensors.
I`m using tmote sky and telos crossbow under tinyos 2.1.1. (linux).
Is the same the formula??


Thanks


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

Re: [Tinyos-help] how do i find where a value is being generated?

2010-04-26 Thread Greg Hackmann
On 4/26/10 6:28 AM, Michiel Konstapel wrote:
> Now that is interesting - I've recently noticed the same thing myself.
> Is something redefining FAIL, somewhere?

Out of curiosity, I grepped for FAIL in my copy of the MSP430 libc.
Something interesting popped up in include/msp430/flash.h:

#define FAIL0x0080  /* Last Program or Erase failed */

If a module in your app #included this file (either directly, or by
#including another header in the MSP430 libc that in turn #included
flash.h), it would completely explain the problem you're seeing.

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


Re: [Tinyos-help] reading sensors

2010-04-26 Thread David Conde
Take a look to Oscilloscope application.

 

Regards

 

De: tinyos-help-boun...@millennium.berkeley.edu 
[mailto:tinyos-help-boun...@millennium.berkeley.edu] En nombre de Carlo Desogus
Enviado el: lunes, 26 de abril de 2010 18:16
Para: tinyos-help@millennium.berkeley.edu
Asunto: [Tinyos-help] reading sensors

 

I`m reading your Sampler applications because i should work with several 
sensors (light, temperature, humidity...).
Did you also develop a java application to show the data received??

Thanks
CD

 

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

[Tinyos-help] reading sensors

2010-04-26 Thread Carlo Desogus
I`m reading your Sampler applications because i should work with several 
sensors (light, temperature, humidity...).
Did you also develop a java application to show the data received??

Thanks
CD



  ___
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 connect to tiny mote from windows

2010-04-26 Thread Michael Schippling
I'm a little confused but I will forge ahead anyway:
I don't know how VB and Java relate, and I got a little
lost in which programs you have running on what platforms...
But...For a discussion of what files need to be where in
the Java JRE see my posts from yesterday...

MS

ashkan ekhtiari wrote:
> Hi Folks,
>  
> I have an already available application in java on ubuntu which 
> communicates with mote via net.tinyos.tools package, but since I have an 
> application in VB that runs just on windows and there is no API 
> available for that to be ran on Linux so I have to run my application in 
> windows,
> I made reference to Jar files on windows, now it runs but after trying 
> to communicate with COM port including mote I get the following error :
>  
> The toscomm JNI library was not found.
> Check that your tinyos-tools package is installed and try
> rerunning tos-install-jni.
> Aborting.
> Java Result: 1
>  
>  
> It seems that I have to provide windows with the tinyos tools but no 
> idea if there is any way to install or reference tinyos.tools in windows 
> without using virtual machine. maybe to compile java files and use them 
> in certain folders, or someway port the java files so that they would be 
> compatiible with windows.
>  
>  
>  
> 
> 
> -- 
> Best Regards
> Ashkan Ekhtiari
> 
> 
> 
> 
> ___
> 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] how do i find where a value is being generated?

2010-04-26 Thread Michael Schippling
Redefinition of FAIL could happen in a single module,
depending on how the pre-processor processes. Do other
other instances of FAIL in that module get changed?
Does using an explicit value, as someone suggested,
make any difference?

Can you extract the module from the system and
compile it individually? Step. Reduce...

Also...I'd bet some weasel will point out that
SUCCESS and FAIL should be boolean...hmmm, have
you defined the return value correctly? Maybe
the compiler is "helping" you by casting somehow?

MS


Arik Sapojnik wrote:
>1. If something was redefining FAIL - it would happen every time, not
>   just in one function.
>2. The functions that are OK, are they in the same module/file?
>3. I suggest to try to change the things I mentioned, in you
>   problematic function.
>   The fact that it works in other places is not conclusive enough.
> 
> 
> Arik
> 
> 
> On Mon, Apr 26, 2010 at 14:28, Michiel Konstapel  > wrote:
> 
> Now that is interesting - I've recently noticed the same thing
> myself. Is something redefining FAIL, somewhere?
> 
>  
> 
> *From:* tinyos-help-boun...@millennium.berkeley.edu
> 
> [mailto:tinyos-help-boun...@millennium.berkeley.edu
> ] *On Behalf Of
> *Eric Decker
> *Sent:* maandag 26 april 2010 12:34
> *To:* Tinyos-Help
> *Subject:* [Tinyos-help] how do i find where a value is being generated?
> 
>  
> 
> I have a fairly complex program and I'm seeing some of my return
> codes not coming back correctly.
> 
>  
> 
> that is when I look at the app.c file, I see
> 
>  
> 
> return 0x0080
> 
>  
> 
> but the original source code is return FAIL  and FAIL is an enum set
> to 1.
> 
>  
> 
> I've looked through all the source code looking for 0080 and trying
> to find where FAIL is being changed
> 
> and I'm baffled.
> 
>  
> 
> Suggestions on how to find out what is going on?
> 
>  
> 
> eric
> 
> 
> 
> -- 
> Eric B. Decker
> Senior (over 50 :-) Researcher
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> 
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
> -- 
> Best Regards,
> Arik Sapojnik
> 
> 
> 
> 
> ___
> 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] LQI value in IRIS..

2010-04-26 Thread t'aim .
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi, I changes IRIS program to LQI program and I am using 
components
   RF230PacketP; App -> RF230PacketP.PacketLinkQuality; The problem is I am
  getting 255 values at any distance could any one tell me any other interface
   i can use .. The New Busy think 9 to 5 is a cute idea. Combine multiple 
calendars
   with Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
   Hi, [...] 

Content analysis details:   (3.3 points, 3.3 required)

 pts rule name  description
 -- --
 3.2 FH_DATE_PAST_20XX  The date is grossly in the future.
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.0 BAYES_50   BODY: Bayesian spam probability is 40 to 60%
[score: 0.5000]
 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.
-1.0 AWLAWL: From: address is in the auto white-list

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---

Hi,
I changes IRIS program to LQI program and I am using 
components  RF230PacketP;  App -> RF230PacketP.PacketLinkQuality;
The problem is I am getting 255 values at any distance could any one tell me 
any other interface i can use .. 
_
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Error in DIP protocol

2010-04-26 Thread arthi p
Hi all, 
 
I tried to run DIP protocol in TOSSIM and motelab. My apps folder contained 
EasyDisseminationAppc.nc, EasyDisseminationC.nc,makefile, datainject.java files.
When I tried to give the cmd "java DipInject 0a 2 "ab cd ef" am getting the 
following error.
 
$ java DipInject 0a 2 "ab cd ef"
Usage: java DipInject [key] [version] [hex data delimit space in quotes]
Key: 10
Version: 2
Data: 171 205 239
getenv JNI library not found. Env.getenv will not work
(run the tos-install-jni tool, see man tos-install-jni for more details)
s...@localhost:9002 died - exiting (java.net.ConnectException: Connection re
 connect)
 
while testing in motelab i do not know to upload which class file..also i am 
getting the following error in motelab.
 
DBLOGGER ERROR: dbDump: could not extract AMTYPE from message class. Exiting.
java.lang.NoSuchFieldException: AM_TYPE
at java.lang.Class.getField(Class.java:1520)
at dbDump.parseClasses(dbDump.java:213)
at dbDump.main(dbDump.java:736)
  
Please help me out.. Can you tell me how to run the DIP in tossim and also in 
motelab.
 
Thanks and Regards,
Arthi

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

Re: [Tinyos-help] Error on 'make telosb reinstall'

2010-04-26 Thread Steven Hodgson
Jordi, Arik,
Thanks for the quick responses!
I've tried a few times since, and I will try again in the morning. And I'm
not using a hub, but thanks for the tip.
It's just so strange that it just stopped working; it programmed one mote
fine, and then conked out on the next one.
I'll repost if I have any success.
Thanks again.

On Mon, Apr 26, 2010 at 9:44 PM, Arik Sapojnik  wrote:

> I would also suggest NOT to use a USB hub, if you are using a such.
>
> Arik
>
>
> On Mon, Apr 26, 2010 at 14:40, Jordi Soucheiron  > wrote:
>
>> Hello,
>> I've experienced this problem many times. Usually I try to disconnect the
>> mote and connect it again and after a few "make tmote reinstall" I can
>> program it.
>> Good luck
>> *Jordi Soucheiron*
>> Software Engineer
>>
>> *DEXMA*
>> Parc Tecnològic la Salle
>> Sant Joan de la Salle, 42
>> 08022 Barcelona
>> t/f: [+34] 93 181 01 95
>> www.dexmatech.com
>> jsouchei...@dexmatech.com
>> 2010/4/26 Steven Hodgson 
>>
>>>  I have been able to compile and install programs on my motes for
>>> several days.
>>> However, now my programs compile, but have errors when trying to load on
>>> to the motes such as: -
>>>  - [Errno 108] Cannot send after transport endpoint shutdown, or
>>>  - [Errno 19] No such device
>>>
>>> i.e.
>>> u...@computer:/opt/tinyos-2.1.0/apps/Blink$ make telosb reinstall
>>> bsl,/dev/ttyUSB0
>>> cp build/telosb/main.ihex build/telosb/main.ihex.out
>>> installing telosb binary using bsl
>>> tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
>>> MSP430 Bootstrap Loader Version: 1.39-telos-8
>>> Mass Erase...
>>>
>>> An error occoured:
>>> [Errno 108] Cannot send after transport endpoint shutdown
>>> make: *** [program] Error 1
>>>
>>> I am using tinyos-2.1.0 on Ubuntu 9.10.
>>>
>>> If anybody has seen this problem before, and could shed some light, it
>>> would be greatly appreciated.
>>>
>>> Thanks,
>>> Steven
>>>
>>>
>>> ___
>>> 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
>>
>
>
>
> --
> Best Regards,
> Arik Sapojnik
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] How to connect to tiny mote from windows

2010-04-26 Thread ashkan ekhtiari
Hi Folks,

I have an already available application in java on ubuntu which communicates
with mote via net.tinyos.tools package, but since I have an application in
VB that runs just on windows and there is no API available for that to be
ran on Linux so I have to run my application in windows,
I made reference to Jar files on windows, now it runs but after trying to
communicate with COM port including mote I get the following error :

The toscomm JNI library was not found.
Check that your tinyos-tools package is installed and try
rerunning tos-install-jni.
Aborting.
Java Result: 1


It seems that I have to provide windows with the tinyos tools but no idea if
there is any way to install or reference tinyos.tools in windows without
using virtual machine. maybe to compile java files and use them in certain
folders, or someway port the java files so that they would be compatiible
with windows.





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

Re: [Tinyos-help] Error on 'make telosb reinstall'

2010-04-26 Thread Arik Sapojnik
I would also suggest NOT to use a USB hub, if you are using a such.

Arik


On Mon, Apr 26, 2010 at 14:40, Jordi Soucheiron
wrote:

> Hello,
> I've experienced this problem many times. Usually I try to disconnect the
> mote and connect it again and after a few "make tmote reinstall" I can
> program it.
> Good luck
> *Jordi Soucheiron*
> Software Engineer
>
> *DEXMA*
> Parc Tecnològic la Salle
> Sant Joan de la Salle, 42
> 08022 Barcelona
> t/f: [+34] 93 181 01 95
> www.dexmatech.com
> jsouchei...@dexmatech.com
> 2010/4/26 Steven Hodgson 
>
>>  I have been able to compile and install programs on my motes for several
>> days.
>> However, now my programs compile, but have errors when trying to load on
>> to the motes such as: -
>>  - [Errno 108] Cannot send after transport endpoint shutdown, or
>>  - [Errno 19] No such device
>>
>> i.e.
>> u...@computer:/opt/tinyos-2.1.0/apps/Blink$ make telosb reinstall
>> bsl,/dev/ttyUSB0
>> cp build/telosb/main.ihex build/telosb/main.ihex.out
>> installing telosb binary using bsl
>> tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
>> MSP430 Bootstrap Loader Version: 1.39-telos-8
>> Mass Erase...
>>
>> An error occoured:
>> [Errno 108] Cannot send after transport endpoint shutdown
>> make: *** [program] Error 1
>>
>> I am using tinyos-2.1.0 on Ubuntu 9.10.
>>
>> If anybody has seen this problem before, and could shed some light, it
>> would be greatly appreciated.
>>
>> Thanks,
>> Steven
>>
>>
>> ___
>> 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
>



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

Re: [Tinyos-help] Error on 'make telosb reinstall'

2010-04-26 Thread Jordi Soucheiron
Hello,
I've experienced this problem many times. Usually I try to disconnect the
mote and connect it again and after a few "make tmote reinstall" I can
program it.
Good luck
*Jordi Soucheiron*
Software Engineer

*DEXMA*
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 181 01 95
www.dexmatech.com
jsouchei...@dexmatech.com
2010/4/26 Steven Hodgson 

> I have been able to compile and install programs on my motes for several
> days.
> However, now my programs compile, but have errors when trying to load on to
> the motes such as: -
>  - [Errno 108] Cannot send after transport endpoint shutdown, or
>  - [Errno 19] No such device
>
> i.e.
> u...@computer:/opt/tinyos-2.1.0/apps/Blink$ make telosb reinstall
> bsl,/dev/ttyUSB0
> cp build/telosb/main.ihex build/telosb/main.ihex.out
> installing telosb binary using bsl
> tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
> MSP430 Bootstrap Loader Version: 1.39-telos-8
> Mass Erase...
>
> An error occoured:
> [Errno 108] Cannot send after transport endpoint shutdown
> make: *** [program] Error 1
>
> I am using tinyos-2.1.0 on Ubuntu 9.10.
>
> If anybody has seen this problem before, and could shed some light, it
> would be greatly appreciated.
>
> Thanks,
> Steven
>
>
> ___
> 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] how do i find where a value is being generated?

2010-04-26 Thread Arik Sapojnik
   1. If something was redefining FAIL - it would happen every time, not
   just in one function.
   2. The functions that are OK, are they in the same module/file?
   3. I suggest to try to change the things I mentioned, in you problematic
   function.
   The fact that it works in other places is not conclusive enough.


Arik


On Mon, Apr 26, 2010 at 14:28, Michiel Konstapel wrote:

>  Now that is interesting - I've recently noticed the same thing myself. Is
> something redefining FAIL, somewhere?
>
>
>
> *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto:
> tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *Eric Decker
> *Sent:* maandag 26 april 2010 12:34
> *To:* Tinyos-Help
> *Subject:* [Tinyos-help] how do i find where a value is being generated?
>
>
>
> I have a fairly complex program and I'm seeing some of my return codes not
> coming back correctly.
>
>
>
> that is when I look at the app.c file, I see
>
>
>
> return 0x0080
>
>
>
> but the original source code is return FAIL  and FAIL is an enum set to 1.
>
>
>
> I've looked through all the source code looking for 0080 and trying to find
> where FAIL is being changed
>
> and I'm baffled.
>
>
>
> Suggestions on how to find out what is going on?
>
>
>
> eric
>
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

[Tinyos-help] Error on 'make telosb reinstall'

2010-04-26 Thread Steven Hodgson
I have been able to compile and install programs on my motes for several
days.
However, now my programs compile, but have errors when trying to load on to
the motes such as: -
 - [Errno 108] Cannot send after transport endpoint shutdown, or
 - [Errno 19] No such device

i.e.
u...@computer:/opt/tinyos-2.1.0/apps/Blink$ make telosb reinstall
bsl,/dev/ttyUSB0
cp build/telosb/main.ihex build/telosb/main.ihex.out
installing telosb binary using bsl
tos-bsl --telosb -c /dev/ttyUSB0 -r -e -I -p build/telosb/main.ihex.out
MSP430 Bootstrap Loader Version: 1.39-telos-8
Mass Erase...

An error occoured:
[Errno 108] Cannot send after transport endpoint shutdown
make: *** [program] Error 1

I am using tinyos-2.1.0 on Ubuntu 9.10.

If anybody has seen this problem before, and could shed some light, it would
be greatly appreciated.

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

Re: [Tinyos-help] how do i find where a value is being generated?

2010-04-26 Thread Michiel Konstapel
Now that is interesting - I've recently noticed the same thing myself.
Is something redefining FAIL, somewhere?

 

From: tinyos-help-boun...@millennium.berkeley.edu
[mailto:tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of Eric
Decker
Sent: maandag 26 april 2010 12:34
To: Tinyos-Help
Subject: [Tinyos-help] how do i find where a value is being generated?

 

I have a fairly complex program and I'm seeing some of my return codes
not coming back correctly.

 

that is when I look at the app.c file, I see

 

return 0x0080

 

but the original source code is return FAIL  and FAIL is an enum set to
1.

 

I've looked through all the source code looking for 0080 and trying to
find where FAIL is being changed

and I'm baffled.

 

Suggestions on how to find out what is going on?

 

eric



-- 
Eric B. Decker
Senior (over 50 :-) Researcher



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

Re: [Tinyos-help] how do i find where a value is being generated?

2010-04-26 Thread Eric Decker
that works fine.

There are other places in the code where it does a return SUCCESS and it
shows up in the app.c as return SUCCESS.
Its strange because there are other places where return FAIL stays return
FAIL.  But in this section of code it is being
changed from return FAIL to return 0x0080.  I'm trying to find out where and
why it is happening.


On Mon, Apr 26, 2010 at 3:42 AM, Arik Sapojnik  wrote:

> How about changing the return value to something else?
>
>1. Return TRUE;
>2. Return variable.
>3. if/else return statement
>
>
> Arik
>
>
> On Mon, Apr 26, 2010 at 13:34, Eric Decker  wrote:
>
>> I have a fairly complex program and I'm seeing some of my return codes not
>> coming back correctly.
>>
>> that is when I look at the app.c file, I see
>>
>> return 0x0080
>>
>> but the original source code is return FAIL  and FAIL is an enum set to 1.
>>
>> I've looked through all the source code looking for 0080 and trying to
>> find where FAIL is being changed
>> and I'm baffled.
>>
>> Suggestions on how to find out what is going on?
>>
>> eric
>>
>>
>> --
>> Eric B. Decker
>> Senior (over 50 :-) Researcher
>>
>>
>>
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
> --
> Best Regards,
> Arik Sapojnik
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] how do i find where a value is being generated?

2010-04-26 Thread Arik Sapojnik
How about changing the return value to something else?

   1. Return TRUE;
   2. Return variable.
   3. if/else return statement


Arik


On Mon, Apr 26, 2010 at 13:34, Eric Decker  wrote:

> I have a fairly complex program and I'm seeing some of my return codes not
> coming back correctly.
>
> that is when I look at the app.c file, I see
>
> return 0x0080
>
> but the original source code is return FAIL  and FAIL is an enum set to 1.
>
> I've looked through all the source code looking for 0080 and trying to find
> where FAIL is being changed
> and I'm baffled.
>
> Suggestions on how to find out what is going on?
>
> eric
>
>
> --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

[Tinyos-help] how do i find where a value is being generated?

2010-04-26 Thread Eric Decker
I have a fairly complex program and I'm seeing some of my return codes not
coming back correctly.

that is when I look at the app.c file, I see

return 0x0080

but the original source code is return FAIL  and FAIL is an enum set to 1.

I've looked through all the source code looking for 0080 and trying to find
where FAIL is being changed
and I'm baffled.

Suggestions on how to find out what is going on?

eric


-- 
Eric B. Decker
Senior (over 50 :-) Researcher
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (no subject)

2010-04-26 Thread fou fou
Hello

I need a help, of the protocol HMAC

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

[Tinyos-help] (no subject)

2010-04-26 Thread fou fou
Hello

how to convert BlinkToRadio using the HMAC protocol

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