This is actually for Muhammad but I only have Robin email directly.

On Wed, Feb 13, 2013 at 12:42 PM, Robin Martinjak <r...@rmartinjak.de> wrote:

> On Wed, Feb 13, 2013 at 10:46:29PM +0500, Muhammad Tayyeb wrote:
> > Hi,
> > I am new to TinyOS and implementing the tutorials. I am on Deluge T2 at
> the
> > moment.
>

I am guessing that you  are on cygwin.   It would have been really helpful
if you had told us what system you are hosting your development environment
on.

>
> > When I run the command
> >
> > ./burn serial@/dev/ttyUSB0:115200 telosb
> >
> > I get the following error
> >
> > xubuntos@xubuntos-tinyos:/opt/tinyos-2.x/apps/tests/deluge/Blink$ ./burn
> > serial@/dev/ttyUSB0:115200 telosb
> > rm -rf build
> > rm: cannot remove `build/telosb/ident_flags.txt': Permission denied
> > rm: cannot remove `build/telosb/StorageVolumes.h': Permission denied
>

what do the permissions look like for the install?


> > make: *** [clean] Error 1
> > ============================ Compile and load Blink
> > ============================
> > mkdir -p build/telosb
> > /bin/sh: cannot create build/telosb/ident_flags.txt: Permission denied
>
> You should copy the whole tinyos-2.x directory to somewhere in your
> user's $HOME if you want to build stuff.
>

Gag.

We haven't updated the install instructions but the new improved mechansims
to get the release are as follows:

cd ~
mkdir -p w
cd w
git clone git://github.com/tinyos/tinyos-release.git

The above will put the current tinyos release (2.1.2) into the directory
~/w/tinyos-release

you will have to tweak your environment variable appropriately.

you will also need git, "apt-get install git-core" should do the trick....

But I am assuming that you are on Linux and I suspect that isn't true.

Currently, we don't have cygwin rpms for the 4.6.3 builds    So if you are
on cygwin, I'm not
sure what you can do.   The problem you will also run into is 2.1.2 needs
4.6.3.

I would strongly encourage you to switch over to a Linux box (Debian or
Ubuntu).   I originally started TinyOS development using a Cygwin host and
found it to be quite painful as well as problematic.   At some point I got
fed up and switched over to Linux and haven't looked back.   I do much of
the packaging for toolchains and tinyos and do not support the cygwin rpms.
 I support the debian archives.

Also the TinyOS repository at Stanford is no longer actively maintained so
am hosting my work at tinyprod.net.   See below.


> >
> > Your help will be much appreciated on the error "Couldn't execute
> > msp430-gcc" error. msp430-gss exe is present in its folder.
>

running commands as root isn't recommended, you can really do damage if you
screw something up.


did you install the msp430 toolchain (you need 4.6.3 which you can get from
http://tinyprod.net/repos/debian/

you should be able to execute the command "msp430gcc --version" to make
sure that


> >
>
> You probably need to install additional packages. Search your package
> manager for "msp430" or so.
>




>
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
> _______________________________________________
> 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

Reply via email to