Linking Overlay Memory for an ADSP-2191 System
Linking Overlay Memory for an
ADSP-2191 System
When you link executable files for an overlay memory system, the
describes the overlay memory, the processor(s) that use the overlay mem-
ory, and each processor's unique memory. The
processor and the special PLIT{} section.
Listing D-8
shows an example overlay memory
tion, see the comments in the listing.
Listing D-8. Overlay-Memory System LDF Example
ARCHITECTURE(ADSP-2191)
$OBJECTS = $COMMAND_LINE_OBJECTS;
MEMORY{
mem_seg_rth
WIDTH(24) }
mem_seg_code
WIDTH(24) }
mem_seg_plit
WIDTH(24) }
mem_seg_pm_data
WIDTH(24) }
mem_seg_ovl
WIDTH(24) }
mem_seg_dm_data
WIDTH(16) }
mem_ovl1_liv_space
END(0x2000ff) WIDTH(24) }
D-16
{ TYPE(PM RAM) START(0x000000) END(0x0001ff)
// interrupt vector table locations
{ TYPE(PM RAM) START(0x000200) END(0x0002ff)
// static memory segment for non-overlay code
{ TYPE(PM RAM) START(0x000300) END(0x00037f)
// static memory segment for PLIT code
{ TYPE(PM RAM) START(0x000380) END(0x0003ff)
// static memory segment for PM data segment
{ TYPE(PM RAM) START(0x000400) END(0x007fff)
// run address range for overlay functions
{ TYPE(DM RAM) START(0x008000) END(0x00ffff)
// static memory segment for DM data segment
{ TYPE(PM RAM) START(0x200000)
VisualDSP++ 3.5 Linker and Utilities Manual
places code for each
.LDF
. For more informa-
.LDF
// live address range for
overlay function #1
for 16-Bit Processors
.LDF
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?