ADSP-218x DSP Loader Guide
5-6
Vi+ 3.5 Loader Manual
for 16-Bit Processors
EPROM Booting (BDMA)
To generate a PROM image for EPROM booting, invoke the
elfspl21.exe
loader from the command line or change the Vi+
project type to
Splitter file
and specify options on the
Project Options
dialog box’s
Load
page. The command-line syntax is discussed
on page 5-7
. For information on how to set up the loader options from
within the Vi+, see online Help.
After
RESET
, the ADSP-218x DSP loads the 96 bytes from PROM address
0x0000
into the first 32 locations of on-chip PM memory. Assuming these
96 bytes consist of 32 valid instructions, the DSP executes this piece of
program (preloader) afterwards. Usually 32 instructions are not sufficient
to load the complete project data; therefore, bootstrapping continues and
the preloader loads a set of so-called page loaders beginning at PM address
0x0020
. After the preloader terminates, the DSP executes the page loaders,
which load the project data page by page.
The loader uses a default preloader. You can force the loader with the
-uload
switch to use a customized preloader to reduce wait states or to
implement a boot management scenario (discussed in detail in the Appli-
cation Note EE-146).
Example
The following example lists the default preloader together with its opcode.
Note that the
BWCOUNT
value is generated dynamically.
/* standard preloader (32 instructions)
address opcodes */
ax0 = 0x0060; dm(0x3fe2) = ax0;
/* BEAD
0x0000:400600 93FE20 */
ax0 = 0x0020; dm(0x3fe1) = ax0;
/* BIAD
0x0002:400200 93FE10 */
ax0 = 0x0000; dm(0x3fe3) = ax0;
/* CTRL
0x0004:400000 93FE30 */
ax0 = 0x0087; dm(0x3fe4) = ax0;
/* BWCOUNT0x0006: 400870 93FE40 */
ifc = 0x0008;nop;
/* BDMA IRQ 0x0008: 3C008C 000000 */
imask = 0x0008;
/* 0x000A: 3C0083 */
idle;
/* 0x000B: 028000 */
jump 0x0020; nop; nop; nop;
/* 0x000C: 18020F 000000 */
nop;
nop; nop; nop;
/* 0x0010: 000000 000000 */
Содержание 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 ...