Programming Examples
This is an initcode residing in ROM with the following jobs:
• Register
pCallback
• Call
BFROM_CRC32POLY
This function is unlikely to be called by user code directly. This function
is called as an initcode during the boot process when the CRC calculation
is desired. See
Programming Examples
This section provides programming examples that demonstrate a number
of system reset and booting techniques.
Example System Reset
To perform a system reset, use the code shown in
Listing
24-2.
Listing 24-1. System Reset in Assembly
#include <blackfin.h>
P0.L = LO(BFROM_SYSCONTROL);
P0.H = HI(BFROM_SYSCONTROL);
R0.L = LO(SYSCTRL_SYSRESET);
R0.H = HI(SYSCTRL_SYSRESET);
R1 = 0;
R2 = 0;
CALL (P0);
24-82
BFROM_CRC32CALLBACK
pointer in
ADI_BOOT_DATA
to generate the look-up table.
"CRC Checksum Calculation" on page 24-33
ADSP-BF50x Blackfin Processor Hardware Reference
as a callback routine to the
.
Listing 24-1
for details.
or
Need help?
Do you have a question about the ADSP-BF506F and is the answer not in the manual?