Keil Logo

OH51: Error (Unknown Record Type)


Information in this article applies to:

  • C51 All Versions

QUESTION

I have created an assembler program using A51 and now I'm trying to generate an Intel HEX file for it using OH51. However, I receive the following error message:

*** ERROR: UNKNOWN RECORD TYPE 0FH
*** OH51 ABORTED.

What does this error mean?

ANSWER

This error indicates that there is something wrong with the OMF51 object module. Typically, this indicates that the file is not an absolute object module.

When you create an assembler program, you must use the linker to link and locate all objects to their final location. A51 does not product an absolute object module, so you must use the linker.

MORE INFORMATION


Last Reviewed: Thursday, February 25, 2021


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.