[Avrora] Collection Problem

rodolfo de paz rodolfo.depaz at cit.ie
Wed Feb 18 09:04:11 PST 2009


Hi,

Yes, i updated the micaz code to fix some bugs and add better support. I've never tried MultihopOscilloscope with avrora but we have run in our group multihop simulations for micaz with an extension of the OpenZB code of TinyOS-1.x. So i guess it should be fine. Anyway, if there is any bug that you may find send it to the avrora list and i will also try to help.

regards,
Rodolfo.



-----Original Message-----
From: avrora-bounces at lists.ucla.edu on behalf of Roy Shea
Sent: Tue 17/02/2009 5:17
To: Alireza pourranjbar
Cc: Mailing list for Avrora simulator users and developers.
Subject: Re: [Avrora] Collection Problem
 
Hello Alireza,

> I have tried simulating Blink and it works well.After I tried to simulate
> RadioCountToLeds successfully.so it made me sure that radio works.

Great.  That's a good start.

> I have downloaded the latest version from Avrora from official Site. I think
> it is 1.7 . if you have better distribution , please send me the link .

These days most of us use the Source Forge CVS version available at:

http://sourceforge.net/cvs/?group_id=215797

> I have simplified my OssciloscopeMultiHup application to my own
> application.I have ignored queuing and Serial communication and some other
> parts to just focus on Collection.

Even before that, try testing out the MultihopOscilloscope application
distributed with Tinyos 2.x.  That is known to work right out of the
box.

> Here is the command that i use to run simulation after "make micaz":
> first : avr-objdump -zhD build/micaz/main.exe > myos.od
> second : java -jar avrora.jar -platform=micaz -simulation=sensor-network
> -seconds=15.0 -topology=./topology.top -noise=./noise.txt -monitors=leds
> -node=0 -port=2390 -report-seconds -nodecount=3 myos.od

Okay, this may be part of the problem.  I don't know what the status of
CC2420 radio (used on the micaz) support is in Avrora.  I think that the
1.7 devel branch only ever had preliminary support.  Looking around in
the CVS version on Source Forge just now I see that Rodolfo of AvroraZ
has merged the CC2420 code into the Source Forge CVS.  Awesome.  I'll
have to give that a try...  But back to your problem.  I would
recommend:

- Test that MultihopOscilloscope works with mica2s on your setup (last
  reality check, this should work)

- Test that MultihopOscilloscope works with micazs on your setup (this
  tests how micazs in Avrora handle collection, I've not tested this but
  I'm guessing it works)
    - If it works then you can begin looking for the difference between
      MultihopOscilloscope and your application to see what you changed
    - If it does not work then you've isolated the problem to the radio
      stack and you can try your application with the mica2 nodes

Best of luck,
-Roy
_______________________________________________
Avrora mailing list
Avrora at lists.ucla.edu
http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucla.edu/pipermail/avrora/attachments/20090218/1d7e3fae/attachment.htm 


More information about the Avrora mailing list