25.12.2012 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Loader</strong> for ADSP-2106x/21160 SHARC Processors<br />

Table 3-15. ADSP-2106x/21160 <strong>Loader</strong> Comm<strong>and</strong>-Line Switches<br />

(Cont’d)<br />

Switch Description<br />

-fhex<br />

-fASCII<br />

-fbinary<br />

-finclude<br />

-fS1<br />

-fS2<br />

-fS3<br />

-h<br />

or<br />

-help<br />

Specifies the format of the boot-loadable file (Intel hex-32, ASCII, S1,<br />

S2, S3, binary, or include). If the -f switch does not appear on the<br />

comm<strong>and</strong> line, the default boot file format is Intel hex-32 for PROM,<br />

<strong>and</strong> ASCII for host or link.<br />

Available formats depend on the boot type selection (-b switch):<br />

For PROM boot type, select a hex, ASCII, S1, S2, S3, or<br />

include format.<br />

For host or link boot type, select an ASCII, binary, or include<br />

format.<br />

Comm<strong>and</strong>-line help. Outputs a list of the comm<strong>and</strong>-line switches to<br />

st<strong>and</strong>ard out <strong>and</strong> exits. Type elfloader -proc ADSP-21xxx -h,<br />

where xxx is 060, 061, 062, 065L, or 160 to obtain help for SHARC<br />

processors. By default, the -h switch alone provides help for the loader<br />

driver.<br />

-id#exe=filename Specifies the processor ID. The -id#exe= switch directs the loader utility<br />

to use the processor ID (#) for the corresponding executable file<br />

(filename parameter) when producing a boot-loadable file for a multiprocessor<br />

system. This switch is used to produce a boot-loadable file<br />

that boots multiple processors from a single EPROM. Valid values for #<br />

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 switch. For more information,<br />

refer to “ADSP-2106x/21160 Processor ID Numbers” on<br />

page 3-24.<br />

-id#ref=N Points the processor ID (#) loader jump table entry to the ID (N) image.<br />

If the executable file for the (#) processor is identical to the executable<br />

of the (N) processor, the switch can be used to set the PROM start<br />

address of the processor with ID of # to be the same as for the processor<br />

with ID of N. This effectively reduces the size of the loader file by providing<br />

a single copy of an executable to two or more processors in a<br />

multiprocessor system. For more information, refer to<br />

“ADSP-2106x/21160 Processor ID Numbers” on page 3-24.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 3-29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!