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.

Blackfin Processor Booting<br />

ADSP-BF561/BF566 Dual-Core Application Management<br />

A typical ADSP-BF561/BF566 dual-core application is separated into two<br />

executable files; one for each core. The default linker description (.ldf)<br />

file for the ADSP-BF561/BF566 processor creates two separate executable<br />

files (p0.dxe <strong>and</strong> p1.dxe) <strong>and</strong> some shared memory files (sml2.sm <strong>and</strong><br />

sml3.sm). By modifying the LDF, it is possible to create a dual-core<br />

application that combines both cores into a single .dxe file. This is not<br />

recommended unless the application is a simple assembly language program<br />

which does not link any C run-time libraries. When using shared<br />

memory <strong>and</strong>/or C run-time routines on both cores, it is best to generate a<br />

separate .dxe file for each core. The loader utility combines the contents<br />

of the shared memory files (sml2.sm, sml3.sm) only into the boot stream<br />

generated from the .dxe file for core A (p0.dxe).<br />

The boot ROM only loads one single executable before the ROM jumps<br />

to the start of core A instruction SRAM (0xFFA0 0000). When two .dxe<br />

files are loaded, a second-stage loader is used. The second-stage boot<br />

loader must start at 0xFFA0 0000. The boot ROM loads <strong>and</strong> executes the<br />

second-stage loader. A default second-stage loader is provided for each<br />

boot mode <strong>and</strong> can be customized by the user.<br />

Unlike the initialization blocks, the second-stage loader takes full control<br />

over the boot process <strong>and</strong> never returns to the boot ROM.<br />

The second-stage loader can use the .dxe byte count blocks to find specific<br />

.dxe files in external memory if a loader file includes the codes <strong>and</strong><br />

data from a number of .dxe files.<br />

� The<br />

default second-stage loader uses the last 1024 bytes of L2<br />

memory. The area must be reserved during booting but can be<br />

reallocated at runtime.<br />

2-50 <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!