DSPRelated.com
Forums

Re: Ldf program in ADSP 21065L

Started by Kenneth Porter April 17, 2002
On Tue, 2002-04-16 at 04:59, alokmodak wrote:

> I think redifing the ldf file will solve the problem. You can put all your
program or the data memory as required in the external memory and then compile.

This is fine for determining code size, but it only works at runtime if
you actually *have* external memory.

Additionally, assuming you have external SDRAM, you need to set up the
SDRAM registers in a custom boot kernel before attempting to write to
it. There's some new appnotes on the ADI website on the "ABC's of SDRAM"
and on the 65L's SDRAM controller that might be useful.

> seg_rth { TYPE(PM RAM) START(0x00020000) END(0x000200ff) WIDTH(48) }

The runtime header *must* go at 0x8000, at the beginning of the first
block of internal memory. The boot kernel expects it to be there when it
exits, and transfers control to the instruction at 0x8005 when the load
is complete.