Recently, the company's products need to increase the remote upgrade function, the boot loader program is written and handed to the production department when they feedback each product process needs to brush write two times (a boot loader an app),
Hex files and binfiles are two common file formats. The following describes the differences between the two file formats:
An Intel HEX file is an ASCII text file consisting of a line of text that conforms to the intel HEX file format. In the Intel
For detailed format descriptions, see:
1. Intel Hexadecimal Object File Format Specification 1988 (PDF), Revision A, January 6, 1988
2. http://en.wikipedia.org/wiki/Intel_hex
___________________________________________________________________________
HEX file format learning notes
In order to write a program that can perform ISP according to your own requirements, I learned about the Hex file format. Write the study notes to consolidate the learning content.
The Hex file is in the unit of action.
Conversion between JAVA Hex and string, and java hexToHexStringPublic static String toHexString (int I) returns the String representation of an integer parameter in the hexadecimal notation.If the parameter is negative, the unsigned integer is 232.
In embedded development, compiler-generated target files are generally. hex files.Why to convert, direct use of hex file not, but I have been in the development process is directly generated hex files, and then download, also did not see an
Address: http://www.cnblogs.com/zhangjiankun/archive/2011/12/08/2280097.html
I. Elf
Executable and linking format (ELF) files are commonly used object file formats in x86linux systems. There are three main types:
(1) a relocatable file suitable
1, problem descriptionWhen generating the firmware for Atmega128, the format is often specified as "intel-extended", as follows:Today to generate a new version of the program with boot, which involves the work of hex splicing.So the first thing to
Binfile conversion to hex file C language implementation,
For embedded systems, hex files may not be familiar to anyone anymore. For example, the code written by 51 Single-Chip Microcomputer we learned in college is compiled on keil and the hex file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.