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.

Blackfin Processor Booting<br />

with the data. The loader utility, however, creates a regular last block if no<br />

data is in that memory range. The space of 0xFF903F00 to 0xFF903FFF is<br />

saved for the boot ROM to use as a data buffer during a boot process.<br />

Initialization Blocks<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1<br />

Last Block:<br />

1 = Last Block<br />

0 = Not Last Block<br />

Compressed Block:<br />

1 = Compressed Block<br />

0 = Not Compressed Block<br />

Port Number:<br />

00 = Disabled, 01 =Port F<br />

10 = Port G, 11 = Port H<br />

Programmable Flag:<br />

0 = Default, Selectable from 0–15<br />

Ignore Block: 1 = Ignore Block, 0 = Do Not Ignore Block<br />

Initialization Block: 1 = Init Block, 0 = No Init Block<br />

Processor Type: 1 = ADSP-BF533/534/536/537/538/539<br />

0 = ADSP-BF531/BF532<br />

Zero-Fill: 1 = Zero-Fill Block, 0 = No Zero-Fill Block<br />

Bits 14, 12–11 are reserved for future use<br />

Figure 2-29. Flag Bit Assignments for 2-Byte Block Flag Word<br />

The -init filename option directs the loader utility to produce the initialization<br />

blocks from the initialization section’s code in the named file.<br />

The initialization blocks are placed at the top of a loader file. They are<br />

executed before the rest of the code in the loader file booted into the<br />

memory (see Figure 2-30).<br />

Following execution of the initialization blocks, the boot process<br />

continues with the rest of data blocks until it encounters a final block (see<br />

Figure 2-31). The initialization code example follows in Listing 2-1 on<br />

page 2-38.<br />

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

0

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

Saved successfully!

Ooh no, something went wrong!