Program to Split S-Record Files for Inexpensive Prom Programmers
Original Publication Date: 1994-Feb-01
Included in the Prior Art Database: 2005-Mar-26
Publishing Venue
IBM
Related People
Abstract
The vast bulk of assemblers and compilers for 32 bit microprocessors will create Motorola S-Record files for downloading to a PROM programming unit. However, these S-Records are 32 bit oriented and the PROMs themselves are 8 bit oriented. This means the PROM data has to be split into the correct 8 bit byte lanes for the PROMs. This is a feature that is found on only the more expensive PROM programming units.
Program to
Split
S-Record Files for Inexpensive Prom Programmers The vast bulk
of assemblers and compilers for 32 bit
microprocessors will create Motorola S-Record files for downloading
to a PROM programming unit. However,
these S-Records are 32 bit
oriented and the PROMs themselves are 8 bit oriented. This means the
PROM data has to be split into the correct 8 bit byte lanes for the
PROMs. This is a feature that is found
on only the more expensive
PROM programming units.
This problem
is solved by providing a IBM PC BASIC program that
can split a 32 bit S-Record file into four 8 bit files on the PC.
These new files can be downloaded to even the most inexpensive
programming units.
A S-Record
file is an ASCII based representation of the bytes
to be used by a microprocessor (uP). See
Fig. 1 for examples of
S-records.
A
compiler/assembler for a 32 bit uP usually creates 32 bit
oriented S-Records. The syntax for a
S-Record can be found in the
manuals for most device programmers. However,
nearly all PROM
devices are 8 bit oriented. Thus, to
properly program a PROM/EPROM
the data has to be split up into the correct byte lanes (ever 4th
byte). Many compilers do not provide
this feature and only the
expensive device programmers provide it.
This program will break
down a 32 bit S-Record file into four 8 bit S-Record files that have
the correct syntax and can thus be used with virtually any device
programmer on the market .....