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.

� Most<br />

Splitter for SHARC <strong>and</strong> TigerSHARC Processors<br />

-s section_name—The -s switch can be used without the -pm, -dm,<br />

or -64 switch. The splitter comm<strong>and</strong> line must include one or<br />

more of the -pm, -dm, <strong>and</strong>, -64 switches or the -s switch.<br />

items in the splitter comm<strong>and</strong> line are not case sensitive; for<br />

example, -pm <strong>and</strong> -PM are interchangeable. However, the names of<br />

memory sections must be identical, including case, to the names<br />

used in the executable.<br />

Each of the following comm<strong>and</strong> lines,<br />

elfspl21k -pm -o pm_stuff my_proj.dxe -proc ADSP21161<br />

elfspl21k -dm -o dm_stuff my_proj.dxe -proc ADSP21161<br />

elfspl21k -64 -o 64_stuff my_proj.dxe -proc ADSP21161<br />

elfspl21k -s seg-code -o seg-code my_proj.dxe<br />

runs the splitter utility for the ADSP-21161 processor. The first comm<strong>and</strong><br />

produces a PROM file for program memory. The second comm<strong>and</strong> produces<br />

a PROM file for data memory. The third comm<strong>and</strong> produces a<br />

PROM file for DATA64 memory. The fourth comm<strong>and</strong> produces a PROM<br />

file for section seg-code.<br />

The switches on these comm<strong>and</strong> lines are as follows.<br />

-pm<br />

-dm<br />

-64<br />

Selects program memory (-pm), data memory (-dm), or DATA64 memory<br />

(-64) as sources in the executable for extraction <strong>and</strong> placement into the<br />

image. DATA64 memory does not apply to ADSP-2106x processors.<br />

Warning: The -pm, -dm, or -64 switch does not apply to ADSP-TSxxx<br />

processors.<br />

Because these are the only switches used to identify the memory source,<br />

the specified sources are PM, DM, or DATA64 memory sections. Because<br />

no other content switches appear on these comm<strong>and</strong> lines, the output<br />

file format defaults to a Motorola 32-bit format, <strong>and</strong> the PROM word<br />

width of the output defaults to 8 bits for all PROMs.<br />

<strong>VisualDSP++</strong> <strong>4.5</strong> <strong>Loader</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Manual</strong> 7-3

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

Saved successfully!

Ooh no, something went wrong!