Date : Wed, 01 Mar 1989 20:58:50 GMT
From : pyramid!prls!gordon@lll-lcc.llnl.gov (Gordon Vickers)
Subject: Checksum program (was: Intel Hex Format Records)
FYI:
I have a program (written in C ) that reads a file containing
Intel Hex format records, verifies the checksum of each record
and produces a file checksum for the data fields only (i.e. the
kind of checksum an EPROM programmer may give you if it read a chip
that contained the data only).
I find this useful in two situtations:
1) verify the programmer downloaded the file correctly,
2) verify that data files transferred from the programmer to
the computer arrived OK. I like storing EPROM data online if
it contains code that I don't maintain. If an EPROM goes bad,
I don't need to buy one from the equipment manufacture, just
burn a replacement.
The program name is: cksum
If there is a great enough respondce, I'll try posting it to the
appropriate newsgroup ( sources.misc or whatever it's called) else I'll
send copies to all requesters.
The program is written in a very easy to understand style and contains
comments.
cksum.c: 85 426 2926 (lines,words,bytes)
Gordon Vickers 408/991-5370 (Sunnyvale,Ca); {mips|pyramid|philabs}!prls!gordon
Every extinction, whether animal, mineral, or vegetable, hastens our own
demise.