On Wed, Feb 1, 2012 at 2:04 AM, Oliver Goroll <[email protected]>wrote:

> I have a TinyOS program that inspects the contents of the ROM at runtime
> via assembler instruction “lpm”.
>


> Is there some documentation on how an application is written to a mote
> (Micaz in my case)?
>

manufacture's cpu manuals.   Basically, the toolchain produces a binary
that is represented by hex or exe (actually an elf object, the exe is a
carry over from DOS/Winbloz boxes, that the tinyos folks propagated).

The download program is responsible for taking this file and wiggling the
correct wires to put the binary into the physical h/w.

I'm not aware of any tinyos documentation that describes the process.


> Comparing to main.exe, main.srec or main.ihex doesn’t yield the expected
> results: I load 8 bytes from program memory and did expect them to appear
> in one of the output files, but no luck.
>

That suggests that you are looking at a section of the memory space that
doesn't directly map into the memory represented by the executable.

Keep playing with it and looking at the stuff, it does work.


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



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to