ARM Technical Support Knowledge Articles

USING HEX2BIN WITH HEX FILES

Applies to: RealView C Compiler

Answer


Information in this article applies to:


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

Article last edited on: 2007-03-19 07:31:19

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential