Keil Logo

ArmClang.exe: error: Failed to check out a license.Keil Licensing error: No TOOLS.ini file found

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
cyberian cyberiano
Posted
19-May-2018 21:54 GMT
Toolset
ARM
New! ArmClang.exe: error: Failed to check out a license.Keil Licensing error: No TOOLS.ini file found

Hi,
When I compile using version V5.06 update 6 (build 750) I do not have any problems. Everything works very well.
With version 5.24a of uVision, I could compile perfectly with ARMCLANG, and when I upgraded to version 5.25, I could also compile with ARMCLAND V6.9.
But from one day to the next, I could not compile more, it gives me license errors, and I should not have them.
For now I am working with version 5.06 of the compiler, but I want to use version 6.9 that has more benefits for me.

*** Using Compiler 'V6.9', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'Filter'
ArmClang.exe: error: Failed to check out a license.Keil Licensing error: No TOOLS.ini file found
ArmClang.exe: note: Check that your license details are correct in the License Management dialog of MDK. Additional information is available at: http://www.keil.com/support/man/docs/license/license_management.htm If you need further help, provide this complete error report to your supplier or license.support@arm.com. - ARMLMD_LICENSE_FILE: unset - LM_LICENSE_FILE: 'C:\Program Files\PTC' - ARM_TOOL_VARIANT: unset - ARM_PRODUCT_PATH: unset - Product location: C:\Keil_v5\ARM\sw\mappings - Toolchain location: C:\Keil_v5\ARM\ARMCLANG\Bin - Selected tool variant: mdk_pro
ArmClang.exe: note: - Checkout feature: LIC0=TA...-.....-..... - Feature version: 5.0201710 - Keil error code: 1
Product: MDK Professional 5.25
Component: ARM Compiler 6.9
Tool: armclang [5ced1d00]

There is some solution to the problem, or I have to do an outdated version to version 5.24a.
Greetings.

Read-Only
Author
cyberian cyberiano
Posted
19-May-2018 22:11 GMT
Toolset
ARM
New! ArmClang.exe: error: Failed to check out a license.Keil Licensing error: No TOOLS.ini file found

What I do not understand is why it appears in the license file, the address of the PTC Mathcad Prime 4.0 license file. Is this the problem? How do I solve it? Greetings.

Read-Only
Author
Westonsupermare Pier
Posted
19-May-2018 22:37 GMT
Toolset
ARM
New! RE: Keil Licensing error: No TOOLS.ini file found

Keil uses the same licensing software, you need to make sure you set the environment variable ARMLMD_LICENSE_FILE to point to the KEIL file

Control Panel
Advanced System Settings
Environment Variables

ARMLMD_LICENSE_FILE
C:\Keil522\TOOLS.INI or your install directory

>>What I do not understand is why it appears in the license file, the address of the PTC Mathcad Prime 4.0 license file.
Because you have that installed? And the generic LM_LICENSE_FILE points to it?

Read-Only
Author
cyberian cyberiano
Posted
20-May-2018 00:47 GMT
Toolset
ARM
New! RE: Keil Licensing error: No TOOLS.ini file found

Hi,
Thanks Westonsupermare Pier,

Yes, I have installed PTC Mathacad Prime 4.0

The problem continue:

ArmClang.exe: error: Failed to check out a license.Keil Licensing error: No TOOLS.ini file found
ArmClang.exe: note: Check that your license details are correct in the License Management dialog of MDK. Additional information is available at: http://www.keil.com/support/man/docs/license/license_management.htm If you need further help, provide this complete error report to your supplier or license.support@arm.com. - ARMLMD_LICENSE_FILE: 'C:\Keil_v5\TOOLS.INI' - LM_LICENSE_FILE: 'C:\Program Files\PTC' - ARM_TOOL_VARIANT: unset - ARM_PRODUCT_PATH: unset - Product location: C:\Keil_v5\ARM\sw\mappings - Toolchain location: C:\Keil_v5\ARM\ARMCLANG\Bin - Selected tool variant: mdk_pro
ArmClang.exe: note: - Checkout feature: LIC0=TA...-.....-..... - Feature version: 5.0201710 - Keil error code: 1
Product: MDK Professional 5.25
Component: ARM Compiler 6.9
Tool: armclang [5ced1d00]

Read-Only
Author
Steve Ellenby
Posted
23-May-2018 19:16 GMT
Toolset
ARM
New! RE: ArmClang.exe: error: Failed to check out a license....: No TOOLS.ini file found

Hi

I have been dealing with exactly the same issue via the Arm Support team in Germany. Apparently "This is known issue with ARMCLANG and latest windows 10 update 1803" however I cannot find any reference to the problem on teir website.

They suggested that the easiest way to solve the issue is to use a flex licence rather the stand alone licence I was previously using.

To implement this fix, they provided me with a PSN which allowed me to generate a licence.dat file using the licence generator on their website. Then I had to download the FlexNet license server and install it on the same PC that I was running the uVision MDK.

The bit they didn't tell me was that the licence.dat file generated from my PSN was missing of the following 2 lines of code which have to be added near the beginning

SERVER computername macaddress
VENDOR armlmd c:flexnet\armlmd

where computername is the name of your computer and macaddress is the MAC address of your network card.

Obviously, you would have to get the appropriate PSN from ARM before implementing this fix so, if you are running the free version, I don't know where this leaves you.

Please get back to me if you need further help as I have not written up the details of how to do the installation.

Read-Only
Author
Muhammad Lutfi santoso
Posted
24-May-2018 04:46 GMT
Toolset
ARM
New! RE: ArmClang.exe: error: Failed to check out a license....: No TOOLS.ini file found

how to generate a licence.dat?

Read-Only
Author
Steve Ellenby
Posted
25-May-2018 07:00 GMT
Toolset
ARM
New! RE: ArmClang.exe: error: Failed to check out a license....: No TOOLS.ini file found

You need to be signed in to your arm account. Then navigate to:

https://silver.arm.com/licensing/generate.tm

and enter the serial number. Of course you have to get a flexlicense serial number from Keil first.

Read-Only
Author
R. Kopsch
Posted
29-May-2018 07:10 GMT
Toolset
ARM
New! Failed to check out a license...No TOOLS.ini file found

We have prepared a Knowledgebase-Article that explains the problem when using ARM Compiler 6 in Windows 10 that has installed Windows update V1803.:

http://www.keil.com/support/docs/4043.htm

Read-Only
Author
cyberian cyberiano
Posted
30-May-2018 00:41 GMT
Toolset
ARM
New! RE: Failed to check out a license...No TOOLS.ini file found

Thank you so much, then, we can close this thread. I have opted for a virtual machine with Windows 7, since there I use Xilinx ISE, so I take the opportunity to use uVision with the V6 compiler. Many thanks.

Read-Only
Author
R. Kopsch
Posted
14-Jun-2018 13:52 GMT
Toolset
ARM
New! RE: Failed to check out a license...No TOOLS.ini file found

The ARM Compiler Team now provides a fix to this problem - see: http://www.keil.com/support/docs/4043.htm

Read-Only
Author
cyberian cyberiano
Posted
14-Jun-2018 18:28 GMT
Toolset
ARM
New! RE: Failed to check out a license...No TOOLS.ini file found

Hi,
Many thanks. Now I am downloading the fix. I try it and comment on my results.

Best regards.

Read-Only
Author
cyberian cyberiano
Posted
15-Jun-2018 07:32 GMT
Toolset
ARM
New! RE: Failed to check out a license...No TOOLS.ini file found

Hi,
Thank you very much, the fix work excellent!

Best regards.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

  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.