
ADSP-BF50x Blackfin Processor Hardware Reference
24-33
System Reset and Booting
CRC Checksum Calculation
The ADSP-BF50x Blackfin processors provide an initcode and a callback
routine in ROM that can be used for CRC32 checksum generation during
boot time. The checksum routine only verifies the payload data of the
blocks. The block headers are already protected by the native XOR check-
sum mechanism.
Before boot blocks can be tagged with the
BFLAG_CALLBACK
flag to enable
checksum calculation on the blocks, the boot stream must contain an
initcode block with no payload data and with the CRC32 polynomial in
the block header
ARGUMENT
word.
The initcode registers a proper CRC32 wrapper to the
pCallBackFunction
pointer. The registration principle is similar to the XOR checksum exam-
ple shown in
“Programming Examples” on page 24-82
.
Load Functions
All boot modes are processed by a common boot kernel algorithm. The
major customization is done by a subroutine that must be registered to the
pLoadFunction
pointer in the
ADI_BOOT_DATA
structure. Its simple proto-
type is as follows.
void LoadFunction (ADI_BOOT_DATA* pBootStruct);
The header files define the following type:
typedef void ADI_BOOT_LOAD_FUNC (ADI_BOOT_DATA* ) ;
For a few scenarios some of the flags in the
dFlags
word of the
ADI_BOOT_DATA
structure, such as
BFLAG_PERIPHERAL
and
BFLAG_SLAVE
,
slightly modify the boot kernel algorithm.
The boot ROM contains several load functions. One performs a memory
DMA for flash boot, others perform peripheral DMAs or load data from
booting source by polling operation. The first is reused for fill operation
and indirect booting as well.
Содержание 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 ...