[Tinyos-help] Environment Variables (path is empty in tinyos) !!!!

2007-08-03 Thread mejda chouaieb
Hello, all
 
Now I am studying Lesson 1 of TinyOS 2.x tutorial.
I have two tmote sky(s) (Telosb) and I also have a problem.
I have installed tinyos in windows and when I type tos-check-env I have these 
warnings ( I joned a printscreen). the path variable is empty when I type echo 
$path there is nothing.
can someone help me please? thank you in advance.


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail <>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Environment Variables (path is empty in tinyos) !!!!

2007-08-06 Thread mejda chouaieb
"printenv > env.txt" gives this :
HOMEPATH=\Documents and Settings\mejda
MANPATH=/usr/local/man:/usr/share/man:/usr/man:
APPDATA=C:\Documents and Settings\mejda\Application Data
HOSTNAME=missy_18
MSP430TOOLS=/opt/msp430
TERM=cygwin
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 8, GenuineIntel
WINDIR=C:\WINDOWS
OLDPWD=/cygdrive/c/cygwin/opt/tinyos-2.x
USERDOMAIN=MISSY_18
OS=Windows_NT
ALLUSERSPROFILE=C:\Documents and Settings\All Users
USER=mejda
!::=::\
LD_LIBRARY_PATH=:/opt/msp430/lib
TEMP=/cygdrive/c/DOCUME~1/mejda/LOCALS~1/Temp
COMMONPROGRAMFILES=C:\Program Files\Fichiers communs
USERNAME=mejda
PROCESSOR_LEVEL=6
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/opt/msp430/bin
MAN_PATH=:/opt/msp430/man
PWD=/cygdrive/c/cygwin/opt/tinyos-2.x/tests
SYSTEMDRIVE=C:
USERPROFILE=C:\Documents and Settings\mejda
CLIENTNAME=Console
PS1=\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ 
LOGONSERVER=\\MISSY_18
PROCESSOR_ARCHITECTURE=x86
!C:=C:\cygwin\bin
SHLVL=1
HOME=/home/mejda
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
HOMEDRIVE=C:
PROMPT=$P$G
COMSPEC=C:\WINDOWS\system32\cmd.exe
PYTHONPATH=:/opt/msp430/lib/python2.3/site-packages/
TMP=/cygdrive/c/DOCUME~1/mejda/LOCALS~1/Temp
SYSTEMROOT=C:\WINDOWS
PRINTER=
CVS_RSH=/bin/ssh
PROCESSOR_REVISION=0f08
MAKE_MODE=unix
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
PROGRAMFILES=C:\Program Files
NUMBER_OF_PROCESSORS=1
SESSIONNAME=Console
COMPUTERNAME=MISSY_18
_=/usr/bin/printenv

and I want to know if something is missing in these variables ?!
I have to port tinyos to an other plateform so i have to understand tinyos2.x 
and especially telos fonctionalites verry well. so if someone can give me some 
links or doc it will be verry nice, because i'm new in tinyos world ;-)
Thank you all

- Message d'origine 
De : Michael Schippling <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@Millennium.Berkeley.EDU
Envoyé le : Vendredi, 3 Août 2007, 20h01mn 30s
Objet : Re: [Tinyos-help] Environment Variables (path is empty in tinyos) 


Do what somebody just someone else to do...

printenv > env.txt

and send us the env.txt file (it should be plain-text
and not too long, so just copy and paste it into the email).

To set a PATH variable do something like this:

export PATH="/cygdrive/c/JAVA/j2sdk1.4.2_04/bin:\
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:.:$PATH:\
/cygdrive/c/PROGRAMS/BIN/WIN32APP:/cygdrive/c/PROGRAMS/BIN"

or CLASSPATH, which is what toscheck is complaining about:

export CLASSPATH=".;$TOSROOT/tools/java/jars/tinytools.jar"

You'll need to changed the actual paths in those variables
to match your own system. Do "man bash" to see a description
of just about everything you can do in the command shell, or
try googling CLASSPATH, etc for details.

MS

mejda chouaieb wrote:
> 
> Hello, all
>  
> Now I am studying Lesson 1 of TinyOS 2.x tutorial.
> I have two tmote sky(s) (Telosb) and I also have a problem.
> I have installed tinyos in windows and when I type tos-check-env I have 
> these warnings ( I joned a printscreen). the path variable is empty when 
> I type echo $path there is nothing.
> can someone help me please? thank you in advance.
>  
> 
> 
> 
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
> 
> 
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help





Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Environment Variables (path is empty in tinyos) !!!!

2007-08-09 Thread mejda chouaieb
Hello, all
 
Now I am studying Lesson 1 of TinyOS 2.x tutorial.
I have two tmote sky(s) (Telosb) and I also have a problem.
I have installed tinyos in windows and when I type tos-check-env I have these 
warnings ( I joned a printscreen). the path variable is empty when I type echo 
$path there is nothing.
can someone help me please? thank you in advance.


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

path warnings.doc
Description: Binary data
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Exception in thread main!!

2007-08-09 Thread mejda chouaieb
I have two tmote sky(s) (Telosb) and I also have a problem.
I have installed tinyos in windows and when I type make tmote and then motelist 
it is ok, but when I try to run Trawler I have errors
when I Type :
[EMAIL PROTECTED]:tmote java com.trawler.Trawler
Exception in thread "main" 
java.lang.NoClassDefFoundError:com/moteiv/trawler/Trawler
 
I think I have a problem with java environment variables but I don't know how 
to resolve this problem !! can someone help me please ?
Thank you.


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] I have warnings !!!!

2007-08-14 Thread mejda chouaieb
Hello All,
I have upgraded tinyos from 1.x to 2.x and when I type "tos-check-env" I have 
these warnings :
--> 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.

tos-check-env completed with errors:
--> WARNING: CLASSPATH may not include 
C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar
. Please ensure that C:\cygwin\opt\tinyos-2.x\support\sdk\java\tinyos.jar
 is in your CLASSPATH or you may experience configuration problems
--> WARNING: CLASSPATH may not include '.' (that is,  the symbol for the 
current working directory). Please add '.' to your CLASSPATH or you may 
experience configuration problems.
--> 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.

I'm working with 2 Tmote sky (telosb, moteiv)
I'm also trying to modify code but I don't know how to compile it and to 
install it in my tmote, can someone help me please ? I'm new in tinyos world 
and i'm verry confused because every thing is new for me so please help me and 
thank you in advance.


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Exception in thread "main" !!!!

2007-08-20 Thread mejda chouaieb
Hello all,
TinyOS version : upgraded from 1.x to 2.x
Hardware : 2 Tmote sky (Telosb)
System : Windows Media Center
I'm in lesson 4 of the TinyOS tutorials and when I type :
$ java net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:telos
EXception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/Listen

and when I type :
tos-locate-jre --jni
1/bin/java : not found


I don't know what I have to do to resolve these problems..
Thank you for Help.


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


Re : [Tinyos-help] Exception in thread "main" !!!!

2007-08-20 Thread mejda chouaieb
Hi,
When I type  "tos-install-jni" :
1/bin/java : not found
Java not found, not installing JNI code



- Message d'origine 
De : Pedro Pinto <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Lundi, 20 Août 2007, 15h10mn 25s
Objet : Re: [Tinyos-help] Exception in thread "main" 

hi, 

You need run this command: tos-install-jni

see too System variables


On 8/20/07, mejda chouaieb < [EMAIL PROTECTED]> wrote:
Hello all,
TinyOS version : upgraded from 1.x to 2.x
Hardware : 2 Tmote sky (Telosb)
System : Windows Media Center
I'm in lesson 4 of the TinyOS tutorials and when I type :
$ java net.tinyos.tools.Listen -comm [EMAIL PROTECTED]:telos
EXception in thread "main" java.lang.NoClassDefFoundError: net/tinyos/Listen

and when I type :
tos-locate-jre --jni
1/bin/java : not found


I don't know what I have to do to resolve these problems..
Thank you for Help. 


  
_
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail

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


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Tr : Re : Re : Re : [Tinyos-help] Exception in thread "main" !!!!

2007-08-21 Thread mejda chouaieb
- Message transféré 
De : mejda chouaieb <[EMAIL PROTECTED]>
À : Urs Hunkeler <[EMAIL PROTECTED]>
Cc : [EMAIL PROTECTED]
Envoyé le : Mardi, 21 Août 2007, 10h57mn 30s
Objet : Re : Re : Re : [Tinyos-help] Exception in thread "main" 


Hi,

When I type « uname » :
CYGWIN_NT-5.1
if I execute:
regtool -q get '\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development
Kit\1.5.0_11\JavaHome' 
I get :
1
You told me I should get the correct path to my JDK installation.But this is 
not the case!!
How can I check my registry settings (How can I modify the JavaHome registry 
key to point to the correct path?).

Thank you

- Message d'origine 
De : Urs Hunkeler <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : [EMAIL PROTECTED]
Envoyé le : Mardi, 21 Août 2007, 8h36mn 07s
Objet : Re: Re : Re : [Tinyos-help] Exception in thread "main" 


Hi,

I take it the value of the registry key
\HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
is 1.5.0_11 ?

If so, let's do this step by step. It looks like tos-locate-jre is not
able to find the JDK. Maybe look at the source of the script
tos-locate-jre, it's not too difficult to understand.

First, this script tries to determine your operating system with a call
to uname (search for uname to find the line in the script where it does
this). If you just type "uname" in a cygwin terminal, what is the exact
output? According to the script, it should start with "CYGWIN".

If it does not start with CYGWIN (or if the case of the letters is
different), we need to find a fix. For instance you could modify the
script by prepending a case statement with your platform name before the
CYGWIN case statement.

If it does indeed start with cygwin, then the next few lines are
important. What do you get, if you execute:
regtool -q get '\HKLM\SOFTWARE\JavaSoft\Java Development
Kit\CurrentVersion' ?

You should get "1.5.0_11". If not, check your registry settings again.

What do you get, if you execute:
regtool -q get '\HKLM\SOFTWARE\JavaSoft\Java Development
Kit\1.5.0_11\JavaHome' ?

You should get the correct path to your JDK installation. If this is not
the case, check your registry settings (you'd probably have to modify
the JavaHome registry key to point to the correct path).

If you get a path, make sure it is in DOS format (not unix format), ie.
something like "c:\java\jdk1.5.0_11". Make sure that this is really
where the JDK is located.

If it still doesn't work, make sure you write the output of all
individual steps to the mailing list so we can help you further.

Cheers,
Urs


mejda chouaieb schrieb:
> Hi,
> if I execute "tos-locate-jre --jni"
> 1/bin/java: not found
> Java not found, not installing JNI code
> 
> 
> the current version of my the JDK :
> \HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_11
> 
> and I added "\HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_11\JavaHome" 
> in my regedit, but I still have the same problem!!
> 
> PS: I'm just dealing with TinyOS, so every thing is new for me, Thanks for 
> understanding.
> 
> - Message d'origine 
> De : Urs Hunkeler <[EMAIL PROTECTED]>
> À : mejda chouaieb <[EMAIL PROTECTED]>; Tinyos-help@Millennium.Berkeley.EDU
> Envoyé le : Lundi, 20 Août 2007, 16h20mn 33s
> Objet : Re: Re : [Tinyos-help] Exception in thread "main" 
> 
> 
> Hi,
> 
> tos-install-jni uses tos-locate-jre to find the location of the JDK
> installation. What do you get if you execute "tos-locate-jre --jni"?
> 
> tos-locate-jre uses values from the windows registry. You should find
> the current version of the JDK under this key:
> \HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
> 
> The path to the JDK installation should then be in this registry key
> (replace '$jversion' with the value you found in the previous key.
> \HKLM\SOFTWARE\JavaSoft\Java Development Kit\'$jversion'\JavaHome
> 
> If you can't find the above registry keys, you'll have to create them.
> 
> Cheers,
> Urs
> 
> PS to the TinyOS community at large: Maybe the tos-locate-jre tools
> needs to be updated to cope with new/different JDK versions on Windows?
> 
> mejda chouaieb schrieb:
>> Hi,
>> When I type  "tos-install-jni" :
>> 1/bin/java : not found
>> Java not found, not installing JNI code


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


Tr : Re : Re : Re : Re : [Tinyos-help] Exception in thread "main" !!!!

2007-08-21 Thread mejda chouaieb
- Message transféré 
De : mejda chouaieb <[EMAIL PROTECTED]>
À : Urs Hunkeler <[EMAIL PROTECTED]>
Envoyé le : Mardi, 21 Août 2007, 11h47mn 19s
Objet : Re : Re : Re : Re : [Tinyos-help] Exception in thread "main" 


Hi,
I Navigated to the
"\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_11\"
branch and I double-clicked on JavaHome. Then I Double clicked on REG_SZ and I 
changed the value to “C:\Program Files\Java\jdk1.5.0_11”, But I still have the 
same problem !!
Thank You.

- Message d'origine 
De : Urs Hunkeler <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : [EMAIL PROTECTED]
Envoyé le : Mardi, 21 Août 2007, 11h18mn 25s
Objet : Re: Re : Re : Re : [Tinyos-help] Exception in thread "main" 


Hi,

Go to the start menu: start -> run
Then type "regedit" and click on ok. You should get an explorer-like
interface where you can change the registry values. Navigate to the
"\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.5.0_11\"
branch and double-click on JavaHome. Change the value there (DOS-style
path to the directory which contains a bin and usually also a jre
directory).

Cheers,
Urs


mejda chouaieb schrieb:
> Hi,
> 
> When I type « uname » :
> CYGWIN_NT-5.1
> if I execute:
> regtool -q get '\HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development
> Kit\1.5.0_11\JavaHome' 
> I get :
> 1
> You told me I should get the correct path to my JDK installation.But this is 
> not the case!!
> How can I check my registry settings (How can I modify the JavaHome registry 
> key to point to the correct path?).
> 
> Thank you


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


[Tinyos-help] Problems with tutorial 10

2007-10-01 Thread mejda chouaieb
Hello,
I have windows Media Center Edition and I installed "JN-SW-4027 SDK with CLI" 
(jennic bash shell) (link : 
http://www.jennic.com/support/view_section.php?sectionID=10) because 
I'm working with jennic motes, then I Installed Tinyos 2.x, I followed the 
manual steps (with RPMs)  in Tinyos web site (link: 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html).
to Configure my environment I created a file named tinyos.sh and I saved it in 
C:\Jennic\cygwin\etc\profile.d

tinyos.sh contains :
#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar'
export CLASSPATH="$CLASSPATH;."
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"

and I'm trying to do the Tinyos tutorial "Lesson 10: Platforms", I followed all 
the steps but when I type:
$ cd tinyos-2.x/apps/Null
  $ make yamp
I have :
make: *** No rule to make target `yamp'.  Stop.
I obtain the same thing when I type: make telosb

I tried to check the state of the environment variables and when I type :
bash-3.2$ echo $CLASSPATH
.;C:\JBuilderX\jdk1.4\jre\lib\ext\msbase.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\msu
til.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\mssqlserver.jar;C:\cygwin\opt\tinyos-2.x
\support\sdk\java\tinyos.jar;.;
bash-3.2$ echo $MAKERULES

so MAKERULES is empty

I don't know what to do, I need Help !!
and thank you in advance


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] problems with yamp

2007-10-01 Thread mejda chouaieb
Hello All,
I have windows Media Center Edition and I installed "JN-SW-4027 SDK with CLI" 
(jennic bash shell) (link : 
http://www.jennic.com/support/view_section.php?sectionID=10) because 
I'm working with jennic motes, then I Installed Tinyos 2.x, I followed the 
manual steps (with RPMs)  in Tinyos web site (link: 
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html).
to Configure my environment I created a file named tinyos.sh and I saved it in 
C:\Jennic\cygwin\etc\profile.d

tinyos.sh contains :
#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar'
export CLASSPATH="$CLASSPATH;."
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"

and I'm trying to do the Tinyos tutorial "Lesson 10: Platforms", I followed all 
the steps but when I type:
$ cd tinyos-2.x/apps/Null
$ make yamp
I have :
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all
 -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127

I obtain the same thing when I type: make telosb :

bash-3.2$ make telosb
/bin/sh: tos-ident-flags: command not found
mkdir -p build/telosb
compiling NullAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_
GROUP=0x7d -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board=   N
ullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$ make yamp
/bin/sh: tos-ident-flags: command not found


I tried to check the state of the environment variables and when I go to 
C:\Jennic\cygwin\etc\profile.d
and type : source./tinyos.sh and then type :


bash-3.2$ echo $CLASSPATH
cygpath -w $TOSROOT/support/sdk/java/tinyos.jar;.

bash-3.2$ echo $MAKERULES
/opt/tinyos-2.x/support/make/Makerules

bash-3.2$ echo $PATH
/opt/msp430/bin:/opt/msp430/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS
:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL Serve
r/80/Tools/BINN:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/c
ygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdr
ive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/
c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/Su
n/SDK/bin:/cygdrive/c/Program Files/Java/jre1.6.0_02:/cygdrive/c/WINDOWS/Microso
ft.NET/Framework/v1.1.4322:/usr/bin:/or32-elf/bin/:/usr/bin:/ba-elf/bin/:/or32-e
lf/bin

I don't know what to do, I need Help !!
and thank you in advance


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


[Tinyos-help] yamp problems with xubuntos

2007-10-02 Thread mejda chouaieb
Hello,
I installed Xubuntos live cd in a virtual machine and I tried to execute the 
yamp application (tinyos tutorials lesson 10) but I have these problems, when I 
type make telosb it's ok but when I type:




[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm 
/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
In interface `Scheduler':
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events can be 
defined in interfaces
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type defaults 
to `int'
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before 
`runNextTask'
In file included from /opt/tinyos-2.x/tos/platforms/yamp/hardware.h:3,
 from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
In C file:
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:201: syntax error before 
`__nesc_atomic_t'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:202: syntax error before 
`__nesc_atomic_start'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:203: syntax error before 
`reenable_interrupts'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:210: syntax error before 
`__nesc_atomic_start'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: type defaults 
to `int' in declaration of `__x'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: data definition 
has no type or storage class
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: syntax error before `}'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: return-type 
defaults to `int'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: conflicting types for 
`__nesc_disable_interrupt'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:190: previous declaration of 
`__nesc_disable_interrupt'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: data definition 
has no type or storage class
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:214: syntax error before 
`return'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: syntax error before 
`reenable_interrupts'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h: In function 
`__nesc_atomic_end':
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: `reenable_interrupts' 
undeclared (first use in this function)
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: (Each undeclared 
identifier is reported only once
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: for each function it 
appears in.)
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
In component `SchedulerBasicP':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: At top level:
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:86: syntax error before 
`isWaiting'
SchedulerBasicP: `TaskBasic.postTask' not implemented
SchedulerBasicP: `Scheduler.init' not implemented
SchedulerBasicP: `Scheduler.taskLoop' not implemented
SchedulerBasicP: `Scheduler.bool' not implemented
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:
In component `McuSleepC':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:51: syntax error before `dirty'
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function `McuSleep.sleep':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:111: `dirty' undeclared (first 
use in this function)
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function 
`McuPowerState.update':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:121: `dirty' undeclared (first 
use in this function)
In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:28,
 from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33,
 from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11,
 from /opt/tinyos-2.x/tos/system/MainC.nc:50,
 from NullAppC.nc:42:
In interface `Msp430Timer':
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc: At top level:
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: only commands and 
events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: warning: return-type 
defaults to `int'
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: syntax error before 
`isOverflowPending'
In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:29,
 from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33,
 from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11,
 from /opt/tinyos-2.x/tos/system/MainC.nc:50,
 from NullAppC.nc:42:
In interface `Msp430TimerControl

[Tinyos-help] problems with make

2007-10-02 Thread mejda chouaieb
Hello All,
I have installed Tinyos-2.x with RPMs in windows Media Center Edition but I 
want to know where should I put the file 'tinyos.sh' that contains :
___
#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar'
export CLASSPATH="$CLASSPATH;."
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"

so that it will be run when I open the shell 
now I'm typing 'source tinyos.sh' every time i open a shell
I have also an other problem I can't compile :
_
bash-3.2$ pwd
/cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
bash-3.2$ make micaz
/bin/sh: tos-ident-flags: command not found
mkdir -p build/micaz
compiling NullAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow -Wnesc-all
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb  -fnesc-dump=wiring -
fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, comp
onents)' -fnesc-dumpfile=build/micaz/wiring-check.xml NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$

I need you Help please!!


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] yamp problems with xubuntos

2007-10-04 Thread mejda chouaieb
Hi,
Thank you for the solution it works.


- Message d'origine 
De : Chad Metcalf <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mardi, 2 Octobre 2007, 18h15mn 24s
Objet : Re: [Tinyos-help] yamp problems with xubuntos

This isn't a XubunTOS problem.

Here is your problem:

/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or directory

Here is your solution:

$ touch /opt/tinyos-2.x/tos/platforms/yamp/platform.h 

It corrects the first error in your output, and the rest of the lesson
works fine.  All platforms in /opt/tinyos-2.x/tos/platforms have an
empty platform.h.  I don't know why that's not in Lesson 10. But I'll 
talk to the author and see about getting it added.

Cheers
Chad



On 10/2/07, mejda chouaieb < [EMAIL PROTECTED]> wrote:
Hello,
I installed Xubuntos live cd in a virtual machine and I tried to execute the 
yamp application (tinyos tutorials lesson 10) but I have these problems, when I 
type make telosb it's ok but when I type: 




[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm
/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36: 
In interface `Scheduler':
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events can be 
defined in interfaces
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type defaults 
to `int' 
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before 
`runNextTask'
In file included from /opt/tinyos-2.x/tos/platforms/yamp/hardware.h:3,
 from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41, 
 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:



-- 
Chad @ Home


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] ncc command not found !!!! I need HELP

2007-10-04 Thread mejda chouaieb
Hello All,
I have Windows Media Center Edition and I installed Tinyos-2.x but when I try 
to compile something I have :
bash-3.2$ pwd
/cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
bash-3.2$ make yamp
/bin/sh: tos-ident-flags: command not found
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all
 -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$

I tried to install NesC again but I still have the same problem, and I think 
that there is something missing in my PATH but I don't know how to fix this 
problem

bash-3.2$ echo $PATH
/opt/msp430/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WIN
DOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/BINN:
/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/PROGRA
~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/A
TT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/G
raphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/Sun/SDK/bin:/cygdr
ive/c/Program Files/Java/jre1.6.0_02:/cygdrive/c/WINDOWS/Microsoft.NET/Framework
/v1.1.4322:/usr/bin:/or32-elf/bin/:/usr/bin:/ba-elf/bin/:/or32-elf/bin
bash-3.2$

Thank you for Help


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] problems with ncc

2007-10-05 Thread mejda chouaieb
Hello All,
I have Windows Media Center Edition and I installed Tinyos-2.x but when I try 
to compile something I have :
bash-3.2$ pwd
/cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
bash-3.2$ make yamp
/bin/sh: tos-ident-flags: command not found
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all
-target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm
make: ncc: Command not found
make: *** [exe0] Error 127
bash-3.2$
I tried to install NesC again but I still have the same problem, and I think 
that there is something missing in my PATH but I don't know how to fix this 
problem
bash-3.2$ echo $PATH
/opt/msp430/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WIN
DOWS/System32/Wbem:/cygdrive/c/Program Files/Microsoft SQL Server/80/Tools/BINN:
/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/cygdrive/c/PROGRA
~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/A
TT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/G
raphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/Sun/SDK/bin:/cygdr
ive/c/Program Files/Java/jre1.6.0_02:/cygdrive/c/WINDOWS/Microsoft.NET/Framework
/v1.1.4322:/usr/bin:/or32-elf/bin/:/usr/bin:/ba-elf/bin/:/or32-elf/bin
bash-3.2$
Thank you for Help


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread mejda chouaieb
Hello All,
I want to port Tinyos to an other platform with the same radio 2024 but with a 
diffrent microcontroller,
Now, I want to port some basic components of TinyOS to Jennic. Right now, I 
just want to get the URAT working. 
I was wondering if anyone else has attempted to port Tiny OS to other 
platforms.  If you have any
direction as to what a good starting point would be, I would greatly appreciate 
it.
Thanks,
Mejda CHOUAIEB


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread mejda chouaieb
Hello All,
for more precision :
I will port Tinyos2.x from telos hardware platform to jennic hardware platform
both has the same radio CC2024 but a diffrent microcontroller.

Thanks,
Mejda CHOUAIEB


- Message d'origine 
De : SANG Junjun <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h19mn 13s
Objet : Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform


We have ported T2 to Hawk platform with MSP430 and nrf905 successfully.
I think the most difficult part of our work is the chip driver(driver for 
nrf905).
 
I think focus on your MCU for first step is a good idea.
 
By the way, Hawk platform is designed by Data Engineering Research Center of 
Harbin Institute of Technology.
 
On 10/10/07, mejda chouaieb <[EMAIL PROTECTED]> wrote: 
Hello All,
I want to port Tinyos to an other platform with the same radio 2024 but with a 
diffrent microcontroller, 
Now, I want to port some basic components of TinyOS to Jennic. Right now, I 
just want to get the URAT working.
I was wondering if anyone else has attempted to port Tiny OS to other 
platforms.  If you have any
direction as to what a good starting point would be, I would greatly appreciate 
it. 
Thanks,
Mejda CHOUAIEB


 

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions ! 
http://blog.mail.yahoo.fr

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




-- 
Best Regards,
SANG JUNJUN


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-10 Thread mejda chouaieb
JN5139 Wireless Microcontroller (IEEE802.15.4 and ZigBee)


- Message d'origine 
De : SANG Junjun <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h40mn 12s
Objet : Re: Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform


what's the type of jennic's MCU?

 
On 10/10/07, mejda chouaieb <[EMAIL PROTECTED]> wrote: 
Hello All,
for more precision :
I will port Tinyos2.x from telos hardware platform to jennic hardware platform
both has the same radio CC2024 but a diffrent microcontroller.

Thanks,
Mejda CHOUAIEB

 
- Message d'origine 
De : SANG Junjun < [EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h19mn 13s
Objet : Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform 



We have ported T2 to Hawk platform with MSP430 and nrf905 successfully.
I think the most difficult part of our work is the chip driver(driver for 
nrf905).
 
I think focus on your MCU for first step is a good idea.
 
By the way, Hawk platform is designed by Data Engineering Research Center of 
Harbin Institute of Technology.
 
On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: 
Hello All,
I want to port Tinyos to an other platform with the same radio 2024 but with a 
diffrent microcontroller, 
Now, I want to port some basic components of TinyOS to Jennic. Right now, I 
just want to get the URAT working.
I was wondering if anyone else has attempted to port Tiny OS to other 
platforms.  If you have any
direction as to what a good starting point would be, I would greatly appreciate 
it. 
Thanks,
Mejda CHOUAIEB


 

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions ! 
http://blog.mail.yahoo.fr

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




-- 
Best Regards,
SANG JUNJUN

 



Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail ! 



-- 
Best Regards,
SANG JUNJUN


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re : Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

2007-10-12 Thread mejda chouaieb
Hello,
I think that drivers exist for JN5139 because I installed "JN-SW-4027 SDK with 
CLI" software from jennic website 
http://www.jennic.com/support/view_section.php?sectionID=10 and I have :
C:\jennic\drivers\FTDI_drivers\WinXP
If you have any direction as to what a good starting point would be, I would 
greatly appreciate it. 
Thanks,
Mejda CHOUAIEB


- Message d'origine 
De : SANG Junjun <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h55mn 16s
Objet : Re: Re : Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform

I think you should develop drivers for JN5139 first.


On 10/10/07, mejda chouaieb <[EMAIL PROTECTED]> wrote: 
JN5139 Wireless Microcontroller (IEEE802.15.4 and ZigBee)


- Message d'origine 
De : SANG Junjun < [EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h40mn 12s
Objet : Re: Re : [Tinyos-help] Porting Tinyos To A New Hardware Platform 



what's the type of jennic's MCU?

 
On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: 
Hello All,
for more precision :
I will port Tinyos2.x from telos hardware platform to jennic hardware platform
both has the same radio CC2024 but a diffrent microcontroller.

Thanks,
Mejda CHOUAIEB

 
- Message d'origine 
De : SANG Junjun < [EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mercredi, 10 Octobre 2007, 15h19mn 13s
Objet : Re: [Tinyos-help] Porting Tinyos To A New Hardware Platform 



We have ported T2 to Hawk platform with MSP430 and nrf905 successfully.
I think the most difficult part of our work is the chip driver(driver for 
nrf905).
 
I think focus on your MCU for first step is a good idea.
 
By the way, Hawk platform is designed by Data Engineering Research Center of 
Harbin Institute of Technology.
 
On 10/10/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: 
Hello All,
I want to port Tinyos to an other platform with the same radio 2024 but with a 
diffrent microcontroller, 
Now, I want to port some basic components of TinyOS to Jennic. Right now, I 
just want to get the URAT working.
I was wondering if anyone else has attempted to port Tiny OS to other 
platforms.  If you have any
direction as to what a good starting point would be, I would greatly appreciate 
it. 
Thanks,
Mejda CHOUAIEB


 

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions ! 
http://blog.mail.yahoo.fr

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




-- 
Best Regards,
SANG JUNJUN

 



Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail ! 



-- 
Best Regards,
SANG JUNJUN

 



Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail ! 



-- 
Best Regards,
SANG JUNJUN


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] I need Help on Lesson 10 (Platforms)

2007-10-14 Thread mejda chouaieb
Hello All,
Can someone help me on understanding this part of .platform :
___
 @opts = qw(
  -gcc=msp430-gcc
  -mmcu=msp430x1611
  -fnesc-target=msp430
  -fnesc-no-debug
  
-fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask
  );
__

because I need ti change this file: I want to change msp430 by an other 
microcontroller (JN513x), shall I just change msp430 to JN513x ?

Thanks


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] Help on msp MAKEFILES needed

2007-10-16 Thread mejda chouaieb
Hello All,
Where can I find code source documentation for the MAKEFILES under 
cygwin\opt\tinyos-2.x\support\make\msp ?
I need to understand the containt of these files especially "jtag.extra" and 
"bsl.extra".
Thanks
Mejda CHOUAIEB,
Networks & Telecommunication Engineer
Research Area : Wireless Sensor Networks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] Help on telos needed

2007-10-17 Thread mejda chouaieb
Hello All,
Can some one give me a link or where can I find code source documentation for 
the MAKEFILES under cygwin\opt\tinyos-2.x\support\make\msp ?
I need to understand the containt of these files especially "jtag.extra" and 
"bsl.extra" because I have to program similar files.
Thanks
Mejda CHOUAIEB,
Networks & Telecommunication Engineer
Research Area : Wireless Sensor Networks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] Urgent : Witch MAKEFILES are Hardware dependent ?

2007-10-18 Thread mejda chouaieb
Hello All,
I juste want to know witch MAKEFILES are Hardware dependent in tinyos?
can someone help me please ?
Thanks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] Urgent : Witch MAKEFILES are Hardware dependent ?

2007-10-19 Thread mejda chouaieb
Hello,
You mean files under "C:\jennic\cygwin\opt\tinyos-2.x\support\make" : 
Makedefaults, Makefile and Makerules.
I didn't check these files, but are these files hardware dependent ?
I programmed a file under "C:\jennic\cygwin\opt\tinyos-2.x\support\make" named 
"isense.target", isense is my new platforme, and I programmed Makefiles under 
"C:\jennic\cygwin\opt\tinyos-2.x\support\make\JN513X" I created the folder 
"JN513X" because JN513X is the microcontroller for witch I'm programming 
Makefiles.
My "JN513X" folder  contains : debug.extra, debugopt.extra, install.extra, 
ishell.extra (ishell.exe is my flash programmer), JN513X.rules, reinstall.extra.
Thanks.
Mejda CHOUAIEB,
Networks & Telecommunication Engineer
Research Area : Wireless Sensor Networks.


- Message d'origine 
De : Jeonghoon Kang <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Vendredi, 19 Octobre 2007, 6h58mn 05s
Objet : Re: [Tinyos-help] Urgent : Witch MAKEFILES are Hardware dependent ?

Did you check files at /opt/tinyos-1.x/tools/make/ and sub dir ?

2007/10/18, mejda chouaieb <[EMAIL PROTECTED]>:
> Hello All,
> I juste want to know witch MAKEFILES are Hardware dependent in tinyos?
> can someone help me please ?
> Thanks.
>
>
>  
> 
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
> vos réactions !
> http://blog.mail.yahoo.fr
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


-- 
Jeonghoon Kang
Senior Researcher
at Korea Electronics Technology Institute(www.keti.re.kr)
TinyOS Korea Forum Administrator
www.tinyos.or.kr
work = [EMAIL PROTECTED]
private = [EMAIL PROTECTED]
www.pinkfloyd.re.kr/rnd/
FYI, Kmote Connector (http://www.tinyos.re.kr/bbs/upload/kmote_connector.pdf)


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !

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


[Tinyos-help] nesc Problems

2007-10-20 Thread mejda chouaieb
Hello All,
I have defined the basic TinyOS module for my new platform, and i'm using the 
Null app in order to test that my platform is properly configured. when I try 
to compileNull for the isense Platform I have this :
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4719c62fL -DIDENT_UID_HASH=0xd70551deL  NullA
ppC.nc -lm
nesc1: unknown target isense
or32-elf-gcc: installation problem, cannot exec `cc1': No such file or directory
: failed to preprocess /usr/lib/ncc/nesc_nx.h
or32-elf-gcc: installation problem, cannot exec `cc1': No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
or32-elf-gcc: installation problem, cannot exec `cc1': No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/TinySchedulerC.nc
: Scheduler `TinySchedulerC' has no scheduling interface named `Tas
kBasic'
or32-elf-gcc: installation problem, cannot exec `cc1': No such file or directory
: failed to preprocess NullAppC.nc
make: *** [exe0] Error 1

I want to know if someone else had these errors before ? if yes, how to fix 
them ?

Thanks.
Mejda CHOUAIEB,
Networks & Telecommunication Engineer
Research Area : Wireless Sensor Networks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] A full description of TinyOS build system !!!!!

2007-10-20 Thread mejda chouaieb
Hello All,
I want to know if there is a full description of the inner workings of the 
TinyOS build system ? if yes please give me a link.
Thanks.
Mejda CHOUAIEB,
Networks & Telecommunication Engineer
Research Area : Wireless Sensor Networks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] tos-check-env errors!!!

2007-10-21 Thread mejda chouaieb
Hello all,

When I type tos-check-env I have errors and warnings :
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.5one of which is required by TOS. Please ensure that the located
Java version is 1.4 or 1.5
Depending on your PATH environment variable, there is often another  version of
java.exe in c:\windows\system32 that is "seen" first. Check that this is version
 1.4 or 1.5 or reconfigure your PATH environment variable if this is the case.
--> WARNING: No dot in current path.
--> WARNING: tos-check-env could not find the 'dot' executable which is part of
the AT&T Graphviz package. Please install version 1.1.0 of Graphviz if you'd lik
e to use the nescdoc documentation generator. If Graphviz is already installed,
then dot may not be in your PATH.

Can someone Help me to fix these errors ?


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] tos-check-env errors!!!

2007-10-21 Thread mejda chouaieb
Hello,
$ java -version
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
Thanks.

- Message d'origine 
De : Ariel Mauricio Nunez Gomez <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Dimanche, 21 Octobre 2007, 21h29mn 04s
Objet : Re: [Tinyos-help] tos-check-env errors!!!

Type on a terminal
 java -version
And post the results.

Ariel.


On 10/21/07, mejda chouaieb <[EMAIL PROTECTED]> wrote:
Hello all,

When I type tos-check-env I have errors and warnings :
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.5one of which is required by TOS. Please ensure that the located
Java version is 1.4 or 1.5
Depending on your PATH environment variable, there is often another  version of
java.exe in c:\windows\system32 that is "seen" first. Check that this is 
version 
1.4 or 1.5 or reconfigure your PATH environment variable if this is the case.
--> WARNING: No dot in current path.
--> WARNING: tos-check-env could not find the 'dot' executable which is part of
the AT&T Graphviz package. Please install version 1.1.0 of Graphviz if you'd lik
e to use the nescdoc documentation generator. If Graphviz is already installed,
then dot may not be in your PATH.

Can someone Help me to fix these errors ? 


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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




-- 
Ariel Núñez / Project Manager / Keydome Ltda
[EMAIL PROTECTED] / +57(300)8438443 / +57(317)3205876
Barranquilla / Colombia / South America


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Urgent!! Help on msp430 needed!!!

2007-10-29 Thread mejda chouaieb
Hello All,
Please can someone help me to understand this line in 
"tos/platforms/yamp/.platform" :
___
-mmcu=msp430x1611
-fnesc-target=msp430
___

I need to understand what is msp430 in this two lines, I mean it refers to what?
and where is msp430 in tinyos to which it refers ?
Thanks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : Re : [Tinyos-help] Urgent!! Help on msp430 needed!!!

2007-10-29 Thread mejda chouaieb
Hi,
yes I have gcc for jennic, the compiler for JN5139 Chips is ba-elf and it 
contains ba-elf-gcc.
in lesson 10 they don't explain what does this 2 lines mean, that's why i'm 
asking in TinyOS Help.
I'm working since 3 months to port TinyOS to jennic, it's my Master thesis.
I will try with JN5139, but I have to finish writing makefiles before testing 
if it works.
I just want to understand to which file or folder msp430 refers? if it refers 
to a file or folder, or to something else ?
Thanks.


- Message d'origine 
De : Amit Pendharkar <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Lundi, 29 Octobre 2007, 23h10mn 22s
Objet : Re: Re : [Tinyos-help] Urgent!! Help on msp430 needed!!!

Hi,

Well, I have not used jennic. Do you have gcc available for jennic?

I can at the most give you some pointers. See 
http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson10.html It talks about 
.platform file & its contents.

Next you may contact jennic technical support, they might be able to help you.

Logic tells me to replace msp430 with JN5139. But dont count me on this.

See if it works. I am interested to know how you are doing the porting.

Amit


On 10/29/07, mejda chouaieb < [EMAIL PROTECTED]> wrote:
Hi,
first of all thank you.
I'm porting TinyOS to jennic that's why I want to know, what should I write in 
place of msp430 in each of this 2 lines ?
Jennic microprocessor is JN5139.
Thanks


- Message d'origine 
De : Amit Pendharkar < [EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Lundi, 29 Octobre 2007, 22h12mn 14s
Objet : Re: [Tinyos-help] Urgent!! Help on msp430 needed!!!

MSP430 is the ultra low power microprocessor by texas instruments that is used 
on telos motes. see .msp430.com

It is specifying msp430 as your processor and optimizing  your code for that 
mcu. 

Amit Pendharkar


On 10/29/07, mejda chouaieb < [EMAIL PROTECTED]> wrote: 
Hello All,
Please can someone help me to understand this line in 
"tos/platforms/yamp/.platform" : 
___
-mmcu=msp430x1611
-fnesc-target=msp430
___

I need to understand what is msp430 in this two lines, I mean it refers to 
what? 
and where is msp430 in tinyos to which it refers ? 
Thanks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions ! 
http://blog.mail.yahoo.fr

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








Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re : Re : Re : [Tinyos-help] Urgent!! Help on msp430 needed!!!

2007-10-30 Thread mejda chouaieb
Hi,
first of all thak you.
I have a question :
I created a file under "C:\jennic\cygwin\etc\profile.d" named "tinyos.sh" when 
I installed TinyOS. My question is :
if I just add the Variable "NESC_MACHINE" to the containt of this file, is it 
sufficient to use "env" in my .platform file ?

the containt of my "tinyos.sh" file is :
__

#!/bin/sh
export TOSROOT="/opt/tinyos-2.x"
export TOSDIR="$TOSROOT/tos"
export CLASSPATH='cygpath -w $TOSROOT/support/sdk/java/tinyos.jar'
export CLASSPATH="$CLASSPATH;."
export MAKERULES="$TOSROOT/support/make/Makerules"
export PATH="/opt/msp430/bin:$PATH"
export NESC_MACHINE="pcc_bitfield_type_matters=false word_size=1 pointer=2,1 
float=4,1 double=4,1 long_double=4,1 short=2,1 int=2,1 long=4,1 long_long=8,1 
int1248_align=1,1,1,1 wchar_size_size=2,2 char_wchar_signed=true,true 
empty_field_boundary=8 structure_size_boundary=8" 

___

or is what I have done wrong ?

Thanks.

- Message d'origine 
De : Kevin Klues <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : Amit Pendharkar <[EMAIL PROTECTED]>; tinyos-help@millennium.berkeley.edu
Envoyé le : Mardi, 30 Octobre 2007, 0h31mn 05s
Objet : Re: Re : Re : [Tinyos-help] Urgent!! Help on msp430 needed!!!

The -mmcu flag is a gcc flag used to tell msp430-gcc the specific
microcontroller it should compile for.  The same compiler is used to
compile for an entire family of processors, and this flag tells it
which one it should compile for specifically.

The -fnesc-target flag is used to tell nesC which processor is the
final target of the C file it generates.  It is used to determine the
size of variables on your platform (i.e. a uint is 4 bytes or two
bytes), as well as their alignment.

Straight from 'man nescc'
-fnesc-target=architecture
Specify the target architecture to compile for.  Currently supported
platforms are avr (the Atmel AVR family), msp430 (the TI MSP430
family) and self (the machine the nesC compiler is running on).  If
you use the env target, the architecture details are read from the
NESC_MACHINE environment variable.  See the separate env target
documentation for details.

In your case, you need to run `man jannic-gcc` or (whatever the name
of your compiler is) and see what it takes for its -mmcu flag for your
specific model of jannic processor.

And for -fnesc-target you need to make it env, and then set
NESC_MACHINE  to something appropriate for your platform.
Instructions here:
http://senseless.eecs.harvard.edu/repos/mainland-tinyos/nesc/doc/envtarget.html

And example under /tinyos-2.x/tos/platforms/intelmote2/.platform for
the pxa27x xscale mcu

Kevin




On 10/29/07, mejda chouaieb <[EMAIL PROTECTED]> wrote:
>
> Hi,
> yes I have gcc for jennic, the compiler for JN5139 Chips is ba-elf and it
> contains ba-elf-gcc.
> in lesson 10 they don't explain what does this 2 lines mean, that's why i'm
> asking in TinyOS Help.
> I'm working since 3 months to port TinyOS to jennic, it's my Master thesis.
> I will try with JN5139, but I have to finish writing makefiles before
> testing if it works.
> I just want to understand to which file or folder msp430 refers? if it
> refers to a file or folder, or to something else ?
> Thanks.
>
>
> - Message d'origine 
> De : Amit Pendharkar <[EMAIL PROTECTED]>
> À : mejda chouaieb <[EMAIL PROTECTED]>
> Envoyé le : Lundi, 29 Octobre 2007, 23h10mn 22s
> Objet : Re: Re : [Tinyos-help] Urgent!! Help on msp430 needed!!!
>
> Hi,
>
> Well, I have not used jennic. Do you have gcc available for jennic?
>
> I can at the most give you some pointers. See
> http://www.tinyos.net/tinyos-2.x/doc/html/tutorial/lesson10.html
> It talks about .platform file & its contents.
>
> Next you may contact jennic technical support, they might be able to help
> you.
>
> Logic tells me to replace msp430 with JN5139. But dont count me on this.
>
> See if it works. I am interested to know how you are doing the porting.
>
> Amit
>
>
> On 10/29/07, mejda chouaieb < [EMAIL PROTECTED]> wrote:
> >
> >
> >
> > Hi,
> > first of all thank you.
> > I'm porting TinyOS to jennic that's why I want to know, what should I
> write in place of msp430 in each of this 2 lines ?
> > Jennic microprocessor is JN5139.
> > Thanks
> >
> >
> > - Message d'origine 
> > De : Amit Pendharkar < [EMAIL PROTECTED]>
> > À : mejda chouaieb <[EMAIL PROTECTED]>
> > Cc : tinyos-help@millennium.berkeley.edu
> > Envoyé le : Lundi, 29 Octobre 2007, 22h12mn 14s
> > Objet : Re: [Tinyos-hel

[Tinyos-help] I Problems with make "error trying to exec 'cc1' " !!!!!!

2007-10-30 Thread mejda chouaieb
Hello,
I'm trying to complie Null for my new Platforme isense but I have these 
problems, can someone help me to fix these errors ?


[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
/opt/tinyos-2.x/support/make/JN513X/JN513X.rules:43: no file name for `include'
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4727ad39L -DIDENT_UID_HASH=0x309158d5L  NullA
ppC.nc -lm
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /usr/lib/ncc/nesc_nx.h
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/TinySchedulerC.nc
: Scheduler `TinySchedulerC' has no scheduling interface named `Tas
kBasic'
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess NullAppC.nc
make: *** [exe0] Error 1
___


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] Port to Jennic ?

2007-10-31 Thread mejda chouaieb
Hi,
I'm working on porting TinyOS to jennic since 3 months, It's my Master Thesis.
so if you are doing the same, why we don't join our forces ?
Thanks.

Mejda CHOUAIEB
Network & Telecommunication Engineer.
Master Student.
Research Area: Wireless Sensor Networks.


- Message d'origine 
De : Anton <[EMAIL PROTECTED]>
À : tinyos-help@Millennium.Berkeley.EDU
Envoyé le : Mardi, 30 Octobre 2007, 10h41mn 40s
Objet : [Tinyos-help] Port to Jennic ?


Hi all,
 
I have a wireless sensor development kit from www.jennic.com
Do you know if a port of TinyOS exists for Jennic's boards ?
If not I am trying to estimate how much of an effort is that in order to 
attempt to do it.
They have a simple scheduler called BOS (Basic Operating System), which is used 
to run the Zigbee stack and I think it is a very limited solution.
 
Any pointers are appreciated.
 
Anton


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re : [Tinyos-help] I Problems with make "error trying to exec 'cc1' " !!!!!!

2007-10-31 Thread mejda chouaieb
Hi,
I have libc installed for ba-elf because I have 
"C:\jennic\cygwin\ba-elf\ba-elf\lib\libc.a"
but I want to understand what is this cc1 ?

- Message d'origine 
De : Kevin Klues <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Mardi, 30 Octobre 2007, 23h56mn 22s
Objet : Re: [Tinyos-help] I Problems with make "error trying to exec 'cc1' " 
!!

It doesn't look like you have libc installed for your compiler.

Kevin

On Oct 30, 2007 3:20 PM, mejda chouaieb <[EMAIL PROTECTED]> wrote:
> Hello,
> I'm trying to complie Null for my new Platforme isense but I have these 
> problems, can someone help me to fix these errors ?
>
> 
> [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
> $ make isense
> /opt/tinyos-2.x/support/make/JN513X/JN513X.rules:43: no file name for 
> `include'
> mkdir -p build/isense
>compiling NullAppC to a isense binary
> ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
> -Wnesc-a
> ll -target=isense -fnesc-cfile=build/isense/app.c -board= 
> -DIDENT_PROGRAM_NAME=\
> "NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" 
> -DIDENT_USER_HA
> SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4727ad39L -DIDENT_UID_HASH=0x309158d5L  
> NullA
> ppC.nc -lm
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess /usr/lib/ncc/nesc_nx.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess 
> /opt/tinyos-2.x/tos/system/TinySchedulerC.nc
> : Scheduler `TinySchedulerC' has no scheduling interface named 
> `Tas
> kBasic'
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess NullAppC.nc
> make: *** [exe0] Error 1
> ___
>
>
>  
> 
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
> vos réactions !
> http://blog.mail.yahoo.fr
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !

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


[Tinyos-help] Compiling problems with the Null application !!!!

2007-11-01 Thread mejda chouaieb
Hello all,
i'm trying to compile the Null application for jennic with the ba-elf-gcc 
compiler but I have these problems :

ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /usr/lib/ncc/nesc_nx.h
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/TinySchedulerC
$
kBasic'
ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
: failed to preprocess NullAppC.nc
make: *** [exe0] Error 1
__

can someone help me to fix these problems ?
Thanks.


  

Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : [Tinyos-help] Compiling problems with the Null application !!!!

2007-11-02 Thread mejda chouaieb
Hello,
yes I have it for my compiler under 
"C:\jennic\cygwin\ba-elf\libexec\gcc\ba-elf\4.1.2"
and I can compile Null for msp and avr normaly.
and with this compiler I can copile jennic programs normaly
so I want to understand what's wrong ? are the libraries used the correct ones ?
Thanks

- Message d'origine 
De : Kevin Klues <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Vendredi, 2 Novembre 2007, 2h44mn 39s
Objet : Re: [Tinyos-help] Compiling problems with the Null application 

All I can tell you is there seems to be something wrong with your
compiler installation.  cc1 is normally installed as part of the libc
package for your compiler.  You either haven't installed it, installed
it incorrectly, or somehow the rest of your gcc installation isn't
recognizing that it's installed.

In the case of msp430 its cc1 is placed in something similar to
'opt/msp430/lib/gcc-lib/msp430/3.2.3/cc1
And for avr its '/usr/libexec/gcc/avr/3.4.3/cc1

Does a file similar to this exist for your compiler?  Try running
'locate cc1' to see if you have it anywhere.

Kevin

On Nov 1, 2007 5:50 PM, mejda chouaieb <[EMAIL PROTECTED]> wrote:
> Hello all,
> i'm trying to compile the Null application for jennic with the ba-elf-gcc 
> compiler but I have these problems :
> 
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess /usr/lib/ncc/nesc_nx.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess /opt/tinyos-2.x/tos/system/TinySchedulerC
> $
> kBasic'
> ba-elf-gcc: error trying to exec 'cc1': execvp: No such file or directory
> : failed to preprocess NullAppC.nc
> make: *** [exe0] Error 1
> __
>
> can someone help me to fix these problems ?
> Thanks.
>
>
>  
> 
> Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, conseils.. et 
> vos réactions !
> http://blog.mail.yahoo.fr
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
~Kevin


  
__ 
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !

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


[Tinyos-help] problem with McuPowerOverride

2007-11-06 Thread mejda chouaieb
Hello All,
 I'm trying to compile the Null application for my new Platform and I have 
these errors :
_

In file included from /opt/tinyos-2.x/tos/chips/JN5139R1/McuSleepC.nc:7,
 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:
In interface `McuPowerOverride':
/opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: only commands and events
can be defined in interfaces
/opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: warning: return-type defa
ults to `int'
/opt/tinyos-2.x/tos/interfaces/McuPowerOverride.nc:54: syntax error before `lowe
stState'
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:
In component `McuSleepC':
/opt/tinyos-2.x/tos/chips/JN5139R1/McuSleepC.nc:21: syntax error before `McuPowe
rOverride'
In file included from NullAppC.nc:42:
In component `MainC':
/opt/tinyos-2.x/tos/system/MainC.nc:50: component PlatformC not found
/opt/tinyos-2.x/tos/system/MainC.nc:53: no match
make: *** [exe0] Error 1

I can compile Null for All other platforms without errors, can someone help me 
to fix these problems ?

Best Regards,
Mejda CHOUAIEB


  

Découvrez le blog Yahoo! Mail : le nouveau Yahoo! Mail, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


Re : Re : [Tinyos-help] Port to Jennic ?

2007-11-07 Thread mejda chouaieb
Hi,

I have not yet tried time synchronization using jennic chip, but i'm planning 
to do it.

With best Regards.

- Message d'origine 
De : Tomonori Nagayama (長山 智則) <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : Anton <[EMAIL PROTECTED]>; tinyos-help@Millennium.Berkeley.EDU
Envoyé le : Mercredi, 7 Novembre 2007, 14h00mn 06s
Objet : Re: Re : [Tinyos-help] Port to Jennic ?

Hi Mejda,

I'm also interested in using jennic chip mainly because of its long 
communication range. I'm considering porting tinyos to the Jennic or 
connecting jennic chip to crossbow mica family motes. But my concern is 
that time synchronization accuracy may not be as good as that of other 
motes. Have you tried time synchronization using jennic chip? Would you 
mind giving me estimate on time synchronization accuracy using jennic chip?

Thank you

Tomo

mejda chouaieb wrote:
> Hi,
> I'm working on porting TinyOS to jennic since 3 months, It's my Master 
> Thesis.
> so if you are doing the same, why we don't join our forces ?
> Thanks.
>  
> Mejda CHOUAIEB
> Network & Telecommunication Engineer.
> Master Student.
> Research Area: Wireless Sensor Networks.
>
> - Message d'origine 
> De : Anton <[EMAIL PROTECTED]>
> À : tinyos-help@Millennium.Berkeley.EDU
> Envoyé le : Mardi, 30 Octobre 2007, 10h41mn 40s
> Objet : [Tinyos-help] Port to Jennic ?
>
> Hi all,
>  
> I have a wireless sensor development kit from www.jennic.com 
> <http://www.jennic.com/>
> Do you know if a port of TinyOS exists for Jennic's boards ?
> If not I am trying to estimate how much of an effort is that in order 
> to attempt to do it.
> They have a simple scheduler called BOS (Basic Operating System), 
> which is used to run the Zigbee stack and I think it is a very limited 
> solution.
>  
> Any pointers are appreciated.
>  
> Anton
>  
>
>
> 
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
> 
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

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


[Tinyos-help] NesC: Where are .ncc files transformed to .c files?

2007-11-09 Thread mejda chouaieb
Hello All,

can someone tell me where are .ncc files transformed to .c files?
I mean in which makefile ? and where exactly?
Thanks


  

Découvrez le blog Yahoo! Mail : le nouveau Yahoo! Mail, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] How to turn C code to NesC ?

2007-11-12 Thread mejda chouaieb
Hello All,

I Need to turn C code to Nesc, I mean I have structured C code and I need to 
rewrite it with components (NesC).
Can someone tell me if there are some special "trics" to do that ?

Thanks.


  

Découvrez le blog Yahoo! Mail : le nouveau Yahoo! Mail, astuces, conseils.. et 
vos réactions !
http://blog.mail.yahoo.fr

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


[Tinyos-help] API of MSP430 ?

2007-11-29 Thread mejda chouaieb
Hello All,
 
 Do some one know where I can find the API of MSP430 ?
 I need the complete API of MSP430.

Thanks


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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


[Tinyos-help] Hardware Abstraction Architecture errors !!!

2007-12-02 Thread mejda chouaieb
Hello All,
I'm porting TinyOS to jennic, and when I compile the Null application for my 
new platform I have these errors:
_
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4752adbbL -DIDENT_UID_HASH=0x45ba5cbaL -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  Nu
llAppC.nc -lm
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: In function 'SchedulerBasicP$Sche
duler$taskLoop':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: '__nesc_atomic_t' unde
clared (first use in this function)
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: (Each undeclared ident
ifier is reported only once
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: for each function it a
ppears in.)
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: expected ';' before '_
_nesc_atomic'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: warning: implicit declaration
 of function '__nesc_atomic_end'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: error: '__nesc_atomic' undecl
ared (first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc: In function 'main':
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: '__nesc_atomic_t' undeclared
(first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: expected ';' before '__nesc_a
tomic'
/opt/tinyos-2.x/tos/system/RealMainP.nc:77: error: '__nesc_atomic' undeclared (f
irst use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:80: warning: implicit declaration of fun
ction '__nesc_enable_interrupt'
make: *** [exe0] Error 1
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$

_

I think that these errors are related to the Hardware Abstraction Architecture.
But I don't know how to fix them, can someone help me please ?


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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


[Tinyos-help] "atomic" problems

2007-12-02 Thread mejda chouaieb
Hello All,
I'm porting TinyOS to Jennic, and when I compile the Null application for my 
new platform I have these errors:
_

/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: In function 'SchedulerBasicP$Sche
duler$taskLoop':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: '__nesc_atomic_t' unde
clared (first use in this function)
$
ifier is reported only once
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: for each function it a
ppears in.)
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:144: error: expected ';' before '_
_nesc_atomic'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: warning: implicit declaration
 of function '__nesc_atomic_end'
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:150: error: '__nesc_atomic' undecl
ared (first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc: In function 'main':
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: '__nesc_atomic_t' undeclared
(first use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:53: error: expected ';' before '__nesc_a
tomic'
/opt/tinyos-2.x/tos/system/RealMainP.nc:77: error: '__nesc_atomic' undeclared (f
irst use in this function)
/opt/tinyos-2.x/tos/system/RealMainP.nc:80: warning: implicit declaration of fun
ction '__nesc_enable_interrupt'
make: *** [exe0] Error 1
_

Can someone help me to fix these errors please ?
Thanks.


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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


Re : Re : Re : [Tinyos-help] Hardware Abstraction Architecture errors !!!

2007-12-05 Thread mejda chouaieb
Hello,

I defined these functions for jennic, and I can compile but I still have one 
error that I can't understand when I compile I have :
___
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4756c528L -DIDENT_UID_HASH=0xea638023L -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  Nu
llAppC.nc -lm
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot f
ind entry symbol _start; defaulting to 
compiled NullAppC to build/isense/main.exe
ba-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if /^\s*\d+\s*\.(t
ext|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in RAM\n",$b
{text}+$b{data},$b{data}+$b{bss}); }'
ba-objdump: not found
   0 bytes in ROM
   0 bytes in RAM
ba-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
make: ba-objcopy: Command not found
make: *** [ihex] Error 127
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null

___

what I want to know is : whare in the symbol "_start" defined in tinyos ?
because in my code i didn't define _start !

Thanks


- Message d'origine 
De : Kevin Klues <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Mercredi, 5 Décembre 2007, 0h56mn 12s
Objet : Re: Re : Re : [Tinyos-help] Hardware Abstraction Architecture errors !!!

YOu jsut need to define these functions as appropriate for your platform.

Kevin

On Dec 4, 2007 3:36 PM, mejda chouaieb <[EMAIL PROTECTED]> wrote:
> Hello,
>  is it enough to just write these two functions( __nesc_atomic_t, 
> __nesc_atomic) for my platform or should I rewrite all what is written in 
> atm128hardware.h and msp430hardware.h for my new platform?
> Thanks
>
> - Message d'origine 
> De : Kevin Klues <[EMAIL PROTECTED]>
> À : mejda chouaieb <[EMAIL PROTECTED]>; tinyos forum 
> 
> Envoyé le : Lundi, 3 Décembre 2007, 4h08mn 39s
> Objet : Re: Re : [Tinyos-help] Hardware Abstraction Architecture errors !!!
>
>
> The reason you get the errors is that you define the __nesc* functions
> with calls to MACROs that are msp430 specific.  You need to figure out
> how these functions should be implemented for your specific platform.
>
> Kevin
>
> On Dec 2, 2007 5:44 PM, mejda chouaieb <[EMAIL PROTECTED]> wrote:
> > Hello
> > I tried to define these functions in my hardware.h files :
> > __
> >
> > typedef bool __nesc_atomic_t;
> > __nesc_atomic_t __nesc_atomic_start(void);
> > void __nesc_atomic_end(__nesc_atomic_t reenable_interrupts);
> > #ifndef NESC_BUILD_BINARY
> > /* @spontaneous() functions should not be included when NESC_BUILD_BINARY
> >is #defined, to avoid duplicate functions definitions wheb binary
> >components are used. Such functions do need a prototype in all cases,
> >though. */
> > __nesc_atomic_t __nesc_atomic_start(void) @spontaneous()
> > {
> >  __nesc_atomic_t result = ((READ_SR & SR_GIE) != 0);
> >  __nesc_disable_interrupt();
> >  asm volatile("" : : : "memory"); /* ensure atomic section effect 
> > visibility */
> >  return result;
> > }
> > void __nesc_atomic_end(__nesc_atomic_t reenable_interrupts) @spontaneous()
> > {
> >  asm volatile("" : : : "memory"); /* ensure atomic section effect 
> > visibility */
> >  if( reenable_interrupts )
> >__nesc_enable_interrupt();
> > }
> > #endif
> > __
> >
> > But I still have errors :
> > _
> >
> > In file included from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
> >  from /opt/tinyos-2.x/tos/

[Tinyos-help] Urgent :is there a symbol named _start in tinyos ????!!!!!

2007-12-06 Thread mejda chouaieb
Hello,
I'm porting TinyOS to Jennic, and now I can compile the Null application for my 
new platform but I still have one error that I can't understand, when I compile 
I have :
___
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4756c528L -DIDENT_UID_HASH=0xea638023L -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  Nu
llAppC.nc -lm
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot f
ind entry symbol _start; defaulting to 
compiled NullAppC to build/isense/main.exe
ba-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if /^\s*\d+\s*\.(t
ext|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in RAM\n",$b
{text}+$b{data},$b{data}+$b{bss}); }'
ba-objdump: not found
  0 bytes in ROM
  0 bytes in RAM
ba-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
make: ba-objcopy: Command not found
make: *** [ihex] Error 127
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
___
what I want to know is : where is the symbol "_start" defined in tinyos ?
because in my code i didn't define _start !
Thanks


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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


Re : [Tinyos-help] Urgent :is there a symbol named _start in tinyos ????!!!!!

2007-12-06 Thread mejda chouaieb
when I compile now I have:but I still don't understand what is this _start 
symbol warning !!

[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x47580eb5L -DIDENT_UID_HASH=0x53193042L -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  Nu
llAppC.nc -lm
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot f
ind entry symbol _start; defaulting to 
compiled NullAppC to build/isense/main.exe
ba-elf-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if /^\s*\d+\s*
\.(text|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in RAM\n
",$b{text}+$b{data},$b{data}+$b{bss}); }'
 352 bytes in ROM
   4 bytes in RAM
ba-elf-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
writing TOS image
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null


- Message d'origine ----
De : Marco Antonio Lopez Trinidad <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Envoyé le : Jeudi, 6 Décembre 2007, 15h44mn 10s
Objet : Re: [Tinyos-help] Urgent :is there a symbol named _start in tinyos 
!

The problem is in the call to a command named ba-objcopy instead avr-objcopy. I
think.

ciao,
--marco.

> Hello,
> I'm porting TinyOS to Jennic, and now I can compile the Null application for
> my new platform but I still have one error that I can't understand, when I
> compile I have :
> ___
> $ make isense
> mkdir -p build/isense
>compiling NullAppC to a isense binary
> ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d
> -Wnesc-a
> ll -target=isense -fnesc-cfile=build/isense/app.c -board=
> -DIDENT_PROGRAM_NAME=\
> "NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\"
> -DIDENT_USER_HA
> SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4756c528L -DIDENT_UID_HASH=0xea638023L -I.
> -D
> OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi
> -mno-setc
> c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div
> -mhar
> d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4
> -DPCB_DEV
> KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude
> -I/
> opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source
> -I/opt/tinyos-
> 2.x/tos/chips/JN5139R1/Common/Include
> -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
> JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include
> Nu
> llAppC.nc -lm
> /ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning:
> cannot f
> ind entry symbol _start; defaulting to 
>compiled NullAppC to build/isense/main.exe
> ba-objdump -h build/isense/main.exe | perl -ne '$b{$1}=hex $2 if
> /^\s*\d+\s*\.(t
> ext|data|bss)\s+(\S+)/; END { printf("%16d bytes in ROM\n%16d bytes in
> RAM\n",$b
> {text}+$b{data},$b{data}+$b{bss}); }'
> ba-objdump: not found
>  0 bytes in ROM
>  0 bytes in RAM
> ba-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
> make: ba-objcopy: Command not found
> make: *** [ihex] Error 127
> [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
>
___
> what I want to know is : where is the symbol "_start" defined in tinyos ?
> because in my code i didn't define _start !
> Thanks
>
>
>
>

> Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs -
> http://mail.yahoo.fr
>
> __

[Tinyos-help] linking problems

2007-12-13 Thread mejda chouaieb
Hello All,
can someone please expalin to me the meaning of this line and if something for 
linking is present here :
$(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(WIRING_CHECK_FLAGS) 
$(COMPONENT).nc $(LIBS) $(LDFLAGS)
because when i copile for my new platform I have a linking error from the 
toolchain:
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot 
find entry symbol _start; defaulting to 
and when I put # in front of this line this warning disappears !!!
Thanks for help


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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


Tr : Re : [Tinyos-help] linking problems

2007-12-14 Thread mejda chouaieb
Hello,
i´m trying to compile the Null application, I type ´make isense´
 when I compile because my new platform is called isense
yes when I commit out this line the program is not compiled. what do
 you mean by a problem with the software setup?
I didn´t try to compile Blink right now, I want first to compile the
 Null application for that platform.
Thanks



- Message d'origine 
De : Urs Hunkeler <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Vendredi, 14 Décembre 2007, 9h58mn 07s
Objet : Re: [Tinyos-help] linking problems

Hi,

You probably won't get any errors anymore because the program is not
being compiled. I would guess that this line is the single most
important line in the whole Makefile :-)

I don't know the detailed meaning of this line, but the $(LDFLAGS) is
usually the set of flags specific for linking.

Your warning seems to indicate a problem with your software setup. What
is the exact command you use to compile? What application are you
 trying
to compile? Do you manage to compile the Null application for the
desired platform? If so, what about Blink?

Cheers,
Urs


mejda chouaieb schrieb:
> Hello All,
> can someone please expalin to me the meaning of this line and if
 something for linking is present here :
> $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS)
 $(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)
> because when i copile for my new platform I have a linking error from
 the toolchain:
> /ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld:
 warning: cannot find entry symbol _start; defaulting to 
> and when I put # in front of this line this warning disappears !!!
> Thanks for help







  

Yahoo! Mail innove : interface hyper pratique, messenger intégré,
 couleurs - http://mail.yahoo.fr





  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
http://mail.yahoo.fr

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


Re : Tr : Re : [Tinyos-help] linking problems

2007-12-14 Thread mejda chouaieb
I didn't really understand if this warning comes from TinyOS or from the 
Toolchain !
II'm porting TinyOS to Jennic JN5139R1 microcontroller and i'm compiling for my 
new platform called iSense which is based on the JN5139R1 microcontroller, it 
seams to compile the Null application but I still have this warning that is 
very important. I wrote the functions that starts Jennic.
as follows:
---
PUBLIC void  AppColdStart() {
HAL_GDB_INIT();
HAL_BREAKPOINT();
/* Register peripheral callbacks */
u32AppApiInit( NULL, NULL, NULL, NULL, NULL, NULL);
u32AHI_Init();
}
PUBLIC void  AppWarmStart() {
AppColdStart();
}
--
every thing is related to this Makefile line :
_
  $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(WIRING_CHECK_FLAGS) 
$(COMPONENT).nc $(LIBS) $(LDFLAGS)
_
when I compile the Null application I have :
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x476341cfL -DIDENT_UID_HASH=0x8c7e27ebL -I. -D
OR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-setc
c -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhar
d-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEV
KIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/
opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-
2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/
JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  Nu
llAppC.nc -lm
/ba-elf/bin/../lib/gcc/ba-elf/4.1.2/../../../../ba-elf/bin/ld: warning: cannot f
ind entry symbol _start; defaulting to 
compiled NullAppC to build/isense/main.exe
 360 bytes in ROM
   4 bytes in RAM
ba-elf-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
writing TOS image
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$
___
I'm really confused and I couldn't fix this warning since 2 weeks, so if some 
one has an idea or if someone can explain to me what happen when this makefile 
line is used it will be great. because when I commit it out I have no more this 
warning as follows:
_
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
#ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-
all -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=
\"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_H
ASH=0x9dac3aceL -DIDENT_UNIX_TIME=0x476344dfL -DIDENT_UID_HASH=0xaad354f0L -I. -
DOR1K -g -Os -Wall -fomit-frame-pointer -msibcall -mno-entri -mno-multi -mno-set
cc -mno-cmov -mno-carry -mno-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mha
rd-mul -mbranch-cost=3 -msimple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DE
VKIT2 -DEMBEDDED -DLEAN_N_MEAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I
/opt/tinyos-2.x/tos/chips/JN5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos
-2.x/tos/chips/JN5139R1/Common/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip
/JN513xR1/Include -I -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  N
ullAppC.nc -lm
compiled NullAppC to build/isense/main.exe
 360 bytes in ROM
   4 bytes in RAM
ba-elf-objcopy --output-target=ihex build/isense/main.exe build/isense/main.ihex
writing TOS image
_

Thanks
- Message d'origine 
De : Michael Schippling <[EMAIL PROTECTED]>
À : mejda chouaieb <[EMAIL PROTECTED]>
Cc : tinyos-help@millennium.berkeley.edu
Envoyé le : Vendredi, 14 Décembre 2007, 18h48mn 09s
Objet : Re: Tr : Re : [Tinyos-help] linking problems

My guess would be that there is a 'hidden' main() component
that sets the entry address "_start". The tos/system/RealMain.nc
might have something to do with this, but probably something needs
to be defin

[Tinyos-help] linking problems, can someone please tell me how to call a C file in .target ?

2007-12-16 Thread mejda chouaieb
I have a "initialisation.c" file that defines the start function, My 
support/make/isense.target file looks like:
___
PLATFORM = isense
CFLAGS += $(TOSDIR)/platforms/isense/initialisation.c
$(call TOSMake_include_platform,JN513X)
isense: $(BUILD_DEPS)
 @:
___

I think that the C file is interpreted like an assembly file because when I 
compile I have now:
___
[EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos-2.x/apps/Null
$ make isense
mkdir -p build/isense
compiling NullAppC to a isense binary
ncc -o build/isense/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-a
ll -target=isense -fnesc-cfile=build/isense/app.c -board= -DIDENT_PROGRAM_NAME=\
"NullAppC\" -DIDENT_USER_ID=\"Mejda\" -DIDENT_HOSTNAME=\"MEJDA\" -DIDENT_USER_HA
SH=0x9dac3aceL -DIDENT_UNIX_TIME=0x4765662fL -DIDENT_UID_HASH=0x211aa43aL /opt/t
inyos-2.x/tos/platforms/isense/initialisation.c -I. -DOR1K -g -Os -Wall -fomit-f
rame-pointer -msibcall -mno-entri -mno-multi -mno-setcc -mno-cmov -mno-carry -mn
o-subb -mno-sext -mno-ror -mno-ff1 -mno-hard-div -mhard-mul -mbranch-cost=3 -msi
mple-mul -mabi=1 -march=ba1 -mredzone-size=4 -DPCB_DEVKIT2 -DEMBEDDED -DLEAN_N_M
EAN -DSINGLE_CONTEXT -DCHIP_RELEASE_5131 -Iinclude -I/opt/tinyos-2.x/tos/chips/J
N5139R1/Platform/DK2/Include -I./Source -I/opt/tinyos-2.x/tos/chips/JN5139R1/Com
mon/Include -I/opt/tinyos-2.x/tos/chips/JN5139R1/Chip/JN513xR1/Include -I -I/opt
/tinyos-2.x/tos/chips/JN5139R1/Chip/Common/Include  NullAppC.nc -lm
/opt/tinyos-2.x/tos/platforms/isense/initialisation.c:2: error: expected '=', ',
', ';', 'asm' or '__attribute__' before 'void'
/opt/tinyos-2.x/tos/platforms/isense/initialisation.c:15: error: expected '=', '
,', ';', 'asm' or '__attribute__' before 'void'
make: *** [exe0] Error 1
___

can someone please tell me how to call a C file in .target ?
- Message d'origine 
De : Kevin Klues <[EMAIL PROTECTED]>
À : [EMAIL PROTECTED]
Cc : mejda chouaieb <[EMAIL PROTECTED]>; tinyos-help@millennium.berkeley.edu
Envoyé le : Dimanche, 16 Décembre 2007, 1h55mn 53s
Objet : Re: Re : Tr : Re : [Tinyos-help] linking problems

Take a look at how imote defines their start function in 
tos/platforms/intelmote2/toscrt0.s assembly file.

And then see how this gets compiled in with everything else in 
support/make/intelmote2.target

Kevin


On Dec 14, 2007 7:20 PM, Michael Schippling <[EMAIL PROTECTED]> wrote:

I'm sorry, but there's been too much water under the bridge for me...

What I was trying to say, and it seems to be somewhat true, is that
you need a symbol named "_start" that tells the link/loader where to put 
the very first executable instruction in 'physical' memory. I believe
there was an invisible .o that did this for UNIX compiles back in the day,
and I forget what it's name was...but it was automagically included 
in every compile. If this is not covered in the TOS "porting"
"documentation" then you may need to do some code archaeology on
existing platforms, down to the .asm level. The ELF linker doc may 
have something to say about it too.

MS


mejda chouaieb wrote:
> I didn't really understand if this warning comes from TinyOS or from the 
> Toolchain ! 
> II'm porting TinyOS to Jennic JN5139R1 microcontroller and i'm compiling for 
> my new platform called iSense which is based on the JN5139R1 microcontroller, 
> it seams to compile the Null application but I still have this warning that 
> is very important. I wrote the functions that starts Jennic. 
> as follows:
> ---
> PUBLIC void  AppColdStart() {
> HAL_GDB_INIT();
> HAL_BREAKPOINT();
> /* Register peripheral callbacks */ 
> u32AppApiInit( NULL, NULL, NULL, NULL, NULL, NULL);
> u32AHI_Init();
> }
> PUBLIC void  AppWarmStart() {
> AppColdStart();
> }
> --
>  
> every thing is related to this Makefile line :
> _
>   $(NCC) -o $(MAIN_EXE) $(OPTFLAGS) $(PFLAGS) $(CFLAGS) $(WIRING_CHECK_FLAGS) 
> $(COMPONENT).nc $(LIBS) $(LDFLAGS) 
> _
> when I compile the Null application I have :
> [EMAIL PROTECTED] /cygdrive/c/jennic/cygwin/opt/tinyos- 2.x/apps/Null
> $ make isense
> mkdir -p build/isense
> compiling NullApp

[Tinyos-help] Very Urgent : Microcontrollers supported by TinyOS ?

2008-01-12 Thread mejda chouaieb
Hello All,
I know that TinyOS supports two types of Microcontrollers : Atmel AVR and Texas 
Instruments MSP430, but I discovered that there is an other Microcontroller 
supported by TinyOS which is Intel PXA27x !! I want to know if this third 
Microcontroller is totaly independed from the two others or if it derives from 
MSP430 ?
An other question is that : I know that TinyOS supports 7 Platforms (eyesIFXv2, 
Intel MOTE 2, MICA2, MICA2DOT, MICAZ, TelosB and Tinynode) and I want to know 
on which Microcontroller is based each of these Platform (I mean on Atmel AVR 
or Texas Instruments MSP430 or PXA27x ?) and when was each Platform developed 
and Ported to TinyOS ? (I mean in which Year ?)

Thanks.


  

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs - 
http://mail.yahoo.fr

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