ADSP-BF50x Blackfin Processor Hardware Reference
24-21
System Reset and Booting
boot kernel provides options to execute an
RTS
instruction or a
RAISE 1
instruction instead. The default behavior can be changed by an initcode
routine. The
EVT1
register is updated by the boot kernel when processing
the
BFLAG_FIRST
block. See
“Servicing Reset Interrupts” on page 24-8
to
learn how the application can take control.
Before the boot kernel passes program control to the application it does
some housekeeping. Most of the registers that were used are changed back
to their default state but some register values may differ for individual
boot modes. DMA configuration registers and primary register control
registers (
UARTx_LCR
,
SPIx_CTL
, etc.) are restored, while others are pur-
posely not restored. For example
SPIx_BAUD
,
UARTx_DLH
and
UARTx_DLL
remain unchanged so that settings obtained during the booting process are
not lost.
Single Block Boot Streams
The simplest boot stream consists of a single block header and one contig-
uous block of instructions. With appropriate flag instructions the boot
kernel loads the block to the target address and immediately terminates by
executing the loaded block.
Table 24-5
shows an example of a single block boot stream header that
could be loaded from any serial boot mode. It places a 256-byte block of
instructions at L1 instruction SRAM address 0xFFA0 0000. The flags
BFLAG_FIRST
and
BFLAG_FINAL
are both set at the same time. Advanced
flags, such as
BFLAG_IGNORE
,
BFLAG_INIT
,
BFLAG_CALLBACK
and
BFLAG_FILL
, do not make sense in this context and should not be used.
Table 24-5. Header for a Single Block Boot Stream
Field
Value
Comments
BLOCK CODE
0xAD33 C001 0xAD00 0000 | XORSUM | BFLAG_FINAL |
BFLAG_FIRST | (DMACODE & 0x1)
TARGET ADDRESS 0xFFA0 0000
Start address of block and application code
Содержание 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 ...