![Freescale Semiconductor M68HC12A4EVB Скачать руководство пользователя страница 117](http://html1.mh-extra.com/html/freescale-semiconductor/m68hc12a4evb/m68hc12a4evb_user-manual_2330718117.webp)
M68HC12A4EVB Evaluation Board — Rev. 1
User’s Manual
MOTOROLA
S-Record Format
117
User’s Manual — M68HC12A4EVB Evaluation Board
Appendix A. S-Record Format
A.1 Contents
A.2
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
A.3
S-Record Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
A.4
S-Record Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
A.5
S Record Creation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
A.6
S-Record Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
A.6.1
S0 Header Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
A.6.2
First S1 Record. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
A.6.3
S9 Termination Record . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
A.6.4
ASCII Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
A.2 Overview
The Motorola S-record format was devised to encode programs or data files in
a printable format for transport between computer platforms. The format also
provides for editing of the S records and monitoring the cross-platform transfer
process.
A.3 S-Record Contents
Each S record is a character string composed of several fields which identify:
•
Record type
•
Record length
•
Memory address
•
Code/data
•
Checksum
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.