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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Loader</strong> for ADSP-2126x/2136x/2137x SHARC Processors<br />

The multiprocessor tag, processor ID, <strong>and</strong> the offset are encapsulated in a<br />

multiprocessor header. The multiprocessor header includes three 32-bit<br />

words: the multiprocessor tag; the ID (0–7) of the associated processor<br />

.dxe file in the lowest byte of a word; <strong>and</strong> the offset to the next multiprocessor<br />

tag. The loader -id#exe=filename switch is used to assign a<br />

processor ID number to an executable file. The loader -id#ref=N switch is<br />

used to share the same executable file by setting multiple bits in the ID<br />

field. Figure 5-4 shows the multiprocessor header structure.<br />

0xB<br />

PROCESSOR IDS<br />

OFFSET TO NEXT MULITPROCESSOR HEADER<br />

Figure 5-4. Multiprocessor Header<br />

ADSP-2126x/2136x/2137x Processors<br />

Compression Support<br />

The loader utility for ADSP-2126x/2136x/2137x processors offers a<br />

loader file (boot stream) compression mechanism known as zLib. The zLib<br />

compression is supported by a third party dynamic link library,<br />

zLib1.dll. Additional information about the library can be obtained from<br />

the http://www.zlib.net Web site.<br />

The zLib1 dynamic link library is included in <strong>VisualDSP++</strong>. The library<br />

functions perform the boot stream compression <strong>and</strong> decompression procedures<br />

when the appropriate options are selected for the loader utility.<br />

The boot kernel with built-in decompression mechanism must perform<br />

the decompression on the compressed boot stream in a booting process.<br />

The default boot kernel with decompression functions are included in<br />

<strong>VisualDSP++</strong>.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 5-35

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

Saved successfully!

Ooh no, something went wrong!