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-2126x/2136x/2137x Processor <strong>Loader</strong> Guide<br />

<strong>Loader</strong> Comm<strong>and</strong>-Line Switches<br />

Table 5-18 is a summary of the ADSP-2126x, ADSP-2136x, <strong>and</strong><br />

ADSP-2137x loader switches.<br />

Table 5-18. ADSP-2126x/2136x/2137x <strong>Loader</strong> Comm<strong>and</strong>-Line Switches<br />

Switch Description<br />

-bprom<br />

-bspislave|-bspi<br />

-bspimaster<br />

-bspiprom<br />

-bspiflash<br />

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

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

The valid modes (boot types) are PROM, SPI slave, SPI master, SPI<br />

PROM, <strong>and</strong> SPI flash.<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<br />

switch must correspond with the boot kernel selected with the -l<br />

switch. Otherwise, the loader utility automatically selects a default<br />

boot kernel based on the selected boot type (see<br />

“ADSP-2126x/2136x/2137x Processors Boot Kernels” on<br />

page 5-19). Do not use with the -nokernel switch.<br />

-compression Directs the loader utility to compress the application data <strong>and</strong> code,<br />

including all data <strong>and</strong> code from the application-associated shared<br />

memory files (see “ADSP-2126x/2136x/2137x Processors Compression<br />

Support” on page 5-35). The data <strong>and</strong> code from the overlay<br />

files are not compressed if this switch is used alone (see -compressionOverlay).<br />

-compressionOverlay Directs the loader utility to compress the application data <strong>and</strong> code<br />

from the associated overlay files (see “Overlay Compression” on<br />

page 5-39).<br />

� This switch must be used with -compression.<br />

-compressWS # The -compressWS # switch specifies a compression window size in<br />

bytes. The number is a 2’s exponential value to be used by the compression<br />

engine. The valid values are [8–15], with the default of 9.<br />

5-44 <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!