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-2106x/21160 SHARC Processors<br />

The EPROM is automatically selected by the BMS pin after reset, <strong>and</strong> other<br />

memory select pins are disabled. The processor’s DMA controller reads<br />

the 8-bit EPROM words, packs them into 48-bit instruction words, <strong>and</strong><br />

transfers them to internal memory until 256 words have been loaded. The<br />

master DMA internal <strong>and</strong> external count registers (Cx <strong>and</strong> ECx) decrement<br />

after each EPROM transfer. When both counters reach zero, DMA transfer<br />

has stopped <strong>and</strong> RTI returns the program counter to the address where<br />

the kernel starts.<br />

� To<br />

EPROM boot a single-processor system, include the executable<br />

on the comm<strong>and</strong>-line without a switch. Do not use the -id#exe<br />

switch with ID=0 (see “ADSP-2106x/21160 Processor ID Numbers”<br />

on page 3-24).<br />

The WAIT register UBWM (used for EPROM booting) is initialized at reset to<br />

both internal wait <strong>and</strong> external acknowledge required. The internal keeper<br />

latch on the ACK pin initially holds acknowledge high (asserted). If<br />

acknowledge is driven low by another device during an EPROM boot, the<br />

keeper latch may latch acknowledge low.<br />

The processor views the deasserted (low) acknowledge as a hold off from<br />

the EPROM. In this condition, wait states are continually inserted, preventing<br />

completion of the EPROM boot. When writing a custom boot<br />

kernel, change the WAIT register early within the boot kernel so UBWM is set<br />

to internal wait mode (01).<br />

Host Boot Mode<br />

ADSP-2106x/21160 processors accept data from a 8- <strong>and</strong> 16-bit host<br />

microprocessor (or other external device) through the external port EPB0<br />

<strong>and</strong> pack boot data into 48-bit instructions using an appropriate DMA<br />

channel. The host is selected when the EBOOT <strong>and</strong> LBOOT inputs are low <strong>and</strong><br />

BMS is high. Configured for host booting, the processor enters the slave<br />

mode after reset <strong>and</strong> waits for the host to download the boot program.<br />

Table 3-10 lists host connections to processors.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 3-11

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

Saved successfully!

Ooh no, something went wrong!