User manual

Translation Formats
ProMaster 2500 User Manual D-27
Tektronix Hexadecimal Format, Code 86
Figure D-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.
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.
Figure D-13
An Example of Tektronix Hex Format
/00001001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00101002FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00201003FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00301004FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00401005FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE0
/00000000
Data
Records
Start Character
Address Field
Byte Count
(00 in End-of-File Record)
Transfer Address
Nonprinting Carriage Return, line feeds,
and nulls determined by null count
LEGEND
0085-3
Checksum of Address
and Byte Count
Checksum of
Data Bytes
End-of-File Record