VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices
VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices
VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Loader</strong> for ADSP-21161 SHARC Processors<br />
Table 4-10. ADSP-21161 <strong>Loader</strong> Comm<strong>and</strong> Line Switches (Cont’d)<br />
Switch Description<br />
-h<br />
or<br />
-help<br />
Comm<strong>and</strong>-line help. Outputs the list of comm<strong>and</strong>-line switches<br />
to st<strong>and</strong>ard output <strong>and</strong> exits.<br />
Combining the -h switch with -proc ADSP-21161; for example,<br />
elfloader -proc ADSP-21161 -h, yields the loader syntax <strong>and</strong><br />
switches for ADSP-21161 processors. By default, the -h switch<br />
alone provides help for the loader driver.<br />
-hostwidth # Sets up the word width for the .ldr file. By default, the word<br />
width for PROM <strong>and</strong> host is 8, for link is 16, <strong>and</strong> for SPI is 32.<br />
The valid word widths for the various boot modes are:<br />
PROM—8 for hex or ASCII format, 8 or 16 for include<br />
format<br />
host—8 or 16 for ASCII or binary format, 16 for<br />
include format<br />
link—16 for ASCII, binary, or include format<br />
SPI—8, 16, or 32 for Intel hex 32 or ASCII format<br />
-id#exe=filename Specifies the processor ID. The -id#exe= switch directs the<br />
loader utility to use the processor ID (#) for the corresponding<br />
executable file (filename) when producing a boot-loadable file<br />
for EPROM boot of a multiprocessor system. This switch is used<br />
only to produce a boot-loadable file that boots multiple processors<br />
from a single EPROM.<br />
Valid values for # are 0, 1, 2, 3, 4, 5, <strong>and</strong> 6.<br />
Do not use this switch for single-processor systems. For single-processor<br />
systems, use filename as a parameter without a<br />
switch. For more information, refer to “Processor ID Numbers”<br />
on page 4-23.<br />
-id#ref=N Points the processor ID (#) loader jump table entry to the ID (N)<br />
image. If the executable file for the (#) processor is identical to the<br />
executable of the (N) processor, the switch can be used to set the<br />
PROM start address of the processor with ID of # to be the same<br />
as for the processor with ID of N. This effectively reduces the size<br />
of the loader file by providing a single copy of an executable to<br />
two or more processors in a multiprocessor system. For more<br />
information, refer to “Processor ID Numbers” on page 4-23.<br />
<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 4-29