Analog Devices ADSP-2186 specifications Booting Method

Page 10

ADSP-2186

Bootstrap Loading (Booting)

The ADSP-2186 has two mechanisms to allow automatic load- ing of the internal program memory after reset. The method for booting is controlled by the Mode A, B and C configuration bits as shown in Table VI. These four states can be compressed into two-state bits by allowing an IDMA boot with Mode C = 1.

However, three bits are used to ensure future compatibility with parts containing internal program memory ROM.

BDMA Booting

When the MODE pins specify BDMA booting, the ADSP-2186 initiates a BDMA boot sequence when RESET is released.

Table VI. Boot Summary Table

MODE C

MODE B

MODE A

Booting Method

 

 

 

 

0

0

0

BDMA feature is used to load

 

 

 

the first 32 program memory

 

 

 

words from the byte memory

 

 

 

space. Program execution is

 

 

 

held off until all 32 words

 

 

 

have been loaded. Chip is

 

 

 

configured in Full Memory

 

 

 

Mode.

 

 

 

 

0

1

0

No Automatic boot opera-

 

 

 

tions occur. Program execu-

 

 

 

tion starts at external memory

 

 

 

location 0. Chip is config-

 

 

 

ured in Full Memory Mode.

 

 

 

BDMA can still be used but

 

 

 

the processor does not auto-

 

 

 

matically use or wait for these

 

 

 

operations.

 

 

 

 

1

0

0

BDMA feature is used to load

 

 

 

the first 32 program memory

 

 

 

words from the byte memory

 

 

 

space. Program execution is

 

 

 

held off until all 32 words

 

 

 

have been loaded. Chip is

 

 

 

configured in Host Mode.

 

 

 

Additional interface hardware

 

 

 

is required.

 

 

 

 

1

0

1

IDMA feature is used to load

 

 

 

any internal memory as de-

 

 

 

sired. Program execution is

 

 

 

held off until internal pro-

 

 

 

gram memory location 0 is

 

 

 

written to. Chip is configured

 

 

 

in Host Mode.

 

 

 

 

The BDMA interface is set up during reset to the following de- faults when BDMA booting is specified: the BDIR, BMPAGE, BIAD and BEAD registers are set to 0; the BTYPE register is set to 0 to specify program memory 24 bit words; and the BWCOUNT register is set to 32. This causes 32 words of on- chip program memory to be loaded from byte memory. These 32 words are used to set up the BDMA to load in the remaining program code. The BCR bit is also set to 1, which causes pro-

gram execution to be held off until all 32 words are loaded into on-chip program memory. Execution then begins at address 0.

The ADSP-2100 Family development software (Revision 5.02 and later) fully supports the BDMA booting feature and can generate byte memory space compatible boot code.

The IDLE instruction can also be used to allow the processor to hold off execution while booting continues through the BDMA interface. For BDMA accesses while in Host Mode, the ad- dresses to boot memory must be constructed externally to the ADSP-2186. The only memory address bit provided by the processor is A0.

IDMA Port Booting

The ADSP-2186 can also boot programs through its Internal DMA port. If Mode C = 1, Mode B = 0, and Mode A = 1, the ADSP-2186 boots from the IDMA port. IDMA feature can load as much on-chip memory as desired. Program execution is held off until on-chip program memory location 0 is written to.

Bus Request & Bus Grant

The ADSP-2186 can relinquish control of the data and address buses to an external device. When the external device requires access to memory, it asserts the bus request (BR) signal. If the ADSP-2186 is not performing an external memory access, it responds to the active BR input in the following processor cycle by:

Three-stating the data and address buses and the PMS, DMS, BMS, CMS, IOMS, RD, WR output drivers,

Asserting the bus grant (BG) signal, and

Halting program execution.

If Go Mode is enabled, the ADSP-2186 will not halt program execution until it encounters an instruction that requires an external memory access.

If the ADSP-2186 is performing an external memory access when the external device asserts the BR signal, then it will not three-state the memory interfaces or assert the BG signal until the processor cycle after the access completes. The instruction does not need to be completed when the bus is granted. If a single instruction requires two external memory accesses, the bus will be granted between the two accesses.

When the BR signal is released, the processor releases the BG signal, reenables the output drivers and continues program execution from the point where it stopped.

The bus request feature operates at all times, including when the processor is booting and when RESET is active.

The BGH pin is asserted when the ADSP-2186 is ready to execute an instruction but is stopped because the external bus is already granted to another device. The other device can release the bus by deasserting bus request. Once the bus is released, the ADSP-2186 deasserts BG and BGH and executes the external memory access.

Flag I/O Pins

The ADSP-2186 has eight general purpose programmable input/ output flag pins. They are controlled by two memory mapped registers. The PFTYPE register determines the direction,

1 = output and 0 = input. The PFDATA register is used to read and write the values on the pins. Data being read from a pin

–10–

REV. 0

Image 10
Contents General Note Functional Block DiagramGeneral Description Additional Information Development SystemArchitecture Overview Serial Ports PIN DescriptionsMemory Interface Pins Input Pin Name Pins Output FunctionCommon-Mode Pins Setting Memory ModeSource Of Interrupt Interrupt Vector Address Hex LOW Power OperationPower-Down InterruptsSlow Idle Idle nIdle System InterfaceMemory Architecture Clock SignalsReset Program MemoryAddress Range Wait State Register Space Full Memory ModeMemory A13 A120 Data MemoryInternal Byte Memory DMA BDMA, Full Memory ModeInternal Memory DMA Port Idma Port Host Memory Mode Memory Space Word Size AlignmentBooting Method Biased Rounding MR Value Biased Unbiased Before RND RND ResultSyntax IOaddr = dreg dreg = IOaddr Designing AN EZ-ICE*-COMPATIBLE SystemTarget Memory Interface Target Board Connector for EZ-ICE* ProbeTarget System Interface Signals PM, DM, BM, IOM, & CMGrade Parameter Min Max Unit Grades Parameter Test Conditions Min Typ Max UnitWR Low Package Total Power Dissipation = Pint + C × VDD2 × fPower Dissipation AssumptionsCapacitive Loading Output Disable TimeOutput Enable Time Test ConditionsParameter Min Max Clock Signals and Reset Control SignalsParameter Min Max Unit Interrupts and Flag IRQx FI, or PFx Setup before Clkout Low1, 2, 3 TCK +Flag Output Delay from Clkout Low5 TCK + Flag Output Hold after Clkout Low5 25 tCKParameter Min Max Unit Bus Request/Grant Parameter Min Max Unit Memory Read Parameter Min Max Unit Memory Write Parameter Min Max Unit Serial Ports Parameter Min Max Unit Idma Address Latch Iack Low before Start of Write1 IAD15-0 Data Setup before End of Write2, 3Parameter Min Max Idma Write, Short Write Cycle Duration of Write1Low before Start of Write1 IAD15-0 Data Setup beforeParameter Min Max Unit Idma Write, Long Write Cycle Low4 TCKParameter Min Max Unit Idma Read, Long Read Cycle Parameter Min Max Unit Idma Read, Short Read Cycle Duration of Read Switching CharacteristicsHigh after Start of Read1 Lead Tqfp Package Pinout ADSP-2186A5/IAD4 PinNumber Name A4/IAD3 A6/IAD5Ordering Guide Outline DimensionsST-100 Page C2999-6-3/97