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-21161 Processor Boot Streams<br />

<strong>Loader</strong> for ADSP-21161 SHARC Processors<br />

The loader utility produces the boot stream in blocks <strong>and</strong> inserts header<br />

words at the beginning of data blocks in the loader (.ldr) file. The boot<br />

kernel uses header words to properly place data <strong>and</strong> instruction blocks<br />

into processor memory. The header format for PROM, host, <strong>and</strong> link<br />

boot-loader files is as follows.<br />

0x00000000DDDD<br />

0xAAAAAAAALLLL<br />

In the above example, D is a data block type tag, A is a block start address,<br />

<strong>and</strong> L is a block word length.<br />

For single-processor systems, the data block header has three 32-bit words<br />

in SPI boot mode, as follows.<br />

0xLLLLLLLL First word. Data word length or data word count of the data block.<br />

0xAAAAAAAA Second word. Data block start address.<br />

0x000000DD Third word. Tag of data block type.<br />

The boot kernel examines the tag to determine the type of data or instruction<br />

being loaded. Table 4-8 lists ADSP-21161N processor block tags.<br />

Table 4-8. ADSP-21161N Processor Block Tags<br />

Tag Number Block Type Tag Number Block Type<br />

0x0000 final init 0x000E init pm48<br />

0x0001 zero dm16 0x000F zero dm64<br />

0x0002 zero dm32 0x0010 init dm64<br />

0x0003 zero dm40 0x0012 init pm64<br />

0x0004 init dm16 0x0013 init pm8 ext<br />

0x0005 init dm32 0x0014 init pm16 ext<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 4-17

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

Saved successfully!

Ooh no, something went wrong!