[Avrora] could I get the code running time by avrora?

余晓捷 yuxiaojie9 at 163.com
Fri Jan 11 22:59:03 PST 2008


Hi, I wrote a cryptograhy algorithm for my tinyos application, now I want to get the running time of this algorithm. And I don't have any real mote at hand, so the question is whether the avrora can tell me the running time, and how ?
 
I have read some doc about avrora, but i don't know the exactly meaning of the avrora output.
Simulated time:166 cycles
Time for simulation: 0.475 seconds
Total throughput: 3.4947367E-4 mhz
 
And I use avr-objdump to convert my app to .od format and run avrora app.od, but got many errors:
 
$ avrora -platform=mica2 -seconds=10 app.od
Loading app.od...[OK: 1.094 seconds]
=={ Simulation events }=======================================================
Node          Time   Event
------------------------------------------------------------------------------
   0         25068  00BA: illegal write to sram at address 0x1100
   0         25074  00BA: illegal write to sram at address 0x1101
   0         25080  00BA: illegal write to sram at address 0x1102
   0         25086  00BA: illegal write to sram at address 0x1103  
........
 
 
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucla.edu/pipermail/avrora/attachments/20080112/f473e960/attachment.htm 


More information about the Avrora mailing list