|ARM Technical Support Knowledge Articles|
Applies to: OH51 Object-HEX Converter
Information in this article applies to:
OH51 doesn't seem to generate Intel HEX records that are in address order. This causes havoc with the emulator I use. Is there a way around this problem?
This is correct operation of OH51. There is nothing in the Intel HEX specification that stated that the records must be in any specific order.
The easiest resolution to this problem is to use the MS-DOS SORT utility to sort the records into a new HEX file. To do this.
sort /+4 oldfile.hex > newfile.hex
Note that only Intel HEX-86 files may be sorted using this method. HEX-286 and HEX-386 files have segment records that may get located incorrectly using this technique.
Article last edited on: 2007-07-10 00:25:48
Did you find this article helpful? Yes No
How can we improve this article?