Apologies for cross posting, I believe this may be useful to both communities.
The reason that the one node starts 1000000 cycles after the other is
because John's example command includes a stagger-start interval of
that amount.
That said, I don't quite know why each node starts with an offset of
8000000. From testing with the calls monitor, it looks like there is a
1 second wait period before anything else happens:
java avrora.Main -platform=mica2 -simulation=sensor-network
-monitors=calls -seconds=1.1 -stagger-start=1000000 -nodecount=2
RadioCountToLeds.elf
Avrora [Beta 1.7.107] - (c) 2003-2007 UCLA Compilers Group
Loading RadioCountToLeds.elf...[OK: 0.167 seconds]
=={ Simulation events }=======================================================
Node Time Event
------------------------------------------------------------------------------
0 1559 @ 0x0346 --(CALL)-> main
0 1575 main: @ 0x159C --(CALL)-> memset
0 1661 main: @ 0x25E4 <-(RET )-- memset
1 1001559 @ 0x0346 --(CALL)-> main
1 1001575 main: @ 0x159C --(CALL)-> memset
1 1001661 main: @ 0x25E4 <-(RET )-- memset
0 8008079 main: @ 0x1662 --(CALL)-> HplCC1000P__HplCC1000__write
0 8008333 main: @ 0x03F2 <-(RET )-- HplCC1000P__HplCC1000__write
0 8008335 main: @ 0x166A --(CALL)-> HplCC1000P__HplCC1000__write
....
Zainul.
On Mon, Mar 2, 2009 at 8:28 PM, Alessandro Stamatto <[email protected]> wrote:
> Hi,
>
> Indeed i had the old version, but after updating the Avrora Source Tree i
> still got an odd output. I runned RadioCountToLeds in Avrora and the
> simulation output started like this:
>
> " 1 9007934 off off on
> 1 9007936 off on on
> 1 9007938 on on on
> 1 9007940 on on off
> 1 9007942 on off off
> 1 9007944 off off off
> 1 9035390 off off on
> 1 9036229 ----> 00 0.416 ms
> 0 8007810 off off on
> 0 8007812 off on on
> 0 8007814 on on on
> 0 8007816 on on off
> 0 8007818 on off off
> 0 8007820 off off off
> 0 8035266 off off on "
>
> The node 0 still starts at "around 8000000" and the node 1 still starts at
> "around 9000000". Like John mentioned, that way i think is still not
> working...
>
> Any thing i could do for that?
>
> Thanks in advance,
>
> Alessandro Stamatto.
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help