Keil Logo

OH51: ERROR (UNKNOWN RECORD TYPE)


Information in this article applies to:

  • C51 Version 5.50

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

Last Reviewed: Sunday, October 29, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.