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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADSP-2106x/21160 Processor Booting<br />

When booting a multiprocessor system through an external port:<br />

The host can use the host interface.<br />

A SHARC processor that is EPROM-, host-, or link-booted can<br />

boot the other processors through the external port (host boot<br />

mode).<br />

For multiprocessor EPROM booting, select the Multiprocessor check box<br />

on the Load page of the Project Options dialog box or specify the<br />

-id1exe= switch on the loader comm<strong>and</strong> line. These options specify the<br />

executable file targeted for a specific processor.<br />

Do not use the -id1exe= switch to EPROM-boot a single processor whose<br />

ID is 0. Instead, name the executable file on the comm<strong>and</strong> line without a<br />

switch. For a single processor with ID=1, use the -id1exe= switch.<br />

ADSP-2106x/21160 Processor ID Numbers<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-21060 -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 0 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-21060 -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.<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!