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.

ADSP-2106x/21160 Processor <strong>Loader</strong> Guide<br />

Using ADSP-2106x/21160 <strong>Loader</strong> Comm<strong>and</strong> Line<br />

Use the following syntax for the SHARC loader comm<strong>and</strong> line.<br />

elfloader inputfile -proc part_number -switch [-switch …]<br />

where:<br />

� Comm<strong>and</strong>-line<br />

inputfile—Name of the executable (.dxe) file to be processed<br />

into a single boot-loadable file. An input file name can include the<br />

drive <strong>and</strong> directory. Enclose long file names within straight quotes,<br />

“long file name”.<br />

-proc part_number—Part number of the processor (for example,<br />

-proc ADSP-21062) for which the loadable file is built. The -proc<br />

switch is m<strong>and</strong>atory.<br />

-switch …—One or more optional switches to process. Switches<br />

select operations <strong>and</strong> boot modes for the loader utility. A list of all<br />

switches <strong>and</strong> their descriptions appear in Table 3-15 on page 3-28.<br />

switches are not case-sensitive <strong>and</strong> placed on the<br />

comm<strong>and</strong> line in any order.<br />

The following comm<strong>and</strong> line,<br />

elfloader p0.dxe -bprom -fhex -l 060_prom.dxe -proc ADSP-21060<br />

runs the loader utility with:<br />

p0.dxe—Identifies the executable file to process into a boot-loadable<br />

file. The absence of the -o switch causes the output file name<br />

to default to p0.ldr.<br />

-bprom —Specifies EPROM booting as the boot type for the<br />

boot-loadable file.<br />

-fhex —Specifies Intel hex-32 format for the boot-loadable file.<br />

3-26 <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!