Programming Examples
w[FP+-sizeof(ADI_SYSCTRL_VALUES)+offse-
tof(ADI_SYSCTRL_VALUES,uwPllLockCnt)] = R0;
R0 = (SYSCTRL_EXTVOLTAGE | SYSCTRL_PLLCTL | SYSCTRL_PLLDIV |
SYSCTRL_LOCKCNT | SYSCTRL_WRITE);
R1 = FP;
R1 += -sizeof(ADI_SYSCTRL_VALUES);
R2 = 0 (z);
IMM32(P5,BFROM_SYSCONTROL);
call(P5);
SP += 12;
(R7:0,P5:5) = [SP++];
unlink;
rts;
init_DPM.end:
Care must be taken that the reprogramming of the PLL does not break the
communication with the booting host. For example, in the case of UART
boot, the
UARTx_DLL
old bit rate.
Example XOR Checksum
Listing 24-7
illustrates how an initcode can be used to register a callback
routine. The routine is called after each boot block that has the
BFLAG_CALLBACK
against the block header
example goes into idle mode. Otherwise control is returned to the boot
kernel.
Since this callback example accesses the data after it is loaded, it would fail
if the target address were in L1 instruction space. Therefore the
BFLAG_INDIRECT
then perform the checksum calculation at an intermediate storage place.
The boot kernel transfers the data from the temporary buffer to the final
destination after the callback routine returns.
24-86
and
UARTx_DLH
flag set. The calculated XOR checksum is compared
field. When the checksum fails, this
ARGUMENT
flag should also be set. The
ADSP-BF50x Blackfin Processor Hardware Reference
registers must be updated to keep the
xor_callback
routine could
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?
Questions and answers