LDF Programming Examples for Blackfin Processors
Linking for Overlay Memory
When you link executable files for an overlay memory system, the
describes the overlay memory, the processor(s) that use the overlay
memory, and each processor's unique memory. The
for each processor and the special
Listing C-10
shows an example
For more information on this
Listing C-10. Example .LDF File for an Overlay-Memory System
ARCHITECTURE(BF535)
SEARCH_DIR( $ADI_DSP\Blackfin\lib )
{
MAP(overlay.map)
// This simple example uses internal memory for overlays
// (Real overlays would never "live" in internal memory)
MEMORY
{
MEM_PROGRAM
MEM_HEAP
MEM_STACK
MEM_SYSSTACK { TYPE(RAM) START(0xF003E000) END(0xF003EFFF)
MEM_OVLY
}
PROCESSOR p0
{
LINK_AGAINST( $COMMAND_LINE_LINK_AGAINST)
OUTPUT( $COMMAND_LINE_OUTPUT_FILE )
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
PLIT{}
.LDF
file, see the comments in the listing.
.LDF
{ TYPE(RAM) START(0xF0000000) END(0xF002FFFF)
WIDTH(8) }
{ TYPE(RAM) START(0xF0030000) END(0xF0037FFF)
WIDTH(8) }
{ TYPE(RAM) START(0xF0038000) END(0xF003DFFF)
WIDTH(8) }
WIDTH(8) }
{ TYPE(RAM) START(0x00000000) END(0x08000000)
WIDTH(8) }
.LDF
section.
file for an overlay-memory system.
file
.LDF
file places code
C-17
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?