Tektronix Hexadecimal Format, Code 86
Figure 6-13
An Example of Tektronix Hex Format
Start Character
Transfer Address
(00 in End-of-File Record)
UniSite-xpi User Manual
Figure 6-13 illustrates a valid Tektronix data file. The data in each record
are sandwiched between the start character (a slash) and a 2-character
checksum. Following the start character, the next 4 characters of the
prefix express the address of the first data byte. The address is followed
by a byte count, which represents the number of data bytes in the record,
and by a checksum of the address and byte count. Data bytes follow,
represented by pairs of hexadecimal characters. Succeeding the data
bytes is their checksum, an 8-bit sum, modulo 256, of the 4-bit
hexadecimal values of the digits making up the data bytes. All records
are followed by a carriage return.
Address Field
/00001001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00101002FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00201003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00301004FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00401005FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00000000
End-of-File Record
Checksum of Address
and Byte Count
Byte Count
Nonprinting Carriage Return, line feeds,
and nulls determined by null count
Data are output from the programmer starting at the first RAM address
and continuing until the number of bytes in the specified block has been
transmitted. The programmer divides output data into records prefaced
by a start character and an address field for the first byte in the record.
The end-of-file record consists of a start character (slash), followed by the
transfer address, the byte count (equal to 00), and the checksum of the
transfer address and byte count.
An optional abort record contains 2 start characters (slashes), followed by
an arbitrary string of ASCII characters. Any characters between a carriage
return and a / are ignored.
LEGEND
6. Translation Formats
Data
Records
Checksum of
Data Bytes
0085-3
6-27
Need help?
Do you have a question about the UniSite-xpi and is the answer not in the manual?
Questions and answers