S-Records Creation - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

A.4 S-RECORDS CREATION
S-record format files may be produced by dump utilities, debuggers, linkage editors, cross
assemblers or cross linkers. Several programs are available for downloading a file in S-record
format from a host system to a microprocessor-based system.
EXAMPLE
Shown below is a typical S-record format module, as printed or displayed:
S00600004844521B
S1130000285F245F2212226A000424290008237C2A
S11300100002000800082629001853812341001813
S113002041E900084E42234300182342000824A952
S113003000144ED492
S9030000FC
The module consists of one S0 record, four S1 records, and an S9 record.
The S0 record is comprised of the following character pairs:
S0
S-record type S0, indicating that it is a header record.
06
Hexadecimal 06 (decimal 6), indicating that six character pairs (or ASCII bytes) follow.
00
Four-character, 2-byte, address field; zeros in this example.
00
48
44
ASCII H, D and R - "HDR".
52
1B
The checksum.
The first S1 record is explained as follows:
S1
S-record type S1, indicating that it is a code/data record to be loaded/verified at a 2-byte
address.
13
Hexadecimal 13 (decimal 19), indicating that 19 character pairs, representing 19 bytes
of binary data, follow.
00
Four-character, 2-byte, address field; hexadecimal address 0000, where the data which
00
follows is to be loaded.
M68CPU32BUG REV 1
A-3
S-RECORD INFORMATION

Advertisement

Table of Contents
loading

Table of Contents