OAR

RTEMS 4.5.1-pre3 On-Line Library


unhex - Convert Hexadecimal File into Binary

PREV UP NEXT Bookshelf RTEMS Development Environment Guide

4.1.2: unhex - Convert Hexadecimal File into Binary Equivalent

SYNOPSIS

unhex [-valF] [-o file] [file [file ...] ]

DESCRIPTION

unhex accepts Intel Hexadecimal, Motorola Srecord, or TI 'B' records and converts them to their binary equivalent. The output may sent to standout or may be placed in a specified file with the -o option. The designated output file may not be an input file. Multiple input files may be specified with their outputs logically concatenated into the output file.

OPTIONS

This command has the following options:

v
Verbose
a base
First byte of output corresponds with base address
l
Linear Output
o file
Output File
F k_bits
Fill holes in input with 0xFFs up to k_bits * 1024 bits

EXAMPLES

The following command will create a binary equivalent file for the two Motorola S record files in the specified output file binary.bin:

unhex -o binary.bin downloadA.sr downloadB.sr


PREV UP NEXT Bookshelf RTEMS Development Environment Guide

Copyright © 1988-2000 OAR Corporation