Note: forwarded message attached.
 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
--- Begin Message ---
hi,
today, i removed Moteworks and i reinstalled all for new time.
in fact, in this time i have the Moteworks trees without any problem, but when
i did the following steps

[EMAIL PROTECTED] ~
$ usetos
source /etc/profile.d/xbow.sh
[EMAIL PROTECTED] ~
$ gettos
TOSDIR=/opt/MoteWorks/tos
TOSROOT=/opt/MoteWorks
MAKERULES=/opt/MoteWorks/make/Makerules
total 8
-rwx------    1 platefor     5435 Apr 29  2006 README.txt
drwx------+   8 platefor        0 Apr 30  2006 apps
drwx------+   7 platefor        0 Apr 30  2006 make
drwx------+   7 platefor        0 Apr 30  2006 tools
drwx------+   9 platefor        0 Apr 30  2006 tos

[EMAIL PROTECTED] ~
$ usetos tinyos
source /etc/profile.d/tinyos.sh
[EMAIL PROTECTED] ~
$ gettos
TOSDIR=/opt/MoteWorks/tos
TOSROOT=/opt/MoteWorks
MAKERULES=/opt/MoteWorks/make/Makerules
total 8
-rwx------    1 platefor     5435 Apr 29  2006 README.txt
drwx------+   8 platefor        0 Apr 30  2006 apps
drwx------+   7 platefor        0 Apr 30  2006 make
drwx------+   7 platefor        0 Apr 30  2006 tools
drwx------+   9 platefor        0 Apr 30  2006 tos

[EMAIL PROTECTED] ~
$ cd /tinyos-1.x/apps
bash: cd: /tinyos-1.x/apps: No such file or directory

[EMAIL PROTECTED] ~
$

so, i copied the tinyos-1.x to cygwin/opt in which there is also Moteworks
then i did the following:

[EMAIL PROTECTED] ~
$ cd /opt/

[EMAIL PROTECTED] /opt
$ ls
MoteWorks/  tinyos-1.x/

[EMAIL PROTECTED] /opt
$ cd /opt/tinyos-1.x/apps/Blink

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/Blink
$ make pc
mkdir -p build/pc
    compiling Blink to a pc binary
ncc -o build/pc/main.exe -g -O0 -pthread  -fnesc-nido-tosnodes=1000  -Wall -Wsha
dow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=pc -fnesc-cfile=build/pc/app.c -b
oard=micasb -DIDENT_PROGRAM_NAME="Blink" -DIDENT_PROGRAM_NAME_BYTES="66,108,105,
110,107,0" -DIDENT_USER_ID="plateforme" -DIDENT_USER_ID_BYTES="112,108,97,116,10
1,102,111,114,109,101,0" -DIDENT_HOSTNAME="plateforme1" -DIDENT_HOSTNAME_BYTES="
112,108,97,116,101,102,111,114,109,101,49,0" -DIDENT_USER_HASH=0x0a923011L -DIDE
NT_UNIX_TIME=0x4614b8caL Blink.nc -lm
Unknown target pc
Known targets for TinyOS directory /opt/MoteWorks/tos
and the specified include directories are:
  mica mica2 mica2dot micaz msp430 telos telosb
make: *** [exe0] Error 2


but when i tried with any another plateform as mica2 there is not any problem, 
you can see that:

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/Blink
$ make mica2
mkdir -p build/mica2
    compiling Blink to a mica2 binary
ncc -o build/mica2/main.exe -Os -finline-limit=100000 -I%T/platform/mica2 -I%T/l
ib/Queue -I%T/sensorboards/micasb  -I%T/lib/Broadcast -I%T/lib/XLib    -DROUTE_P
ROTOCOL=0x90 -I%T/radio/cc1000hp -I%T/lib/internal/XMesh -DMULTIHOPROUTER=XMeshR
outer -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfi
le=build/mica2/app.c -board=micasb -DIDENT_PROGRAM_NAME="Blink" -DIDENT_PROGRAM_
NAME_BYTES="66,108,105,110,107,0" -DIDENT_USER_ID="plateforme" -DIDENT_USER_ID_B
YTES="112,108,97,116,101,102,111,114,109,101,0" -DIDENT_HOSTNAME="plateforme1" -
DIDENT_HOSTNAME_BYTES="112,108,97,116,101,102,111,114,109,101,49,0" -DIDENT_USER
_HASH=0x0a923011L -DIDENT_UNIX_TIME=0x4614b8d5L -DCC1K_DEFAULT_FREQ=RADIO_916BAN
D_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF  Blink.nc -lm
    compiled Blink to build/mica2/main.exe
            1504 bytes in ROM
              99 bytes in RAM
avr-objcopy --output-target=srec build/mica2/main.exe build/mica2/main.srec
avr-objcopy --output-target=ihex build/mica2/main.exe build/mica2/main.ihex
    writing TOS image

[EMAIL PROTECTED] /opt/tinyos-1.x/apps/Blink
$
 So, have you any proposition?

thank you

Giri Baleri <[EMAIL PROTECTED]> wrote:     Can you please register your copy of 
the MoteWorks license  below before I can assist you further?
 http://www.xbow.com/Support/MoteWorksSupport.aspx
  
 Thanks,
Giri

  
---------------------------------
 From:  [EMAIL PROTECTED]  [mailto:[EMAIL PROTECTED] On Behalf Of Boushra  MAALA
Sent: Wednesday, April 04, 2007 11:51 AM
To:  [email protected]
Subject: RE: [Tinyos-help] cygwin  and Moteworks


 
hi Giri,
i have tinyos1.1.10 , 
in fact, i have installed the  tinyos before the Moteworks , so when i tried to 
install Moteworks i have a  message of two things : 
1 install new cygwin in new location 
2 update  the cygwin that you have 
i selected the second, and i have continued until i  have a message that the 
installation of Moteworks is complete 
But, when i  open the  opt of cygwin, i do not see any moteworks and when i 
tried to  open it by using PN2 ,  i have seen  directory moteworks which is  
empty( i could not see the moteworks trees).
 i do not know if there is  something false?
you said that i can make use of settos and usetos scripts  to switch back and 
forth between tinyos-1.x and moteworks trees. can you explain  that more in 
details if  it is possible ? 

note: i  install tinyos et Moteworks by using two CDs one for each one of  them.

thank you for your help

Giri Baleri  <[EMAIL PROTECTED]> wrote:       Which version of TinyOS do you 
currently    have?
   MoteWorks does provide interoperability with TinyOS    1.1.10.
   If you have TOS-1.x and haven't updated to the latest    version of Cygwin, 
you may choose to select the option of "update the    existing Cygwin".
   You can then make use of settos and usetos    scripts to switch back and 
forth between tinyos-1.x and moteworks    trees.
    
   Giri
    

      
---------------------------------
   From:    [EMAIL PROTECTED]    [mailto:[EMAIL PROTECTED] On Behalf Of    
Boushra MAALA
Sent: Wednesday, April 04, 2007 7:40    AM
To: [email protected]
Subject:    [Tinyos-help] cygwin and Moteworks


   
hi 
in fact,i have installed tinyos.1  and i want to    install moteworks , but  
when i try  to install moteworks, i have a    message to uninstall the cygwin 
that i have before, and reinstall the cygwin    which is with moteworks, 
So, my problem is the following:
if i     reinstall cygwin which is with moteworks instead of the old one which 
i have    installed with tinyos.1 , i can not use the apps which are installed 
with    tinyos1 before.

So, anyone has an idea what can i do for keeping the    adventage of the two.

thank you

   
   
---------------------------------
   8:00? 8:25? 8:40? Find    a flick in no time
with theYahoo!    Search movie showtime shortcut.
  

---------------------------------
 Bored  stiff? Loosen up...
Download and  play hundreds of games for free on Yahoo! Games.

 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--- End Message ---
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to