dmp2txt - Converts memory dump to text, as expected by ctc2dat
dmp2txt [options] MON.dmp MON.aux
dmp2txt [options] MON.hex MON.aux
This program converts a binary, or Intel hex or Motorola s-record, or Tektronix, dumped CTC_array based on the corresponding MON.aux file to the serial stream normaly transmitted from the target.
MON.dmp The binary dumped CTC_array
MON.hex The Intel hex, Motorola s-record, or Tektronix dumped CTC_array
MON.aux The bookkeeping filing created during CTC++ compilation by the ctc2static script
To run this program the standard way type:
dmp2txt MON.dmp MON.aux > MON.txt
or
dmp2txt MON.hex MON.aux > MON.txt
Alternativly you can pipe output to the ctc2dat application:
dmp2txt MON.dmp MON.aux | ctc2dat
or
dmp2txt MON.hex MON.aux | ctc2dat
-h -? --usage --help
Displays brief usage informations
--version
Displays version information
--dump2 file
For debug purposes only. Dumps the input data to file in binary format.
--force
Can be used to create output on corrupted MON.dmp files. Output invalid, for analysis purposes.
--pad hexnumber
Rarely used. Setts padding info for dumped files.
The following
only
for non-bit (real counters), when using
CTC_NO_BITS in OPT_ADD_COMPILE=
-l8 -l16 -l32 -l64 -l128
Dump was created on a
little
endian
system, using the given bit amount for
CTC_COUNTER. E.g. use -l32 on a x86 system using Linux or Windows.
-b8 -b16 -b32 -b64 -b128
Dump was created on a
big
endian
system, using the given bit amount for
CTC_COUNTER. E.g. use -l32 on a x86 system using Linux or Windows.
Roland Baer <roland@verifysoft.de>
Testwell Oy Hermiankatu 8, FI-33720 Tampere, Finland Tel. +358-3-364-0280, Fax. +358-3-364-0390 URL: http://www.testwell.fi
ctc(1) MON.dmp(5) MON.hex(5) MON.aux(5) ctcug.pdf