BFROM_MEMBOOT
Entry address:
0xEF00 0008
Arguments:
pointer to boot stream in
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
To boot a new application that may overwrite the calling application, the
word is usually zero. When done, the routine does not return, but
dFlags
jumps to the
EVT1
executed instead and the routine returns to the parent function. In this
way, fractions of an application can be loaded.
If the
dBlockCount
processed until the
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
stream (for example, the first unused address after the processed boot
stream).
ADSP-BF50x Blackfin Processor Hardware Reference
,
R0
dFlags
.
pBootStream
vector address. If the
parameter is zero or a positive value, all boot blocks are
flag is detected. If
BFLAG_FINAL
System Reset and Booting
in
,
R1
dBlockCount
flag is set, an
BFLAG_RETURN
dBlockCount
pSource
in
,
R2
pCallHook
is
RTS
is a nega-
of the boot
24-75
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?