[En-Nut-Discussion] AVR vs ARM pgm size

Ernst Stippl ernst at stippl.org
Wed Jan 18 21:43:08 CET 2006


Hi All!

The question of program size on the ARM chip was raised in some msg, this is
what discovered when trying to compile the sample apps (out of the box, no
changes): 
 
I used WinARM-20050209-2.zip and WinAVR-20040720-install.exe, and Ethernut
3.9.9
 
PGM      AVR size   ARM size
        .hex file  .hex file
Events     21k        41k
TFTP      144k        err
HTTPD     221k       397k
Inetq     106k       227k
Isp2       err        err
Logtime   133k       268k
Nutpiper  149k        err
Playmp3    err        err
Portdio   105k       226k
Pppc      125k        err
Rs232d    109k       238k
Simple     13k        25k
Tcps      108k       230k
Threads    32k        65k
Timers     29k        54k
Uart       38k        75k *)

Notes:
*) after changing _write_P to _write
"err" means it did not compile. 
I did not run all these to verify results

And yes, I do know that the .hex file is larger than the "real" binary.
(about 2.2 time the size as far as I know) but I was just interested in the
ratio between the AVR and the ARM. From this list, its sufficient for me to
know its roughly 1:2

Regards
Ernst




More information about the En-Nut-Discussion mailing list