hi
struggling to make a Keil version work to code up an STM32 dev board. Couple days on the license part now, followed directions, have an active license, even shows up in the help/about page. Try alot of things and still does not work. There is a license, just got one, and its the community edition?
Try to compile? Error: C9555E: Failed to check out a license.The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.ARMLMD_LICENSE_FILE is not set. You must set this to the path to your license.
I believe you are trying to use the legacy Arm Compiler 5.
Can you build your project with Arm Compiler 6 (armclang)?
hi, im not even finding where the page is to change the version 5 or 6, was accessing that a dozen times, now I am not even finding it, seems like I got the license part solved, maybe, but it always had v6; im sure its in the setting. am doing a udemy course right and the instr said dont use 6 it will throw errors, so use 5, go download it and make 5 the one you use, and so Ive got to find that, ah, there is a video on setting and will check that and see. thought i clicked the wizard icon to get into those settings, will try
*** Error: CreateProcess failed, Command: '"C:\Keil_v5\Bin\ArmCC" --via ".\uart.__i"'"UART.c" - 0 Error(s), 0 Warning(s).
before it was about license errors, now it looks like one of the build settings
It looks like there is no compiler installed in this folder. Please check if the folder "C:\Keil_v5\Bin\ArmCC" exists and if there is a "bin" folder in it with the compilation tools such as armcc.exe and the likes. Did you download the AC5 and install it into this folder?
that file was missing i had re installed and made the folder Keil_v52 instead of 5 and that path might be making it fail, but i still have v5 and found that exe and dropped into the folder and now it starts to compile but fails for license?
and 6.21 compiles now finally but the programming part fails, its connected, st-link and it will blink the led different when it starts then giv3es a dialog and click ok and the led on the board goes back to red. thanks
If the compiler is really in "C:\Keil_v5\Bin\ArmCC" then this is the wrong folder. Please see this article, especially point 4:
developer.arm.com/.../
You are getting the error message "ARMLMD_LICENSE_FILE is not set." in the second example of the knowledgebase article "Arm Compiler Failed to Check Out a License; ARMLMD_LICENSE_FILE: unset". See:
https://developer.arm.com/documentation/ka005108/latest
Please follow the steps in that article to resolve the issue.