RTEMS on ARM

Joel Sherrill joel.sherrill at OARcorp.com
Mon Apr 5 20:20:02 UTC 2004


Jay Monkman wrote:

> On Mon, Apr 05, 2004 at 08:48:56AM -0300, Jairo Cavanus wrote:
> 
>>uC?s configuration:
>>   AT91FR4042: ARM 7 82Mhz, 512 KB Flash + 256 KB SRAM
>>(http://www.atmel.com/dyn/products/product_card.asp?part_id=1983);
>>   AT91FR40162: ARM 7 82Mhz, 2 MB Flash + 256 KB SRAM
>>(http://www.atmel.com/dyn/products/product_card.asp?part_id=1985);
>>
>>The one that I need besides the kernel is the basic TCP/IP + PPP...
>>
>>Will I need external Flash or SRAM?
> 
> 
> That depends on your application, but for an Atmel AT91RM9200 (ARM9),
> here's the sizes of the sample programs:
>    text    data     bss     dec     hex filename
>  113663    3020   47104  163787   27fcb arm-rtems/csb337/samples/base_sp.exe
>   88807    2968   39168  130943   1ff7f arm-rtems/csb337/samples/hello.exe
>  268135    8328   51200  327663   4ffef arm-rtems/csb337/samples/loopback.exe
>   88923    2968   39168  131059   1fff3 arm-rtems/csb337/samples/minimum.exe
>  177555    3428   48384  229367   37ff7 arm-rtems/csb337/samples/paranoia.exe
>  442929   16096   81408  540433   83f11 arm-rtems/csb337/samples/pppd.exe
>  115551    3020   45056  163627   27f2b arm-rtems/csb337/samples/ticker.exe
>  116943    2968   43776  163687   27f67 arm-rtems/csb337/samples/unlimited.exe
> 
> That indicates it would fit in your part, (maybe not the 512K one) but
> executing out of flash, which is somewhat slower than sram.

First... I didn't connect the csb337 as being an ARM9 and anyone who
asks me about specific ARM part numbers like that long Atmel is
usually going to get a long blank stare. :)

Jay have you ever looked at the symbol table for those executables or
the output of -Map with the linker?

Since minimum and hello are essentially the same size, that indicates
that at least printf() is being forced in by the BSP or some ARM
support code.  It is also possible that the BSP has some unnecessary
references to subsystems that are not used in minimal configurations.

--joel




More information about the users mailing list