S-Record Content - Freescale Semiconductor Motorola MMDS0508 Operation Manual

Motorola modular development system
Table of Contents

Advertisement

S-Record Information

S-Record Content

200
Freescale Semiconductor, Inc.
When observed, S-records are essentially character strings made of
several fields which identify the record type, record length, memory
address, code/data, and checksum. Each byte of binary data is encoded
as a two-character hexadecimal number: the first character representing
the high-order four bits and the second the low-order four bits of the byte.
Five field which comprise an S-record are shown below:
TYPE
RECORD LENGTH
where the fields are composed as shown in
Table 15. S-Record Field Description
Printable
Field
Character
s
Type
2
Record
2
Length
Address
4, 6, or 8
Code/Data
0–2n
Checksum
2
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 system.
Accuracy of transmission is ensured by the record length (byte count)
and checksum fields.
S-Record Information
For More Information On This Product,
Go to: www.freescale.com
ADDRESS
CODE/DATA
Table
Contents
S-record type — S0, S1, etc.
Character pair count in the record, excluding the
type and record length.
2-, 3-, or 4-byte address at which the data field is to
be loaded into memory.
From 0 to n bytes of executable code, memory
loadable data, or descriptive information. For
compatibility with teletypewriter, some programs
may limit the number of bytes to as few as 28 (56
printable characters in the S-record).
Least significant byte of the one's complement of
the sum of the values represented by the pairs of
characters making up the record length, address,
and the code/data fields.
CHECKSUM
15.
MMDS0508OM/D
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmds0508

Table of Contents