[Tinyos-help] Problem in loop execution

2008-09-01 Thread Dhivya G
Hi,
   My application is to enable the Dio pins of MDA320 board at different
timer intervals. My code is as follows:

command result_t StdControl.init() {
call Leds.init();
call DioControl.init();
return SUCCESS;
}
command result_t StdControl.start() {
uint16_t i;
call DioControl.start();
i=0;
while(i<=10){
call Timer0.start(TIMER_ONE_SHOT, 1000);
call Timer1.start(TIMER_ONE_SHOT, 5000);
call Timer3.start(TIMER_ONE_SHOT, 1);
call Timer4.start(TIMER_ONE_SHOT, 15000);
i++;
}
return SUCCESS;
}
command result_t StdControl.stop() {
call DioControl.stop();
return SUCCESS;
}
event result_t Timer0.fired(){
call Dio2.high();
call Leds.greenToggle();
return SUCCESS;
}
event result_t Timer1.fired(){
call Dio3.high();
call Leds.yellowToggle();
return SUCCESS;
}
event result_t Timer3.fired(){
call Dio2.low();
call Leds.greenToggle();
return SUCCESS;
}
event result_t Timer4.fired(){
call Dio3.low();
call Leds.yellowToggle();
return SUCCESS;
}

In this program While loop is executing only once. After that its not
repeating. can anyone help me to solve this problem.

-- 
Thanks & regards,
G.Dhivya
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TestSerial

2008-09-01 Thread nartessos nartessos
Hi,


I try to run TestSerial on micaz,mib520 tinyos2.x (ubuntu hardly).

- cd /opt/tinyos-2.x/apps/tests/TestSerial
- make micaz install mib520,/dev/ttyUSB0


** First I had the error :

- TestSerial /dev/parport0: No such file or directory can't read 'ppdev'


I made a symbolic link as follows and I set some permissions:

- ln -s /dev/ttyUSB0 /dev/parport0
- chmod 666 /devttyUSB0
- chmod 666 /dev/parport0

The problem was resolved.

** Second I had the error :

- ioctl PPCLAIM: Invalid argument Failed to claim ppdev


I modified the /opt/tinyos-2.x/support/make/avr/avr.rules file as
follows :

-  DEFAULT_PROGRAM=mib520
  - MIB520=/devttyUSB0

The problem was resolved.

** Now I have the error :

make: *** Pas de règle pour fabriquer la cible « program », nécessaire
pour « micaz ». Arrêt.

Does somebody has a solution?


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

Re: [Tinyos-help] Tinyos-help Digest, Vol 65, Issue 3

2008-09-01 Thread KURT PETERS

Axel,
  What version of TinyOS are you using?  There was a thread about a year 
ago about problems with the way I2C was implemented (check under my name), 
if you're using 2.x.  The new version (release) seems to have the fix 
implemented.

Regards,
Kurt

Original Message Follows
From: Axel Poigné <[EMAIL PROTECTED]>
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Puzzled about I2C write
Date: Mon, 1 Sep 2008 18:48:16 +0200
Hi

I am trying to use the I2C bus to read and write an EEPROM but failed.  It 
seems the write does not work. I went into the code and I am  puzzled about 
the following piece of code in tos/chips/msp430/usart/ Msp430I2CP.



void nextWrite() {
if ( ( m_pos == m_len - 1 ) && ( m_flags & I2C_STOP ) ) {
  call HplI2C.setStopBit();
}
else if ( m_pos == m_len ) {
  signalDone( SUCCESS );
  return;
}
call HplI2C.setData( m_buf[ m_pos++ ] );
  }

It seems that it never gets into the success branch: the stop bit is  set 
but there is no further interrupt coming. If I understand the I2C  correctly 
this makes sense since after writing all the bytes an  acknowledge (hence 
interrupt) should be issued by the slave, and then  the master should send 
the stop bit.


I wonder whether I am mistaken or if my EEPROM goes wrong. The EEPROM  I use 
is a Microchip 24LC64 on a custom-build board (where MSP and  CC2420 runs 
fine).


Axel


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

[Tinyos-help] HOW TO GET BATTERY LEVEL OF MICAZ MOTE

2008-09-01 Thread Adeel Akhtar
Hi ALL
   i want to get the battery level of micaz mote in nesc is there any
specific command by which i can get the power level of micaz mote?


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

[Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc

2008-09-01 Thread nartessos nartessos
Goodmorning everybody,


I want to simulate a base station using tossim (tinyos 2.x), I try to
run the BaseStation example.
It works fine but there is no communication.

Where is the problem? Where the first message is sended in the source
code? Have I to use the
java program (net.tinyos.tools.Listen) to run this example?

Is there somewhere where I can learn how to completely run this example ?


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


[Tinyos-help] nesC mime type?

2008-09-01 Thread Jan Gäbler
hello,

can anyone tell me what the nesC mime-type is? is it text/x-c ???

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


[Tinyos-help] TOSSIM : simulate a base station / running BaseStation*.nc

2008-09-01 Thread natessos
Goodmorning everybody,


I want to simulate a base station using tossim (tinyos 2.x), I try to 
run the BaseStation example.
It works fine but there is no communication.

Where is the problem? Where the first message is sended in the source 
code? Have I to use the
java program (net.tinyos.tools.Listen) to run this example?

Is there somewhere where I can learn how to completely run this example ?


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


Re: [Tinyos-help] API Documentation of the TinyOS Java Toolchain?

2008-09-01 Thread Nicola Wegner
No, I did not try to generate them. Somehow I thought the source code
was not included :-O
Now I found it and generated the doc.
Thanks,
Nicola

2008/9/1 Marco Antonio Lopez Trinidad <[EMAIL PROTECTED]>:
> have you tried to generate it?
>
> javadoc *.java
>
> --marco.
>
>> Hi,
>>
>> does anybody know where the Java API documentation of the TinyOS
>> toolchain can be found? The previous location
>> http://www.tinyos.net/tinyos-2.x/doc/javadoc/index.html does not work
>> any more :-/
>>
>> Thanks, Nicola
>> ___
>> Tinyos-help mailing list
>> Tinyos-help@millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
>
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] receiver throughput

2008-09-01 Thread Vijay Gabale
Hi there,

I am currently employing tmote sky platform mote to carry out some
experiments with tinyos 1.x.  On transmitting packet from mcu to radio tx
fifo over SPI, I could get maximum of 270 kbps of throughput but on
receiving packet from radio rx fifo to mcu over SPI, I observed that, the
throughput was around 145 kbps. I explored HPLCC2420M.nc to realize that
whenever you need to fetch a byte from radio fifo, you first need to
transmit a signal to radio. This effectively reduces throughtput while
receiving over SPI to half of that of transmitting. CC2420 data sheet does
not mention about this asynchronous fetch.

Has anybody encountered and tackled the same problem? Can we have solution
to this?

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

[Tinyos-help] Puzzled about I2C write

2008-09-01 Thread Axel Poigné

Hi

I am trying to use the I2C bus to read and write an EEPROM but failed.  
It seems the write does not work. I went into the code and I am  
puzzled about the following piece of code in tos/chips/msp430/usart/ 
Msp430I2CP.



void nextWrite() {
if ( ( m_pos == m_len - 1 ) && ( m_flags & I2C_STOP ) ) {
  call HplI2C.setStopBit();
}
else if ( m_pos == m_len ) {
  signalDone( SUCCESS );
  return;
}
call HplI2C.setData( m_buf[ m_pos++ ] );
  }

It seems that it never gets into the success branch: the stop bit is  
set but there is no further interrupt coming. If I understand the I2C  
correctly this makes sense since after writing all the bytes an  
acknowledge (hence interrupt) should be issued by the slave, and then  
the master should send the stop bit.


I wonder whether I am mistaken or if my EEPROM goes wrong. The EEPROM  
I use is a Microchip 24LC64 on a custom-build board (where MSP and  
CC2420 runs fine).


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

[Tinyos-help] schedule periodic operation

2008-09-01 Thread João Paulo Amaro da Costa Luz Carneiro
Hi,
If I want to perform an operation monthly do I need to use  
startPeriodic(2629743830) with tmilli and uint32_t or is there a  
better way? How do I sync this timer for all motes in my network to  
run at the same time?
Thanks.
Best regards,

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


[Tinyos-help] TimeStamping Events (make pc)

2008-09-01 Thread Mumraiz Khan
Hi all,
I was looking for component that implements timestamping interface (they are
available for other platforms like mica and mica2) but could not find it for
sim or pc. Is there any component that i can wire to, for implementing this
on pc ?

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

Re: [Tinyos-help] About updating to tinyos 1.1.15

2008-09-01 Thread Michael Schippling
If you started out with an old TOS install you may have
an old version of cygwin which I seem to remember was not
entirely compatible with the modern world. You might need
to start installing from scratch...

Also, around that time "they" (actually cygwin) changed some of
the syntax for accessing serial ports from "COM1" to "/dev/ttyS0"
(where the number is n-1 from the COMn value).

You can also try some of he simpler demo apps that send messages
directly to the UART, and the ListenRaw java program to see if
you are getting anything at all.

MS



[EMAIL PROTECTED] wrote:
> Hello, everybody
>  I have to update to tinyos 1.1.15 to implement a MAC protocol. Following 
> the
> instructions, i first install 1.1.7 and then use rpm to update to 1.1.15.
>  But "Listen" command do not work, and i find that files in
> "C:\tinyos\cygwin\opt\tinyos-1.x\tools\java" are all not compiled at all.so i
> complie them using "make" command.
> After that i try to run "surge" application on micaz motes. when i use
> "Listen" command, no messages are received.
> Is it the problem of installing 1.1.15 ? can someone tell me how to 
> update to
> 1.1.15 steadily?   if installing is no problem, what else should i do to apply
> "Surge" to micaz motes?
> thank you very much for your valuable time.
> 
>
> Liam
> 
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] API Documentation of the TinyOS Java Toolchain?

2008-09-01 Thread Nicola Wegner
Hi,

does anybody know where the Java API documentation of the TinyOS
toolchain can be found? The previous location
http://www.tinyos.net/tinyos-2.x/doc/javadoc/index.html does not work
any more :-/

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


[Tinyos-help] Running Blink in TOSSIM with GUI

2008-09-01 Thread dev
Hi

Extreme Noob : Be nice ! :)

Using the Xubuntos vmware image.
`make micaz sim` in the /opt/tinyos-2.1.0/apps/Blink is working fine..
and I can work in the python shell just fine.

But this is a major pain. I want to have all the fancy GUI, with a
button to click "Start" etc. etc. How can I get a GUI simulator
working ?

I searched the archives and the web. Most of the mails talked about
using `make pc` , which doesn't seem to work on tinyos-2 . Nor did
`java net.tinyos.sim.SimDriver`

Any ideas on what I should do next?

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


[Tinyos-help] Fwd: Reading packet fields in tossim simulator

2008-09-01 Thread Nahr ...
Hi all,
I would like to show packet field using tossim like that:


7E 45 00 FF FF 00 00 13 00 EE 00 01 00 00 00 07 80 EE 00 07 00 80 00
00 00 00 20 00 00 53 63 7E





How please?



I am using TinyOS 2.0.2





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

Re: [Tinyos-help] CTP parent switching

2008-09-01 Thread Michiel Konstapel
> > Now, would it be an idea to base this threshold on a percentage of
the path
> > ETX? For example, at 20%, a node with a path ETX of 2 would replace
its
> > parent by one that offers a path ETX of 1.6, whereas a node that has
a path
> > ETX of 10 would only switch if the new path has an ETX of 8 or
lower. That
> > way, it would favour optimal routes near the sink, where traffic is
highest,
> > and favour stable routes further down the tree. A cap would probably
be
> > needed on top of the percentage, so that it doesn't become
impossible to
> > switch in very large networks.
> 
> It is definitely an interesting idea. You will notice that MultihopLQI
> uses a similar approach. We haven't tried this for CTP. What did you
> observe in your experiments?

Oh, it was just an idea that came up, I haven't had a chance to try it
yet.
Michiel

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


Re: [Tinyos-help] LinkEstimator, link qualities, ETX

2008-09-01 Thread Michiel Konstapel
Thanks for your input! Great to get feedback "from the source", as it
were. Warning: wall of text coming up.

> > Our thinking was that instead of initializing the qualities and ETX
to zero,
> > wouldn't it be better to set them "halfway"? [...]
> 
> Perhaps values other than 0 are better as initial values. Lets
> consider these CTP/LEEP mechanisms:
> 
> 1. eetx for a link is not available until a link is mature

OK, I see this differs between our version and CVS HEAD. How a link
becomes mature isn't completely clear to me. It's made mature after the
first BLQ_PKT_WINDOW beacons are received?

> 2. you transmit a lot of beacons in the beginning so there are enough
> beacons to bootstrap the values

True, but we have noticed that the outquality increases quite slowly, so
a link which has perfect data delivery still receives a high (4 or more)
ETX estimate from etx = 1/(inq*outq). ETX continues to increase for
several rounds, until inquality and outquality rise high enough to
reflect the link's actual quality. This seems to cause the node to
abandon a perfectly fine link to the sink to try another parent, where
the same thing happens. This continues for a while until the sink's
beacons manage to bring up its outquality to a reasonable level.
However, its ETX difference may then be too small to cause nodes to
switch to it, since a two-hop perfect link won't be replaced by a
one-hop perfect link with a 1.5 threshold.

By initializing the qualities to a "neutral" level, we are trying to
avoid the initial ETX increase. If a link turns out to be bad, the node
finds out quickly enough. DEETX updates will quickly make it switch to
another parent if needed.

> (are you using the router that uses
> Trickle timer to drive the beacons?)

W're using the 2.0.1 Ubuntu release. CtpRoutingEngineP has the following
CVS Id:
/* $Id: CtpRoutingEngineP.nc,v 1.7 2007/04/21 07:02:37 scipio Exp $ */

It seems that's older than the one where the comments refer to Trickle,
though it does use an exponentially increasing beacon interval.

> 3. you will eventually use the link that provides the best delivery
> performance
> 
> So we are talking about initial setup time beyond link maturity? How
> much time?

Setup time isn't too much of an issue as long as we can get a first
packet out the door reasonably quickly, so we can confirm that the node
has joined the network. We are mainly concerned with the initial
"undeserved" ETX boost good links seem to get, which makes it hard to
converge on the best links since it can take many minutes or even hours
to get the qualities up to a decent value, and the ETX back down again,
on beacons alone.

> > Another observation of ours was that after a large number of beacons
(>
> > MAX_PACKET_GAP) is missed, the route qualities are reset, but the
ETX isn't.
> > In cases where a node that is a popular parent (say, the sink) is
turned off
> > for a while, its children will see its ETX skyrocket as they try to
get
> > packets through. When the node comes back online and starts sending
beacons,
> > its old children will reset the link qualities to zero, but leave
the ETX at
> > its inflated value. This means that it will take a very long time
for the
> > node to send enough beacons to make itself look like a viable parent
again.
> > Wouldn't it be better to reset the ETX at the same time as the in
and out
> > qualities? Something like this:
> 
> If you turn the node back on, you are right. But there are some other
> scenarios where what you propose might make things worse - lets say
> the link quality degrades and you slam the eetx value to the ceiling.
> Now, suddenly after more than MAX_PACKET_GAP (lets say after an hour),
> you receive a beacon, and BLQ_PKT_WINDOW consecutive beacons
> immediately after that. Is this link good or bad? If the last known
> etx for this link is a high value, why change it to some arbitrary
> value?

Well, it was good at some point and if it's been gone for an hour,
something on the node or in the environment has changed. The link may
now be good or bad, but if the ETX is left at its high value, no one
will find out. If its ETX is reset, a bad link will be quickly
identified by DEETX, won't it?

I suppose this depends on what failure modes are expected and how they
may be resolved. If one deploys a battery powered network in a field for
taking measurements, a node that's been gone for an hour probably ran
out of juice and won't be back (in which case resetting its ETX won't
matter, either).

However, our networks for sensing/monitoring applications typically
employ a backbone network of wall-powered CTP nodes, which are placed to
ensure good overall links (a link ETX of 2 is considered pretty poor).
Temporary failures should cause nodes to switch parents (for example,
someone parks a truck between a node and its parent, or a node is taken
offline for maintenance), but when a link recovers, so should the tree,
ideally. If a link fails for an extended period of time, this usu

[Tinyos-help] How to configure TinyOS and TOSSIM

2008-09-01 Thread rajesh maddy
Hi all,

I am a new bie to TinyOS.Currently i am using Debain
linux for my project.I have downloaded the required rpm files for
tinyos.But,i dont know how to configure it.Could anyone help me out in
this problem.


-- 
Thanks & Regards
Rajesh


  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Mote Compile/installation on Windows does not work

2008-09-01 Thread antonio gonga

Hej All,
finally I managed to set up TinyOS-2.1 on Windows, but the problem still. 
Whenever I program a mote with an application, it does not work. I'm also 
running TinyOS-2.0.2 on a Virtual Machine and this works perfectly.

I also was setting up The Eclipse Plugin for Windows, it works perfectly but 
when I try to program a Mote it does not work as well.
Is TinyOS-2.1 working properly?
 I was using a similar plugin for TinyOS-1.x one year ago, and it was quite 
cool. Does anyone can analyze my trace? Is there someone using this plugin as 
well?

Thanks in advance
 The trace bellow was taken from Eclipse console when trying to install a mote.
run:  "make" "-C" 
"/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer" "-f" 
"/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/TinyOS_Plugin_Makefile"
 "telosb" "bsl.5" "install.10"
at 1/Set/2008 10:58:41
working directory = /bin
env TOSROOT = /opt/tinyos-2.x
env TOSDIR = /opt/tinyos-2.x/tos
env ECLIPSE_PROJECT = 
/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer
env PFLAGS =  
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src" 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src" 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build"
 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build/telosb"
 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/build" 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/build/telosb"
 
"-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/build/telosb"
env MAKERULES = /opt/tinyos-2.x/support/make/Makerules
env COMPONENT = src/PacketAnalyzerC
env APP_MAKERULES = /opt/tinyos-2.x/support/make/Makerules
]0;~
antónio [EMAIL PROTECTED] ~
$ env "TOSROOT=/opt/tinyos-2.x" "TOSDIR=/opt/tinyos-2.x/tos" "ECLIPSE_PROJECT=/

cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer" "PFLAGS= "-I/

cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src" "-I/cygdr

ive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src" "-I/cygdri

ve/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build" "-I/c

ygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build/t

elosb" "-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src

/build" "-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/sr

c/build/telosb" "-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAna

lyzer/build/telosb"" "MAKERULES=/opt/tinyos-2.x/support/make/Makerules" "COMPON

ENT=src/PacketAnalyzerC" "APP_MAKERULES=/opt/tinyos-2.x/support/make/Makerules"

 bash
make: Entering directory 
`/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer'
mkdir -p build/telosb
compiling src/PacketAnalyzerC to a telosb binary
ncc -o build/telosb/main.exe  -Os -O  
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src 
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src 
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build
 
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/src/build/telosb
 -I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/build 
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/src/build/telosb
 
-I/cygdrive/e/KTH_COURSES/MASTER_NSS/Thesis/Projects/PacketAnalyzer/build/telosb
 -mdisable-hwmul -Wall -Wshadow -Wnesc-all -target=telosb 
-fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 
-DIDENT_APPNAME=\"src/PacketAnaly\" -DIDENT_USERNAME=\"antóniogonga\" 
-DIDENT_HOSTNAME=\"aogobg\" -DIDENT_USERHASH=0x701db054L 
-DIDENT_TIMESTAMP=0x48bbaec4L -DIDENT_UIDHASH=0x303c7e72L  
src/PacketAnalyzerC.nc -lm 
/opt/tinyos-2.x/tos/chips/cc2420/lpl/DummyLplC.nc:39:2: warning: #warning "*** 
LOW POWER COMMUNICATIONS DISABLED ***"
In file included from SendBufferC.nc:9,
 from src/PacketAnalyzerC.nc:23:
In component `SendBufferP':
SendBufferP.nc: In function `sendBufferTask.runTask':
SendBufferP.nc:79: warning: passing argument 2 of `Packet.getPayload' makes 
integer from pointer without a cast
SendBufferP.nc: In function `SendBufferP$sendBufferTask$runTask':
SendBufferP.nc:79: warning: passing arg 2 of `SendBufferP$Packet$getPayload' 
makes integer from pointer without a cast
compiled src/PacketAnalyzerC to build/telosb/main.exe
   15680 bytes in ROM
8646 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe build/telosb/main.ihex
writing TOS image
tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex 
build/telosb/main.ihex build/telosb/main.ihex.out-10 TOS_NODE_ID=10 
ActiveMessageAddressC$addr=10
installing telosb binary using bsl
tos-bsl --telosb -c 5 -r -e -I -p build/telosb/main.ihex.out-10
MSP430 Bootstra

[Tinyos-help] About updating to tinyos 1.1.15

2008-09-01 Thread
Hello, everybody
 I have to update to tinyos 1.1.15 to implement a MAC protocol. Following 
the
instructions, i first install 1.1.7 and then use rpm to update to 1.1.15.
 But "Listen" command do not work, and i find that files in
"C:\tinyos\cygwin\opt\tinyos-1.x\tools\java" are all not compiled at all.so i
complie them using "make" command.
After that i try to run "surge" application on micaz motes. when i use
"Listen" command, no messages are received.
Is it the problem of installing 1.1.15 ? can someone tell me how to update 
to
1.1.15 steadily?   if installing is no problem, what else should i do to apply
"Surge" to micaz motes?
thank you very much for your valuable time.

   
Liam


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