ArticleslgStudy

computer science

Tektronix hex format

Tektronix hex format is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Tektronix hex format rather than just read about it. In short: Tektronix hex format (TEK HEX) and Extended Tektronix hex format (EXT TEK HEX or XTEK) / Extended Tektronix Object Format are ASCII-based hexadecimal file formats, created by Tektronix, for conveying binary information for applications like programming microcontrollers, EPROMs, and other kinds of chips. Each line of a Tektronix hex file starts with a slash (/) character, whereas extended Tektronix hex files start wi…

Key takeaways

  • Tektronix hex format belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Tektronix hex format to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Tektronix hex format from memory before moving on to harder problems.

Reference excerpt

Tektronix hex format (TEK HEX) and Extended Tektronix hex format (EXT TEK HEX or XTEK) / Extended Tektronix Object Format are ASCII-based hexadecimal file formats, created by Tektronix, for conveying binary information for applications like programming microcontrollers, EPROMs, and other kinds of chips. Each line of a Tektronix hex file starts with a slash (/) character, whereas extended Tektronix hex files start with a percent (%) character.

Tektronix hex format A line consists of four parts, excluding the initial '/' character:

Address — 4 character (2 byte) field containing the address where the data is to be loaded into memory. This limits the address to a maximum value of FFFF16. Byte count — 2 character (1 byte) field containing the length of the data fields. Prefix checksum — 2 character (1 byte) field containing the checksum of the prefix. The prefix checksum is the 8-bit sum of the four-bit hexadecimal value of the six digits that make up the address and byte count. Data— contains the data to be transferred, followed by a 2 character (1 byte) checksum. The data checksum is the 8-bit sum, modulo 256, of the 4-bit hexadecimal values of the digits that make up the data bytes.

Extended Tektronix hex format A line consists of five parts, excluding the initial '%' character:

Record Length — 2 character (1 byte) field that specifies the number of characters (not bytes) in the record, excluding the percent sign. 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 — 2 hex digits (1 byte), represents the sum of all the nibbles on the line modulo 256, excluding the checksum itself. Address — 2 to N character field. The first character is how many characters are to follow for this field. The remaining characters contains the address that specifies where the data is to be loaded into memory. For example, if the first character is 8, then the following 8 characters should specify the address for a total of 9 characters in this field. Data — contains the executable code, memory-loadable data or descriptive information to be transferred.

Example /F8001E26D76AF80301A4150BA3D280825E8F7B46D02B4384E8339AB27BEAF6330A2F9B /F81E03290030DD1D /00000000

See also Binary-to-text encoding, a survey and comparison of encoding algorithms Intel hex format MOS Technology file format Motorola S-record hex format Texas Instruments TI-TXT (TI Text)

References

Further reading Finneran, Scott, ed. (2014-04-18) [2010-05-24]. "#15 Incorrect Extended Tektronix Hexadecimal File Format". SourceForge. SRecord. Archived from the original on 2020-03-01. Retrieved 2020-03-01. […] Texas Instruments, IBM, and Data I/O documentation define record length as "the number of characters in the record, minus the percent". […] "The Interactive Disassembler - Hexadecimal fileformats". Hex-Rays. 2006. Tektronix Hex Format. Archived from the original on 2020-03-01. Retrieved 2020-03-01. [2] Archived 2021-11-16 at the Wayback Machine "2.8. Microprocessor Formats 2.8.1. Input Requirements: Tektronix Hexadecimal Format. Select Code 86". Operator Guide To Serial I/O Capabilities of Data I/O Programmers - Translation Format Package (PDF). Revision C. Data I/O Corporation. October 1980. pp. 2–12. 055-1901. Archived (PDF) from the original on 2020-03-01. Retrieved 2020-03-01. Translation File Formats. Data I/O Corporation. 1987-09-03. Archived from the original on 2020-03-01. Retrieved 2020-03-01. [3] (56 pages) ""MPS430 object_format.pdf" / "Translation Formats.pdf"". SourceForge. 2010-05-21. ext_tek_hex.zip. Archived from the original on 2020-03-01. Retrieved 2020-03-01.

External links SRecord is a collection of tools for manipulating hex format files, including both Tektronix formats

Worked examples

Example 1 — a first encounter with Tektronix hex format

Start with the simplest possible case. Write down what Tektronix hex format claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Tektronix hex format before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Tektronix hex format ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Tektronix hex format

In research
Tektronix hex format appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Tektronix hex format in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Tektronix hex format is common in secondary-school and first-year university syllabi. It links to neighbouring topics Binary-to-text encoding formats, Computer file formats, Embedded systems, so understanding it makes those chapters shorter.
In everyday life
Look for Tektronix hex format outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Tektronix hex format” →

How to study Tektronix hex format in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Tektronix hex format means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Tektronix hex format out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Tektronix hex format in simple terms?

Tektronix hex format (TEK HEX) and Extended Tektronix hex format (EXT TEK HEX or XTEK) / Extended Tektronix Object Format are ASCII-based hexadecimal file formats, created by Tektronix, for conveying binary information for applications like programming microcontrollers, EPROMs, and other kinds of c…

Why does Tektronix hex format matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Tektronix hex format?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Tektronix hex format.

Tags

  • Binary-to-text encoding formats
  • Computer file formats
  • Embedded systems

Keep exploring