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.

ADSP-2126x/2136x/2137x Processor Booting<br />

The loader -compression switch directs the loader utility to perform the<br />

boot stream compression from the comm<strong>and</strong> line. <strong>VisualDSP++</strong> also<br />

offers a dedicated loader property page (Load Compression) to manage<br />

the compression from the graphical user interface.<br />

The loader utility takes two steps to compress a boot stream. First, the<br />

utility generates the boot stream in the conventional way (builds data<br />

blocks), then applies the compression to the boot stream. The decompression<br />

initialization is the reversed process: the loader utility decompresses<br />

the compressed stream first, then loads code <strong>and</strong> data into memory segments<br />

in the conventional way.<br />

The loader utility compresses the boot stream on the .dxe-by-.dxe basis.<br />

For each input .dxe file, the utility compresses the code <strong>and</strong> data together,<br />

including all code <strong>and</strong> data from any associated shared memory (.sm) files.<br />

The loader utility, however, does not compress automatically any data<br />

from any associated overlay files. To compress data <strong>and</strong> code from the<br />

overlay file, call the utility with the -compressionOverlay switch, either<br />

from the property page or from the comm<strong>and</strong> line.<br />

Compressed Streams<br />

The basic structure of a loader file with compressed streams is shown in<br />

Figure 5-5.<br />

KERNEL WITH DECOMPRESSION ENGINE<br />

1ST .dxe COMPRESSED STREAM<br />

1ST .dxe UNCOMPRESSED STREAM<br />

2ND .dxe COMPRESSED STREAM<br />

2ND .dxe UNCOMPRESSED STREAM<br />

. . .<br />

. . .<br />

Figure 5-5. <strong>Loader</strong> File with Compressed Streams<br />

5-36 <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!