|ARM Technical Support Knowledge Articles|
Applies to: General Topics
Information in this article applies to:
I have created an Intel HEX file using the Keil tools. However, the size of the file is really large. My system is only 32 KBytes but the size of the HEX file is over 40 KBytes. What can be the problem?
The Intel HEX file format is NOT a binary format. There is no one-to-one correlation between the data in the HEX file and the number of bytes in your application program.
In fact, the HEX file format is an ASCII Text format file and is easy to read and modify in a text editor (like Notepad). Each line of the HEX file includes an offset, length, and checksum in addition to the data.
The word HEX indicates that the bytes of your program are encoded as Hexadecimal digits in the HEX File. For that reason, in addition to the offset, length, and checksum, there are two bytes stored in the HEX file for each byte of your program.
Refer to the Intel HEX File format for more information regarding this file format.
Article last edited on: 2006-10-10 15:11:39
Did you find this article helpful? Yes No
How can we improve this article?