RE: [Tinyos-help] (no subject)

2007-11-17 Thread Janos Sallai
Prashanth,

 

Most probably, you hooked up your MIB510 to a serial port. Try to figure
out what port it is. If it is connected directly to the serial port on
your PC, it is /dev/ttyS0 or /dev/ttyS1. Should you be using an USB to
Serial adapter, you can access it as /dev/ttyUSB0 or /dev/ttyUSB1. Once
you've figured out which one the correct device is, program the mote with
"make mica2 reinstall mib510,your_device_here". For example, if you are
using an USB to serial that shows up as /dev/ttyUSB0, you would enter
"make mica2 reinstall mib510,/dev/ttyUSB0".

 

Janos

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Prashanth Shenoy
Sent: Saturday, November 17, 2007 5:07 PM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] (no subject)

 

HI All,

OS: FEDORA CORE 6
TINY OS: tinyos-1.1.4
Program board: mib510
mote: mica2

We are trying to run the MicaHWVerify to program the mib510, but we are
getting the error on ' ppdev' the parallelport.
We did chmod 666 /dev/parport0
and did ' make mica2 ' which compiled successfully.
but when running ' make mica2 reinstall' we get an error 
" ioctl PPCLAIM: No such device or address
Failed to claim ppdev. "


[EMAIL PROTECTED] tinyos-1.1.14]# cd apps/MicaHWVerify/
[EMAIL PROTECTED] MicaHWVerify]# make mica2
compiling MicaHWVerify to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2  -Wall
-Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=10
-fnesc-cfile=build/mica2/app.c  MicaHWVerify.nc -lm 
compiled MicaHWVerify to build/mica2/main.exe
   11738 bytes in ROM
 450 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe
build/mica2/main.srec
[EMAIL PROTECTED] MicaHWVerify]# make mica2 reinstall
installing mica2 binary
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --erase 
ioctl PPCLAIM: No such device or address
Failed to claim ppdev.
make: *** [reinstall] Error 2



Alternatively we also tried prgramming through a serial cabel, by using
the appropriate commands as well as USB to serial cabel.

But this problem seems to persist for any interface we try.










  _  

Get the power of Windows + Web with the new Windows Live. Power up!
 


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.15.33 - Release Date: 11/15/2007
12:00 AM




smime.p7s
Description: S/MIME cryptographic signature
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (no subject)

2007-11-17 Thread Prashanth Shenoy

HI All,

OS: FEDORA CORE 6
TINY OS: tinyos-1.1.4
Program board: mib510
mote: mica2

We are trying to run the MicaHWVerify to program the mib510, but we are getting 
the error on ' ppdev' the parallelport.
We did chmod 666 /dev/parport0
and did ' make mica2 ' which compiled successfully.
but when running ' make mica2 reinstall' we get an error 
" ioctl PPCLAIM: No such device or address
Failed to claim ppdev. "


[EMAIL PROTECTED] tinyos-1.1.14]# cd apps/MicaHWVerify/
[EMAIL PROTECTED] MicaHWVerify]# make mica2
compiling MicaHWVerify to a mica2 binary
ncc
-o build/mica2/main.exe -Os -board=micasb -target=mica2  -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=10
-fnesc-cfile=build/mica2/app.c  MicaHWVerify.nc -lm 
compiled MicaHWVerify to build/mica2/main.exe
   11738 bytes in ROM
 450 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
[EMAIL PROTECTED] MicaHWVerify]# make mica2 reinstall
installing mica2 binary
uisp -dprog=dapa -dpart=ATmega128 --wr_fuse_e=ff  --erase 
ioctl PPCLAIM: No such device or address
Failed to claim ppdev.
make: *** [reinstall] Error 2



Alternatively we also tried prgramming through a serial cabel, by using the 
appropriate commands as well as USB to serial cabel.

But this problem seems to persist for any interface we try.









_
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyOS-1.x and TinyOS-2.x In the same PC

2007-11-17 Thread Chad Metcalf
Its not only possible but the default behavior of setup provided by
XubunTOS. In fact this has been as easy as following my guide on
http://www.5secondfuse.com/tinyos/install.html for sometime now.

If you look at the .bashrc on 5 Secondfuse or in XubunTOS you'll see how you
need to set things up.

Then switching between TOS1 and TOS2 is as simple as:

[EMAIL PROTECTED]:~$ tos1
Setting up for TinyOS 1.x
... Do TinyOS 1.x work ...
[EMAIL PROTECTED]:~$ tos2
Setting up for TinyOS 2.x ...
... Do TinyOS 2.x work


I used to have Boomerang in the mix as well but pulled it recently. Now that
Sentilla has dropped off Boomerang in TinyOS 1.x contrib I might add it
back. This should also work in Cygwin but you may have to hack it a bit.

Cheers
Chad

On Nov 17, 2007 8:53 AM, Philip Levis <[EMAIL PROTECTED]> wrote:

>
> On Nov 17, 2007, at 8:24 AM, antonio gonga wrote:
>
> > Hey all,
> > I want to migrate to TinyOS-2.x but I'd like to keep my TinyOS-1.x
> > installation while I'm not skilled yet with TinyOS-2.x syntax. And
> > I'm still using Eclipse Plugin for TinyOS which is only supported
> > by version 1.
> > My question is: Is it possible to have two Installations of TinyOS
> > in the Same Computer? I have several Drives in my Laptop maybe If I
> > install TinyOS-2.x in of the drives I'll not have problems.
> >
>
> It is. If everything is set up right (fingers crossed!), the only
> thing you have to do to switch between the two is change three
> environment variables: TOSDIR, MAKERULES, and CLASSPATH.
>
> Phil
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Re: [Tinyos-help] TinyOS-1.x and TinyOS-2.x In the same PC

2007-11-17 Thread Philip Levis


On Nov 17, 2007, at 8:24 AM, antonio gonga wrote:


Hey all,
I want to migrate to TinyOS-2.x but I'd like to keep my TinyOS-1.x   
installation while I'm not skilled yet with TinyOS-2.x syntax. And   
I'm still using Eclipse Plugin for TinyOS which is only supported  
by version 1.
My question is: Is it possible to have two Installations of TinyOS  
in the Same Computer? I have several Drives in my Laptop maybe If I  
install TinyOS-2.x in of the drives I'll not have problems.




It is. If everything is set up right (fingers crossed!), the only  
thing you have to do to switch between the two is change three  
environment variables: TOSDIR, MAKERULES, and CLASSPATH.


Phil

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


[Tinyos-help] TinyOS-1.x and TinyOS-2.x In the same PC

2007-11-17 Thread antonio gonga
Hey all,
I want to migrate to TinyOS-2.x but I'd like to keep my TinyOS-1.x  
installation while I'm not skilled yet with TinyOS-2.x syntax. And  I'm still 
using Eclipse Plugin for TinyOS which is only supported by version 1.
My question is: Is it possible to have two Installations of TinyOS in the Same 
Computer? I have several Drives in my Laptop maybe If I install TinyOS-2.x in 
of the drives I'll not have problems.





_
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TelosB

2007-11-17 Thread Michael Schippling

You did install the MSP tools rpms, right?
If so, does it work from the command line?
Perhaps you need to put them in the global PATH
variable so Eclipse can find them.

Which Eclipse plugin are you using? I've never been successful
in getting one to work.
MS


antonio gonga wrote:

Hey all,
I've some problems with TelosB motes, First I was using MICAz platform, 
now I'd like to use TelosB without changing my tinyoS installation.
whenever I try to compile and install an application to a telosB mode I 
get the following message: Note That I'm using Eclipse Plugin fo TinyOS.


"make -C "/cygdrive/c/DOCUME~1/cmboy/WORKSP~1/TELOSB" telosb -board=none 
bsl.com3 install.10  "

make: Entering directory `/cygdrive/c/DOCUME~1/cmboy/WORKSP~1/TELOSB'
mkdir -p build/telosb
compiling Blink to a telosb binary
ncc -o build/telosb/main.exe -Os -mdisable-hwmul 
-I/opt/tinyos-1.x/tos/lib/CC2420Radio 
-I/opt/tinyos-1.x/tos/../beta/STM25P -Wall -Wshadow 
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb 
-fnesc-cfile=build/telosb/app.c -board= -DIDENT_PROGRAM_NAME="Blink" 
-DIDENT_PROGRAM_NAME_BYTES="66,108,105,110,107,0" 
-DIDENT_USER_HASH=0xb0922a80L -DIDENT_UNIX_TIME=0x473ecebcL Blink.nc -lm

Couldn't execute msp430-gcc
make: *** [exe0] Error 2
make: Leaving directory `/cygdrive/c/DOCUME~1/cmboy/WORKSP~1/TELOSB'


thanks in advance



Share life as it happens with the new Windows Live. Share now! 






___
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