How does the Intel HEX record format work?
Intel’s Hex-record format allows program or data files to be encoded in a printable (ASCII) format. This allows viewing of the object file with standard tools and easy file transfer from one computer to another, or between a host and target. An individual Hex-record is a single line in a file composed of many Hex-records.
What happens to an extended linear address in Intel HEX?
When an extended linear address record is read, the extended linear address stored in the data field is saved and is applied to subsequent records read from the Intel HEX file. The linear address remains effective until changed by another extended address record.
How many characters are in an Intel HEX file?
Because the data field is composed of character pairs, each pair being one 8-bit byte, Intel hex files are commonly used with 8-bit processors. Because the address field is only four characters, Intel hex files are restricted to a 64 kilobyte address space. There are three possible types of Hex-records.
Which is the address field in hex file format?
02 is the number of data bytes in the record. 0000 is the address field. For the extended linear address record, this field is always 0000. 04 is the record type 04 (an extended linear address record). FFFF is the upper 16 bits of the address. 01h + NOT (02h + 00h + 00h + 04h + FFh + FFh).
What is the output file format for Intel?
You can store configuration data for one or more Intel devices in an output file called a Hexadecimal (Intel-Format) Output File ( .hexout ). The .hexout file format is an ASCII text file with the extension .hexout to avoid overwriting initial memory content files that have the extension .hex.
What is the format of a.hex file?
The format of each line in a .hex file is as follows: :AABBBBCCDD”¦DDEE Code Definition AA the number of bytes in the data field ( BBBB starting address CC type (00 = data, 01 = end of file, 02 =