Keil Logo

BL51: HEX FILE NOT GENERATED


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

When I build my project, a hex file is not generated. Why not?

CAUSE

This could be caused by several reasons:

  1. The Object to Hex converter (OH51) is not being executed after linking.
  2. If the linker is generating any warnings, then depending on the warning a hex file will not be created.
  3. Using long filenames and directory names can cause unexpected results with µVision.

RESOLUTION

Choose Make from the Options menu and ensure that 'Run OH51 Object Hex Converter' is checked.

Ensure that the linker is not generating any warnings. If it is, then take appropriate action to fix the problems or avoid the potential problems the linker is warning you about.

If you are using any long filenames or directory names, then shorten them to eight characters or less.

Try building the Hello example and see if that generates a hex file.

Last Reviewed: Saturday, July 9, 2005


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.