mjmohiuddin | 27 Mar 15:58 2013
Picon

tos-bsl 2.12/2.13


if anyone has tos-bsl2.12/2.13 file. please mail me or send me the link
where i can download

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

wasif masood | 27 Mar 15:15 2013
Picon

Looking for RBS Time synchronization algo code!


Dear All,

I am looking for the tinyos code of "Fine-Grained Network Time Synchronization using Reference Broadcasts" aka RBS protocol. Can someone help me with that!

Regards,
Wasif Masood
<div><div dir="ltr">
<div><br></div>Dear All,<div><br></div>
<div>I am looking for the tinyos code of "Fine-Grained Network Time Synchronization using Reference Broadcasts" aka RBS protocol. Can someone help me with that!<div>

<br>
</div>Regards,<br>Wasif Masood<br>
</div>
</div></div>
mjmohiuddin | 27 Mar 10:48 2013
Picon

tos-bsl problem


Iam getting the tos-bsl problem whenever iam installing Blink program on
telosb mote...

 MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
Traceback (most recent call last):
  File "/usr/bin/tos-bsl", line 1927, in <module>
    main(0);
  File "/usr/bin/tos-bsl", line 1842, in main
    for f in toinit: f()
  File "/usr/bin/tos-bsl", line 1101, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/usr/bin/tos-bsl", line 761, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 443, in comTxRx
    rxHeader, rxNum = self.comRxHeader()        #receive header
  File "/usr/bin/tos-bsl", line 349, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
make: *** [program] Error 1

can i get the solution of it

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

mjmohiuddin | 27 Mar 10:47 2013
Picon

(no subject)


Iam getting the tos-bsl problem whenever iam installing Blink program on
telosb mote...

 MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Mass Erase...
Traceback (most recent call last):
  File "/usr/bin/tos-bsl", line 1927, in <module>
    main(0);
  File "/usr/bin/tos-bsl", line 1842, in main
    for f in toinit: f()
  File "/usr/bin/tos-bsl", line 1101, in actionMassErase
    0xa506)             #Required setting for mass erase!
  File "/usr/bin/tos-bsl", line 761, in bslTxRx
    rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
  File "/usr/bin/tos-bsl", line 443, in comTxRx
    rxHeader, rxNum = self.comRxHeader()        #receive header
  File "/usr/bin/tos-bsl", line 349, in comRxHeader
    if not hdr: raise BSLException("Timeout")
__main__.BSLException: Timeout
make: *** [program] Error 1

can i get the solution of it

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

Sean Dekker | 26 Mar 14:06 2013
Picon

Check if a packet is being received after a given time.

Hi all,
 
It seems that I can't figure out the logic for the following scenario:
 
I have 2 TelosB nodes. and they sending packet to each other every 500 ms. Now if any of the nodes goes out of radio range, I want to light up an led on TelosB to indicate that there was no packet received after like 500 ms.
 
I understand that I might use timers and set a boolean in received() event. But I have difficulties figuring out the logic. Is there a component or interface that takes care of this case by default in TinyOS? If not can you give me some help/hints?
 
Sean.
<div><span><span><div>
<span><span>Hi all,</span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>It seems that I can't figure out the logic for the following scenario:</span></span></div>
<span><span> </span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>I have 2 TelosB nodes. and they sending packet to each other every 500 ms. Now if any of the nodes goes out of radio range, I want to light up an led on TelosB to indicate that there was no packet received after like 500 ms.</span></span></div>
<span><span> </span></span><div><span><span>&nbsp;</span></span></div>
<span><span> </span></span><div><span><span>I understand that I might use timers and set a boolean in received() event. But I have difficulties figuring out the logic. Is there a component or interface that takes care of this case by default in TinyOS? If not can you give me some help/hints?</span></span></div>
</div>
<div>&nbsp;</div>
<div>Sean.</div></span></span></div>
mamzh | 26 Mar 12:47 2013
Picon

about I2C on atmega128

Hi, anyone who cares

      I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using I2C protocol. I2C has some flags such as I2C_START, I2C_ACK_END, I2C_STOP, but no flags for Repeat start. What if I use a sensor which using  I2C this way, just like the picture attached?  

       It signal a repeat start flag after sending Device Address and Register Address. Should I call I2C write command just with I2C_START,(no I2C_STOP), and then call I2C read 1 byte command to get slave device's data? like this:

call I2CPacket.write(I2C_START, MMA8451_I2C_ADDR, 1, i2cBuff)

call I2CPacket.read(I2C_START|I2C_STOP, MMA8451_I2C_ADDR, 1, i2cBuff)


      It should have the same sequence as the picture described.

      Any comment will be appreciated.

Best regards.
<div><div dir="ltr">Hi, anyone who cares<div><br></div>
<div>&nbsp; &nbsp; &nbsp;<span>&nbsp;I'm using Tinyos 2.x to integrate MMA8451 with micaz nodes. MMA8451 is a sensor using&nbsp;</span><span>I2C protocol</span><span>. I2C has some flags such as&nbsp;I2C_START,&nbsp;I2C_ACK_END,&nbsp;I2C_STOP, but no flags for Repeat start. What if I use a sensor which using &nbsp;I2C this way, just like the picture attached?</span><span>&nbsp;</span><span>&nbsp;</span>
</div>
<div><br></div>
<div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;It signal a repeat start flag after sending Device Address and Register Address. Should I call I2C write command just with I2C_START,(no I2C_STOP), and then call I2C read 1 byte command to get slave device's data? like this:</div>
<div><br></div>
<div>
<p class="MsoNormal" align="left"><span lang="EN-US">call I2CPacket.write(I2C_START, MMA8451_I2C_ADDR, 1, i2cBuff)</span><span>&#65307;</span></p>
<p class="MsoNormal" align="left"><span lang="EN-US">call I2CPacket.read(I2C_START|I2C_STOP, MMA8451_I2C_ADDR, 1, i2cBuff)</span><span>&#65307;</span></p>
<p class="MsoNormal" align="left"><span><br></span></p>
</div>
<div>&nbsp; &nbsp; &nbsp; It should have the same sequence as the picture described.</div>
<div><br></div>
<div>&nbsp; &nbsp; &nbsp; Any comment will be appreciated.</div>
</div>
<div><br></div>
<div>Best regards.</div> 		 	   		  </div></div>
mjmohiuddin | 26 Mar 04:37 2013
Picon

Fwd: error in creating a new platform


> 
> Error while creating a new platform. i have added all the files required
> to create a new platform...
> iam getting an error like this
> 
> root <at> Jamal:/opt/tinyos-main/apps/Null# make iwise
> mkdir -p build/iwise
>     compiling NullAppC to a iwise binary
> 
>     WARNING: Minimum recommended msp430-gcc version for this TinyOS
> release is 4.6.3!!!
> 
> ncc -o build/iwise/main.exe  -Os -fnesc-separator=__ -Wall -Wshadow
> -Wnesc-all -target=iwise -fnesc-cfile=build/iwise/app.c -board=
> -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"NullAppC\"
> -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"Jamal\"
> -DIDENT_USERHASH=0xe00c9accL -DIDENT_TIMESTAMP=0x51509d42L
> -DIDENT_UIDHASH=0xcb4338afL  NullAppC.nc -lm 
> In file included from /opt/tinyos-main/tos/system/TinySchedulerC.nc:52:
> In component `McuSleepC':
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc: In function
> `getPowerState':
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `ME1' undeclared (first
> use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: (Each undeclared
> identifier is reported only once
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: for each function it
> appears in.)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `UTXE0' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `URXE0' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `U0TCTL' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:81: `SSEL1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `ME2' undeclared (first
> use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `UTXE1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `URXE1' undeclared
> (first use in this function)
> /opt/tinyos-main/tos/chips/msp430/McuSleepC.nc:82: `U1TCTL' undeclared
> (first use in this function)
> make: *** [exe0] Error 1
> 
> 
> can i know what changes we have to make to remove this....???

--

-- 

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

ravi | 25 Mar 21:46 2013
Picon

Multi Hop, Message Forwarding


Hi,

I am currently working on a project which implements Multi hop network in TinyOS. Can anyone help me with the code to transmit or forward the same message that has been recieved by mote or give me the interfaces that would enable me to forward the same message that has been recieved from some other mote.

Thanks in advance.

Regards,
--
S.Ravindra Naik,
B.tech 4th year,
Mathematics & Computing,
India
<div><div dir="ltr">
<br clear="all"><div>
<div>
<div>Hi,<br><br>
</div>I am currently working on a project 
which implements Multi hop network in TinyOS. Can anyone help me with 
the code to transmit or forward the same message that has been recieved 
by mote or give me the interfaces that would enable me to forward the 
same message that has been recieved from some other mote.<br><br>
</div>Thanks in advance.<br><br>
</div>Regards,<br><div>--<br>S.Ravindra Naik,<br>B.tech 4th year,<br>Mathematics &amp; Computing,<br>
</div>India<br>
</div></div>
Xiaohui Liu | 25 Mar 19:43 2013

does shadow fading change if obstacles are fixed?

Hello everybody,

I have a generic question regarding shadowing effect and hope somebody in the mailing list can give me a hint, even though it is not TinyOS-specific.

Given a RF sender and a receiver, suppose the obstacles between them are fixed, both their material and dielectric properties, does the path loss caused by their shadowing vary? If yes, what causes the variation? If not, why is it generally modeled as a log-normal random variable? We can assume there is only one path between the sender and receiver if this simplifies the question.

Thanks and look forward to your reply.

--
-Xiaohui Liu
TelosB
<div>
<div class="gmail_quote">Hello everybody,<br><div><br></div>
<div>I have a generic question regarding shadowing effect and hope somebody in the mailing list can give me a hint, even though it is not TinyOS-specific.</div>
<div>
<br>
</div>
<div>Given a RF sender and a receiver, suppose the obstacles between them are fixed, both their material and dielectric properties, does the path loss caused by their shadowing vary? If yes, what causes the variation? If not, why is it generally modeled as a log-normal random variable? We can assume there is only one path between the sender and receiver if this simplifies the question.</div>

<div>
<div><br></div>
<div>Thanks and look forward to your reply.</div>
<span class="HOEnZb"><div><br></div></span>
</div>
</div>-- <br>-Xiaohui Liu<div>TelosB</div>
<div>TinyOS 2.1.2<br><div><a href="http://www.cs.wayne.edu/xliu/" target="_blank">www.cs.wayne.edu/xliu/</a></div>
</div>
</div>
Suresh Kumar Das | 25 Mar 13:56 2013
Picon

make micaz sim error


When I compile my program it's showing the following error. From last couple of days I am trying to solve the error but unable to succeed.
Please help me.

In component `SMACAppC.AMSenderC.SenderC.AMQueueEntryP':
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc: In function `Send.sendDone':
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc(SMACAppC.AMSenderC.SenderC.AMQueueEntryP):58: AMSend.sendDone not connected
In component `TossimPacketModelC':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `startDoneTask.runTask':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:96: Control.startDone not connected
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `stopDoneTask.runTask':
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:101: Control.stopDone not connected


Thanks in advance
--
Best regards,
Suresh Kumar Das
M Tech , Computer Science
University of Hyderabad
Mob-8500862609
Mail id-das.suresh008 <at> gmail.com
<div>
<br clear="all">When I compile my program it's showing the following error. From last couple of days I am trying to solve the error but unable to succeed.<br>Please help me. <br><br>In component `SMACAppC.AMSenderC.SenderC.AMQueueEntryP':<br>
/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc: In function `Send.sendDone':<br>/opt/tinyos-2.1.1/tos/system/AMQueueEntryP.nc(SMACAppC.AMSenderC.SenderC.AMQueueEntryP):58: AMSend.sendDone not connected<br>In component `TossimPacketModelC':<br>
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `startDoneTask.runTask':<br>/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:96: Control.startDone not connected<br>/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc: In function `stopDoneTask.runTask':<br>
/opt/tinyos-2.1.1/tos/lib/tossim/TossimPacketModelC.nc:101: Control.stopDone not connected<br><br><br>Thanks in advance<br>-- <br>Best regards,<br>Suresh Kumar Das<br>M Tech , Computer Science<br>University of Hyderabad<br>
Mob-8500862609<br>Mail <a href="mailto:id-das.suresh008 <at> gmail.com" target="_blank">id-das.suresh008 <at> gmail.com</a><br>
</div>
He Dajiang (I2R | 25 Mar 03:56 2013
Picon

Block Read/Write issue in 2.1.x

Hi,

I am trying to do a Block Write to the internal flash memory, but it alway hang at the write sync command on
tinyos 2.1.x.  But when I change to the newest version 2.1.2, it is ok. Can anyone tell what is the driver
difference between 2.1.2 and earlier versions? Thx.

Best Regard

Institute for Infocomm Research disclaimer:  "This email is confidential and may be privileged. If you are
not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any
purpose, or disclose its contents to any other person. Thank you."


Gmane