[En-Nut-Discussion] Ethernut 2.1, httpd-app: size of the .hex-file
Markus Dost
markus.dost at dr-clauss.de
Mon Feb 6 12:22:42 CET 2012
Hi Harald,
thanks for your answer. Until now, I had develop AVR-projects only in
the AVR-Studio which told me the memory usage after compiling. So I
didn't care about the hex-file :-)
The size of my .bin-File is 93 KB and the last memory adress in
the .hex-file ist 10730. So everything should be fine ^^.
Best regards,
Markus
Am 06.02.2012 um 12:06 schrieb Harald Kipp:
> Hi Markus,
>
> On 06.02.2012 11:12, Markus Dost wrote:
>> I configured the OS for the board with an ATmega128 and compiled the
>> httpd-app. The building worked fine, but the size of the .hex-file is
>> about 260 KB. This is too large for program memory of the controller,
>> so I wonder whether this is a normal code size or something went
>> wrong.
>
> The hex file contains ASCII format, each byte is coded in two ASCII
> characters.
>
> http://en.wikipedia.org/wiki/Intel_hex
>
> Therefore, it is at least twice as large as the binary code. In
> addition, the hex file contains addresses, checksums, CR/LF and more.
>
> How large is httpserv.bin? This file contains the pure flash image.
>
> Regards,
>
> Harald
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list