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.

hexutil – Hex-32 to S-Record File Converter<br />

hexutil – Hex-32 to S-Record File<br />

Converter<br />

The hex-to-S file converter (hexutil.exe) utility transforms a loader<br />

(.ldr) file in Intel hexadecimal 32-bit format to Motorola S-record format<br />

or produces an unformatted data file.<br />

Syntax: %hexutil input_file [-s1|s2|s3|StripHex] [-o file_name]<br />

where:<br />

input_file is the name of the .ldr file generated by the <strong>VisualDSP++</strong><br />

splitter utility.<br />

Table B-1 shows optional switches used with the %hexutil comm<strong>and</strong>.<br />

Table B-1. Hex to S-Record File Converter Comm<strong>and</strong>-Line Switches<br />

Switch Description<br />

-s1 Specifies Motorola output format S1<br />

-s2 Specifies Motorola output format S2<br />

-s3 Specifies the default output format – Motorola S3. That is, when no switch<br />

appears on the comm<strong>and</strong> lines, the output file format defaults to S3.<br />

-StripHex Generates an unformatted data file<br />

-o Names the output file; in the absence of the -o switch, causes the output<br />

file name to default to input_file.s.<br />

The Intel hex-32 <strong>and</strong> Motorola S-record file formats are described<br />

on page A-7 <strong>and</strong> on page A-11, respectively.<br />

B-2 <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!