Intel s record hex format
![intel s record hex format intel s record hex format](https://freehexeditorneo.com/images/products/screenshots/free-hex-editor-neo-main.png)
START SEGMENT ADDRESS RECORD (16- OR 32-BIT FORMATS). START LINEAR ADDRESS RECORD (32-BIT FORMAT ONLY). 6ĮXTENDED SEGMENT ADDRESS RECORD (16- OR 32-BIT FORMATS). 5ĮXTENDED LINEAR ADDRESS RECORD (32-BIT FORMAT ONLY).
#INTEL S RECORD HEX FORMAT PDF#
+ attachment (in the hope that one or the other will survive future forum changes - zipped PDF as this forum STILL cant take PDF files ) This is PROBABLY the same version of the above IntelHex format PDF, anyway its the only one a google search on ' Intel Corporation intelhex filetype:pdf' turned up that was from Intel, not a 3rd party and its size is 28.533K In other words, taking an 8-bit sum of every byte on the line (including the checksum) should always give you 0. The checksum is the two's complement, of the lowest byte, of the sum of all preceding bytes in the line (including the 4 header bytes). As such, the first line in the file is usually :020000040000FA to zero the high word of the address.
![intel s record hex format intel s record hex format](https://downloads.ti.com/docs/esd/SPRU513J/Content/SPRU513J_HTML/ods/images/SPRU513J/hexout16gpio_pru513.gif)
This line sets the upper 16 bits of the data address for all following records. The line with this record type is always :00000001FF and is always the last line in the file. TT, the Record Type, is 00 for a general record. The total number of characters on each line is (1 + 2*4 + 2*NN + 2) = (11 + 2*NN) CC is the least-significant byte of the checksum TT is the Record Type, which I'll get to in a second. AAAA is the lower 16 bits of the data address NN represents the number of bytes in the record (not including the header & checksum) Every line begins with a 9-character header and ends with a 2-character hexadecimal checksum, with the actual data (in hexadecimal) in the middle.