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 />

Splitter Output Files in Byte-Stacked Format<br />

The splitter utility can output files in byte-stacked (.stk) format. These<br />

files are not intended for PROMs, but are ideal for microcontroller data<br />

transfers.<br />

A file in byte-stacked format comprises a series of one line headers, each<br />

followed by a block (one or more lines) of data. The last line in the file is a<br />

header that signals the end of the file.<br />

Lines consist of ASCII text that represents hexadecimal digits. Two<br />

characters represent one byte. For example, F3 represents a byte whose<br />

decimal value is 243.<br />

Table A-8 shows an example of a header record in byte-stacked format.<br />

Table A-8. Example – Header Record in Byte-Stacked Format<br />

Field Purpose<br />

20008000000000080000001E Example record<br />

20 Width of address <strong>and</strong> length fields (in bits)<br />

00 Reserved<br />

80 PROM splitter flags (80 = PM, 00 = DM)<br />

00 User defined flags (loaded with -u switch)<br />

00000008 Start address of data block<br />

0000001E Number of bytes that follow<br />

In the above example, the start address <strong>and</strong> block length fields are 32<br />

(0x20) bits wide. The file contains program memory data (the MSB is the<br />

only flag currently used in the PROM splitter flags field). No user flags are<br />

set. The address of the first location in the block is 0x08. The block contains<br />

30 (1E) bytes (5 program memory code words). The number of bytes<br />

that follow (until next header record or termination record) must be<br />

nonzero.<br />

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