This brief shows you how to download a license file that can be used to activate
an MPLAB® XC compiler. You should follow these steps after
purchasing a license, so that you can run your activated compiler in PRO mode and take
advantage of the compiler's full suite of optimizations. You might also perform these
steps if you need to install and activate a compiler covered by a Workstation License
onto additional host computers.
The following steps assume that your compiler has already been registered with a
mySoftware account.
Login to the mySoftware account with
which the compiler is registered. There are three ways you can do this.
Navigate to the www.microchip.com/mysoftware website in your favorite web browser. Use your
regular Microchip Direct credentials to log in when prompted.
If you are already logged in
to your myMicrochip account (www.microchip.com) in your web browser, you can get to
your mySoftware account by selecting Registered Development Tools from the myMicrochip pull-down menu, as shown in the image
below.
From the MPLAB X IDE
application, go to the Start Page tab. If this tab is
not visible, open it using the Help > Start Page menu item. Click MY MPLAB X IDE, then
use your regular Microchip Direct credentials in the E-mail
Address and Password fields to log
in, as indicated below.
On the page that opens, click the View My Development
Tools link.
Click the My Software link
shown in the left pane. This will reveal a list of registered compilers, as shown in
the following image.
Find the compiler you wish to
activate in the list and click the corresponding Download
License button, which will open the following dialog.
Determine the host ID of the machine
for which the license is to be configured; for example, run the command xclm
-hostinfo in a terminal or command window. This application is located
in the bin directory of your compiler distribution. Next:
Click the Download
License button next to the corresponding Host ID if it has
been previously registered.
Alternatively, enter a new
host ID in the field under Add New Machine, then
click the Get License button. If three host IDs have
already been registered, you will first need to contact mailto://swlicensing@microchip.com for assistance removing old or unused host IDs associated with the
compiler in your mySoftware account.
If you performed these steps within the IDE application, you will be prompted
for a location to save the license file. If you are accessing the account from a web
browser, the file will be typically placed in your download folder.
Unzip the downloaded license
file.
From the unzipped folder, run the
shell script or batch file appropriate for your host operating system and it will
install the License file in the correct directory.
To confirm that the compiler is now licensed, execute the command xclm
-status, which will print a list of all compiler licenses that are active.
Alternatively, look in the MPLAB X IDE dashboard when a project that uses the relevant
compiler is open.
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.