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.

Memory Map Files<br />

File Formats<br />

The linker can output memory map files (.xml), which are ASCII text files<br />

that contain memory <strong>and</strong> symbol information for the executable files. The<br />

.xml file contains a summary of memory defined with the MEMORY{} comm<strong>and</strong><br />

in the .ldf file, <strong>and</strong> provides a list of the absolute addresses of all<br />

symbols.<br />

<strong>Loader</strong> Output Files in Intel Hex-32 Format<br />

The splitter utility can output Intel hex-32 format files (.ldr). The files<br />

support 8-bit-wide PROMs <strong>and</strong> are used with an industry-st<strong>and</strong>ard<br />

PROM programmer to program memory devices. One file contains data<br />

for the whole series of memory chips to be programmed.<br />

The following example shows how the Intel hex-32 format appears in the<br />

loader’s output file. Each line in the Intel hex-32 file contains an extended<br />

linear address record, a data record, or the end-of-file record.<br />

:020000040000FA Extended linear address record<br />

:0402100000FE03F0F9 Data record<br />

:00000001FF End-of-file record<br />

Extended linear address records are used because data records have a<br />

4-character (16-bit) address field, but in many cases, the required PROM<br />

size is greater than or equal to 0xFFFF bytes. Extended linear address<br />

records specify bits 31–16 for the data records that follow.<br />

Table A-2 shows an example of an extended linear address record.<br />

Table A-3 shows the organization of a sample data record.<br />

Table A-4 shows an end-of-file record.<br />

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

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

Saved successfully!

Ooh no, something went wrong!