
Callable ROM Functions for Booting
16-66
ADSP-BF59x Blackfin Processor Hardware Reference
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 SPI1 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 16-18
). A value of
0x070B represents GPIO
PG11
(
SPI1_SSEL5
).
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
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...