[Avrora] Collection Problem
Roy Shea
royshea at gmail.com
Tue Feb 17 09:17:19 PST 2009
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
More information about the Avrora
mailing list