Hi Bai,

Le Tuesday 30 December 2008 05:57:48 BAI LI, vous avez écrit :
> Hi All,
>
> After the compilation of nesC application, it generated a ihex file. When I
...
> why the first five digits are always the same, what does these stand for?
> Anyone could help me to understand this ihex file? Thanks.

Well google gives some good hints :
http://www.scienceprog.com/shelling-the-intel-8-bit-hex-file-format/

> Another question is since main.exe is the ELF executable output format ,
> how to compile the application into some binary format, like 10100001010101
> format?
you can use "avr-objcopy" to dump to raw binary format :
avr-objcopy -O binary main.exe main.bin

see binutils documentation  on objcopy for more details : 
http://sourceware.org/binutils/docs/binutils/index.html

Cheers,
Aurelien

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

Reply via email to