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.

<strong>Loader</strong> for ADSP-2126x/2136x/2137x SHARC Processors<br />

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

Switch Description<br />

-fhex<br />

-fASCII<br />

-fbinary<br />

-finclude<br />

-fs1<br />

-fs2<br />

-fs3<br />

-h<br />

or<br />

-help<br />

Specifies the format of a boot-loadable file (Intel hex-32, ASCII,<br />

binary, include). If the -f switch does not appear on the comm<strong>and</strong><br />

line, the default boot file format is<br />

Intel hex-32 for PROM <strong>and</strong> SPI PROM, ASCII for SPI slave, SPI<br />

flash, <strong>and</strong> SPI master.<br />

Available formats depend on the boot type selection (-b switch):<br />

For PROM <strong>and</strong> SPI PROM boot types, select a hex, ASCII, s1,<br />

s2, s3, or include format.<br />

For other SPI boot types, select an ASCII or binary format.<br />

Invokes the comm<strong>and</strong>-line help, outputs a list of comm<strong>and</strong>-line<br />

switches to st<strong>and</strong>ard output, <strong>and</strong> exits.<br />

By default, the -h switch alone provides help for the loader driver.<br />

To obtain a help screen for the target processor, add the -proc<br />

switch to the comm<strong>and</strong> line. For example: type<br />

elfloader -proc ADSP-21262 -h to obtain help for<br />

ADSP-2126x/2136x <strong>and</strong> ADSP-2137x processors.<br />

-hostwidth # Sets up the word width for the .ldr file. By default, the word width<br />

for PROM <strong>and</strong> SPI PROM boot modes is 8; for SPI slave, SPI flash,<br />

<strong>and</strong> SPI master boot modes is 32. The valid word widths are:<br />

8 for Intel hex 32 <strong>and</strong> Motorola S-records formats;<br />

8, 16, or 32 for ASCII, binary, <strong>and</strong> include formats<br />

-id#exe=filename Specifies the processor ID. Directs the loader utility to use the processor<br />

ID (#) for a corresponding executable file (the filename<br />

parameter) when producing a boot-loadable file. This switch is used<br />

to produce a boot-loadable file to boot multiple processors. Valid<br />

values for # are 0, 1, 2, 3, 4, 5, 6, <strong>and</strong> 7.<br />

Do not use this switch for single-processor systems. For single-processor<br />

systems, use filename as a parameter without a switch.<br />

� This<br />

switch is applicable to the<br />

ADSP-21367/21368/21369 <strong>and</strong> ADSP-2137x processors<br />

only.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 5-45

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

Saved successfully!

Ooh no, something went wrong!