ARM Technical Support Knowledge Articles

ERROR (UNKNOWN RECORD TYPE)

Applies to: OH51 Object-HEX Converter

Answer


Information in this article applies to:


SYMPTOMS

When I try to convert my absolute object module using OH51 to an Intel HEX file, I get the following error:

GENERATING INTEL HEX FILE: JUNK.HEX

*** ERROR: UNKNOWN RECORD TYPE 63H
*** OHS51 ABORTED.

CAUSE

This is caused when OH51 does not recognize a record in the absolute obj file. Make sure that you are specifying a valid absolute OMF51 object module.

RESOLUTION

If you link your application with BL51, the linker creates an absolute object module with no file extension (the default). So, make sure you don't include a file extension when you invoke OH51. For example:

C51 file1.c
C51 file2.c
A51 startup.a51
BL51 file1.obj, file2.obj, startup.obj TO file1
OH51 file1

If you have a one-file assembly module and you create an absolute object module from the assembler, the file extension of the object module is .OBJ. So, make sure you invoke OH51

A51 file3.a51
OH51 file3.obj

MORE INFORMATION

Article last edited on: 2006-10-29 19:03:39

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