6. Translation Formats
UniSite-xpi User Manual
6-33
Texas Instruments SDSMAC Format, Code 90
Data files in the SDSMAC format consist of a start-of-file record, data
records, and an end-of-file record. See Figure 6-17.
Each record is composed of a series of small fields, each initiated by a tag
character. The programmer recognizes and acknowledges the following
tag characters:
0 or K—followed by a file header.
7—followed by a checksum which the programmer acknowledges.
8—followed by a checksum which the programmer ignores.
9—followed by a load address.
B—followed by 4 data characters.
F—denotes the end of a data record.
*—followed by 2 data characters.
The start-of-file record begins with a tag character and a 12-character file
header. The first four characters are the byte count of the data bytes; the
remaining file header characters are the name of the file and may be any
ASCII characters (in hex notation). Next come interspersed address fields
and data fields (each with tag characters). If any data fields appear before
the first address field in the file, the first of those data fields is assigned to
address 0000. Address fields may be expressed for any data byte, but
none are required.
The record ends with a checksum field initiated by the tag character 7 or
8, a 4-character checksum, and the tag character F. The checksum is the
two’s complement of the sum of the 8-bit ASCII values of the characters,
beginning with the first tag character and ending with the checksum tag
character (7 or 8).
Figure 6-17
An Example of TI SDSMAC Format
00050 7FDD4F
90000BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F400F
90010BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FFF
90020BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FEF
90030BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FDF
90040BFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFFBFFFF7F3FCF
:
Checksum
Tag Character
Tag Character
Tag Character
Byte Count
Filename
Load Address
End-of-File Record
Tag Characters
Data
Records
Checksum
LEGEND
Nonprinting Carriage Return, with optional
line feed and nulls determined by null count.
0089-4
Summary of Contents for UniSite-xpi
Page 2: ...981 0014 UniSite Programming System User Manual Also Covering Legacy UniSite Programmers ...
Page 72: ...2 Setup and Installation 2 42 UniSite xpi User Manual ...
Page 134: ...3 Getting Started 3 62 UniSite xpi User Manual ...
Page 238: ...5 Computer Remote Control 5 10 UniSite xpi User Manual ...
Page 296: ...6 Translation Formats 6 58 UniSite xpi User Manual ...
Page 402: ...Keep Current Subscription Service 6 Keep Current ...