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 />

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

Table 3-15 is a summary of the ADSP-2106x <strong>and</strong> ADSP-21160 loader<br />

switches.<br />

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

Switch Description<br />

-bprom<br />

-bhost<br />

-blink<br />

-bJTAG<br />

Specifies the boot mode. The -b switch directs the loader utility to prepare<br />

a boot-loadable file for the specified boot mode. Valid boot modes<br />

include PROM, host, <strong>and</strong> link.<br />

For ADSP-21020 processors, JTAG is the only permitted boot mode.<br />

If -b does not appear on the comm<strong>and</strong> line, the default is -bprom.<br />

To use a custom boot kernel, the boot type selected with the -b switch<br />

must correspond to the boot kernel selected with the -l switch. Otherwise,<br />

the loader utility automatically selects a default boot kernel based<br />

on the selected boot type (see “ADSP-2106x/21160 Boot Kernels” on<br />

page 3-16).<br />

-caddress Custom option. This switch directs the loader utility to use the specified<br />

address. Valid addresses are:<br />

20004 <strong>and</strong> 20040 for ADSP-2106x processors<br />

8004 <strong>and</strong> 8040 for ADSP-21065L processors<br />

40000 <strong>and</strong> 40050 for ADSP-21160 processors<br />

The loader utility obtains the proper address even when this switch is<br />

absent from the comm<strong>and</strong> line.<br />

-e filename Except shared memory. The -e switch omits the specified shared memory<br />

(.sm) file from the output loader file. Use this option to omit the<br />

shared parts of the executable file intended to boot a multiprocessor<br />

system.<br />

To omit multiple .sm files, repeat the switch <strong>and</strong> parameter multiple<br />

times on the comm<strong>and</strong> line. For example, to omit two files, use:<br />

-e fileA.sm -e fileB.sm.<br />

In most cases, it is not necessary to use the -e switch: the loader utility<br />

processes the .sm files efficiently—includes a single copy of the code<br />

<strong>and</strong> data from each .sm file in a loader file.<br />

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