RTEMS Development Environment Guide
unhex [-valF] [-o file] [file [file ...] ]
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.
This command has the following options:
v
a base
l
o file
F k_bits
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
RTEMS Development Environment Guide
Copyright © 1988-2004 OAR Corporation