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.

<strong>Loader</strong> for ADSP-2106x/21160 SHARC Processors<br />

A master SHARC processor may boot a slave SHARC processor by writing<br />

to its DMACx control register <strong>and</strong> setting the packing mode (PMODE) to 00.<br />

This allows instructions to be downloaded directly without packing. The<br />

wait state setting of 6 on the slave processor does not affect the speed of<br />

the download since wait states affect bus master operation only.<br />

Link Port Boot Mode<br />

� Link port boot is supported on all SHARC processors except<br />

ADSP-21061 <strong>and</strong> ADSP-21065L processors.<br />

When link-boot ADSP-2106x/21160 SHARC processors, the processor<br />

receives data from 4-bit link buffer 4 <strong>and</strong> packs boot data into 48-bit<br />

instructions using the appropriate DMA channels (DMA channel 6 for<br />

ADSP-2106x processors, DMA channel 8 for ADSP-21160 processors).<br />

Link port mode is selected when the EBOOT is low <strong>and</strong> LBOOT <strong>and</strong> BMS are<br />

high. The external device must provide a clock signal to the link port<br />

assigned to link buffer 4. The clock can be any frequency, up to a maximum<br />

of the processor clock frequency. The clock falling edges strobe the<br />

data into the link port. The most significant 4-bit nibble of the 48-bit<br />

instruction must be downloaded first. The link port acknowledge signal<br />

generated by the processor can be ignored during booting since the link<br />

port cannot be preempted by another DMA channel.<br />

Link booting is similar to host booting—the parameter registers<br />

(IIx <strong>and</strong> Cx) for DMA channels are initialized to the same values. The<br />

DMA channel 6 control register (DMAC6) is initialized to 0x00A0, <strong>and</strong> the<br />

DMA channel 10 control register (DMAC10) is initialized to 0x100000. This<br />

disables external port DMA <strong>and</strong> selects DTYPE for instruction words. The<br />

LCTL <strong>and</strong> LCOM link port control registers are overridden during link booting<br />

to allow link buffer 4 to receive 48-bit data.<br />

After booting completes, the IMASK remains set, allowing DMA channel<br />

interrupts. This interrupt must be cleared before link buffer 4 is again<br />

enabled; otherwise, unintended link interrupts may occur.<br />

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

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

Saved successfully!

Ooh no, something went wrong!