We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Overview


Available as free, unrestricted-use downloads, our award-winning MPLAB® XC C Compilers are comprehensive solutions for your project’s software development. Finding the right compiler to support your device is simple:

  • MPLAB XC8 supports all 8-bit PIC® and AVR® microcontrollers (MCUs)
  • MPLAB XC16 supports all 16-bit PIC MCUs and dsPIC® Digital Signal Controllers (DSCs)
  • MPLAB XC32/32++ supports all 32-bit PIC and SAM MCUs and MPUs

Are you looking for code optimizations? Our free MPLAB XC C Compiler comes with the majority of the optimizations you need to reduce your code by up to 70% and increase efficiency. Specifically, the free compiler contains these optimizations:

  • -O0 - Ensures that your code is in its pristine state
  • -O1 - Invokes all optimizations that won't affect debugging
  • -O2 - Invokes a balanced set of speed and size optimizations

When you purchase one of our PRO licenses, you also get the following optimizations:

  • -Os - Gives maximum code size reductions
  • -O3 - Gives the best speed optimizations
  • -mpa (Procedural Abstraction) - Reduces code size even further

When combined with our free and award-winning MPLAB X Integrated Development Environment (IDE), the fully graphical frontend provides:

  • Editing errors and breakpoints that match corresponding lines in the source code
  • Single stepping through C and C++ (C++ only available in MPLAB XC32++ compilers) source code to inspect variables and structures at critical points
  • Data structures with defined data types, including floating point, display in watch windows

MPLAB XC Compilers Badge

 

License Change Notice


Our MPLAB XC C Compiler PRO license provides valuable optimizations that reduce the size of your code and increase the efficiency of your software. We also offer our 12-month High Priority Access (HPA) product to maintain your PRO license to allow updating your compiler to the latest version, provide you with priority access to technical support and give you free shipping of development tools that you order on Microchip’s Purchasing and Client Services e-commerce website.

On September 1, 2020, the following types of MPLAB XC C compiler licenses will change in how they function:

  • MPLAB XC Workstation Licenses: Part Numbers SW006021-2, SW006022-2, SW006023-3 and SW006021-2C, SW006022-2C, SW006023-3C
  • MPLAB XC Network Server Licenses: Part Numbers SW006021-2N, SW006022-2N, SW006023-3N
  • MPLAB XC Site Licenses: Part Numbers SW006021-SITE, SW006022-SITE, SW006023-SITE

These licenses will change in the following ways:

  • All MPLAB XC PRO licenses activated after this date will expire after one year unless the HPA is renewed
  • An existing MPLAB XC PRO license will change to this new model as the HPA is renewed and applied to it

Note that any existing licenses will continue to function as they always have, and there will be no extra fees for letting the HPA lapse. HPA itself will not change. It will still provide you with updates to new compiler versions, priority access to technical support and free shipping on your development tool orders.

We are committed to continuously improving our world-class line of MPLAB XC compilers to provide you with valuable and easy-to-use software development solutions. Please email us at SW.Licensing@microchip.com if you have any questions.

MPLAB XC Compiler Choices

Watch our MPLAB XC Compiler Family Webinar to learn more about the features and capabilities of these compilers.

MPLAB XC Compiler Optimizations


The optimizations found on MPLAB XC C Compilers provide code-size reductions and speed enhancements that benefit your design projects. PRO license is available for designs that require maximum code reductions and best performance. The MPLAB XC C Compiler contains a free, 60-day trial of a PRO license for evaluation when activated. 

MPLAB XC C Compiler Licenses – Go PRO


Need to optimize your code-size reduction or get better speed from your project’s software? PRO licenses are available to unlock the full potential of the MPLAB XC C Compiler’s advanced-level optimizations. See our list of flexible licensing options in the Features section below.

Now Available - MPLAB XC Functional Safety Licenses

Now Microchip offers a TÜV SÜD certified functional safety compiler package that supports all our PIC, dsPIC, AVR and SAM devices to make your tool qualification effort easier. The package includes all the documentation and reports for a fully qualified development environment for functional safety standards ISO26262, IEC 61508, IEC 62304 and IEC60730. Functional safety licenses are available in the downloads tab below. Note that these compilers only unlock when a functional safety license is purchased. For more information on functional safety licenses:

MPLAB Code Coverage

Measure how well your code is tested using MPLAB Code Coverage. This licensed feature is available in all MPLAB XC Compilers and is fully integrated into MPLAB X IDE to provide analytical and navigational tools, dashboards, summaries and reports.  MPLAB Code Coverage is now included in Microchip’s TÜV SUD-certified design tool package.

 

At this time M1 Mac® computers are not supported by any Microchip development tools. We are in the process of evaluating support. Watch this space for the latest developments.

Title Date Published Size
Windows (x86/x64)
MPLAB® XC8 Compiler v2.31
SHA-256: 9648dda5737195091cb0aa0fba4d49709e1a98b59d81fe03ff87f6b1e77098de
10/30/2020 67.7 MB
MPLAB XC16 Compiler v1.61
SHA-256: 85a216f170f7cfb9e264e689e0d730de27658d06510a9aad627a60934e4920c6

11/13/2020

101.1 MB
MPLAB XC32/32++ Compiler v2.50
SHA-256: bc10feff1533b1cf798234538aba01eae864af1955ed4f5a9d15523d4a073594 
9/21/2020 413.1 MB
Linux 32-Bit and Linux 64-Bit (Requires 32-Bit Compatibility Libraries)
MPLAB XC8 Compiler v2.31
SHA-256: 9c400e45fb75be097cee80d5bc993a765c3efc1e5b4f425e0732615110a2ce87
10/30/2020 70.0 MB
MPLAB XC16 Compiler v1.61
SHA-256: 5a2d2f8495adf9688dab8d5d69fedeeed25e266b77fccdedd9325b9094133448
11/13/2020 100.2 MB
MPLAB XC32/32++ Compiler v2.50
SHA-256: 9b4fc94a333e84d029c1767a5236332927c88677f72227ff2c49da49c5453daf
9/21/2020 401.0 MB
Mac (10.X)
MPLAB XC8 Compiler v2.31
SHA-256: 8e7b6dc163cc65df92598cec77129b7e762f8d0f835424a44157e16780dade0f
10/30/2020 64.8 MB
MPLAB XC16 Compiler v1.61
SHA-256: d02ebe6ae6daa430827148c51eb0d667cdaf1e58ff7d3302c6b9c57a8efed7e8
11/13/2020 100.5 MB
MPLAB XC32/32++ Compiler v2.50
SHA-256: fae3adcc4f31b2500e020d0bb9576cf2cbfd38c0bd6388b77893a58786f549f4
9/21/2020 420.0 MB
Release Notes
MPLAB XC8 Compiler v2.31 PICs
10/30/2020 727 KB
MPLAB XC8 Compiler v2.31 AVRs 10/30/2020 217 KB
MPLAB XC16 Compiler v1.61 11/13/2020 135 KB
MPLAB XC32/32++ Compiler v2.50 9/21/2020 383 KB

Adds new device-specific information to a compiler, but does not update the base compiler. See Additional Information, Part Support Patch Files.

Title Date Published Size
Windows (x86/x64)
MPLAB XC8 Compiler Part-Support Patch v1.45b 12/14/2018 30.1 MB
MPLAB XC16 Compiler Part-Support Patch v1.60
SHA-256: 1f663eddb0382838d7ce263add76241fe57cc9bfd4611292d77e7dedd774f525
8/14/2020 52.7 MB
MPLAB XC32/32++ Compiler Part-Support Patch v2.40
SHA-256: ad5e542918b116f780b1705ba61443bd5e683a1a40faaf5be95e7e92cc1401ea
2/20/2020 65.0 MB
Linux 32-Bit and Linux 64-Bit (Requires 32-Bit Compatibility Libraries)
MPLAB XC8 Compiler Part-Support Patch v1.45b 12/14/2018 55.6 MB
MPLAB XC16 Compiler Part-Support Patch v1.60
SHA-256: 54ad7a0277828806fab33a43812ed21aac3ad177f3d8ca4f1624c0512e3803fc
8/14/2020 51.6 MB
MPLAB XC32/32++ Compiler Part-Support Patch v2.40
SHA-256: 1f2df2e9b8fcc34a3e8f3ce2679a39937f1deefbac74ec07db7efdfb70066cdf
2/20/2020 63.9 MB
Mac (10.X)
MPLAB XC8 Compiler Part-Support Patch v1.45b 12/14/2018 55.8 MB
MPLAB XC16 Compiler Part-Support Patch v1.60
SHA-256: ce6001ef6fc40a5a671688d35c18ad9647da098266b5016704c162eaab1b2ee8
8/14/2020 54.4 MB
MPLAB XC32/32++ Compiler Part-Support Patch v2.40
SHA-256: 514e97dffbcf4d66e7899b02e0146b0b081c755324114a6bdaa3e241c2ce244e
2/20/2020 66.7 MB
Release Notes
MPLAB XC8 Compiler Part-Support Patch v1.45b 2/22/2018 50 KB
MPLAB XC16 Compiler Part-Support Patch v1.60 8/14/2020 37 KB
MPLAB XC32/32++ Compiler Part-Support Patch v2.40 2/20/2020 41 KB
Title Date Published Size
Network Server Installer
Download the appropriate file to install and license an MPLAB XC Network Server License or MPLAB XC Site License
Network Server Installer - Windows v2.00 9/6/2014 8.2 MB
Network Server Installer - Linux v2.00 1/21/2015 8.2 MB
Network Server Installer - MAC v2.00 12/10/2014 8.1 MB
Release Notes 12/10/2014 1.2 MB

NOTE: These compilers only unlock with the purchase of an MPLAB Functional Safety License

Title Date Published Size
Windows (x86/x64)
MPLAB XC8 C-Compiler v2.29 Windows
SHA-256: e9decd497b0eb4fa47c29b654916394507405a770cb5fa673add4a9cc34946f5
1/15/2020 250.2 MB
MPLAB XC16 C-Compiler v1.59 Windows
SHA-256: 1948d5f10c4332fde8601616d0083b951bdd27427eb48f38c5653a00e67219fd
1/15/2020 96.3 MB
MPLAB XC32 C-Compiler v2.49 Windows
SHA-256: 33b83c751cd9cdf4658d6f57ffe5d0be9ce5a31552898c9735af05fcca40e7ec
1/15/2020 408.4 MB
Linux 32-Bit and Linux 64-Bit (Requires 32-Bit Compatibility Libraries)
MPLAB XC8 C-Compiler v2.29 Linux
SHA-256: 110413a8e7cf7d3759ff65ff556e4363a623c309cf4d74416975be3a28d4fdb4
1/15/2020 263.5 MB
MPLAB XC16 C-Compiler v1.59 Linux
SHA-256: 9f745afeb9b530abca2f2d7a20cefd42095e469677f9457c77aaf874b908ae52
1/15/2020 95.5 MB
MPLAB XC32 C-Compiler v2.49 Linux
SHA-256: 6e2c287f21f7944dd44300c4b5c92b0b1944ab5ab8b082144bd942833b4765ac
1/15/2020 336.7 MB
Mac (10.X)
MPLAB XC8 C-Compiler v2.29 OSX
SHA-256: d56a0dc3d35849db49bf1415d2d4d4935a4705597e095a4ce80d5d6673a473a2
1/15/2020 239.7 MB
MPLAB XC16 C-Compiler v1.59 OSX
SHA-256: 32b7469d87f3fa416530e0453a35bc69c4542376a31c3ee340bd65d2d3152774
1/15/2020 97.1 MB
MPLAB XC32 C-Compiler v2.49 OSX
SHA-256: 8d91693b8a239bea1de8e5a4f7b86c884b5ef3a17af8b08c2af9a4fb294ac331
1/15/2020 332.4 MB
Title Date Published Size
MPLAB XC8 ReadMe PIC v2.19 1/15/2020 780 KB
MPLAB XC8 ReadMe for AVR v2.19 1/15/2020 259.6 KB
MPLAB XC16 ReadMe v1.49 1/15/2020 117.4 KB
MPLAB XC32 ReadMe v2.39 1/15/2020 312.6 KB
How many machines can the MPLAB XC license be installed on?
  • The Workstation License can be activated on three machines for a single user.
  • The Network Server License can be activated on one machine, which is usually a server or PC on a local network. The Network license has several components: the network server software (Reprise License Manager or RLM), the network license file and the client machine. The license file is installed on the network server. The RLM is also installed on the server. MPLAB X IDE should be installed on the client machine, and the MPLAB XC Compiler should also be installed on that machine as a network client. When MPLAB X IDE is launched on the client machine, it will check if a license file is available on the local machine and the server. If a license is available, it will be checked out to that client machine. The license is available on a first-come, first-served basis, so no other client machines can “check out” that license until the first client stops using it. The license will then be automatically checked back in on the license server. Other network clients will have to wait 60 minutes before they can check out the license from the server.
  • Network Server Site Licenses also run from a server. A license file with the list of host IDs that can use the license is installed on the network server along with the RLM. While the Network License is a single license file for multiple users, the Site License is purchased as multiples “seats.” Each seat is assigned to the specific host ID for a client machine so the user can check out a license file at any time without being affected by a time delay.
  • A Subscription License can be installed on a single workstation machine. It allows one user per license and is available only in the PRO mode.
  • The MPLAB XC Dongle License is a plug-and-play license that can be used interchangeably among workstations and users. The license file is installed on a dongle (USB Flash drive) and is intended for multiple users and mobile use. Just plug it into the workstation’s USB port and go. Note: please remove any other license files from the computer that relate to the compiler you wish to use before you plug in the dongle.
  • A MPLAB XC Virtual Machine License for Network License is required if you are using a virtual machine as the Network License or Site License server. Purchase this additional license here: MPLAB XC Virtual Machine License
  • MPLAB XC Compilers and license files can be installed on every major platform, including Linux®, Windows® and macOS® operating systems.
What are the minimum system requirements for installation of the MPLAB XC Compilers?

Microsoft Windows 7 Professional/Windows 8/Windows 10

  • Processor: 800 MHz Intel Pentium III or equivalent
  • Memory: 512 MB

Ubuntu 9.10:

  • Processor: 800 MHz Intel Pentium III or equivalent
  • Memory: 512 MB

macOS X 10.5:

  • Processor: Dual-Core Intel (32 or 64-bit)
  • Memory: 512 MB

Other Configurations

The compiler may also run on the various other Linux distributions such as Oracle Enterprise Linux 5, Ubuntu 8.x and 10.04, Red Hat Enterprise Linux and many others.

What are the different modes that the MPLAB XC Compiler offers? What are the typical optimization levels of the different modes of the compiler?

MPLAB XC compilers can be operated in two different modes: PRO and Free. You need to purchase an activation key to use the PRO mode. The Free mode allows you to run any compiler version at a reduced level of optimization. However, when you install the MPLAB XC Compiler you can download a free 60-day evaluation of the PRO compiler that can only be used once.

PRO:

  • 50-60% smaller code than the Free mode
  • Much faster execution speed than Free mode
  • Includes 12 months of High Priority Access (HPA) support

Free:

  • Perpetually free with minimal level of optimization

Commercial use of the PRO and FREE mode compiler is permitted. New device support is included in new versions of the MPLAB XC Compiler. If you are running a PRO license, then you must renew the HPA each year. If it expires, PRO optimizations of the compiler will no longer run with your license file.

How can I purchase a compiler?

Compiler license activation keys can be purchased from one of Microchip’s distributers or from Microchip’s online purchasing site at www.microchipdirect.com.

  • Search for “XC” or search on one of the part numbers below:
Compiler Edition Part Number
MPLAB XC8 PRO Compiler Network Server License SW006021-2N
MPLAB XC16 PRO Compiler Network Server License SW006022-2N
MPLAB C32/32++ PRO Compiler Network Server License SW006023-2N
MPLAB XC8 PRO Compiler Workstation License SW006021-2
MPLAB XC16 PRO Compiler Workstation License SW006022-2
MPLAB XC32/32++ PRO Compiler Workstation License SW006023-2
MPLAB XC8 PRO Compiler Subscription License SW006021-SUB
MPLAB XC16 PRO Compiler Subscription License SW006022-SUB
MPLAB XC32/XC32++ PRO Compiler Subscription License SW006023-SUB
MPLAB XC8 PRO Compiler Dongle License SW006021-DGL
MPLAB XC16 PRO Compiler Dongle License SW006022-DGL
MPLAB XC32/32++ PRO Compiler Dongle License SW006023-DGL

Note: Site licenses can only be purchased through Microchip sales offices.

All license activation keys, except for the Subscription License and Dongle Licenses, come with a one-year High Priority Access (HPA) that entitles you to:

  • 12-month maintenance and support contract
  • New compiler version release support
  • Major version updates
  • Access to the latest Windows, Linux and OSX compatible versions of the compiler
  • Priority technical support for compiler-related queries
What is the activation key?
The activation key is used for creating a license file for the computer Host ID (MAC address) that will be installed on your computer. Activation keys are in the format ‘nnnn-nnnn-nnnn-nnnn’ and are registered in your account on www.microchip.com/mysoftware. Activation keys contain a High-Priority Access (HPA) timer that will expire 12 months after you create the first license file from the key.
What is the license file?
The license file is created from the activation key for the computer’s host ID. The license file will allow compiling with your chosen optimization options from -O1 -O2 -O3 or -Os. License files and activation keys are affected by the status of the HPA.
What is HPA?

High Priority Access (HPA) is a 12-month support package that is available on the Workstation, Network and Site license activation keys. It acts like a timer that counts down 12 months from the first time you create a license file from the key and it then expires.

When the HPA expires, any license files that were created from the key will still allow optimizations with versions of the compiler released before the expiration date of the HPA. If a new compiler version is installed after the HPA has expired on your activation key, the license files from the key will not allow optimizations with the new compiler version.

The HPA can be renewed at any time. It should only be renewed in the account where the compiler license activation key is registered. The HPA cannot be moved from one account to another.

After you renew the HPA, you will need to manually apply it to the original key in your account. Any license files will need to be downloaded again to your computer to take advantage of the new HPA.

Is it possible to reset my MPLAB XC Compiler license so that I can install it on other machines?

The MPLAB XC Compiler license is created from the activation key for a specific machine’s host ID. Therefore, the License file is tied to that host ID and cannot be used elsewhere. If you are planning to move to a new computer, you will need to create a new license file from the activation key in your account on either www.microchip.com/mysoftware or www.microchipdirect.com. When you have used all three of the activation spaces on a Workstation license activation key, you will need to contact SW.Licensing@Microchip.com for assistance.

If you need to create new Network or Site license files or have any issues with your Subscription licenses, please contact SWLicensing@microchip.com for assistance.

How can I register my newly purchased MPLAB XC compiler license key?

If you purchased your license through microchipDIRECT, the MPLAB XC activation key will automatically be registered to your microchipDIRECT account. However, if you purchased it through a distributor, you must create a mySoftware account at www.microchip.com/mysoftware. If you already have a microchipDIRECT account, you will also have a mySoftware account. Use your microchipDIRECT login credentials to access your account at www.microchip.com/mysoftware.

If you do not have a microchipDIRECT account, you will need to create a mySoftware account. After you have logged into your mySoftware account, click on the ‘Activate and Register MPLAB software’ link in the left column of selections and follow the instructions to activate and register the license.

I have a Workstation license, but I need a Network Server license. Is there a way to change my license type from Workstation license to Network Server license?
Older versions are supported by existing license files only if the MPLAB XC Compiler version was released before the HPA on the activation key expired.
Can I install multiple compilers on the same machine?
Yes, you can install different versions of MPLAB XC compiler on the same machine, e.g. you can install MPLAB XC16 v1.00 and XC16 v1.10 on the same machine in different paths.
My HPA is not active. Can I upgrade to a newer release of my compiler?

Yes, you can upgrade to a newer version of the compiler at any time but remember if the HPA on your MPLAB XC Compiler license activation key is expired, you will not get the optimizations in MPLAB X IDE with the newer version. You will need to renew your HPA to be able use PRO mode in the upgraded version of the MPLAB XC Compiler. Be sure to renew your HPA in the account where the existing MPLAB XC Compiler activation key is registered.

For additional assistance, please read our MPLAB XC HPA Renewal Instructions.

Microchip does offer part support patch releases for the MPLAB XC Compilers. The part support release consists of support files for the newer parts introduced with the newer compiler release and needs to be installed on top of your compiler installation. These support files do not provide any new features or contain any additional compiler architectural enhancements that may be needed for new devices.

How can I renew my HPA?

To renew your HPA, log in to your account on www.microchip.com/mysoftware. Locate the MPLAB XC Compiler for which you would like to renew the HPA and select the “Renew HPA” option. The link will bring you to the HPA purchase page. Purchase the HPA, return to your account and use the “Apply HPA” option. Download the new license file to your existing or new host ID.

HPA part numbers are:

  • SW006021-2H for all PRO Workstation Compiler License activation keys (XC8/XC16/XC32)
  • SW006021-2NH for all PRO Network Compiler License activation keys (XC8/XC16/XC32)
Can the compiler license be activated through a command line?
No, command line activation is no longer supported.
Why am I encountering issues evaluating the licenses?

Evaluation mode provides PRO mode optimizations for 60 days and returns to Free mode optimizations after 60 days. No further evaluation is available after that time frame.

If you are encountering issues using the evaluation license, please check the status of your evaluation MPLAB XC License by executing this command, which will show you the number of days that are left on the evaluation license:

xclm –demostat <PRODUCT>

Any of the following events will corrupt the evaluation license file:

  • Modifying the system date or time after the installation of the license
  • Modifying the ‘.lic’ file and trying to change its contents
  • Deleting the compiler license ‘.lic’ file and re-running the evaluation license
  • Downloading the evaluation license again from the Evaluation License page

If you want to maintain the same PRO optimization features after the evaluation period ends, purchase an MPLAB XC Compiler license activation key from microchipDIRECT or one of our distributors.

How can I get an Evaluation license for the MPLAB XC Compiler?
Go to the Evaluation License page to activate the license. If you have any issues with the Evaluation license file, please contact SW.Licensing@Microchip.com.
How can the MPLAB XC Compilers be configured using MPLAB X IDE?

MPLAB X IDE should automatically configure the MPLAB XC Compiler. Here are steps you should follow:

  • Download and install the latest version MPLAB X IDE for your OS from the MPLAB X IDE page
  • Download and install the version of the MPLAB XC compiler for your OS from the MPLAB XC Compilers page
  • Open MPLAB X IDE, and follow this path using the Tools drop down menu:
    Tools > Options > Embedded > Build Tools (Tab)

The installed compiler will be shown under the ‘Tool-chain’ list. If, for some reason, the compiler is not appearing there, click on ‘Scan for Build Tools’ to scan your machine for installed tools. When they are discovered, you can add the scanned compilers to the ‘Tool-chain’ list.

Note that if the compiler is not installed in its default location, the compiler will have to be added manually. You can do this by clicking on ‘Add’ and providing the ‘<Compiler-DIR>/bin’ path.

What is the simplest way to install an MPLAB XC Compiler and license it for optimization?
Install the version of the MPLAB XC8, XC16 or XC32 compiler that you require in Free mode. Log in to your My Software account at www.microchip.com/mysoftware and download the license file from there and install it on your computer. When you launch MPLAB X IDE, it will scan your computer to see if any license files are installed. If it does find a license file, it will use it when you compile code with your MPLAB XC Compiler.
Where can I go to download an MPLAB XC Compiler?
Go to the Downloads tab on the MPLAB XC Compilers page or download it from inside your account at www.microchip.com/mysoftware.
Where can I go to download the license file?
You can do this inside your account at www.microchip.com/mysoftware. You can also log into www.microchipdirect.com and go to the MySoftware Products page. All your registered compiler license activation keys will be there.
How can I change the optimization options?

In the MPLAB X IDE Project Properties, go to XC*Compiler >Optimizations > Set Value > Apply

  • Open the Project Properties using the wrench symbol in MPLAB X IDE
  • In Properties page chose the version of the MPLAB XC Compiler you are working with
  • A new page will open, and you can choose the optimization options from the dropdown menu
  • Set the optimization value and the use the Apply button
Where can I find the host ID?
Open a command window and change the directory to the Compiler install location. Type xclm -hostinfo and choose the MAC address for the NIC. For Linux or macOS operating system users, open a terminal and use the xclm -hostinfo’ command.
Where do I put the license file?
Do not put the license file anywhere. Download the zip folder and open it. Run the installer file from the zip folder and it will install the file for you.
How do I get MPLAB X IDE to see the license file?
MPLAB X IDE will automatically see the file from the license path.
Can I perform offline activation of the MPLAB XC compiler?

Currently, there is no way to perform offline activation on a demo (evaluation) version of the MPLAB XC Compiler. However, you can generate the license for the offline computer using an online computer and then transfer this license to the offline computer.

To obtain the host ID of the offline computer, execute the “xclm -hostinfo” command found in the bin directory of the compiler directory.

Go to the Evaluation License page on an online computer and follow the instructions to obtain a license for the MPLAB XC compiler. Copy this license into the “C:\ProgramData\Microchip\xclm\license” folder (Windows OS) on the offline computer and the compiler will be able to access the proper license to run in PRO mode.

Use these paths for copying the license file onto computers running Linux or macOS operating systems:

Linux: “/opt/microchip/xclm/license/”

macOS: “/Library/Application Support/Microchip/xclm/license/”

Can you extend the evaluation period in my MPLAB XC Free compiler so that I can evaluate the MPLAB XC PRO compiler for a longer period of time?
No, the evaluation period of the compiler cannot be extended. If you wish to maintain the same level of functionality, you can purchase an MPLAB XC Compiler from microchipDIRECT or one of our distributors.
How can I activate my Subscription license on a new host ID?
Contact SW.Licensing@microchip.com for assistance.
How do I clear old activations from my list of keys?
Contact sw.licensing@microchip.com for assistance.
How can I convert my license for a MPLAB C Compiler to a MPLAB XC Compiler?
There is no migration path from MPLAB C to MPLAB XC compilers.
Where can I find legacy Compilers?
Contact sw.licensing@microchip.com for assistance.
How do I activate a Hi-Tech C Compiler?
Contact sw.licensing@microchip.com for support.
How is a MPLAB XC Compiler for Functional Safety different than the MPLAB XC PRO Compiler License?
It's best to think of the regular MPLAB XC Compiler and the MPLAB XC Compiler for Functional Safety as different tool chains with independent release schedules as they are completely different compiler products that address the needs of different markets. The MPLAB XC Compiler for Functional Safety requires extensive validation and rigorous process compliance documentation to meet functional safety standards. Along with the certificate from TÜV SÜD stating that we’ve met these standards, the development tool documentation is included in the product offering. This includes an extensive package of information including classification and classification review documents, Functional Safety Manuals, FMEA reports and validation strategies and results.
What is included with the MPLAB XC PRO Functional Safety Compiler License?

A perpetual license that unlocks all versions of functional safety license is included, along with the following documentation:

  • TÜV SÜD certificates for all four standards:
    • ISO 26262
    • IEC 61508
    • IEC 62304
    • IEC 60730
  • A functional safety manual for the functional safety compiler version of your choice
  • Safety plan and tools classification and qualification reports for:
    • MPLAB XC compilers
    • MPLAB X Integrated Development Environment (IDE)
    • All MPLAB debugger/programmers
What licensing options are available?
The MPLAB XC Compiler for Functional Safety is available as a perpetual workstation license. This license will unlock all versions of functional safety compilers as they become available. If documentation is needed for other versions of functional safety compilers, then they can be purchased separately (when available).
Can I upgrade my MPLAB XC PRO Compiler license to a MPLAB XC PRO Functional Safety Compiler license?
Yes. This is done through quote on an as-needed basis only. Please contact SW.Licensing@microchip.com for more information.

Additional Information


License Type Installs On # of Activations # of Users Wait Time Between Users HPA
Workstation License Workstation 3 1 None Yes
Subscription License Workstation 1 1 None No
Site License Network 1 Varies by Seat None Yes
Network Server License Network 1 Unlimited One Hour Yes
Virtual Machine * Network 1 N/A N/A No
Dongle License Dongle N/A Unlimited None No

    *This license must be used in addition to a network server or site license to enable the license to work in a virtual machine environment.

License Types  

Workstation License

 

 

The workstation license is installed on the user’s workstation and comes with three activations for a single user. This is the most commonly used license type.

  • Intended for use by a single user
  • Can be installed on up to three workstations (desktops and laptops)
  • Available in PRO Edition only

For more information see:

Subscription License

The subscription license is installed on a workstation and is automatically renewed every month through purchasing information stored in a Microchip Direct account and an internet connection, using MPLAB X IDE version 3.15 and later.

  • One user per license
  • Comes in PRO Edition
  • Can be cancelled or renewed in one-month increments at will through the user’s mySoftware account and MPLAB X IDE
  • Cancellation takes place when the subscription month has expired
  • Requires MPLAB X IDE version 3.15 and later for automated renewal
  • Includes unlimited updates to new compiler versions without the need for HPA
  • Requires an internet connection for automatic renewal
    • License files are loaded automatically through MPLAB X IDE every month while the subscription is active

For more information see:

Site License

 

The site license is installed on a network and can be quoted for seats of five and greater, which can be mixed between any of the compilers: MPLAB XC8, MPLAB XC16 and MPLAB XC32/32++. Please contact a local sales office for more information and a quote.

  • Intended to have one user per seat and installed on a network
  • Restricted to the number of seats purchased
  • Allows for volume pricing
  • Has a loan-out feature, so the license can be used like a node-locked license for a specific amount of time (one month maximum on loan out)
  • Available in Pro Edition only

For more information visit the MPLAB XC Site License page.


Network Server License

  • Intended to have multiple users and can be installed on a network
  • Restricted to use by one user at a time. The license is available to the other users one hour after a compile takes place.
  • Might otherwise require a large number of compilers
  • Great for use by global companies with multiple design centers
  • Has a loan-out feature so that a license can be used like a node-locked license for a specific amount of time (one month maximum on loan out)
  • Available in Pro Edition only

For more information visit the MPLAB XC PRO Network Server License page.

Virtual Machine License

 

The MPLAB XC Virtual Machine License for Network Licenses is an add-on license for:

  • MPLAB XC8, XC16 and XC32/32++ PRO Network Server Licenses
  • MPLAB XC8, XC16 and XC32/32++ PRO Site Licenses
This add-on license allows network licenses to be compatible with a virtual machine. One license will be needed for each virtual machine network and must be installed in addition to a network server or site license. More information can be found on the  MPLAB XC Virtual Machine License page.

Dongle License

The MPLAB XC Dongle License is a plug-and-play license that can be used interchangeably among workstations and users.

  • License file is installed on a dongle (USB flash drive)
  • Intended for multiple users and mobile use – plug into the workstation’s USB and go
  • Includes unlimited updates to new compiler versions without the need for HPA (perpetual license)
  • One dongle license is needed for each compiler type – MPLAB XC8, MPLAB XC16 and MPLAB XC32/XC32++
  • A minimum compiler version is required to use this product. See product pages below.
More information can be found on the MPLAB XC Dongle License pages:

Trial 60-Day PRO License

A trial PRO license for the MPLAB XC C Compiler can be activated to give 60 days of PRO compiler operation for evaluation. The trial can be activated when installing the compiler either by clicking on a link during installation or by clicking here:  Evaluation License.

High Priority Access (HPA) - Compiler Maintenance and Support

Compiler Maintenance and Support

MPLAB XC PRO comes with 12 months of High Priority Access (HPA), a support and maintenance service. HPA must be renewed at the end of twelve months. HPA includes: 

  • Priority technical support for compiler related queries
  • New part support
  • New architecture support
  • New compiler version and patch level updates
  • Free shipping on Microchip Direct for all development tool orders
Part Support Patch Files

These installation files update a previously installed compiler with information it needs to support more recent Microchip devices. 

Part Support Patches 

  • Will update new device-specific information: header files, linker scripts and memory configuration files
  • Will not add new functionality or optimizations to your compiler
  • Will not provide corrections to the compiler's operation

Part support patches allow for the selection of new devices not provided originally by the compiler, and use those devices' SFRs and other features in a project. A part support patch is only needed when using a device that is not available in a compiler. 

Part support patch file names include a corresponding compiler version number. If the patch file is used to update the corresponding compiler, then all added parts will work. Part support patches can be applied an older compiler, but not all devices added by the patch are guaranteed to work in the older compiler. 

Any support for new devices added by a part support patch will be incorporated into all subsequent compiler releases. Once an update to a more recent compiler version is completed, part support patches will no longer be needed for those devices. For example, if version 1.30 part support patch is applied to version 1.30 compiler to use a new device, the device-specific information contained in the patch will already be present in the subsequent 1.31 compiler release. 

The compiler's release notes list new devices that it supports. Part support patches have their own release notes, indicating all the devices the support. Part support updates are available free of charge - no HPA is required.

MPLAB® XC Compilers