Hi all,
I would like to use Avrora with Deluge, because Avrora seems really
better than Tossim (in Tossim, we cannot reboot a Deluge node).
I am quiet a newbie in Avrora and tinyos, but I have read in Avrora doc
that there is a support for mica2 EEPROM. Good for Deluge simulation !
So I have just change the SimpleCmd application by including Deluge (i
have tried it with TOSSIM and it works), to test it with Avrora.
But the problem is that it seems Avrora with Deluge fails in the EEPROM
initialization, because I don't know how to install the Golden Image in
the node !
The result is that when I try to lauch the "BcastInject led_on", the
packet is received by the node, but it doesn't answer by a ACK, like it
is frozen by a wrong EEPROM access.
Here is below the output of the Avrora Deluge node.
As you can see, in the EEPROM initialization, the Tick stays to -1,
after a write access... I don't know more about the inner details, it is
Deluge specific, I think.
Also at the end, a packet is received by the node (it is the packet from
the BcastInject) but no ACK is send back ???? ...
Thanks a lot for a response... it could be very great to simulate Deluge
inside Avrora. Like this, network reprogrammation could be really tested .
Cheers
Phong
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[EMAIL PROTECTED]:~/Documents/tinyos/cvs/tinyos-1.x/apps/SimpleCmd>
Avrora -nodecount=1 -monitors=serial -real-time
-verbose=atmel.usart0,atmel.usart1,atmel.eeprom SimpleCmd.Deluge.od
Loading SimpleCmd.Deluge.od...[OK: 3.051 seconds]
=={ Simulation events
}=======================================================
Node Time Event
------------------------------------------------------------------------------
Waiting for serial connection on port 2390...connected to /127.0.0.1:48968
0 451057 Tick : -1
0 451058 EEPROM: EECR written to, val = 1
0 451058 EEPROM: EERE flagged
0 451059 Tick : -1
0 451059 EEPROM: 0 read from 4064
0 451084 Tick : -1
0 451085 EEPROM: EECR written to, val = 1
0 451086 Tick : -1
0 451111 Tick : -1
0 451112 EEPROM: EECR written to, val = 1
0 451113 Tick : -1
0 451138 Tick : -1
0 451139 EEPROM: EECR written to, val = 1
0 451140 Tick : -1
0 451165 Tick : -1
0 451166 EEPROM: EECR written to, val = 1
0 451167 Tick : -1
0 451419 Tick : -1
0 451420 EEPROM: EECR written to, val = 1
0 451421 Tick : -1
0 451446 Tick : -1
0 451447 EEPROM: EECR written to, val = 1
0 451448 Tick : -1
0 451473 Tick : -1
0 451474 EEPROM: EECR written to, val = 1
0 451475 Tick : -1
0 451500 Tick : -1
0 451501 EEPROM: EECR written to, val = 1
0 451502 Tick : -1
0 451527 Tick : -1
0 451528 EEPROM: EECR written to, val = 1
0 451529 Tick : -1
0 451554 Tick : -1
0 451555 EEPROM: EECR written to, val = 1
0 451556 Tick : -1
0 451581 Tick : -1
0 451582 EEPROM: EECR written to, val = 1
0 451583 Tick : -1
0 451608 Tick : -1
0 451609 EEPROM: EECR written to, val = 1
0 451610 Tick : -1
0 451635 Tick : -1
0 451636 EEPROM: EECR written to, val = 1
0 451637 Tick : -1
0 451662 Tick : -1
0 451663 EEPROM: EECR written to, val = 1
0 451664 Tick : -1
0 897380 Red: on
0 897382 Yellow: on
0 897384 Green: on
0 897386 Red: off
0 897388 Yellow: off
0 897390 Green: off
0 897516 USART0: period set to 16
0 897519 USART0: multiplier set to 8
0 934549 USART0: period set to 16
0 934552 USART0: multiplier set to 8
0 149208320 USART0: Received frame 0x7E [01111110] (126) '~' 0 15 8
0 149211392 USART0: Received frame 0x41 [01000001] (65) 'A' 0 15 8
0 149214464 USART0: Received frame 0x0E [00001110] (14) 0 15 8
0 149217536 USART0: Received frame 0xFF [11111111] (-1) 0 15 8
0 149220608 USART0: Received frame 0xFF [11111111] (-1) 0 15 8
0 149223680 USART0: Received frame 0x08 [00001000] (8) '\b' 0 15 8
0 149226752 USART0: Received frame 0x7D [01111101] (125) '}' 0 15 8
0 149229824 USART0: Received frame 0x5D [01011101] (93) ']' 0 15 8
0 149232896 USART0: Received frame 0x0B [00001011] (11) 0 15 8
0 149235968 USART0: Received frame 0x19 [00011001] (25) 0 15 8
0 149239040 USART0: Received frame 0x01 [00000001] (1) 0 15 8
0 149242112 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149245184 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149248256 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149251328 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149254400 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149257472 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149260544 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149263616 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149266688 USART0: Received frame 0x00 [00000000] (0) 0 15 8
0 149269760 USART0: Received frame 0x83 [10000011] (-125) 0 15 8
0 149272832 USART0: Received frame 0x1B [00011011] (27) 0 15 8
0 149275904 USART0: Received frame 0x7E [01111110] (126) '~' 0 15 8
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help