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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ADSP-2126x/2136x/2137x Processor Booting<br />

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

Boot kernel customization is required for some systems. In addition, the<br />

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

whether 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 comm<strong>and</strong>-line switch),<br />

the loader utility places a default boot kernel (see Table 5-11) in the<br />

loader output file based on the specified boot type.<br />

If you do not want to use any boot kernel file, check the No kernel box (or<br />

specify the -nokernel comm<strong>and</strong>-line switch). The loader utility places no<br />

boot kernel in the loader output file.<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 are in the boot kernel file comments.<br />

To Modify a Boot Kernel Source File<br />

1. Copy the applicable boot kernel source file (26x_prom.asm,<br />

26x_spi.asm, 36x_prom.asm, 36x_spi.asm, 369_prom.asm,<br />

369_spi.asm).<br />

2. Apply the appropriate changes.<br />

After modifying the boot kernel source file, rebuild the boot kernel (.dxe)<br />

file. Do this from within the <strong>VisualDSP++</strong> IDDE (refer to <strong>VisualDSP++</strong><br />

online Help for details) or rebuild a boot kernel file from the comm<strong>and</strong><br />

line.<br />

5-20 <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!