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.

Processor ID Numbers<br />

<strong>Loader</strong> for ADSP-21161 SHARC Processors<br />

A single-processor system requires only one input (.dxe) file without any<br />

prefix <strong>and</strong> suffix to the input file name, for example:<br />

elfloader -proc ADSP-21161 -bprom Input.dxe<br />

A multiprocessor system requires a distinct processor ID number for each<br />

input file on the comm<strong>and</strong> line. A processor ID is provided via the<br />

-id#exe=filename.dxe switch, where # is 1 to 6.<br />

In the following example, the loader utility processes the input file<br />

Input1.dxe for the processor with an ID of 1 <strong>and</strong> the input file<br />

Input2.dxe for the processor with an ID of 2.<br />

elfloader -proc ADSP-21161 -bprom -id1exe=Input1.dxe<br />

-id2exe=Input2.dxe<br />

If the executable for the # processor is identical to the executable of the N<br />

processor, the output loader file contains only one copy of the code from<br />

the input file, as directed by the comm<strong>and</strong>-line switch -id#ref=N used in<br />

the example:<br />

elfloader -proc ADSP-21161 -bprom -id1exe=Input.dxe -id2ref=1<br />

where 2 is the processor ID, <strong>and</strong> 1 is another processor ID referenced by<br />

processor 2.<br />

The loader utility points the id(2)exe loader jump table entry to the<br />

id(1)exe image, effectively reducing the size of the loader file.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 4-23

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

Saved successfully!

Ooh no, something went wrong!