How to deploy mbed Studio OS ver 5.15 in new laptops?

Hello,

I have been developing code on ST’s Nucleo- L476 board based system. I use a desktop and laptop since 2021 and mostly using mbed-os - ver 5.0

Recently I wanted to cretae mbed studio IDE in a laptop running Windows 10 so I installed installername: MbedStudio-1.4.3.exe . Next I copied whole workspace from desktop in laptop.

When I opened IDE and workspace, I could see all files correctly. When I pressed Build button, I got a series of error messages, whose summary was Failed to check out a license. the full error message is pasted at the end of this post.

I opened libraries and it shows os ver as 6.17.0

I tried to add library and gave URL for OS ver 5 such as “GitHub - ARMmbed/mbed-os: Arm Mbed OS is a platform operating system designed for the internet of things” but it gave error. I gave another URL pertaining to OS 5 but that returned that folder is empty.

Please help me to get ver 5.0 I am using some of teh old version verbs such as wait() or class Serial that are not supported in ver 6.xx

error message:
Building project mbed-os-example-blinky-5 (NUCLEO_L476RG, ARMC6)
Scan: mbed-os-example-blinky-5
Compile [ 0.1%]: AC.cpp
[ERROR] armclang: error: Failed to check out a license.
The license has expired.
armclang: note:
Information about this error is available at: All Support Services
General licensing information is available at: All Support Services
If you need further help, provide this complete error report to your supplier or license.support@arm.com.

  • ARMLMD_LICENSE_FILE: ‘C:\Program Files\Mbed Studio\tools-config\ac6-license.dat’
  • LM_LICENSE_FILE: unset
  • ARM_PRODUCT_DEF: unset
  • ARM_PRODUCT_PATH: unset
  • ARM_TOOL_VARIANT: unset
  • Product location: c:\ProgramData\Mbed Studio\mbed-studio-tools\ac6\sw\mappings
  • Toolchain location: c:\ProgramData\Mbed Studio\mbed-studio-tools\ac6\bin
  • Selected tool variant: product
    armclang: note:
  • Checkout feature: mbed_armcompiler
  • Feature version: 5.0202010
  • Flex error code: -10
    Product: ARM Compiler 6.15 for Mbed Studio
    Component: ARM Compiler 6.15
    Tool: armclang [5dd79400]

Thanks in advance.

Hello,

I was able to open Libraries card and using add Mbed Library, managed to download OS ver 5.15.3-rc1^2. I used check out method to remove existing ver 6 and download ver 5.15.I hope whole of ver has been removed from workspace.

When I built program, it still gives a similar error. It still shows ARM 6.15 compiler being used. the error message is as follows:

Building project mbed-os-example-blinky-5 (NUCLEO_L476RG, ARMC6)
Scan: mbed-os-example-blinky-5
Compile [ 0.1%]: AC.cpp
[ERROR] armclang: error: Failed to check out a license.
The license has expired.
armclang: note:
Information about this error is available at: All Support Services
General licensing information is available at: All Support Services
If you need further help, provide this complete error report to your supplier or license.support@arm.com.

  • ARMLMD_LICENSE_FILE: ‘C:\Program Files\Mbed Studio\tools-config\ac6-license.dat’
  • LM_LICENSE_FILE: unset
  • ARM_PRODUCT_DEF: unset
  • ARM_PRODUCT_PATH: unset
  • ARM_TOOL_VARIANT: unset
  • Product location: c:\ProgramData\Mbed Studio\mbed-studio-tools\ac6\sw\mappings
  • Toolchain location: c:\ProgramData\Mbed Studio\mbed-studio-tools\ac6\bin
  • Selected tool variant: product
    armclang: note:
  • Checkout feature: mbed_armcompiler
  • Feature version: 5.0202010
  • Flex error code: -10
    Product: ARM Compiler 6.15 for Mbed Studio
    Component: ARM Compiler 6.15
    Tool: armclang [5dd79400]

Hello,

You can ignore this, it doesn’t have anything together with MbedOS version. However the installation contains also approx one year licence (date limited not from installation) for Arm Compiler 6 which is not free in normal way. And that lead us to the root cause because latest version seems to be 1.4.6 - Installing Mbed Studio - Installing | Mbed Studio Documentation.

BTW do not miss - Important update on Mbed - End of Life - Mbed OS - Arm Mbed OS support forum

BR, Jan

Thanks for reply. I am seriously considering migrating to other IDE such as Arduino.

In the meanwhile, how do I get os 5 running on a new laptop? Will it have Arm Compiler 6? If so and if it is not free then how do I pay for its usage?

I believe I already provide the answer. Did you tried to install latetest version of MbedStudio?

Another options:

  • switch to GCC but is very slow for compilation under MbedStudio
  • Keil Studio Cloud.

About AC6 I have no idea, you have to ask ARM.

BR, Jan