Keil Logo

FROMELF: Getting Error Q9511E Using Fromelf from Command Line


Information in this knowledgebase article applies to:

  • Keil MDK - V5 All versions

QUESTION

After building my Keil MDK project, I want to create a format I can import into a VHDL model. When I call fromelf using the following command:

fromelf --vhx --output=vhdldata.dat myproject.axf

I received the following error messages:

Error: Q9511E: Unable to determine the current toolkit.  Check that ARM_TOOL_VARIANT is set correctly.
ARM Compiler could not determine the product installation it is part of.  you might be able to resolve this by reinstalling the tools, or ensuring that ARM_TOOL_VARIANT and ARM_PRODUCT_PATH are set appropriately.
Information about this error is available at: http://ds.arm.com/support/lic86
 General licensing information is available at: http:/ds.arm.com/support/licensing/
 If you need further help, provide this complete error report to your supplier or license.support@arm.com.
 - ARMLMD_LICENSE_FILE: '8224@myserver'
 - LM_LICENSE_FILE: unset
 - ARM_TOOL_VARIANT: 'mdk_plus'
 - ARM_PRODUCT_PATH: 'C:\Keil_v5\ARM'
 - Product location: product not found
 - Toolchain location: C:\Users\MyName\code\Objects
 - Selected tool variant: mdk_plus
Product: unknown
Component: unknown
Tool: fromelf [4d35da]
Engineering release. Not for production use.
Finished 3 information, 0 warning and 1 error messages.

Why do I get this error?

ANSWER

There are two problems:

  1. You have moved or copied fromelf and are not executing it from it's installed location.
  2. The ARM_TOOL_VARIANT and ARM_PRODUCT_PATH environment variables are preventing fromelf from finding your license information.

To correct this, do the following:

  1. Modify your command from:

    fromelf --vhx --output=vhdldata.dat myproject.axf
    


    To:

    C:\Keil_v5\ARM\ARMCC\BIN\fromelf --vhx --output=vhdldata.dat myproject.axf
    
  2. Delete the ARM_TOOL_VARIANT and ARM_PRODUCT_PATH environment variables in (Windows - System Properties - Environment variables).

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.