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>/Splitter for Blackfin Processors<br />

dialog box), then the decompressor must be re-built with the newly chosen<br />

window size. For details on re-building of the decompressor init<br />

project, refer to the readme.txt file located in …\Blackfin\ldr\zlib\src<br />

subdirectory of the <strong>VisualDSP++</strong> <strong>4.5</strong> installation directory.<br />

While it is true that a larger compression window size results in better<br />

compression ratios, the user must note that there are counter factors that<br />

decrease the overall effective compression ratios with increasing window<br />

sizes for Blackfin’s implementation of zlib. This is because of the limited<br />

memory resources on an embedded target, such as a Blackfin processor.<br />

For more information, refer to the readme.txt file in …\Blackfin\ldr\zlib\src<br />

subdirectory of the <strong>VisualDSP++</strong> <strong>4.5</strong> installation<br />

directory.<br />

The last 16 bits of the compressed header is the flag word. The only valid<br />

compression flag assignments are shown in Figure 2-36.<br />

15 13 0<br />

0<br />

1<br />

Compression Flag:<br />

Bit 13: 0 = Not Compression Mode<br />

1 = Compression Block<br />

Figure 2-36. Flag Word of Compressed Block Header<br />

Uncompressed Streams<br />

Following the compressed streams (see Figure 2-33), the loader file<br />

includes the uncompressed streams. The uncompressed streams include<br />

application codes, conflicted with the code in the initialization blocks in<br />

the processor’s memory spaces, <strong>and</strong> a final block. The uncompressed<br />

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

block can have a zero byte count. The final block indicates the end of the<br />

application to the initialization code.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 2-59

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

Saved successfully!

Ooh no, something went wrong!