ADSP-BF50x Blackfin Processor Hardware Reference
24-77
System Reset and Booting
BFROM_SPIBOOT
Entry address:
0xEF00 000A
Arguments:
• SPI address in
R0
•
dFlags
in
R1
•
dBlockCount
in
R2
•
pCallHook
passed over the stack in [FP+0x14]
• updated block count returned in
R0
C prototype:
s32 bfrom_SpiBoot (
s32 dSpiAddress,
s32 dFlags,
s32 dBlockCount,
ADI_BOOT_HOOK_FUNC* pCallHook);
This SPI master boot routine processes boot streams residing in SPI mem-
ories, using the SPI0 controller. The fourth argument
pCallHook
is passed
over the stack. It provides a hook to call a callback routine after the
ADI_BOOT_DATA
structure is filled with default values. For example, the
pCallHook
routine may overwrite the default value of the
uwSsel
value in
the
ADI_BOOT_DATA
structure. The coding follows the rules of
uwHWAIT
(see
“Boot Host Wait (HWAIT) Feedback Strobe” on page 24-19
). A value of
0x060D represents GPIO
PF13
(
SPI0_SSEL1
).
Additional bits in the
dFlags
word are relevant. The user should always set
the
BFLAG_PERIPHERAL
flag but never the
BFLAG_SLAVE
bit. The
BFLAG_NOAUTO
flag instructs the system to skip the SPI device detection
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 ...