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.

Second-Stage <strong>Loader</strong> Restrictions<br />

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

Using the second-stage loader imposes the following restrictions.<br />

� The<br />

The bottom of L2 memory must be reserved during booting. These<br />

locations can be reallocated during runtime. The following locations<br />

pertain to the current second-stage loaders.<br />

� For 8- <strong>and</strong> 16-bit PROM/flash booting, reserve<br />

0xF003 FE00—0xF003 FFFF (last 512 bytes).<br />

� For 8- <strong>and</strong> 16-bit addressable SPI booting, reserve<br />

0xF003 FD00—0xF003 FFFF (last 768 bytes).<br />

If segments reside in SDRAM memory, configure the SDRAM registers<br />

accordingly in the second-stage loader before booting.<br />

� Modify a section of code called “SDRAM setup” in the<br />

second-stage loader <strong>and</strong> rebuild the second-stage loader.<br />

Any segments residing in L1 instruction memory<br />

(0xFFA0 0000–0xFFA0 3FFF) must be 8-byte aligned.<br />

� Declare segments, within the .ldf file, that reside in L1<br />

instruction memory at starting locations that are 8-byte<br />

aligned (for example, 0xFFA0 0000, 0xFFA0 0008,<br />

0xFFA0 0010, <strong>and</strong> so on).<br />

� Use the .ALIGN 8; directives in the application code.<br />

two reasons for these restrictions are:<br />

Core writes into L1 instruction memory are not allowed.<br />

DMA from an 8-bit external memory is not possible since<br />

the minimum width of the external bus interface unit<br />

(EBIU) is 16 bits.<br />

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

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

Saved successfully!

Ooh no, something went wrong!