Vi+ Loader Manual
2-21
for 16-Bit Processors
Blackfin Processor Loader/Splitter
Initialization Blocks
The
-init
filename
option directs the loader to produce an initialization
block from the code of the initialization section of the named file. The ini-
tialization block is placed at the top of a loader file. It is executed before
the rest of the code in the loader file is booted into the memory (see
Figure 2-11
).
Following execution of the initialization block, the booting process con-
tinues with the rest of data blocks until it encounters a final block (see
Figure 2-12
). The initialization code example follows in
Listing 2-1
Table 2-4. Flag Structure
Bit Field
Description
Zero-Fill Block Indicates that the block is a buffer filled with zeros. Zero Block is not included
within loader file. When the loader parses through the .
DXE
file and encounters
a large buffer with zeros, it creates a zero-fill block to reduce .
LDR
file size and
boot time. If this bit is set, there is no data in the block.
Ignore Block
Indicates that the block is not to be booted into memory; skips the block and
move on to the next one. Currently is not implemented for application code.
Initialization
Block
Indicates that the block is to be executed before booting. The initialization
block indicator allows the on-chip boot ROM to execute a number of instruc-
tions before booting the actual application code. When the on-chip boot ROM
detects an Init Block, it boots the block into internal memory and makes a
CALL
to it (Initialization code must have a RTS at the end).
This option allows the user to run initialization code (such as SDRAM initial-
ization) before the full boot sequence proceeds.
Figure 2-11
and
Figure 2-12
illustrate the process. Initialization code can be included within the .
LDR
file by
using the
-init
switch (see
“-init filename” on page 2-43
).
Processor Type Indicates the processor, either ADSP-BF531/BF532 or ADSP-BF533. After
booting is complete, the cn-chip boot ROM jumps to
0xFFA0 0000
for a
ADSP-BF533 processor and to
0xFFA0 8000
for a ADSP-BF531/BF532 pro-
cessor.
Last Block
Indicates that the block is the last block to be booted into memory. After the
last block, the processor jumps to the start of L1 memory for application code
execution. When it jumps to L1 memory for code execution, the processor is
still in Supervisor Mode and in the lowest priority interrupt (IVG15).
Содержание VISUALDSP++ 3.5
Страница 9: ...VisualDSP 3 5 Loader Manual ix for 16 Bit Processors Contents INDEX ...
Страница 10: ...x VisualDSP 3 5 Loader Manual for 16 Bit Processors ...
Страница 20: ...Notation Conventions xx VisualDSP Loader Manual for 16 Bit Processors ...
Страница 86: ...Blackfin Processor Loader Guide 2 56 VisualDSP Loader Manual for 16 Bit Processors ...
Страница 144: ...ADSP 218x DSP Splitter Guide 5 20 VisualDSP 3 5 Loader Manual for 16 Bit Processors ...
Страница 166: ...INDEX I 12 VisualDSP Loader Manual for 16 Bit Processors ...