Keil™, An ARM® Company

Technical Support

ARMCC: USING HEX2BIN WITH HEX FILES


Information in this article applies to:

  • RealView C Compiler All Versions

QUESTION

I am using HEX2BIN and BIN2HEX to add a CRC checksum. However, when running HEX2BIN I get the following error:

Invalid Record Type in HEX record 1

Is there a way to remove this error?

ANSWER

The first line in the HEX files the RealView Compilation Tools create encode a record type 05 that indicates the start address of the program. You can safely remove this first line of the HEX file. The problem with HEX2BIN will then go away.

SEE ALSO

Last Reviewed: Monday, March 19, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure