Make MPLAB® X IDE Run Faster: License Manager

XC License Manager (XCLM)

If the network server is not available, the IDE shows no response when attempting to build. To resolve this problem, the XC license needs to be activated. The following steps describe how to activate the XC license through a command line.

License Activation

  • Install the MPLAB® XC compiler in Free mode on the machine. XC License Manager (XCLM) will also be installed when the MPLAB XC compiler is installed using the GUI Installer.(Section 2.1 “Install a free compiler” of “Installing MPLAB XC C compilers”) .
  • Open command prompt on your machine.
  • To activate a license for a single machine (Workstation), run the command: xclm –actkey ”activation-key”, where activation-key is the key that was provided to you at the time of the compiler purchase.
  • If XCLM is not in your path and you get an error similar to XCLM is not found or recognized as a command:
  • Navigate to the bin directory of the compiler that was just installed and retry step 3. Example: pushd “C:\Program Files\Microchip\xc32\v1.10\bin”

Checking License Status

To check the status of the installed license, and to ascertain if the license is correctly installed, run the command: xclm –status

Follow these step-by-step guides to activate a Network Server License:

  • Install the compiler in Free mode on the machine (server) which hosts the license. XCLM will also be installed when the MPLAB XC compiler is installed using the GUI installer (Section 2.1 “Install a free compiler” of “Installing MPLAB XC C compilers”).
  • Open command prompt on your machine.
  • Change to the directory of your XCLM installation. Example: pushd “C:\Program Files\Microchip\xclm\bin”.
  • Execute the command “xclm –hostinfo”. This gives you the Host Id and the Host Name.
  • To activate the network license: run the command: xclm –actkey ”activation-key” hostid= mac hostname= host, where: activation-key is the key that was provided at the time of the compiler purchase

hostid is the MAC address of the machine that will host the activated license.
hostname is the username of the machine that will host the activated network license.

  • To check the status of the installed license and to ascertain if the license is correctly installed, run the command: xclm –status
© 2016 Microchip Technology, Inc.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.