Placing Code On The Target - Analog Devices VisualDSP++ 3.5 Manual

Linker and utilities manual for 16-bit processors
Hide thumbs Also See for VisualDSP++ 3.5:
Table of Contents

Advertisement

Link Target Description

Placing Code on the Target

Use the
SECTIONS{}
ory of a processor in a DSP system.
To write a
SECTIONS{}
1. List all input sections defined in the source files.
Assembly files. List each assembly code .
identify its memory type (
when location is critical to its operation. These .
tions include interrupt tables, data buffers, and on-chip code or
data.
C/C++ source files. The compiler generates sections with the
name "
"
data2
when you do not specify a section by means of the optional
section()
2. Compare the input sections list to the memory segments specified
in the
MEMORY{}
which each .
3. Combine the information from these two lists to write one or more
SECTIONS{}
SECTIONS{}
the
PROCESSOR{}
Listing 2-3
presents a
command in
MEMORY{}
2-26
command to map code and data to the physical mem-
command:
" or "
program
code
" for data. These sections correspond to your source
extension.
command. Identify the memory segment into
must be placed.
SECTION
commands in the
commands must appear within the context of
or
SHARED_MEMORY()
command that would work with the
SECTIONS{}
Listing
2-1.
VisualDSP++ 3.5 Linker and Utilities Manual
SECTION
or
, or
PM
CODE
DM
" for code, and the names "
file.
.LDF
command.
for 16-Bit Processors
directive,
or
), and note
DATA
por-
SECTIONS
" and
data1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Related Products for Analog Devices VisualDSP++ 3.5

Table of Contents