Bíró, András | 1 Apr 2012 12:54
Picon

Re: Unknown target micaz Known targets for TinyOS directory $(TOSROOT)/tos and the specified include directories are: none. make: *** [sim-exe] Error 2

Hi,

TOSROOT should be set before any other variable which uses it.

Andris

On Thu, Mar 29, 2012 at 8:29 AM, 柴晓萌 <ustb.cxm <at> gmail.com> wrote:
> I'm a Chinese student,and I'm sorry for my English speaking. I'm new in
> TinyOS.I have a problem when I run "make micaz sim", I'm using cygwin under
> Win7.I get the following:
> mkdir -p simbuild/micaz
>   placing object files in simbuild/micaz
>   writing XML schema to app.xml
>   compiling BlinkAppC to object file sim.o
> ncc -c -DUSE_DL_IMPORT -fpic  -o simbuild/micaz/sim.o -g -O0 -tossim
> -fnesc-nido
> -tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)   -Wall
> -Wsha
> dow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
> -DD
> EFINED_TOS_AM_GROUP=0x22 -finline-limit=100000 -DIDENT_APPNAME=\"BlinkAppC\"
> -DI
> DENT_USERNAME=\"cxm\" -DIDENT_HOSTNAME=\"cxm-PC\"
> -DIDENT_USERHASH=0x8e709959L -
> DIDENT_TIMESTAMP=0x4f7407dcL -DIDENT_UIDHASH=0x370bd314L -Wno-nesc-data-race
> Bli
> nkAppC.nc   -fnesc-dump=components -fnesc-dump=variables
> -fnesc-dump=constants -
> fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags
> -fnesc-dumpfile=a
(Continue reading)

Bíró, András | 1 Apr 2012 12:58
Picon

Re: TOSSIM compile error

On Fri, Mar 30, 2012 at 8:09 PM, Javier M Mora <jmmora <at> us.es> wrote:
> On Fri, 30 Mar 2012 14:16:03 -0400
> Newlyn Erratt <newlyn <at> erratt.com> wrote:
>
>> I am currently attempting to setup TinyOS on a new machine on OpenSUSE 12.1 and am running into a minor
issue.  Compilation works fine for both Micaz and telosb but when I compile for TOSSIM I get the following error.
>>
>> Two source files specified (PLATFORM_MICAZ and BOARD_MICASB)
>>
>> I have seen a couple of previous emails regarding this but there never seemed to be a good solution. I am
using the rpm installation. Does anyone have some idea of what may be happening.
>>
>
> The problem is related with gcc 4.6. The interface changed and ncc
> doesn't like at all.
>
> There is a patch for ncc to solve this but easiest solution is
> downgrade gcc to 4.5.

Actually, nesc 1.3.3. has this patch. There's a prebuilt version for
cygwin (http://tinyos.stanford.edu/tinyos/dists/cygwin/) and
debian/ubuntu: (http://tinyos.stanford.edu/tinyos/dists/ubuntu/)

Andris

>
> In debian, my distro, I have installed 4.5 and 4.6 at same time and I changed
> gcc symlink to gcc-4.5.
>
> Now works.
(Continue reading)

Eric Decker | 1 Apr 2012 13:27
Picon
Gravatar

Re: Serial port cannot be opened

try looking at the port permissions?


see if the port exists.

start there.

On Fri, Mar 30, 2012 at 1:30 AM, nithya r <rnithya2008 <at> gmail.com> wrote:
 Hello,

I am currently working with  MDA100CB sensor,
with low power gateway MIB520CB and I'm trying to use MoteView to
monitor the motes. I didn’t get any sensor data in Moteview.

The Serve Message is:
XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur Exp $
Warning: Converting Windows COM26 device to Cygwin device.
Using params: [db parsed] [xml parsed] [server port=9001]
Opening serial device: /dev/ttyS25 <at> 57600
[2012/03/30 13:48:15] xserve: Couldn't open serial port /dev/ttyS25:57600
wait:No error
XMonitor:XServ failure
Evaluating process exit...
Exit status-Application Level Exit. No restart requested.
Signal Status-Normal
Process aborted: xserve2/bin/xserve.exe
[MV] XServe not running...

Error message :
[MV : 3/30/2012 1:48:15 PM]
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
at System.Net.Sockets.SocketConnect[EndPoint remoteEP]
at XBow.lib.XSocketBase.Open[String host,Int32 port]

Please give some suggestions for the problem

Thank you

_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



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


<div>
<p>try looking at the port permissions?</p>
<div><br></div>
<div>see if the port exists.</div>
<div><br></div>
<div>start there.<br><br><div class="gmail_quote">On Fri, Mar 30, 2012 at 1:30 AM, nithya r <span dir="ltr">&lt;<a href="mailto:rnithya2008 <at> gmail.com">rnithya2008 <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">
<div dir="ltr">
<div>&nbsp;Hello,<br><br>I am currently working with&nbsp; MDA100CB sensor, <br>with low power gateway MIB520CB and I'm trying to use MoteView to <br>
monitor the motes. I didn&rsquo;t get any sensor data in Moteview.<br><br>The Serve Message is:<br>XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur Exp $<br>Warning: Converting Windows COM26 device to Cygwin device.<br>Using params: [db parsed] [xml parsed] [server port=9001]<br>

Opening serial device: /dev/ttyS25  <at>  57600</div>
<div>[2012/03/30 13:48:15] xserve: Couldn't open serial port /dev/ttyS25:57600</div>
<div>wait:No error</div>
<div>XMonitor:XServ failure</div>
<div>Evaluating process exit...</div>
<div>Exit status-Application Level Exit. No restart requested.</div>
<div>Signal Status-Normal<br>Process aborted: xserve2/bin/xserve.exe<br>[MV] XServe not running...</div>
<div>
<br>Error message :<br>[MV : 3/30/2012 1:48:15 PM]<br>System.Net.Sockets.SocketException:&nbsp;No connection could be made because the target machine actively refused it</div>
<div>at System.Net.Sockets.SocketConnect[EndPoint remoteEP]<br>at XBow.lib.XSocketBase.Open[String host,Int32 port]<br><br>Please give some suggestions for the problem<br><br>Thank you<br>
</div>
</div>
<br>_______________________________________________<br>
Tinyos-help mailing list<br><a href="mailto:Tinyos-help <at> millennium.berkeley.edu">Tinyos-help <at> millennium.berkeley.edu</a><br><a href="https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help" target="_blank">https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br>
</blockquote>
</div>
<br><br clear="all"><div>
<br>
</div>-- <br>Eric B. Decker<br>Senior (over 50 :-) Researcher<br><br><br>
</div>
</div>
Morgan Reeves | 1 Apr 2012 17:52
Picon
Favicon

Install problem

Hi,

I've been banging my head over this for the past few days, any help would be appreciated. My situation:

1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main
2. The ``Simple'' tutorial example compiles fine.
3. The ``Blink'' tutorial fails with the following first error:

/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'

(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)

Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to:

http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/

but, so far as I can tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but directs me to an outdated link at http://tinyprod.net/debian-dev/

I finally ended up at this site:

http://tinyprod.net/razvanm/debian/

But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?

Thanks in advance,
-Max

<div><div dir="ltr">
Hi,<br><br>I've been banging my head over this for the past few days, any help would be appreciated. My situation:<br><br>1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main<br>2. The ``Simple'' tutorial example compiles fine.<br>3. The ``Blink'' tutorial fails with the following first error:<br><br>/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'<br><br>(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)<br><br>Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to: <br><br>http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/<br><br>but, so far as I can tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but directs me to an outdated link at <span></span><a href="http://tinyprod.net/debian-dev/" target="_top" rel="nofollow"><span>http://tinyprod.net/debian-dev/</span></a> <br><br>I finally ended up at this site:<br><br>http://tinyprod.net/razvanm/debian/<br><br>But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?<br><br>Thanks in advance,<br>-Max<br><br>
</div></div>
Michael Schippling | 1 Apr 2012 19:11

Re: Need help with Tinyos-1.x TOSSIM

It looks like you have put something like this in apit.h:

	#include "mymote.h"

If that's the case, mymote.h should be found if it is in
the source or include search path. The current directory
(.../apps/testingtinysec) should work.

Another way to try it is to find where apit.h is included
in your application source code and put a mymote.h include
on the line before it. Notice that, for some reason I haven't
fathomed, in NESCC usage out side of the module{} block is:

	include mymote

without the "s",".h", and ""'s ...

If that doesn't help we'll need to see your source files
and makefile to try to figure it out.

Also...you don't need to screen grab. You can "redirect" text
output in the bash shell into a file like this:

	make pc >& error.txt

MS

shruti wrote:
>  
> 
> Hello all
> 
> Sir I am working on cygwin tinyos and I am nt able to run make pc 
> command properly.
> 
> Can u help me please asap
> 
> I want to know how should I include my “mote.h”header file in nesc code..
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help <at> millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Manar Alaskar | 1 Apr 2012 19:19
Picon
Favicon

Re: Install problem



I faced the same problem when i was installing tinyos , then i fix it by removing the same version that you use it (tinyos-2.1.1) and replace it with version 2.1.0
by using the repository and commands inside this website:
hope it work fine with you.

From: abelianchameleon <at> hotmail.com
To: tinyos-help <at> millennium.berkeley.edu
Date: Sun, 1 Apr 2012 11:52:04 -0400
Subject: [Tinyos-help] Install problem

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;}
Hi,

I've been banging my head over this for the past few days, any help would be appreciated. My situation:

1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main
2. The ``Simple'' tutorial example compiles fine.
3. The ``Blink'' tutorial fails with the following first error:

/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'

(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)

Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to:

http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/

but, so far as I ca n tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but dir! ects me to an outdated link at http://tinyprod.net/debian-dev/

I finally ended up at this site:

http://tinyprod.net/razvanm/debian/

But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?

Thanks in advance,
-Max


_______________________________________________ Tinyos-help mailing list Tinyos-help <at> millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<div><div dir="ltr">
<br><br><div>I faced the same problem when i was installing tinyos , then i fix it by removing the same version that you use it (tinyos-2.1.1) and replace it with version 2.1.0</div>
<div>by using the repository and commands inside this website:</div>
<div>
<a href="http://docs.tinyos.net/tinywiki/index.php?title=Getting_started_using_Ubuntu_9.10_and_TelosB_motes&amp;redirect=no#Oscilloscope_Application:_BaseStation_.26_Sensor_Testing">http://docs.tinyos.net/tinywiki/index.php?title=Getting_started_using_Ubuntu_9.10_and_TelosB_motes&amp;redirect=no#Oscilloscope_Application:_BaseStation_.26_Sensor_Testing</a>
</div>
<div>hope it work fine with you.</div>
<br><div>
<div></div>From: abelianchameleon <at> hotmail.com<br>To: tinyos-help <at> millennium.berkeley.edu<br>Date: Sun, 1 Apr 2012 11:52:04 -0400<br>Subject: [Tinyos-help] Install problem<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

<div dir="ltr">
Hi,<br><br>I've been banging my head over this for the past few days, any help would be appreciated. My situation:<br><br>1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main<br>2. The ``Simple'' tutorial example compiles fine.<br>3. The ``Blink'' tutorial fails with the following first error:<br><br>/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'<br><br>(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)<br><br>Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to: <br><br>http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/<br><br>but, so far as I ca
 n tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but dir!
 ects me to an outdated link at <span></span><a href="http://tinyprod.net/debian-dev/" rel="nofollow" target="_blank"><span>http://tinyprod.net/debian-dev/</span></a> <br><br>I finally ended up at this site:<br><br>http://tinyprod.net/razvanm/debian/<br><br>But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?<br><br>Thanks in advance,<br>-Max<br><br>
</div>
<br>_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</div> 		 	   		  </div></div>
Siddharth Dagar | 2 Apr 2012 02:37
Picon

Re: TestSerial compilation problem in Ubuntu 11.10


Have you been able to find a solution to your problem?

This issue is resolved if you use 
-target=telosb (or any other platform you are using)
instead of -target=null

It seems to be an issue with mig. Changing the target resolves the issue of parsing TestSerial.h. 
But the real problem starts after that. The .java file that mig is generating is throwing up a lot of errors when the java compiler tries to compile it. 

Some of the errors:
javac -target 1.4 -source 1.4 *.java
TestSerialMsg.java:88: unclosed string literal
        s += "  [nx_struct test_serial_msg 2 137
             ^
TestSerialMsg.java:89: illegal start of expression
=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137
^
TestSerialMsg.java:89: hexadecimal numbers must contain at least one hexadecimal digit
=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137
 ^
TestSerialMsg.java:89: unclosed string literal
=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137

I think it's still a problem with mig. It's not generating the right .java files. 
Does anybody have any idea about this?

On Mon, Mar 12, 2012 at 5:53 PM, Prasanth P <prasanthhere <at> gmail.com> wrote:
I am trying Tinyos 2.1.0 in Ubuntu 11.10.
Seems some problem in compiling TestSerial application in /apps/test/TestSerial/

This is the error am getting while compiling for Telosb

make telosb

mkdir -p build/telosb
mig java -target=null -I/opt/tinyos-2.1.0/tos/lib/T2Hack -DIDENT_APPNAME=\"TestSerialAppC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x4f5de953L -DIDENT_UIDHASH=0x76093f42L -java-classname=TestSerialMsg TestSerial.h test_serial_msg -o TestSerialMsg.java
two source files specified (PLATFORM_NULL and IDENT_APPNAME="TestSerialAppC")
failed to parse message file TestSerial.h
make: *** [TestSerialMsg.java] Error 1

Plz reply if somebody have any idea on this.


--
Regards
Prasanth.P


_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



--
Thanks,
Siddharth Dagar
IIT Kharagpur

<div>
<div><span><br></span></div>
<span>Have you been able to find a solution to your problem?</span><div><br></div>
<div>This issue is resolved if you use&nbsp;</div>
<div>-target=telosb (or any other platform you are using)</div>

<div>instead of -target=null</div>
<div><br></div>
<div>It seems to be an issue with mig. Changing the target resolves the issue of parsing TestSerial.h.&nbsp;</div>
<div>But the real problem starts after that. The .java file that mig is generating is throwing up a lot of errors when the java compiler tries to compile it.&nbsp;</div>

<div><br></div>
<div>Some of the errors:</div>
<div>
<div>javac -target 1.4 -source 1.4 *.java</div>
<div>TestSerialMsg.java:88: unclosed string literal</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; s += " &nbsp;[nx_struct test_serial_msg 2 137</div>

<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^</div>
<div>TestSerialMsg.java:89: illegal start of expression</div>
<div>=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137</div>
<div>^</div>
<div>TestSerialMsg.java:89: hexadecimal numbers must contain at least one hexadecimal digit</div>

<div>=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137</div>
<div>&nbsp;^</div>
<div>TestSerialMsg.java:89: unclosed string literal</div>
<div>=0x"+Long.toHexString(get_nx_struct test_serial_msg 2 137</div>
<div>

<br>
</div>
<div>I think it's still a problem with mig. It's not generating the right .java files.&nbsp;</div>
<div>Does anybody have any idea about this?</div>
</div>
<br><div class="gmail_quote">On Mon, Mar 12, 2012 at 5:53 PM, Prasanth P <span dir="ltr">&lt;<a href="mailto:prasanthhere <at> gmail.com">prasanthhere <at> gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote">I am trying Tinyos 2.1.0 in Ubuntu 11.10.<br>Seems some problem in compiling TestSerial application in /apps/test/TestSerial/≤br><br>This is the error am getting while compiling for Telosb<br><br>make telosb<br><br>mkdir -p build/telosb<br>
mig java -target=null -I/opt/tinyos-2.1.0/tos/lib/T2Hack -DIDENT_APPNAME=\"TestSerialAppC\" -DIDENT_USERNAME=\"root\" -DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0xa3473ba6L -DIDENT_TIMESTAMP=0x4f5de953L -DIDENT_UIDHASH=0x76093f42L -java-classname=TestSerialMsg TestSerial.h test_serial_msg -o TestSerialMsg.java<br>

two source files specified (PLATFORM_NULL and IDENT_APPNAME="TestSerialAppC")<br>failed to parse message file TestSerial.h<br>make: *** [TestSerialMsg.java] Error 1<br><br>Plz reply if somebody have any idea on this.<span class="HOEnZb"><br><br clear="all"><br>-- <br>Regards<br>Prasanth.P<br><br></span><br>_______________________________________________<br>
Tinyos-help mailing list<br><a href="mailto:Tinyos-help <at> millennium.berkeley.edu">Tinyos-help <at> millennium.berkeley.edu</a><br><a href="https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help" target="_blank">https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</a><br>
</blockquote>
</div>
<br><br clear="all"><div>

<br>
</div>-- <br>Thanks,<br>Siddharth Dagar<br>IIT Kharagpur<br><br>
</div>
Morgan Reeves | 2 Apr 2012 11:11
Picon
Favicon

Re: Install problem

Hi Manar,

That worked for me, thanks a lot for your help!!

-Max

From: manar.mansour <at> hotmail.co.uk
To: abelianchameleon <at> hotmail.com; tinyos-help <at> millennium.berkeley.edu
Subject: RE: [Tinyos-help] Install problem
Date: Sun, 1 Apr 2012 20:19:17 +0300

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;}


I faced the same problem when i was installing tinyos , then i fix it by removing the same version that you use it (tinyos-2.1.1) and replace it with version 2.1.0
by using the repository and commands inside this website:
hope it work fine with you.

From: abelianchameleon <at> hotmail.com
To: tinyos-help <at> millennium.berkeley.edu
Date: Sun, 1 Apr 2012 11:52:04 -0400
Subject: [Tinyos-help] Install problem

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Tahoma;}
Hi,

I've been banging my head over this for the past few days, any help would be appreciated. My situation:

1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main
2. The ``Simple'' tutorial example compiles fine.
3. The ``Blink'' tutorial fails with the following first error:

/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'

(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)

Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to:

http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/

but, so far as I can tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but directs me to an outdated link at http://tinyprod.net/debian-dev/

I finally ended up at this site:

http://tinyprod.net/razvanm/debian/

But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?

Thanks in advance,
-Max


_______________________________________________ Tinyos-help mailing list Tinyos-help <at> millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
<div><div dir="ltr">
Hi Manar,<br><br>That worked for me, thanks a lot for your help!!<br><br>-Max<br><br><div>
<div></div>From: manar.mansour <at> hotmail.co.uk<br>To: abelianchameleon <at> hotmail.com; tinyos-help <at> millennium.berkeley.edu<br>Subject: RE: [Tinyos-help] Install problem<br>Date: Sun, 1 Apr 2012 20:19:17 +0300<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

<div dir="ltr">
<br><br><div>I faced the same problem when i was installing tinyos , then i fix it by removing the same version that you use it (tinyos-2.1.1) and replace it with version 2.1.0</div>
<div>by using the repository and commands inside this website:</div>
<div>
<a href="http://docs.tinyos.net/tinywiki/index.php?title=Getting_started_using_Ubuntu_9.10_and_TelosB_motes&amp;redirect=no#Oscilloscope_Application:_BaseStation_.26_Sensor_Testing" target="_blank">http://docs.tinyos.net/tinywiki/index.php?title=Getting_started_using_Ubuntu_9.10_and_TelosB_motes&amp;redirect=no#Oscilloscope_Application:_BaseStation_.26_Sensor_Testing</a>
</div>
<div>hope it work fine with you.</div>
<br><div>
<div></div>From: abelianchameleon <at> hotmail.com<br>To: tinyos-help <at> millennium.berkeley.edu<br>Date: Sun, 1 Apr 2012 11:52:04 -0400<br>Subject: [Tinyos-help] Install problem<br><br>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
<div dir="ltr">
Hi,<br><br>I've been banging my head over this for the past few days, any help would be appreciated. My situation:<br><br>1. I've installed using deb http://tinyos.stanford.edu/tinyos/dists/ubuntu/ lucid main<br>2. The ``Simple'' tutorial example compiles fine.<br>3. The ``Blink'' tutorial fails with the following first error:<br><br>/opt/tinyos-2.1.1/tos/chips/msp430/pins/HplMsp430GeneralIOC.nc:227: syntax error before `;'<br><br>(Same error as reported here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048066.html)<br><br>Now, I know from reading the previous postings that this is likely a problem with msp430 and one post suggests finding msp430-legacy. One post directs me to: <br><br>http://tinyos.stanford.edu/tinyos/dists/ubuntu.old/<br><br>but, so far as I can tell, says nothing about how to actually fix the problem. A follow up post (http://old.nabble.com/Getting-MSP430-error-in-tinyos-2.1.1-td32334121.html) promises to fix the problem but directs me to an outdated link at <span></span><a href="http://tinyprod.net/debian-dev/" rel="nofollow" target="_blank"><span>http://tinyprod.net/debian-dev/</span></a> <br><br>I finally ended up at this site:<br><br>http://tinyprod.net/razvanm/debian/<br><br>But if I run those commands, it erases all of my previous tinyOS installation, replaces it with a new one (I think) and then nothing works. I can't even find a way to make the Simple tutorial as TinyOS cannot be found. I'm stuck. I know at least a few people have encountered this problem - can someone tell me step-by-step how it can be fixed?<br><br>Thanks in advance,<br>-Max<br><br>
</div>
<br>_______________________________________________
Tinyos-help mailing list
Tinyos-help <at> millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help</div> 		 	   		  </div>
</div> 		 	   		  </div></div>
Alex FP | 2 Apr 2012 21:28
Picon

DLPL_DUTY using Blip 2.0

Dear All,

Someone could tell me if is possible to use this CFLAG in the Makefile when we are using Blip 2.0 as in Blip 1.0?

CFLAGS += -DLOW_POWER_LISTENING -DLPL_DUTY_PERIOD

And where I figure out the meaning of:

CFLAGS += -DLPL_SLEEP_INTERVAL
CFLAGS += -DBLIP_L2_RETRIES
CFLAGS += -DBLIP_L2_DELAY

May be there is  some pointer for this question.

Thanks in advance for your answer.

Yours faithfully,

Alex

<div><p>Dear All,<br><br>Someone could tell me if is possible to use this CFLAG in the Makefile when we are using Blip 2.0 as in Blip 1.0?<br><br>CFLAGS += -DLOW_POWER_LISTENING -DLPL_DUTY_PERIOD<br><br>And where I figure out the meaning of:<br><br>CFLAGS += -DLPL_SLEEP_INTERVAL<br>CFLAGS += -DBLIP_L2_RETRIES<br>CFLAGS += -DBLIP_L2_DELAY<br><br>May be there is&nbsp; some pointer for this question.<br><br>Thanks in advance for your answer.<br><br>Yours faithfully,<br><br>Alex
</p></div>
Dawed Samy | 3 Apr 2012 08:08
Picon
Favicon

(no subject)

<div><table cellspacing="0" cellpadding="0" border="0"><tr><td valign="top"><div><a href="http://percarpi.garuti.it/wp-content/themes/percarpi05/img/02efpk.html"> http://percarpi.garuti.it/wp-content/themes/percarpi05/img/02efpk.html</a></div></td></tr></table></div>

Gmane