DSPRelated.com
Forums

Linker error : Error E2007

Started by ajith_pc September 9, 2002
On Wed, 2002-09-11 at 03:22, ajith_pc wrote:

> wheteher we can place stack or "seg_dmda" in external memory, as it
> has only 32bits wide. can we access these sections at single cycle if
> it is in external memory. my doubts are related to 21065L only.

You can put them there. You get a speed hit. You also need to make sure
that the SDRAM controller is already set up before you try to use SDRAM.
That means that your loader needs to initialize the controller before it
loads code and data from the load source into SDRAM.

stdio is something that you should expect to run slowly, so you might as
well relocate it to external memory. You can do this using directives in
the LDF file. Read the linker manual closely to understand how to do
this.

The LDF file is an extension of the linker command file used by Gnu
tools, so you can get some additional insight by reading the
documentation and tutorials for the Gnu linker (named "ld"). LDF adds
some features for multiple processors with shared memory and for the
Harvard architecture that the SHARC uses.