You can also have a look at the MSPSim simulator:
http://docs.tinyos.net/index.php/MSPsim

Regards.

Sylvain

On Sun, 2010-08-08 at 10:19 -0600, Michael Schippling wrote:
> You can pass options to the GCC compiler by putting this
> in your makefile:
> 
> CFLAGS += -S
> 
> That particular option causes the compiler to stop before
> the assembler pass. When I tried it with a mica2 compile
> I got a build/mica2/main.exe file that actually contained
> the generated assembly code. YMMV with telosb...
> 
> You could also look into using a high resolution timer
> to wrap around the section of executing code you are
> interested in.
> 
> MS
> 
> bugger wrote:
> > Hi,
> > I don't know if this is the right place to talk about my problem but, anyway
> > I'll try to explain it quickly.
> > So, I've got a Telos and I installed an algorithm on the micrcontroller
> > MSP430: I have to calculate the execution time of the program directly on
> > the code, summing the numebr of cycles of the different instructions.
> > How can I do this? I mean, How can I do this when the program is written in
> > NesC and I can't find the corespondents instructions used to program a
> > MSP430 (instructions as MOVE, PUSH, RETI,..)
> > 
> > Thanks in advice
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to