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.

Build Files<br />

<strong>Loader</strong> Output Files in Include Format<br />

The splitter utility can output include format files (.ldr). These files permit<br />

the inclusion of the loader file in a C program.<br />

The word width (8-, 16-, or 32-bit) of the loader file depends on the<br />

specified boot type. Similar to Intel hex-32 output, the loader output in<br />

include format have some basic parts in the following order.<br />

1. Initialization code (some Blackfin processors)<br />

2. Boot kernel (some Blackfin, SHARC, <strong>and</strong> TigerSHARC<br />

processors)<br />

3. User application code<br />

4. Saved user code in conflict with the initialization code (some<br />

Blackfin processors)<br />

5. Saved user code in conflict with the kernel code (some Blackfin,<br />

SHARC, <strong>and</strong> TigerSHARC processors)<br />

The initialization code is an optional first part for some Blackfin processors,<br />

while the kernel code is the part for some Blackfin, SHARC, <strong>and</strong><br />

TigerSHARC processors. User application code is followed by the saved<br />

user code.<br />

Files in include format are ASCII text files that consist of 48-bit<br />

instructions, one per line (on SHARC processors). Each instruction is presented<br />

as three 16-bit hexadecimal numbers. For each 48-bit instruction,<br />

the data order is lower, middle, <strong>and</strong> then upper 16 bits. Example lines<br />

from an include format file are:<br />

0x005c, 0x0620, 0x0620,<br />

0x0045, 0x1103, 0x1103,<br />

0x00c2, 0x06be, 0x06be<br />

A-10 <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!