Tektronix extended HEX
Filename extension |
.tek |
---|
Tektronix extended HEX is a file format, created by Tektronix, for conveying binary information for applications like programming microcontrollers, EPROMs, and other kinds of chips.
Each line of Tektronik extended HEX file starts with a percent (%) character.
A line consists of five parts:
- Record Length The record length field is a 2 character (1 byte) field that specifies the number of characters (not bytes) in the record, excluding the percent, the length field, the type field and the checksum.
- Type 1 character field, specifies whether the record is data (6) or termination (8). (6 record contains data, placed at the address specified. 8 termination record: The address field may optionally contain the address of the instruction to which control is passed ; there is no data field.)
- Checksum two hex digits (1 byte, represents the sum of all the nibbles on the line,excluding the checksum itself.
- Address 9 character field. The first character is the address size and is always 8. The remaining 8 characters are the 4-byte address that specifies where the data is to be loaded into memory.
- Data contains the executable code, memory-loadable data or descriptive information to be transferred.
See also
- Intel HEX, hex file format by Intel
- SREC, hex file format by Motorola
- Binary-to-text encoding, comparison of various encoding algorithms
This article is issued from Wikipedia - version of the 8/21/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.