3 Hexmate Command-line Options

Run Hexmate directly with the following command format:
hexmate [specs,]file1.hex [... [specs,]fileN.hex] [options]
where file1.hex through to fileN.hex is a space-separated list of input Intel HEX files to merge using Hexmate. If only one HEX file is specified, no merging takes place, but other actions can be performed on the HEX file, as specified by options. Options can appear anywhere on the command line and are tabulated below.
Table 3-1. Hexmate Command-line Options
Option

(links to explanatory section)

Effect
--edf=fileSpecify the message description file.
--emax=nSet the maximum number of permitted errors before terminating.
--msgdisable=numberDisable messages with the numbers specified.
--sla=addressSet the start linear address for a type 5 record.
--ssa=addressSet the start segment address for a type 3 record.
--verDisplay version and build information then quit.
--werrorPromote warnings to errors.
-addressing=unitsSet address fields in all Hexmate options to use word addressing or other.
-breakBreak continuous data so that a new record begins at a set address.
-ck=specCalculate and store a hash value.
-fill=specProgram unused locations with a known value.
-find=specSearch and notify if a particular code sequence is detected.
-find=spec,deleteRemove the code sequence if it is detected (use with caution).
-find=spec,replace=specReplace the code sequence with a new code sequence.
-format=typeSpecify INHX variant for the output and maximum data record length.
-helpShow all options or display help message for specific option.
-logfile=fileSave Hexmate analysis of output and various results to a file.
-mask=specLogically AND a memory range with a bitmask.
-ofileSpecify the name of the output file.
-serial=specStore a serial number or code sequence at a fixed address.
-sizeReport the number of bytes of data contained in the resultant HEX image.
-string=specStore an ASCII string at a fixed address.
-strpack=specStore an ASCII string at a fixed address using string packing.
-wlevelAdjust warning sensitivity.
+ override prefixPrefix to any option to overwrite other data in its address range, if necessary.

Hexmate can read and write common Intel HEX file formats, which contain only specific subsets of record types. The formats are discussed in HEX File Formats and the Format Hexmate Option specifies which format should be written.

The format or assumed radix of numerical option arguments are detailed with each option description. Unless otherwise indicated, any address specified with these options are to be entered as HEX file addresses, unless you use the Addressing Hexmate Option. HEX file addresses are discussed in Intel HEX file Specification.