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.

<strong>Loader</strong>/Splitter for Blackfin Processors<br />

ADSP-BF561/BF566 Processor Initialization Blocks<br />

The initialization block or a second-stage loader utility must be used to<br />

initialize the SDRAM memory of the ADSP-BF561/BF566 processor<br />

before any instructions or data are loaded into it.<br />

The initialization blocks are identified by a bit in the flag word of the<br />

10-byte block header. When the boot ROM encounters the initialization<br />

blocks in the boot stream, it loads the blocks <strong>and</strong> executes them immediately.<br />

The initialization blocks must save <strong>and</strong> restore registers <strong>and</strong> return<br />

to the boot ROM, so the boot ROM can load the rest of the blocks. For<br />

more details, see<br />

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

Blocks, Block Headers, <strong>and</strong> Flags” on page 2-33.<br />

Both the initialization block <strong>and</strong> second-stage loader utility can be used to<br />

force the boot ROM to load a specific .dxe file from the external memory<br />

device if the boot ROM stores multiple executable files. The initialization<br />

block can manipulate the R0 or R3 register, which the boot ROM uses as<br />

the external memory pointers for flash/PROM or SPI memory boot,<br />

respectively.<br />

After the processor returns from the execution of the initialization blocks,<br />

the boot ROM continues to load blocks from the location specified in the<br />

R0 or R3 register, which can be any .dxe file in the boot stream. This<br />

option requires the starting locations of specific executables within external<br />

memory. The R0 or R3 register must point to the 10-byte count header,<br />

as illustrated in “ADSP-BF53x <strong>and</strong> ADSP-BF561/BF566 Multi-Application<br />

(Multi-DXE) Management” on page 2-51.<br />

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

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

Saved successfully!

Ooh no, something went wrong!