25.12.2012 Views

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

VisualDSP++ 4.5 Loader and Utilities Manual - Analog Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADSP-21161 Processor Booting<br />

Table 4-8. ADSP-21161N Processor Block Tags (Cont’d)<br />

Tag Number Block Type Tag Number Block Type<br />

0x0007 zero pm16 0x0015 init pm32 ext<br />

0x0008 zero pm32 0x0016 init pm48 ext<br />

0x0009 zero pm40 0x0017 zero pm8 ext<br />

0x000A zero pm48 0x0018 zero pm16 ext<br />

0x000B init pm16 0x0019 zero pm32 ext<br />

0x000C init pm32 0x001A zero pm48 ext<br />

0x0011 zero pm64<br />

Boot Kernel Modification <strong>and</strong> <strong>Loader</strong> Issues<br />

Some systems require boot kernel customization. In addition, the operation<br />

of other tools (such as the C/C++ compiler) is influenced by whether<br />

the loader utility is used.<br />

If you do not specify a boot kernel file via the Load page of the Project<br />

Options dialog box in <strong>VisualDSP++</strong> (or via the -l kernelfile comm<strong>and</strong>-line<br />

switch), the loader utility places a default boot kernel in the loader output<br />

file (see “ADSP-21161 Processor Boot Kernels” on page 4-16) based on<br />

the specified boot mode.<br />

Rebuilding a Boot Kernel File<br />

If you modify the boot kernel source (.asm) file by inserting correct values<br />

for your system, you must rebuild the boot kernel (.dxe) before generating<br />

the boot-loadable (.ldr) file. The boot kernel source file contains default<br />

values for the SYSCON register. The WAIT, SDCTL, <strong>and</strong> SDRDIV initialization<br />

code is in the boot kernel file comments.<br />

4-18 <strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!