Advanced Boot Techniques
24-34
ADSP-BF50x Blackfin Processor Hardware Reference
In second-stage boot schemes, the user can create customized load func-
tions or reuse the original
BFROM_PDMA
routine and modify the
pDmaControlRegister
,
pControlRegister
and
dControlValue
values in
the
ADI_BOOT_DATA
structure. The
pDmaControlRegister
points to the
DMAx_CONFIG
or
MDMA_Dx_CONFIG
register. When the
BFLAG_SLAVE
flag is
not set, the
pControlRegister
and
dControlValue
variables instruct the
peripheral DMA routine to write the control value to the control register
every time the DMA is started.
Load functions written by users must meet the following requirements.
• Protect against
dByteCount
values of zero.
• Multiple DMA work units are required if the
dByteCount
value is
greater than 65536.
• The
pSource
and
pDestination
pointers must be properly updated.
In slave boot modes, the boot kernel uses the address of the
dArgument
field in the
pHeader
block as the destination for the required dummy
DMAs when payload data is consumed from
BFLAG_IGNORE
blocks. If the
load function requires access to the block's
ARGUMENT
word, it should be
read early in the function.
The most useful load functions
BFROM_MDMA
and
BFROM_PDMA
are accessible
through the jump table. Others, do not have entries in the jump table.
Their start address can be determined with the help of the hook routine
when calling the respective
BFROM_SPIBOOT
or other functions. In this way,
they can be re-purposed for runtime utilization.
Calling the Boot Kernel at Runtime
The boot kernel’s primary purpose is to boot data to memory after
power-up and reset cycles. However some of the routines used by the boot
kernel might be of general value to the application. The boot ROM sup-
ports reuse of these routines as C-callable subroutines. Programs such as
Содержание 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 ...