Motorola s format – Dataman S4 User Manual
Page 87

DATAMAN S4 MANUAL
Motorola S Format 87
MOTOROLA S Format
A Motorola, Exorciser or "S" Format file can be
examined using a text editor and printed. Each
record is a single line of ASCII characters,
expressing bytes as hexadecimal pairs,
terminated with Carriage return and Linefeed
(0D,0A). All records start with an "S". The
transmission is terminated by ASCII End-of-
File
S0 Header Record
Position
Character
1-2
"S0"
3-N
Comments
N+1,2
Carriage Return & Line Feed
S1 Data with 2 Byte Address
Position
Character
1-2
"S1"
3-4
Record length = data bytes
plus 3 2 for address & 1 for
checksum.
5-8
2 byte address as 4 HEX
characters Most Significant
Byte first.
9-N
Data bytes in hexadecimal,
each byte is two HEX
characters.
N+1,2
Negation of checksum of bytes
excluding "S1". Makes the line
add up to "FF".
N+3,4
Carriage Return & Line Feed.