[Tinyos-help] need help: XM2110, mib520 (xbow)

Javier Barbaran (OTRI Manuel Diaz 01-03-05) barbaran at lcc.uma.es
Mon Jun 1 13:14:53 PDT 2009


Hi Thomas, 

There are two main options to program Iris and Iris OEM motes. First one, is 
to use the Moteworks software provided by Crossbow (supported by TinyOS 
1.x), on the other hand, you could use TinyOS 2.1 (cygwin or linux). 

I assume that you are running TinyOS 2.1, so if you want to install Blink 
application, the following command should work: 

make iris install.3 mib520,COM3 

where the 3 number is the mote ID.
where COM3 is the COM port where the Mib520 is attached in your computer. 

Hope this helps. 

In addition, let me give you some advices: 

In the case of Moteworks, you can use Moteconfig tool, so you dont need to 
know the sintax of the commands to program motes. But particularly I would 
remommend you to use TinyOS 2.1, cause the protocol, the programming 
language, and so on is better. Just be careful, if you are using MDA300 
sensorboard or MTS410.. you should check before of taking a decision, cause 
some the drivers for those sensorboards are present in MoteWorks (provided 
by Crossbow), and are not offered in TinyOS yet, so you will have to develop 
by yourself. 

tinyos-help-request at millennium.berkeley.edu writes: 

> Send Tinyos-help mailing list submissions to
> 	tinyos-help at millennium.berkeley.edu 
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
> 
> or, via email, send a message with subject or body 'help' to
> 	tinyos-help-request at millennium.berkeley.edu 
> 
> You can reach the person managing the list at
> 	tinyos-help-owner at millennium.berkeley.edu 
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tinyos-help digest..." 
> 
> 
> Today's Topics: 
> 
>    1. need help: XM2110, mib512 (xbow). (Thomas Obermayer)
>    2. The message format for TraceRouteTestAODV application
>       (Ahlam.Bencheikh at loria.fr)
>    3. Re: need help: XM2110, mib512 (xbow). (Janos Sallai)
>    4. Time Interval (Jane)
>    5. Re: Using AVRISP Programmer !! (Janos Sallai)
>    6. Re: Time Interval (Ruben Catteeuw)
>    7. Re: need help: XM2110, mib512 (xbow). (Thomas Obermayer)
>    8. Re: The message format for TraceRouteTestAODV	application
>       (Michael Schippling) 
> 
> 
> ---------------------------------------------------------------------- 
> 
> Message: 1
> Date: Mon, 1 Jun 2009 13:28:43 +0200
> From: Thomas Obermayer <tobermayer80 at googlemail.com>
> Subject: [Tinyos-help] need help: XM2110, mib512 (xbow).
> To: tinyos-help at millennium.berkeley.edu
> Message-ID:
> 	<8a7b56ed0906010428h61837cb4v323c819f766153a3 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1 
> 
> Hi.
> First thing I have to say is that I am a beginner to this topics. So
> please help me with my problem. 
> 
> My hardware:
> -Base station: MIB 520 (USB Blackbox)
> -XM2110 (Iris)
> -MTS420CC (with GPS Module) 
> 
> First I tried to get the blink example running. But I did not have
> success. The LED of the XM2110 did not blink. Instead the red led of
> the base station is now blinking.
> So my question is how I can load the blink project to the XM2110 and
> set the base state in normal mode again. 
> 
> For the compiling and installing I used the commands:
> make iris
> make iris install,com3
> as described at MoteWorks_Getting_Started_Guide 
> 
> My goal is to get the GPS working. I thought the blink example is a
> good access... 
> 
> Can someone help me? please...
> Thomas 
> 
> 
> ------------------------------ 
> 
> Message: 2
> Date: Mon, 01 Jun 2009 14:10:30 +0200
> From: Ahlam.Bencheikh at loria.fr
> Subject: [Tinyos-help] The message format for TraceRouteTestAODV
> 	application
> To: TinyOS help <tinyos-help at millennium.berkeley.edu>
> Message-ID: <20090601141030.15426ujyvhtg0piu at webmail.loria.fr>
> Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
> 	format="flowed" 
> 
> Hello
> I m working with the protocol AODV(implemented in /contrib/hsn).
> I have 4 motes:
> one SINK with in ID=0 , one Base Station with ID=1 and the 2 others  
> have successively ID=2 and ID=4.
> I have executed Listen to show the packets that are coming from motes  
> (ID=2;ID=4) to Sink_Node.So i have obtained this result:
> FF FF 0D 7D 0B 02 00 00 02 01 00 01 00 00 00 00
> 02 00 0E 7D 07 00 00 00 02 00 00 00
> FF FF 0D 7D 0B 04 00 00 02 01 00 01 00 00 00 01
> 00 00 09 7D 1D 02 01 02 00 03 15 00 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> FF FF 0D 7D 0B 04 01 00 04 01 00 01 00 00 00 00
> 04 00 0E 7D 07 00 01 00 04 00 00 00
> FF FF 0D 7D 0B 02 02 00 04 01 00 01 00 00 00 01
> 00 00 09 7D 1D 04 02 04 00 03 15 00 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 03 02 00 03 15 01 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 03 04 00 03 15 01 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 04 02 00 03 15 02 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 04 04 00 03 15 02 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 05 02 00 03 15 03 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 05 04 00 03 15 03 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 06 02 00 03 15 04 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 06 04 00 03 15 04 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 07 02 00 03 15 05 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 07 04 00 03 15 05 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 08 02 00 03 15 06 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 08 04 00 03 15 06 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 02 09 02 00 03 15 07 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00
> 00 00 09 7D 1D 04 09 04 00 03 15 07 19 00 00 00 00 00 00 00 00 00 00  
> 00 00 00 00 00 00 00 00 00 00 00 
> 
> I have identified the header of these messages ; but my problem is how  
> can I identify the payload??
> I m trying to understand the different programs implemented in  
> /contrib/hsn/tos to pick out the payload shown in this case.
> I need our help.
> Thanks 
> 
>  
> 
> ------------------------------ 
> 
> Message: 3
> Date: Mon, 1 Jun 2009 10:45:04 -0500
> From: Janos Sallai <sallai at isis.vanderbilt.edu>
> Subject: Re: [Tinyos-help] need help: XM2110, mib512 (xbow).
> To: Thomas Obermayer <tobermayer80 at googlemail.com>,	tinyos forum
> 	<tinyos-help at millennium.berkeley.edu>
> Message-ID:
> 	<18201740906010845v1ca535fcid61d51447d84105d at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1 
> 
> Thomas, 
> 
> Do you use MoteWorks or TinyOS 2.1? 
> 
> Janos 
> 
> On Mon, Jun 1, 2009 at 6:28 AM, Thomas Obermayer
> <tobermayer80 at googlemail.com> wrote:
>> Hi.
>> First thing I have to say is that I am a beginner to this topics. So
>> please help me with my problem. 
>>
>> My hardware:
>> -Base station: MIB 520 (USB Blackbox)
>> -XM2110 (Iris)
>> -MTS420CC (with GPS Module) 
>>
>> First I tried to get the blink example running. But I did not have
>> success. The LED of the XM2110 did not blink. Instead the red led of
>> the base station is now blinking.
>> So my question is how I can load the blink project to the XM2110 and
>> set the base state in normal mode again. 
>>
>> For the compiling and installing I used the commands:
>> make iris
>> make iris install,com3
>> as described at MoteWorks_Getting_Started_Guide 
>>
>> My goal is to get the GPS working. I thought the blink example is a
>> good access... 
>>
>> Can someone help me? please...
>> Thomas
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
>>
>  
> 
> ------------------------------ 
> 
> Message: 4
> Date: Mon, 1 Jun 2009 08:49:06 -0700 (PDT)
> From: Jane <janesjunkbox at yahoo.com>
> Subject: [Tinyos-help] Time Interval
> To: tinyos-help at millennium.berkeley.edu
> Message-ID: <321028.41593.qm at web56008.mail.re3.yahoo.com>
> Content-Type: text/plain; charset="us-ascii" 
> 
> I want to implement a loop that sends a jamming signal over a random period of time, sleeps for a random period. I found the Random interface, but not sure how to implement the time intervals. Is there a interface I could use to perform the task? I have IRIS rf230. Thanks! 
> 
> YanYan 
> 
>  
> 
> 
>       
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090601/bce8077a/attachment-0001.htm  
> 
> ------------------------------ 
> 
> Message: 5
> Date: Mon, 1 Jun 2009 10:55:45 -0500
> From: Janos Sallai <sallai at isis.vanderbilt.edu>
> Subject: Re: [Tinyos-help] Using AVRISP Programmer !!
> To: Fahad Al-Jabarti <fahad_301 at hotmail.com>,	tinyos forum
> 	<tinyos-help at millennium.berkeley.edu>
> Message-ID:
> 	<18201740906010855v346db3d4u16ae464f6fbd6f4c at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1 
> 
> Fahad, 
> 
> make micaz install avrisp,/dev/ttySX should work. Replace /dev/ttySX
> with whatever port your avrisp is connected. 
> 
> Janos 
> 
> 2009/5/29 Fahad Al-Jabarti <fahad_301 at hotmail.com>:
>> Hi everyone,
>> I'm building my own custom node ( which has the features of Micaz
>> Platform)... now I'm trying to install applications on it... 
>>
>> I only have AVRISP programmer, is it possible to use it to install ??? ?If
>> yes, how would i do that ?? 
>>
>>
>> Cheers
>> Fahad
>> ________________________________
>> Express yourself instantly with MSN Messenger! MSN Messenger
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
>>
>  
> 
> 
> ------------------------------ 
> 
> Message: 6
> Date: Mon, 1 Jun 2009 15:59:05 +0000
> From: Ruben Catteeuw <rubencatteeuw at hotmail.com>
> Subject: Re: [Tinyos-help] Time Interval
> To: <janesjunkbox at yahoo.com>, <tinyos-help at millennium.berkeley.edu>
> Message-ID: <BAY128-W90FC07A7734A26B69E538A14C0 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1" 
> 
> 
> Hi, 
> 
>   
> 
> Why not just generate a random number with the Random interface and then initialize a timer with this value? 
> 
>   
> 
> regards 
> 
>   
> 
> Ruben
>   
> 
> 
> Date: Mon, 1 Jun 2009 08:49:06 -0700
> From: janesjunkbox at yahoo.com
> To: tinyos-help at millennium.berkeley.edu
> Subject: [Tinyos-help] Time Interval 
> 
>  
> 
>  
> 
> I want to implement a loop that sends a jamming signal over a random period of time, sleeps for a random period. I found the Random interface, but not sure how to implement the time intervals. Is there a interface I could use to perform the task? I have IRIS rf230. Thanks! 
> 
> YanYan 
> 
>  
> 
> _________________________________________________________________
> Je hele online leven op ??n stek met Windows Live
> http://www.microsoft.com/belux/nl/windows/windowslive/default.aspx
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090601/278d70ec/attachment-0001.htm  
> 
> ------------------------------ 
> 
> Message: 7
> Date: Mon, 1 Jun 2009 18:18:13 +0200
> From: Thomas Obermayer <tobermayer80 at googlemail.com>
> Subject: Re: [Tinyos-help] need help: XM2110, mib512 (xbow).
> To: tinyos-help at millennium.berkeley.edu
> Message-ID:
> 	<8a7b56ed0906010918m74a96a4amab64a8051ded1548 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1 
> 
> I use MoteWorks. I thought this based on TinyOS.
> But I would also use the standard TinyOS method if this works.
> How should I do that? Are there any HOWTOs or something like that? 
> 
> Thomas 
> 
> On 6/1/09, Janos Sallai <sallai at isis.vanderbilt.edu> wrote:
>> Thomas, 
>>
>> Do you use MoteWorks or TinyOS 2.1? 
>>
>> Janos 
>>
>> On Mon, Jun 1, 2009 at 6:28 AM, Thomas Obermayer
>> <tobermayer80 at googlemail.com> wrote:
>>> Hi.
>>> First thing I have to say is that I am a beginner to this topics. So
>>> please help me with my problem. 
>>>
>>> My hardware:
>>> -Base station: MIB 520 (USB Blackbox)
>>> -XM2110 (Iris)
>>> -MTS420CC (with GPS Module) 
>>>
>>> First I tried to get the blink example running. But I did not have
>>> success. The LED of the XM2110 did not blink. Instead the red led of
>>> the base station is now blinking.
>>> So my question is how I can load the blink project to the XM2110 and
>>> set the base state in normal mode again. 
>>>
>>> For the compiling and installing I used the commands:
>>> make iris
>>> make iris install,com3
>>> as described at MoteWorks_Getting_Started_Guide 
>>>
>>> My goal is to get the GPS working. I thought the blink example is a
>>> good access... 
>>>
>>> Can someone help me? please...
>>> Thomas
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> Tinyos-help at millennium.berkeley.edu
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
>>>
>>
>  
> 
> ------------------------------ 
> 
> Message: 8
> Date: Mon, 01 Jun 2009 10:49:52 -0600
> From: Michael Schippling <schip at santafe.edu>
> Subject: Re: [Tinyos-help] The message format for TraceRouteTestAODV
> 	application
> To: Ahlam.Bencheikh at loria.fr
> Cc: TinyOS help <tinyos-help at millennium.berkeley.edu>
> Message-ID: <4A2406B0.4060801 at santafe.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 
> 
> One needs to know the platform and TOS version to make a full
> determination because the structures differ in various fun ways.
> However the first line of data appears to be standard T1 serial
> format with 5 bytes of header, matching to tos/system/types/AM.h,
> and 11 bytes of payload, which should match to whatever message
> struct is assigned the 0x0D type. I don't know what the second
> line, or subsequent lines that don't start with FF FF, represent.
> Though the 02 00 and 00 00 lines seems to have the same message
> format with different addresses and payload sizes. 
> 
> My general decoding algorithm is to find the sync mark, which Listen
> removes and uses to trigger a newline. Then determine the header type
> and match the various fields byte by byte, in low-byte-first order for
> larger ints. Unless of course someone has used the nx types, for which
> it's high byte first, but not in the headers... Easy, no? 
> 
> MS 
> 
> Ahlam.Bencheikh at loria.fr wrote:
>> Hello
>> I m working with the protocol AODV(implemented in /contrib/hsn).
>> I have 4 motes:
>> one SINK with in ID=0 , one Base Station with ID=1 and the 2 others  
>> have successively ID=2 and ID=4.
>> I have executed Listen to show the packets that are coming from motes  
>> (ID=2;ID=4) to Sink_Node.So i have obtained this result:
>> FF FF 0D 7D 0B 02 00 00 02 01 00 01 00 00 00 00
>> 02 00 0E 7D 07 00 00 00 02 00 00 00
>> FF FF 0D 7D 0B 04 00 00 02 01 00 01 00 00 00 01
>> 00 00 09 7D 1D 02 01 02 00 03 15 00 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> FF FF 0D 7D 0B 04 01 00 04 01 00 01 00 00 00 00
>> 04 00 0E 7D 07 00 01 00 04 00 00 00
>> FF FF 0D 7D 0B 02 02 00 04 01 00 01 00 00 00 01
>> 00 00 09 7D 1D 04 02 04 00 03 15 00 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 03 02 00 03 15 01 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 03 04 00 03 15 01 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 04 02 00 03 15 02 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 04 04 00 03 15 02 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 05 02 00 03 15 03 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 05 04 00 03 15 03 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 06 02 00 03 15 04 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 06 04 00 03 15 04 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 07 02 00 03 15 05 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 07 04 00 03 15 05 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 08 02 00 03 15 06 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 08 04 00 03 15 06 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 02 09 02 00 03 15 07 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00
>> 00 00 09 7D 1D 04 09 04 00 03 15 07 19 00 00 00 00 00 00 00 00 00 00  
>> 00 00 00 00 00 00 00 00 00 00 00 
>> 
>> I have identified the header of these messages ; but my problem is how  
>> can I identify the payload??
>> I m trying to understand the different programs implemented in  
>> /contrib/hsn/tos to pick out the payload shown in this case.
>> I need our help.
>> Thanks 
>> 
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>  
> 
> ------------------------------ 
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
> 
> End of Tinyos-help Digest, Vol 74, Issue 1
> ******************************************


More information about the Tinyos-help mailing list