Download CubeSuite Ver.1.40 Integrated Development Environment User`s

Transcript
CubeSuite Ver.1.40
3.4.2
CHAPTER 3 BUILD OUTPUT LISTS
Motorola S type hex format
The Motorola S type hex format file consists of five recordsNote 1: S0 record as the header record, S2/S3 records as the
data record, and S8/S7 record as the end recordsNote 2.
Notes 1.
Each record is output in ASCII code.
2.
The Motorola S type hex formats are divided into two types: (24-bit) standard address and 32-bit address
types. The format of the standard address type consists of S0, S2, and S8 records, and the format of the
32-bit address type consists of S0, S3, and S7 records.
The file configuration in the Motorola S type hex format is shown below.
Figure 3-2. File Configuration of Motorola S Type Hex Format
S0 record
S2/S3 record
:
S2/S3 record
S8/S7 record
Each record consists of the following fields.
Sx
XX
YY......YY
(1) (2)
(3)
SS
NL
(4) (5)
Item
Description
Number
(1)
Record type
(2)
Record length
This is the number of bytes expressed as 2-digit hexadecimal number of (3) + number of bytes expressed by
SS.Note
(3)
Field
(4)
Checksum
This is lower 1 byte expressed as a 2-digit hexadecimal number of one’s complement of total of number of bytes in
the record (other than Sx, SS, and NL) expressed as a 2-digit hexadecimal number.
(5)
Newline (\n)
Note This is 1.
- S0 record
This indicates the file name.
S0
XX
(1) (2)
XX......XX
SS
NL
(3)
R20UT0261EJ0100 Rev.1.00
Oct 01, 2010
Page 106 of 577