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).
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 ...