S-Record Fields; S-Record Field Contents; Contents - Motorola M68LC302CAF20VCT User Manual

In-circuit simulator
Table of Contents

Advertisement

S-Record Information
User's Manual
50
Each byte of binary data is encoded in the S record as a 2-character hexadecimal
number:
The first character represents the high-order four bits of the byte.
The second character represents the low-order four bits of the byte.
The five fields that comprise an S record are shown in Table A-1.
Record
Type
Length
The S-record fields are described in Table A-2.
Table A-2. S-Record Field Contents
Printable
Field
Characters
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 number
generated by some time-sharing systems.
Accuracy of transmission is ensured by the record length (byte count) and
checksum fields.
S-Record Information
Table A-1. S-Record Fields
Address
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.
M68ICS08RK In-Circuit Simulator — Rev. 1
Code/Data
Checksum

Contents

MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents