ADSP-BF50x Blackfin Processor Hardware Reference
24-43
System Reset and Booting
Determining Boot Stream Start Addresses
The ROM functions
BFROM_MEMBOOT
,
BFROM_SPIBOOT
, etc. not only allow
the application to boot a subroutine residing at a given start address, they
also assist in walking through linked multi-DXE streams.
When the
BFLAG_NEXTDXE
bit in
dFlags
is set and these functions are
called, the system does not boot but instead walks though the boot stream
following the next-DXE pointers. The
dBlockCount
parameter can be used
to specify the DXE of interest. The routines then return the start address
of the requested DXE’s boot stream.
Initialization Hook Routine
When the ROM functions
BFROM_MEMBOOT
,
BFROM_SPIBOOT
, etc. are called,
they create an instance of the
ADI_BOOT_DATA
structure on the stack and fill
the items with default values. If the
BFLAG_HOOK
is set, the boot kernel
invokes a callback routine which was passed as the fourth argument of the
ROM routines, after the default values have been filled. The hook routine
can be used to overwrite the default values. Every hook routine should fit
the prototype:
void hook (ADI_BOOT_DATA* pBS);
The header files define the
ADI_BOOT_HOOK_FUNC
type the following way:
typedef void ADI_BOOT_HOOK_FUNC (ADI_BOOT_DATA*);
The hook function also gives access to the DMA load function used by the
respective boot mode, which can be used for general purposes at runtime.
For example, in the
BFROM_SPIBOOT
case, an instance of the load function:
ADI_BOOT_LOAD_FUNC *pSpiLoadFunction;
can be initialized by equipping the hook function with the instruction:
pSpiLoadFunction = pBS->pLoadFunction;
Содержание EZ-KIT Lite ADSP-BF506F
Страница 50: ...Contents l ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 92: ...Development Tools 1 30 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 110: ...Interface Overview 3 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 132: ...Unique Information for the ADSP BF50x Processor 4 22 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 236: ...Internal Flash Memory Control Registers 6 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 342: ...Unique Information for the ADSP BF50x Processor 7 106 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 484: ...Unique Information for the ADSP BF50x Processor 10 60 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 493: ...ADSP BF50x Blackfin Processor Hardware Reference 11 9 Core Timer Unique Information for the ADSP BF50x Processor None ...
Страница 494: ...Unique Information for the ADSP BF50x Processor 11 10 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 506: ...Unique Information for the ADSP BF50x Processor 12 12 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 544: ...Unique Information for the ADSP BF50x Processor 13 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 650: ...Programming Examples 15 56 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 712: ...Unique Information for the ADSP BF50x Processor 16 62 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 804: ...Programming Examples 17 92 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 972: ...Unique Information for the ADSP BF50x Processor 20 38 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1194: ...Programming Examples 24 90 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1256: ...ACM Registers A 50 ADSP BF50x Blackfin Processor Hardware Reference ...
Страница 1264: ...Boundary Scan Architecture B 8 ADSP BF50x Blackfin Processor Hardware Reference ...