Re: [Tinyos-help] programmer is no respoding for ubuntu10.10 and tinyso2.1.0

2011-06-29 Thread Eric Decker
so use /dev/ttyUSB0.

If you want to figure out what is going on take a look at the node links for
each of the devices.

look at

ls -l /dev/ttyUSB0

and

ls -l /dev/ttyS0

I don't understand why you think two different devices should behave the
same way.

2011/6/29 zhou2090 

>
>
>
> >
>
> >Hi,>.when i used the mib520 which combined with USB,text command
>
> make micaz install mib510,/dev/ttyUSB0
>
> OR
>
> make micaz install mib520,/dev/ttyUSB0
>
> it worked well ,there was any error!
>
> but when i text command like this with mib510 in ttyS0/ttyS1
>
> make micaz install mib510,/dev/ttyS0
>
> it echo "programmer is no responding"
>
> somtime " Device or resource is busy "
>
> please help me out!!!
>
> thanks for your reply, Best
>
> zhou  China
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
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] programmer is no respoding for ubuntu10.10 and tinyso2.1.0

2011-06-29 Thread zhou2090





>

>Hi,>.when i used the mib520 which combined with USB,text command

make micaz install mib510,/dev/ttyUSB0

OR

make micaz install mib520,/dev/ttyUSB0

it worked well ,there was any error!

but when i text command like this with mib510 in ttyS0/ttyS1

make micaz install mib510,/dev/ttyS0

it echo "programmer is no responding"

somtime "Device or resource is busy"

please help me out!!!

thanks for your reply, Best

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

Re: [Tinyos-help] TYMO

2011-06-29 Thread vinh.pham
Hi.

 

If you have installed correctly, the DymoNetworkC should be under the  
/tinyos-2.x/tos/lib/net/tymo/dymo folder.

 

Fra: tinyos-help-boun...@millennium.berkeley.edu 
[mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali 
Gunawardena
Sendt: 28. juni 2011 13:08
Til: tinyos-help@millennium.berkeley.edu
Emne: [Tinyos-help] TYMO

 

Hi,

I was trying to use the TYMO example as in teh tutorials and realized that I do 
not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have 
to get them and install them separately. If so how can I get about with this. 

Thanks in advance.

Shamali 

___
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 "tos-check-env"

2011-06-29 Thread Andrew Sabelhaus
Farah,

Check the TinyOS wiki for a full guide on everything you need to install for
a working environment. In your case, it seems your system is missing both
java and graphviz (which is "semi-optional" anyway). Under ubuntu, you'd
probably run

sudo apt-get install sun-java6-jre

...or some similar java package. Either way, an error in tos-check-env does
not necessarily indicate that your install won't work, but its output is a
good place to start debugging if you can't compile an app / an app doesn't
function correctly.

-Andrew

On Tue, Jun 28, 2011 at 10:22 AM, Ben Ahmed Farah  wrote:

> Hi,
> i just installed TinyOS on ubuntu 10.04  and i make this command to check
> that the environment is setup correctly : tos-check-env
> the output of this command is:
>
> " tos-check-env completed with errors:
> --> WARNING : The JAVA version found first by tos-check-env may not be
> version 1.4
> or version 1.5 one of which is equired by TOS. Please ensure that the
> located version is 1.4 or 1.5
> --> WARNING : The graphviz (dot) version found by tos-check-env is not
> 1.10. Please update your graphviz version if you'd like to use the nescdoc
> documentation generator.
>
> please how can i correct this errors?
>
> thks a lot.
>
> Farah.
>
>
>
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Andrew Sabelhaus
Cell: (301) 807-9842
andrew.sabelh...@gmail.com
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Need help on setting CLASSPATH

2011-06-29 Thread Andrew Sabelhaus
Zhuo,

The $CLASSPATH variable for your shell (probably bash) need to be set up to
include TinyOS's directories every time you run it (i.e. open up a terminal
window), so you need to either:
1) Run the script that Joao references every time you open up a new
terminal, which can be done by modifying your ~/.bashrc file to run the
tinyos.sh script that Joao cut-and-pasted here
2) Permanently add these variables to your system, which could possibly muck
things up and become unreliable.

In short, cut and paste Joao's code into a new file, and add the full path
to that file (for example, on my virtual machine, /opt/tinyos/tinyos.sh) to
~/.bashrc. Then open up a new terminal and, and your environment variables
should be set up correctly (check them by doing "echo $CLASSPATH" or
whichever other one you'd need.)

-Andrew

2011/6/28 João Gonçalves 

> Didn't you source from a script like this?
>
> #! /usr/bin/env bash
> # Here we setup the environment
> # variables needed by the tinyos
> # make system
>
> echo "Setting up for TinyOS"
> export TOSROOT=
> export TOSDIR=
> export MAKERULES=
>
> TOSROOT="/opt/tinyos-2.x"
> TOSDIR="$TOSROOT/tos"
> CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java/tinyos.jar
> PYTHONPATH=.:$TOSROOT/support/sdk/python:$PYTHONPATH
> MAKERULES="$TOSROOT/support/make/Makerules"
>
> export TOSROOT
> export TOSDIR
> export CLASSPATH
> export PYTHONPATH
> export MAKERULES
> export PATH=$PATH:/opt/msp430-gcc-4.4.5/bin
>
>
> On Tue, Jun 28, 2011 at 2:54 AM, 陈卓  wrote:
>
>> Hi,
>>
>> I ran $ tos-check-env on my computer and there are several warnings shown 
>> up. One of them says "CLASSPATH may not include ...". Would you please help 
>> me on setting the CLASSPATH?
>>
>>
>> Thanks,
>>
>> Zhuo Chen
>> --
>> Lab of Next Generation Network
>> Dept. of Electronic Engineering
>> Tsinghua University
>> Beijing, 100084, China
>> e-mail: chenzhu...@mails.tsinghua.edu.cn
>> cell: 15120003979
>>
>>
>> ___
>> 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
>



-- 
Andrew Sabelhaus
Cell: (301) 807-9842
andrew.sabelh...@gmail.com
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Problems with TYMO RREQ message

2011-06-29 Thread antonio rosa
Hello to all,

I'm workign with Tymo implementation provides by TinyOS-2.1. I have found an
internal serius problem in the protocol.  I have a network with  several
nodes and a basestation  with Tymo. Randomly, when the basestation requests
a path to a target node, with the message RREQ, it begins sending RREQs to
target node, but suddenly it change de target destination of the RREQ  for a
random destination and the basestation go into a loop. I don't know why it
happens, I ask you if you can help me. I attached some trafic capture
examples of the problems:

00 00 06 00 01 09 06 09 03 30 00 01 00 06 00 20 00
00 FF FF 00 01 0B 06 08 0C 00 0B 08 00 03 01 00 06 00 0E
00 FF FF 00 01 10 06 08 *0A* 00 10 08 00 01 01 *00 06* 07 01 00 01 00 0B 00
Basestation send a broadcast RREQ request path to 0006 node.
00 FF FF 00 01 10 06 08 *0A* 00 10 08 00 01 01* 00 06* 07 01 00 01 00 0C 00
00 FF FF 00 01 10 06 08 *0A* 00 10 08 00 01 01 *00 06* 07 01 00 01 00 0D 00
00 00 01 00 06 10 06 08 0B 00 10 08 00 07 02 00 01 00 0D 01 06 00 0F 00
00 FF FF 00 01 10 06 08 *0A *00 10 08 00 01 01 *E4 E4* 07 01 00 01 00 0E 00
Basestation send a broadcast RREQ request path to E4E4 node
00 FF FF 00 01 10 06 08* 0A *00 10 08 00 01 01 *E4 E4* 07 01 00 01 00 0F 00
and this node doesn't exists. Afther send several RREQ to E4E4
00 FF FF 00 01 10 06 08 0A 00 10 08 00 01 01 E4 E4 07 01 00 01 00 10 00  go
into a loop and the basestation crashes.
00 FF FF 00 06 10 06 08 0A 00 10 07 01 01 01 E4 E4 07 01 00 01 00 10 01
00 FF FF 00 01 10 06 08 0A 00 10 08 00 01 01 E4 E4 07 01 00 01 00 11 00
.
.
.
.
loop.
...
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyOS Timer issue with IRIS+MTS310CB

2011-06-29 Thread Achintha Maddumabandara
Hi,

I'm using MTS310CB sensor board with IRIS mote.
I need to sample the Tone Detector in every millisecond.
So I'm thinking of using a Timer with 1ms interval.

But when I run the code it didn't work.
It worked only when the timer interval is greater than or equal to 3ms.
Is there a problem with my approach?

Here is the code

  event TOS_MsgPtr ReceiveMsg.receive(TOS_MsgPtr m){
call Leds.yellowToggle();
call TimerSample.start(TIMER_REPEAT, 1);
return m;
  }

   event result_t TimerSample.fired()
  {
call TimerSample.stop();
call Leds.redToggle();
return SUCCESS;
  }

Please help
Achintha

--
Mr. Achintha Maddumabandara
Department of Electrical and Computer Engineering,
Schulich School of Engineering,
University of Calgary,
Canada

==
Every living thing has a right to live!
Including the little lamb :)
--

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


[Tinyos-help] Re : LowPowerSensing Application

2011-06-29 Thread lue ikhong
-- Forwarded message --
From: lue ikhong 
Date: Thu, Jun 30, 2011 at 10:59 AM
Subject: Re: [Tinyos-help] Re : LowPowerSensing Application
To: mavazquez.at.c...@gmail.com


Hi,
I have a compilation error when i tried to run Testlpl application on
Tinynode. This is the command i input “make tinynode” and I got this
error:

TestLplC.nc: interface has no command or event named ‘setLocalWakeupInterval’
TestLplC.nc:78: interface has no command or event named ‘setlocalwakeupinterval’
.
.
.
TestLplAppc.nc:58:2:error:#error “LPL testing not supported on this platform”
In component ‘TestLplAppc’:
TestLplAppc.nc: At top level:
TestLplAppC.nc:68:cannot find ‘LplRadio’
Make:***[exe0] Error 1

Anyone please help me? Thanks!

Lue Ik Hong

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


Re: [Tinyos-help] could you please help me about NameError: name 'SerialForwarder' is not defined

2011-06-29 Thread Mr.Thanakorn Prasansri

Now i can run ./TestSerial.py as well after i do this step.
- change PYTHON_VERSION=2.5  or your current python version
in /opt/tinyos-2.x-contrib/csm/tos/lib/tossim/sim-sf.extra
 
- make micaz again by  make micaz sim-sf
 
- run ./TestSerial.py  again

 
 

Mr.Thanakorn Prasansri

 



From: imissyo...@hotmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: could you please help me about NameError: name 'SerialForwarder' is 
not defined
Date: Tue, 28 Jun 2011 19:53:43 +0700





 
Hi,
 
i got error when i run ./TestSerial.py
i think SerialForwarder is not import to TestSerial.py yet.
Please help

 
# ./TestSerial.py
Traceback (most recent call last):
  File "./TestSerial.py", line 50, in 
sf = SerialForwarder(9002)
NameError: name 'SerialForwarder' is not defined

Thank you

Mr.Thanakorn Prasansri
Gd student khonkhen university Thailand

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

[Tinyos-help] Fwd: Re : LowPowerSensing Application

2011-06-29 Thread lue ikhong
-- Forwarded message --
From: lue ikhong 
Date: Thu, Jun 30, 2011 at 10:59 AM
Subject: Re: [Tinyos-help] Re : LowPowerSensing Application
To: mavazquez.at.c...@gmail.com


Hi,
I have a compilation error when i tried to run Testlpl application on
Tinynode. This is the command i input “make tinynode” and I got this
error:

TestLplC.nc: interface has no command or event named ‘setLocalWakeupInterval’
TestLplC.nc:78: interface has no command or event named ‘setlocalwakeupinterval’
.
.
.
TestLplAppc.nc:58:2:error:#error “LPL testing not supported on this platform”
In component ‘TestLplAppc’:
TestLplAppc.nc: At top level:
TestLplAppC.nc:68:cannot find ‘LplRadio’
Make:***[exe0] Error 1

Anyone please help me? Thanks!

Lue Ik Hong

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


tinyos-help@millennium.berkeley.edu

2011-06-29 Thread Romain Bornet
Hi

I'm not aware of a port of TinyOS to the x86 architecture.

The only thing I can remember was an experimental port of TinyOS as a
Xen Hypervisor guest but in this case, TinyOS does not run natively on
the board but as a virtual guest.
http://www.dcs.gla.ac.uk/publications/PAPERS/9132/MacleanProjectReport.pdf

TinyOS is typically intended for ultra low-power resource constrained
microcontrollers. On Soekris boards, you have much more resources
(CPU, memory) and more complex hardware which is, in my opinion,
better handled by other operating systems. What are your concrete
needs ?

Regards
 Romain

On Wed, Jun 29, 2011 at 4:49 PM, om mehaj  wrote:
> hello,
> Please is there anyone who has already install TinyOS on soekris ?
> Thank's
>
> ___
> 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] make iris sim error

2011-06-29 Thread Ramana Reddy
Just install python-dev package.
$sudo apt-get install python-dev

In case, if you already installed, please change PYTHON_VERSION in /opt/*
tinyos*-2.0/support/make/*sim*.*extra* from 2.5 to 2.6.
You can get python version by typing python at command prompt.




On Thu, Jun 30, 2011 at 12:54 AM, vinod kumar  wrote:

> make iris sim error on ubuntu:
> opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:20: error: Python.h: No
> such file or directory
> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2501:4: error: #error "This
> python version requires swig to be run with the '-classic' option"
> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:744: error: expected
> initializer before ‘*’ token
> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:799: error: expected
> initializer before ‘*’ token
> /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:820: error: expected
> initializer before ‘*’ token
> In file included from /usr/include/c++/4.4/stdexcept:38,
>  from /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2520:
> /usr/include/c++/4.4/exception:35: error: expected declaration before end
> of line
> make: *** [sim-exe] Error 1
>
>
> ___
> 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] make iris sim error

2011-06-29 Thread vinod kumar
make iris sim error on ubuntu:
opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:139:20: error: Python.h: No
such file or directory
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2501:4: error: #error "This
python version requires swig to be run with the '-classic' option"
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:744: error: expected
initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:799: error: expected
initializer before ‘*’ token
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:820: error: expected
initializer before ‘*’ token
In file included from /usr/include/c++/4.4/stdexcept:38,
 from /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2520:
/usr/include/c++/4.4/exception:35: error: expected declaration before end of
line
make: *** [sim-exe] Error 1
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] path

2011-06-29 Thread vinod kumar
export TOSROOT=/opt/tinyos-2.x
export TOSDIR=$TOSROOT/tos

export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java`

export CLASSPATH="$CLASSPATH;."

export MAKERULES=$TOSROOT/support/make/Makerules
export PATH=/opt/msp430/bin:/opt/jflashmm:$TOSROOT/tools_bin/bin:$PATH
---
These are my path settings for tinyos on windows/cygwin. Can anyone please
tell me the path settings for the tinyos on ubuntu? I have one more
environmental variable PATH for windows having the bin address of java and
graphviz. What should be that on ubuntu?
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

tinyos-help@millennium.berkeley.edu

2011-06-29 Thread om mehaj
hello,
Please is there anyone who has already install TinyOS on soekris ?
Thank's
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Regarding TOSSIM 2.x supports Sensors Board simulation

2011-06-29 Thread Ramana Reddy
Hi All,

I want to simulate the network in which the motes should read the sensor
values and
send to the base station. How can we do that using TOSSIM. Does TOSSIM
supports any
Sensor readings. How to inject those values in TOSSIM in python code.

Help in this regards is highly appreciated.

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

Re: [Tinyos-help] TYMO

2011-06-29 Thread Shamali Gunawardena
Hi, thanks for the feed back. In my case it is /tiny0s-2.1.0/to/lib/net/ 
but that is it there is no tymo folder. 

Does that mean I have installed wrong. I am using the vmware.
regards,
Shamali






From: "vinh.p...@ffi.no" 
To: shama...@yahoo.com; tinyos-help@millennium.berkeley.edu
Sent: Tue, June 28, 2011 5:58:54 PM
Subject: SV: [Tinyos-help] TYMO


Hi.
 
If you have installed correctly, the DymoNetworkC should be under the 
 /tinyos-2.x/tos/lib/net/tymo/dymo folder.
 
Fra:tinyos-help-boun...@millennium.berkeley.edu 
[mailto:tinyos-help-boun...@millennium.berkeley.edu] På vegne av Shamali 
Gunawardena
Sendt: 28. juni 2011 13:08
Til: tinyos-help@millennium.berkeley.edu
Emne: [Tinyos-help] TYMO
 
Hi,

I was trying to use the TYMO example as in teh tutorials and realized that I do 
not have DymoNetworkC interface. nor a dymo or tymo folder inside lib do I have 
to get them and install them separately. If so how can I get about with this. 


Thanks in advance.

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