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.

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

Uncompressed Streams<br />

Following the compressed streams, the loader utility file includes the<br />

uncompressed streams. The uncompressed streams include application<br />

codes, conflicted with the code in the initialization blocks in the processor’s<br />

memory spaces, <strong>and</strong> a final block. The uncompressed stream includes<br />

only a final block if there is no conflicted code. The final block can have a<br />

zero byte count. The final block indicates the end of the application to the<br />

initialization code.<br />

Overlay Compression<br />

The loader utility compresses the code <strong>and</strong> data from the executable .dxe<br />

<strong>and</strong> shared memory .sm files when the -compression comm<strong>and</strong>-line switch<br />

is used alone, <strong>and</strong> leaves the code <strong>and</strong> data from the overlay (.ovl) files<br />

uncompressed. The -compressionOverlay switch directs the loader utility<br />

to compress the code <strong>and</strong> data from the .ovl files, in addition to compressing<br />

the code <strong>and</strong> data from the .dxe <strong>and</strong> .sm files.<br />

The -compressionOverlay switch must be used in conjunction with<br />

-compression.<br />

Booting Compressed Streams<br />

Figure 5-8 shows the booting sequence of a loader file with compressed<br />

streams. The loader file is pre-stored in the flash memory.<br />

1. A a booting process is initialized by the processor.<br />

2. The processor brings the 256 words of the boot kernel from the<br />

flash memory to the processor’s memory for execution.<br />

3. The decompression engine is brought in.<br />

4. The compressed stream is brought in, then decompressed <strong>and</strong><br />

loaded into the memory.<br />

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

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

Saved successfully!

Ooh no, something went wrong!