I would suppose that it is a loader format, probably ELF,
and contains all kinds of extra stuff like symbols. Try
hex dumping it to see what's there...
But to get it to the mote you generally need an "SREC" format,
at least that's what micas want, and it looks like tmotes have
embedded something like it in their tos_image.xml files.
If you use the standard TOS makefiles these files should
be generated for you. Then it's a matter of downloading
to the controllers, for which TOS conveniently provides
programs.
If you follow along on the tutorial path you will find
make [platform] -- to produce the binaries
make [platform] install -- to download them
Is that not working for you?
MS
jose m wrote:
Just one. Why this file is so large? In bytes I mean. Compilation says
"1753 bytes in ROM", but this "main.exe" has 6684 bytes... If I write
"main.exe" to the microcontroller, is this the right program and works fine?
----- Mensaje original ----
De: Michael Schippling <[EMAIL PROTECTED]>
Para: jose m <[EMAIL PROTECTED]>
CC: [email protected]
Enviado: sábado 13 de octubre de 2007, 16:16:12
Asunto: Re: [Tinyos-help] Compile to binary
main.exe is the binary file for the platform to which you are compiling
I suspect that there is another question though?
MS
jose m wrote:
> Hello,
>
> A question: Can I compile my code to create a binary file? not intel or
> motorola, hexadecimal code. Is the "main.exe" the binary?
> Thanks in advance.
>
>
> ------------------------------------------------------------------------
>
> El Mundial de Rugby 2007
> Las últimas noticias en Yahoo! Deportes:
> http://ar.sports.yahoo.com/mundialderugby
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
<mailto:[email protected]>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
------------------------------------------------------------------------
Seguí de cerca a la Selección Argentina de Rugby
en el Mundial de Francia 2007.
http://ar.sports.yahoo.com/mundialderugby
------------------------------------------------------------------------
_______________________________________________
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