[ECOS] porting to Atmel-AT91, stub memory-layout, .bss does not fit
Mon Oct 30 07:54:00 GMT 2000
>>>>> "Andreas" == Andreas BÃÂ¼rgel <firstname.lastname@example.org> writes:
Andreas> Who eats up the on-chip ram space? The stub isn't much more
Andreas> than a skeleton.
But it has various buffers for packet creation/decoding. It's a real
memory pig, actually (at least if you try to squeeze it into 8kB).
You should look at the nm output to see what buffers take up the
space, and reduce their size accordingly. Beware that you cannot make
them smaller than whichever is smaller of (a) 400 bytes or (b) the
number of bytes it takes to encode the register information (IIRC).
Also, the stub stack probably defaults to a couple of k.
I assume you have more RAM available?!? You cannot expect to be able
to debug anything in 8kB of RAM. Both stub and application need space.
More information about the Ecos-discuss