S-Record Creation; S-Record Example - Motorola M68HC11EVBU User Manual

Universal evaluation board
Hide thumbs Also See for M68HC11EVBU:
Table of Contents

Advertisement

A-4 S-RECORD CREATION
S-record format programs may be produced by several dump utilities, debuggers, or several cross
assemblers or cross linkers. Several programs are available for downloading a file in S-record
format from a host system to an 8-bit or 16-bit microprocessor-based system.
A-5 S-RECORD EXAMPLE
Shown below is a typical S-record format module, as printed or displayed:
S00600004844521B
S1130000285F245F2212226A000424290008237C2A
S11300100002000800082629001853812341001813
S113002041E900084E42234300182342000824A952
S107003000144ED492
S9030000FC
The above module consists of an S0 header record, four S1 code/data records, and an S9
termination record.
The S0 header record is comprised of the following character pairs:
S0
S-record type S0, indicating a header record.
06
Hexadecimal 06 (decimal 6), indicating six character pairs (or ASCII bytes) follow.
00
Four-character 2-byte address field, zeroes.
00
48
44
ASCII H, D, and R – "HDR".
52
1B
Checksum of S0 record.
The first S1 code/data record is explained as follows:
S1
S-record type S1, indicating a code/data record to be loaded/verified at a 2-byte address.
13
Hexadecimal 13 (decimal 19), indicating 19 character pairs, representing 19 bytes of binary data,
follow.
00
Four-character 2-byte address field; hexadecimal address 0000, indicates location where the
00
following data is to be loaded.
M68HC11EVBU/D
S-RECORD INFORMATION
A-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

M68hc11evbdM68hc11evbu/d

Table of Contents