S-Record Types - Motorola M68EVB912B32 User Manual

Table of Contents

Advertisement

S-RECORD FORMAT
Each record may be terminated with a CR/LF/NULL. Additionally, an S-Record may have an
initial field to accommodate other data such as line numbers generated by some time-sharing
systems.
Accuracy of transmission is ensured by the record length (byte count) and checksum fields.

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.
D-Bug12 supports only the S1 and S9 records. All data before the
first S1 record is ignored. Thereafter, all code/data records must be
of type S1 until the S9 record terminates data transfer.
An S-Record format module may contain S-Records of the following types:
S0
The 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 zeroes.
S0 records are ignored by the EVB.
S1
A record containing code/data and the 2-byte address at which the code/data is to reside
S2-S8
Ignored by the EVB
S9
The termination record for a block of S1 records. 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 is used. There is no code/data field.
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.
A-2
NOTE
68EVB912B32UM/D

Advertisement

Table of Contents
loading

Table of Contents