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

The loader utility converts the application code (.dxe) into the loadable<br />

file by parsing the code <strong>and</strong> creating a file that consists of different blocks.<br />

Each block is encapsulated within a 10-byte header, which is illustrated in<br />

Figure 2-17 <strong>and</strong> detailed in the following section. The headers, in turn,<br />

are read <strong>and</strong> parsed by the on-chip boot ROM during booting.<br />

The 10-byte header provides all information the on-chip boot ROM<br />

requires—where to boot the block to, how many bytes to boot in, <strong>and</strong><br />

what to do with the block.<br />

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

BF539 Processor in SPI Slave Boot Mode<br />

For SPI slave mode booting, the ADSP-BF531/BF532/BF533/BF534/<br />

BF536/BF537/BF538/BF539 processor is configured as an SPI slave<br />

device, <strong>and</strong> a host device is used to boot the processor.<br />

� This<br />

boot mode is not supported in ADSP-BF531/BF532/BF533/<br />

silicon revision 0.2 <strong>and</strong> earlier.<br />

Figure 2-18 shows the pin-to-pin connections needed for SPI slave mode.<br />

The host does not need any knowledge of the loader file stream to boot<br />

the Blackfin processor. It must be configured to send one byte at a time<br />

from the loader file in ASCII format. In the above setup, a PFx signal is the<br />

feedback strobe from the Blackfin processor to the master host device.<br />

This is the signal used by the Blackfin processor to hold off the host during<br />

certain times within the boot process (specifically during init code<br />

execution <strong>and</strong> zero-fill blocks). When PFx is asserted (high), the master<br />

host device must discontinue sending bytes to the Blackfin processor.<br />

When PFx is de-asserted (low), the master host device resumes sending<br />

bytes from where it left off. Since the PFx pin is not driven by the slave<br />

until the first block has been processed, consider using a resistor to pull<br />

down the feedback strobe.<br />

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

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

Saved successfully!

Ooh no, something went wrong!