ADSP-BF50x Blackfin Processor Hardware Reference
24-75
System Reset and Booting
BFROM_MEMBOOT
Entry address:
0xEF00 0008
Arguments:
pointer to boot stream in
R0
,
dFlags
in
R1
,
dBlockCount
in
R2
,
pCallHook
passed over the stack in [FP+0x14], and updated block count returned in
R0
C prototype:
s32 bfrom_MemBoot (
void* pBootStream,
s32 dFlags,
s32 dBlockCount,
ADI_BOOT_HOOK_FUNC* pCallHook);
This routine processes any boot stream that maps to the Blackfin memory
starting from address
pBootStream
.
To boot a new application that may overwrite the calling application, the
dFlags
word is usually zero. When done, the routine does not return, but
jumps to the
EVT1
vector address. If the
BFLAG_RETURN
flag is set, an
RTS
is
executed instead and the routine returns to the parent function. In this
way, fractions of an application can be loaded.
If the
dBlockCount
parameter is zero or a positive value, all boot blocks are
processed until the
BFLAG_FINAL
flag is detected. If
dBlockCount
is a nega-
tive value, the negative number represents the number of blocks to be
booted. For example, –1 causes the kernel to return immediately, –2 pro-
cesses only one block.
The routine returns the updated source address
pSource
of the boot
stream (for example, the first unused address after the processed boot
stream).
Содержание 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 ...