S-Record Format
S-Record Types
M68HC12A4EVB Evaluation Board — Rev. 1
User’s Manual
MOTOROLA
S-Record Format
119
A.4 S-Record Types
Eight types of S records have been defined to accommodate the several needs
of the encoding, transportation, and decoding functions. The various Motorola
upload, download, and other record transportation control programs, as well as
cross assemblers, linkers, and other file-creating or debugging programs, utilize
only those S records that serve the purpose of the program.
For specific information on which S records are supported by a particular
program, the user manual for that program must be consulted.
NOTE:
D-Bug12 supports only the S0, S1, and S9 records. All data before the first S1
record is ignored. Thereafter, all records must be S1 type until the S9 record
terminates data transfer.
An S-record format may contain the record types listed in
Table A-3
.
Only one termination record is used for each block of S records. Normally, only
one header record is used, although it is possible for multiple header records to
occur.
Table A-3. S-Record Types
Type
Description
S0
Header record for each block of S records. The code/data field
may contain any descriptive information identifying the following
block of S records. The address field is normally 0s.
S1
Record containing code/data and the 2-byte address at which the
code/data is to reside
S2 – S8
Ignored by the EVB
S9
Termination record for a block of S1 records. The address field
may optionally contain the 2-byte address of the instruction to
which control is to be passed. If not specified, the first entry point
specification encountered in the object module input will be used.
There is no code/data field.
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..
AR
CH
IVE
D B
Y F
RE
ES
CA
LE
SE
MI
CO
ND
UC
TO
R,
IN
C.