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.

TigerSHARC <strong>Loader</strong> Guide<br />

Table 6-3. TigerSHARC <strong>Loader</strong> Comm<strong>and</strong>-Line Switches (Cont’d)<br />

Switch Description<br />

-l userkernele Directs the loader utility to use the specified userkernel <strong>and</strong> to<br />

ignore the default boot kernel for the boot-loading routine in the<br />

output boot-loadable file.<br />

Note: The boot kernel file selected with this switch must correspond<br />

to the boot type selected with the -b switch).<br />

If -l does not appear on the comm<strong>and</strong> line, the loader utility<br />

searches for a default boot kernel file in the installation directory (see<br />

“TigerSHARC Processor Boot Kernels” on page 6-4).<br />

-nokernel Supports internal boot mode. The -nokernel switch directs the<br />

loader utility not to include the boot kernel code into the loader<br />

(.ldr) file.<br />

-o filename Directs the loader utility to use the specified filename as the name<br />

of the loader output file. If the filename is absent, the default name<br />

is the name of the input file with an .ldr extension.<br />

-p # Specifies the EPROM start address (hex format) for the boot-loadable<br />

file. If the -p switch does not appear on the comm<strong>and</strong> line, the<br />

loader utility starts the EPROM file at address 0x0 in the EPROM;<br />

this EPROM address corresponds to address 0x4000000 in a Tiger-<br />

SHARC processor.<br />

-proc processor Specifies the target processor. The processor can be one of the following:<br />

ADSP-TS101, ADSP-TS201, ADSP-TS202, or ADSP-TS203.<br />

-t # Sets the number of timeout cycles (#) as a maximum number of<br />

cycles the processor spends initializing external memory. Valid values<br />

range from 3 to 32765 cycles; 32765 is the default value. The timeout<br />

value is directly related to the number of cycles the processor<br />

locks the bus for boot-loading, instructing the processor to lock the<br />

bus for no more than 2x timeout number of cycles. When working<br />

with a fast host that cannot tolerate being locked out of the bus, use a<br />

relatively small timeout value.<br />

-v Outputs verbose loader messages <strong>and</strong> status information as the loader<br />

utility processes files.<br />

6-10 <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!