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.

File Formats<br />

A block of data records follows its header record, five bytes per line for<br />

data memory, <strong>and</strong> six byte per line for program memory. For example:<br />

Program Memory Section (Code or Data)<br />

3C4034343426<br />

142226083C15<br />

Data Memory Section<br />

3C40343434<br />

2614222608<br />

DATA64 Memory Section<br />

1122334455667788<br />

99AABBCCDDEEFF00<br />

The bytes are ordered left to right, most significant to least.<br />

The termination record has the same format as the header record, except<br />

for the rightmost field (number of records), which is all zeros.<br />

Splitter Output Files in ASCII Format<br />

When the Blackfin splitter utility is invoked as a splitter utility, its output<br />

can be an ASCII format file with the .ldr extension. ASCII format files<br />

are text representations of ROM memory images that can be post-processed<br />

by users.<br />

Data Memory (DM) Example:<br />

ext_data { TYPE(DM ROM) START(0x010000) END(0x010003) WIDTH(8) }<br />

The above DM section results in the following code.<br />

00010000 /* 32-bit logical address field */<br />

00000004 /* 32-bit logical length field */<br />

00020201 /* 32-bit control word: 2x address multiply */<br />

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

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

Saved successfully!

Ooh no, something went wrong!