DSPRelated.com
Forums

using external memory

Started by vitcent July 22, 2002
Hi everybody!!

I use 21065L,
I tried to use the external memory mapped in external memory bank 3
to memorize stack area and seg_dmda.
I have no problem in time compile, but my DSP doesn't work when i
upload firmware.

Can I use external memory for seg_dmda and stack area ??

Thanks




On Mon, 2002-07-22 at 08:35, vitcent wrote:

> I use 21065L,
> I tried to use the external memory mapped in external memory bank 3
> to memorize stack area and seg_dmda.
> I have no problem in time compile, but my DSP doesn't work when i
> upload firmware.
>
> Can I use external memory for seg_dmda and stack area ??

Works for me. I'm using SDRAM in MS0 for code, stack, and data.

Note that you'll need a recent interim release as earlier version of the
libraries had some self-modifying code and the address computations
assumed internal PM memory. Address computations for external PM memory
work differently.

You'll also need to initialize the SDRAM controller before using SDRAM,
ie. in your boot loader.