Engineer To Engineer Note EE-202
a
Technical Notes on using Analog Devices' DSP components and development tools
Contact our technical support by phone: (800) ANALOG-D or e-mail: dsp.support@analog.com
Or visit our on-line resources http://www.analog.com/dsp and http://www.analog.com/dsp/EZAnswers
Using the Expert Linker for Multiprocessor LDFs
Contributed by Maikel Kokaly-Bannourah July 17, 2003
Introduction
This EE-Note explains the use of the Expert
Linker (EL) for creating Linker Description Files
(LDFs) for Multiprocessor (MP) systems.
Although, this concept applies to VisualDSP++
for all SHARC Processor families (ADSP-
21x6x and ADSP-TSxxx), the examples shown
throughout this document are for the ADSP-
TS101S TigerSHARC Processor.
The example code used for this note is based on
EE-167 “Introduction to TigerSHARC
Multiprocessor Systems Using VisualDSP++
”
and it was written using VisualDSP++ 3.0
Service Pack 1 for TigerSHARC (please note
that “expertlinker_fixes.zip” must be installed
prior to going through this note - see
README.txt for more details).
Expert Linker Overview
The Expert Linker is a graphical tool that
simplifies complex tasks such as memory map
manipulation, code and data placement, overlay
and shared memory creation, and C stack/heap
usage. This tool provides a visualization
capability enabling new users to take immediate
advantage of the powerful LDF format flexibility
in a very user-friendly way.
This note assumes a basic understanding of the
Linker Description File as well as the way the
linker utility (linker.exe) operates. For detailed
information on this utility as well as the LDF,
please use the VisualDSP++ on-line help. Also,
refer to the VisualDSP++
3.0 Linker and
Utility Manual for TigerSHARC
, EE-69
“Understanding and Using Linker Description
Files (LDFs)” (for a general description on the
LDF), and EE-167 (for an explanation on the
different multiprocessor linker commands).
Expert Linker LDF Wizard
The Expert Linker (EL) wizard is used to
generate an LDF for new VisualDSP++ projects.
However, the Expert Linker can also be used to
view or modify an already existing LDF.
Open the project (MP TS101.dpj) attached to this
note. The source code comes with no LDF,
which will be created, step-by-step, through this
note.
Please note that an MPTS101_orig_ldf.txt
containing an already created LDF file is
available as a reference.
Let’s now get started with the creation of the
LDF. First of all, to invoke the Expert Linker
wizard choose from the pull-down menu as
shown in Figure 1.
Figure 1 Invoking the Expert Linker Wizard
Copyright 2003, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of
customers’ products or for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property
of their respective holders. Information furnished by Analog Devices Applications and Development Tools Engineers is believed to be accurate and reliable, however
no responsibility is assumed by Analog Devices regarding technical accuracy and topicality of the content provided in Analog Devices’ Engineer-to-Engineer Notes.