public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Problems using EP7212's SRAM on Cirrus Logic EDB7209
@ 2001-02-07  3:31 Hoss, Laurent
  2001-02-07  5:16 ` Lewin A.R.W. Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Hoss, Laurent @ 2001-02-07  3:31 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Hoss, Laurent

We badly need to use the 38K onchip-SRAM for our MP3-Decoder to work in
real time. Currently the decoder allocates 22K dynamically on EDB7209's
DRAM which seems to be much too slow.
( we have tried to port the new, very nice, open source MAD-Decoder
http://www.mars.org/home/rob/proj/mpeg/ )

So I simply tried to replace malloc's return value by 0x60000000
(SRAM-Addr).
Did not work. Therefore I made a test-loop which writes over the whole
SRAM.
Result: Only the first 4K returned the value which was written in. Above
that 4K only 0x00000010 was read.

First I tried to apply the patch to hal_platform_setup.h from the
posting
" http://sources.redhat.com/ml/ecos-discuss/2000-08/msg00156.html "
But that did not work (unable to apply hunk 2...).
Therefore I downloaded v1.8 (with the correct SRAM-size from
25.Aug.2000) of hal_platform_setup.h from CVS, and recompiled ecos (only
v.1.3.1, as the new Config.tool did not work with Windows 95).

Unfortunately the 4K problem remains :(

Another question: Would it be possible to have the whole prg + ecos only
in SRAM ?


Thank you 

Laurent Hoss

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

* Re: [ECOS] Problems using EP7212's SRAM on Cirrus Logic EDB7209
  2001-02-07  3:31 [ECOS] Problems using EP7212's SRAM on Cirrus Logic EDB7209 Hoss, Laurent
@ 2001-02-07  5:16 ` Lewin A.R.W. Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-02-07  5:16 UTC (permalink / raw)
  To: Hoss, Laurent, ecos-discuss

Hello Laurent,

>( we have tried to port the new, very nice, open source MAD-Decoder
> http://www.mars.org/home/rob/proj/mpeg/ )

On a tangential note: Is there any particular reason why you are using that 
decoder rather than ARM's? ARM has presumably already hand-optimized in 
assembler any truly critical sections of the code, and observably it runs 
very well (though I haven't tried to integrate it in eCos; I've only tried 
sample applications).

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

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

end of thread, other threads:[~2001-02-07  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-07  3:31 [ECOS] Problems using EP7212's SRAM on Cirrus Logic EDB7209 Hoss, Laurent
2001-02-07  5:16 ` Lewin A.R.W. Edwards

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).