Callable ROM Functions for Booting
24-76
ADSP-BF50x Blackfin Processor Hardware Reference
The
BFLAG_NEXTDXE
flag suppresses boot loading. The boot kernel steps
through the boot stream by analyzing the next-DXE pointers (in the
ARGUMENT
field of a
BFLAG_FIRST
block) and jumping to the next DXE.
Assuming that the boot image is a chained list of boot streams, the boot
kernel returns the absolute start address of the requested boot stream. In
this example, the start address of the third boot stream (DXE) in a flash
device is returned.
bfrom_MemBoot(
(void*)0x20000000,
BFLAG_RETURN|BFLAG_NEXTDXE,
-3,
NULL);
In the above example, the routine would return 0x2000 0000 when
dBlockCount
was set to –1. If the parameter
dBlockCount
is zero or posi-
tive when used along with the
BFLAG_NEXTDXE
command, the kernel
returns when the
BFLAG_FIRST
flag on a header in the next-DXE chain is
not set.
If the
BFLAG_HOOK
switch is set, the memboot routine call (
pCallHook
rou-
tine) after the
ADI_BOOT_DATA
structure is filled with default values. It then
can overrule the default settings of the structure.
The
bfrom_MemBoot()
uses both MDMA channel pairs. Respective
wake-up bits must be set in the
SIC_IWRx
registers.
Summary of Contents for EZ-KIT Lite ADSP-BF506F
Page 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Page 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Page 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...