User manual
Monitor12 (MON12) User Manual 05/30/01
24
S-RECORD TYPES
Eight types of S-records have been defined to accommodate the several needs of
the encoding, transportation, and decoding functions. The various Motorola
upload, download, and other record transportation control programs, as well as
cross assemblers, linkers, and other file creating or debugging programs,
utilize only those S-records which serve the purpose of the program. for
specific information on which S-records are supported by a particular program,
the user manual for that program must be consulted.
NOTE
The EVB monitor supports only the S1 and S9 records. All data before the first
S1 record is ignored. Thereafter, all records must be S1 type until the S9
record terminates data transfer.
An S-record format may contain the following record types:
S0 Header record for each block of S-records. The code/data field may
contain any descriptive information identifying the following block
of S-records. The address field is normally zeroes.
S1 Code/data record and the 2-byte address at which the code/data is to
reside.
S2-S3 Code/data record is 3 or 4 byte address. Not supported by monitor.
S7-8 Termination record for a block of S2 or S3 records.
S9 Termination record for a block of S1 records. Address fields may
optionally contain the 2-byte address of the instruction to which
control is to be passed. If not specified, the first entry point
specification encountered in the input will be used. There is no
code/data field.
Only one termination record is used for each block of S-records. Normally, only
one header record is used, although it is possible for multiple header records
to occur.
S-RECORD CREATION
S-record format programs maybe produce 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.
S-RECORD EXAMPLE
Shown below is a typical S-record format, as printed or displayed:
S00600004844521B
S1130000285F245F2212226A000424290008237C2A
S11300100002000800082629001853812341001813
S113002041E900084E42234300182342000824A952
S107003000144ED492