public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ECOS Memory Requirements
@ 2006-06-01 17:39 Moussa A. Ba
  2006-06-01 18:23 ` Andrew Lunn
  0 siblings, 1 reply; 6+ messages in thread
From: Moussa A. Ba @ 2006-06-01 17:39 UTC (permalink / raw)
  To: ecos-discuss

I am porting ecos to an OKI 4061 with 128K Flash and 16K RAM.  Can this 
handle ecos? If so how much of that space will still remain for 
application code?

Moussa

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ECOS Memory Requirements
  2006-06-01 17:39 [ECOS] ECOS Memory Requirements Moussa A. Ba
@ 2006-06-01 18:23 ` Andrew Lunn
  2006-06-01 18:39   ` Moussa A. Ba
  2006-06-01 18:39   ` Moussa A. Ba
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Lunn @ 2006-06-01 18:23 UTC (permalink / raw)
  To: Moussa A. Ba; +Cc: ecos-discuss

On Thu, Jun 01, 2006 at 12:39:34PM -0400, Moussa A. Ba wrote:
> I am porting ecos to an OKI 4061 with 128K Flash and 16K RAM.  Can this 
> handle ecos? If so how much of that space will still remain for 
> application code?

128K flash is O.K.

16K RAM is probably too small. I would say that 64K RAM is a
reasonable minimum. Some things will be possible with 32K RAM. I think
with 16K RAM you are going to have problems.

Maybe take a look at the ATMEL AT91SAM7 family. There are devices with
256K Flash and 64K RAM with eCos support already in anoncvs. There are
also similar devices from Philips in there LPC family.

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ECOS Memory Requirements
  2006-06-01 18:23 ` Andrew Lunn
@ 2006-06-01 18:39   ` Moussa A. Ba
  2006-06-01 19:28     ` Andrew Lunn
  2006-06-01 18:39   ` Moussa A. Ba
  1 sibling, 1 reply; 6+ messages in thread
From: Moussa A. Ba @ 2006-06-01 18:39 UTC (permalink / raw)
  To: Moussa A. Ba, ecos-discuss

Are these high memory requirement because the code is loaded from flash 
to RAM and then executed or is it just that ECOS data structures need so 
much RAM (not that much compared to bigger processors).

Moussa

Andrew Lunn wrote:
> On Thu, Jun 01, 2006 at 12:39:34PM -0400, Moussa A. Ba wrote:
>   
>> I am porting ecos to an OKI 4061 with 128K Flash and 16K RAM.  Can this 
>> handle ecos? If so how much of that space will still remain for 
>> application code?
>>     
>
> 128K flash is O.K.
>
> 16K RAM is probably too small. I would say that 64K RAM is a
> reasonable minimum. Some things will be possible with 32K RAM. I think
> with 16K RAM you are going to have problems.
>
> Maybe take a look at the ATMEL AT91SAM7 family. There are devices with
> 256K Flash and 64K RAM with eCos support already in anoncvs. There are
> also similar devices from Philips in there LPC family.
>
>      Andrew
>   


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ECOS Memory Requirements
  2006-06-01 18:23 ` Andrew Lunn
  2006-06-01 18:39   ` Moussa A. Ba
@ 2006-06-01 18:39   ` Moussa A. Ba
  1 sibling, 0 replies; 6+ messages in thread
From: Moussa A. Ba @ 2006-06-01 18:39 UTC (permalink / raw)
  To: Moussa A. Ba, ecos-discuss

Could I just use Redboot and if so what are the requirements on that?

Moussa  
Andrew Lunn wrote:
> On Thu, Jun 01, 2006 at 12:39:34PM -0400, Moussa A. Ba wrote:
>   
>> I am porting ecos to an OKI 4061 with 128K Flash and 16K RAM.  Can this 
>> handle ecos? If so how much of that space will still remain for 
>> application code?
>>     
>
> 128K flash is O.K.
>
> 16K RAM is probably too small. I would say that 64K RAM is a
> reasonable minimum. Some things will be possible with 32K RAM. I think
> with 16K RAM you are going to have problems.
>
> Maybe take a look at the ATMEL AT91SAM7 family. There are devices with
> 256K Flash and 64K RAM with eCos support already in anoncvs. There are
> also similar devices from Philips in there LPC family.
>
>      Andrew
>   


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ECOS Memory Requirements
  2006-06-01 18:39   ` Moussa A. Ba
@ 2006-06-01 19:28     ` Andrew Lunn
  2006-06-02  7:15       ` Ilija Koco
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Lunn @ 2006-06-01 19:28 UTC (permalink / raw)
  To: Moussa A. Ba; +Cc: ecos-discuss

On Thu, Jun 01, 2006 at 02:04:37PM -0400, Moussa A. Ba wrote:
> Are these high memory requirement because the code is loaded from flash 
> to RAM and then executed or is it just that ECOS data structures need so 
> much RAM (not that much compared to bigger processors).

eCos can run from ROM. That is the normal setup for AT91SAM7 devices.

To get an idea of code size i suggest you download anoncvs and play
with the build for the AT91SAM7S. Look at the binaries for the
tests. 

       Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ECOS Memory Requirements
  2006-06-01 19:28     ` Andrew Lunn
@ 2006-06-02  7:15       ` Ilija Koco
  0 siblings, 0 replies; 6+ messages in thread
From: Ilija Koco @ 2006-06-02  7:15 UTC (permalink / raw)
  To: Moussa A. Ba, ecos-discuss

Andrew Lunn wrote:
> On Thu, Jun 01, 2006 at 02:04:37PM -0400, Moussa A. Ba wrote:
>   
>> Are these high memory requirement because the code is loaded from flash 
>> to RAM and then executed or is it just that ECOS data structures need so 
>> much RAM (not that much compared to bigger processors).
>>     
>
> eCos can run from ROM. That is the normal setup for AT91SAM7 devices.
>
> To get an idea of code size i suggest you download anoncvs and play
> with the build for the AT91SAM7S. Look at the binaries for the
> tests. 
>   
You can also try with MCB2100 port, an LPC2xxx setup with 16K RAM 
(allthough 256K flash) and see how your app compiles). You may need some 
memory tuning (irq stack, threads' stacks).
Ilija

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-02  7:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-01 17:39 [ECOS] ECOS Memory Requirements Moussa A. Ba
2006-06-01 18:23 ` Andrew Lunn
2006-06-01 18:39   ` Moussa A. Ba
2006-06-01 19:28     ` Andrew Lunn
2006-06-02  7:15       ` Ilija Koco
2006-06-01 18:39   ` Moussa A. Ba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).