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>/Splitter for Blackfin Processors<br />

Table 2-10. Blackfin <strong>Loader</strong> Comm<strong>and</strong>-Line Switch Summary (Cont’d)<br />

Switch Description<br />

-init filename.dxe The -init filename.dxe switch directs the loader utility to<br />

include the initialization code from the named file. The loader utility<br />

places the code from the initialization sections of the specified<br />

.dxe file in the boot stream. The kernel loads the code <strong>and</strong> then<br />

calls it. It is the responsibility of the code to save/restore state/registers<br />

<strong>and</strong> then perform an RTS back to the kernel.<br />

-kb prom, -kb flash,<br />

-kb spi, -kb spislave,<br />

-kb UART, -kb TWI,<br />

-kb FIFO<br />

-kf hex, -kf ascii,<br />

-kf binary, -kf include<br />

� This<br />

switch cannot be applied to ADSP-BF535 processors.<br />

The -kb {prom|flash|spi|spislave|UART|TWI|FIFO} switch<br />

specifies the boot mode (PROM, flash, SPI, SPI slave, UART, TWI,<br />

or FIFO) for the boot kernel output file if you generate two output<br />

files from the loader utility: one for the boot kernel <strong>and</strong> another for<br />

user application code.<br />

The spislave, UART, <strong>and</strong> TWI parameters are applicable to the<br />

ADSP-BF531/BF532/ BF533/BF534/BF536/BF537/BF538 <strong>and</strong><br />

ADSP-BF539 processors only. The FIFO parameter is applicable to<br />

the ADSP-BF534/BF536/BF537 processors, silicon revision 0.4 or<br />

newer.<br />

� The -kb switch must be used in conjunction with the<br />

-o2 switch.<br />

If the -kb switch is absent from the comm<strong>and</strong> line, the loader utility<br />

generates the file for the boot kernel in the same boot mode as used<br />

to output the user application program.<br />

The -kf {hex|asci|binary|include} switch specifies the output<br />

file format (hex, ASCII, binary, or include) for the boot kernel<br />

if you output two files from the loader utility: one for the boot kernel<br />

<strong>and</strong> one for user application code.<br />

� The<br />

-kf switch must be used in conjunction with the<br />

-o2 switch.<br />

If the -kf switch is absent from the comm<strong>and</strong> line, the loader utility<br />

generates the file for the boot kernel in the same format as for the<br />

user application program.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 2-67

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

Saved successfully!

Ooh no, something went wrong!