This error occurred when I started debugging a simple program using MDK Lite Ver 5.38.0.0. From the error message two issues are apparent: The licence file is missing and the location of the licence file is expected to be under the C:\Program Files folder. My installation of MDK Lite is under a folder called C:\Keil_v5 which I think was the default folder suggested by the installation program.
START DEBUG ERROR MESSAGE >>
ur software provider for a license file.Feature: FVP_ARM_Cortex-M4Filename: c:\program files\arm\licenses\license.datLicense path: c:\program files\arm\licenses\license.dat;FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"License checkout for feature FM_Simulator with version 11.19 has been denied by Flex back-end. Error code: -1Cannot find license file. The license files (or license server system network addresses) attempted are listed below. Use LM_LICENSE_FILE to use a different license file, or contact your software provider for a license file.Feature: FM_SimulatorFilename: c:\program files\arm\licenses\license.datLicense path: c:\program files\arm\licenses\license.dat;FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"License checkout for feature SG_Simulator with version 11.19 has been denied by Flex back-end. Error code: -1Cannot find license file. The license files (or license server system network addresses) attempted are listed below. Use LM_LICENSE_FILE to use a different license file, or contact your software provider for a license file.Feature: SG_SimulatorFilename: c:\program files\arm\licenses\license.datLicense path: c:\program files\arm\licenses\license.dat;FlexNet Licensing error:-1,359. System Error: 2 "No such file or directory"License checkout for feature FM_Simulator was denied because all elements (Keil_Licenses,Flex_FVP_ARM_Public,Flex_FVP_ARM_Cortex-M4,Original_Licenses,Original_Licenses_Uncounted) in MapFeatureOr statements were deniedIn file: F:\work\fastsim\Framework\scx\SCXSimulationEngine.cpp:3276Error: license error: Simulation Engine module unavailable!In file: F:\work\fastsim\Framework\scx\SCXSimulationEngine.cpp:2875ERROR: uncaught exception occurred. Exception message follows:Error: Wrong version of armctmodel. Version 11.19.23 (API Version 1.2) of the Portfolio was used to build the model. Please use identical major.minor versions of the Portfolio and the Tools.
<< END DEBUG ERROR MESSAGE
Hi there, I have moved your question to the Keil forum. Many thanks.
MDK-Lite does not require a license, but projects that cross the 32KB code size limitation can't be built.
I recommend ordering a 30-day limited MDKpro license key and completing a registration:
"Request a free 30-day trial of MDK-Professional"
https://www.keil.com/MDKEvaluationRequest/
Next, rebuild your project.
Hi again Rex,
From your other thread, is this issue resolved by using the VHT* models?
Regards Ronan
yes thank you
Sorry Ronan - spoke too soon. I followed the link that R. Kopsch sent me to request a licence but the page rejected my device ID. I'm using a Windows PC with a device id of 645A4F71-D773-458A-8C1A-90416214BBC4. I also tried entering just an alpha string as a test but this also failed. The link R. Kopsch sent me was https://www.keil.com/MDKEvaluationRequest/
Thanks again.
Hi Rex,
That doesn't look like a CID:https://developer.arm.com/documentation/ka002857/latest/
I initially used the Windows device ID: Settings -> System -> About. Hence the long hex string. After following the link in your answer I was able to download and install the licence file.
Thank you.