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.

Splitter Comm<strong>and</strong> Line<br />

Table 7-2. Splitter Comm<strong>and</strong>-Line Switches (Cont’d)<br />

Item Description<br />

-r # [# …] The -r (PROM widths) switch specifies the number of PROM files<br />

<strong>and</strong> their width in bits. The splitter utility can create PROM files for<br />

8-, 16-, <strong>and</strong> 32-bit wide PROMs. The default width is 8 bits.<br />

Each # parameter specifies the width of one PROM file.<br />

Place # parameters in order from most significant to least significant.<br />

The sum of the # parameters must equal the bit width of the destination<br />

memory (40 bits for DM, 48 bits for PM, or 64 bits for 64-bit<br />

memory).<br />

Example:<br />

elfspl21k –dm –r 16 16 8 myfile.dxe<br />

This comm<strong>and</strong> extracts data memory ROM from myfile.dxe <strong>and</strong><br />

creates the following output PROM files.<br />

myfile.s_0—8 bits wide, contains bits 7–0<br />

myfile.s_1—16 bits wide, contains bits 23–8<br />

myfile.s_2—16 bits wide, contains bits 39–24<br />

The width of the three output files is 40 bits.<br />

-ram The -ram (include RAM in PROM) switch directs the splitter utility<br />

to extract RAM sections from the inputfile. The -dm, -pm, <strong>and</strong> -64<br />

switches select the memory. The -s switch is not influenced by the<br />

-ram switch.<br />

-f h<br />

-f s1<br />

-f s2<br />

-f s3<br />

-f b<br />

The -f (PROM file format) switch directs the splitter utility to generate<br />

a non-bootable PROM image file in the specified format.<br />

Available selection include:<br />

h—Intel hex-32 format<br />

s1—Motorola EXORciser format<br />

s2—Motorola EXORMAX format<br />

s3—Motorola 32-bit format<br />

b—byte stacked format<br />

If the -f switch does not appear on the comm<strong>and</strong> line, the default<br />

format for the PROM file is Motorola 32-bit (s3).<br />

For information on file formats, see “Build Files” on page A-5.<br />

-s section_name The -s (include memory section) switch directs the splitter utility to<br />

extract the contents of the specified memory section (section_name).<br />

Use the -s section_name switch as many times as needed. Each<br />

instance of the -s switch can specify only one section_name.<br />

Warning: Do not use -s with (-pm, -dm, or -64).<br />

7-6 <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!