Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

16-bit PIC® MCUs

ARM GCC

Part Number: ARM-GCC

The ARM® Toolchain is a collection of tools/libraries used to create applications for ARM microcontrollers. This collection includes compiler, assembler, linker and Standard C and math libraries.

Most of these tools are based on efforts from GNU (www.gnu.org), and some are developed by Microchip. For more information please refer to the release notes.

The Atmel AVR GNU Toolchain is also available as part of Atmel Studio. Only those users who wish to run the Atmel AVR GNU Toolchain as standalone tools from the command line need to download and install this package. There are two sets of downloads, one for Windows® and one for Linux® operating systems.

AVR GCC

Part Number: AVR-GCC

The AVR® Toolchain is a collection of tools/libraries used to create applications for AVR microcontrollers. This collection includes compiler, assembler, linker and Standard C and math libraries.

Most of these tools are based on efforts from GNU (www.gnu.org), and some are developed by Microchip. For more information please refer to the release notes.

The Atmel AVR GNU Toolchain is also available as part of Atmel Studio. Only those users who wish to run the Atmel AVR GNU Toolchain as standalone tools from the command line need to download and install this package. There are two sets of downloads, one for Windows® and one for Linux® operating systems.
The Digital Compensator Design Tool (DCDT) helps power supply designers by simplifying the overall process of determining the digital compensator coefficients and analyzing the control system performance. The DCDT incorporates all feedback gains and delays to provide the most accurate model of the control system. Along with analyzing the closed loop performance via Bode Plots, the user can verify stability by using the DCDT’s root locus and Nyquist plots. Once the desired performance is obtained the DCDT will automatically calculate the compensator coefficients and scaling parameters and generate software files to be used with the free SMPS Control Software Libraries.

The DCDT is topology independent which allows the most sophisticated converters to be analyzed. With a topology independent architecture, the tool requires a mathematical expression of the plant transfer function. This can be entered as a polynomial equation or in pole/zero form (up to 5th order systems). The tool also supports a data import option where the plant transfer function is a table of phase/gain vs. frequency data points that can be generated from a simulation environment or even from a network analyzer.
 
The DCDT currently allows users to develop voltage mode control and peak current mode control applications with support for average current mode control to be available shortly. Depending on the control scheme, different compensators may be required. The DCDT supports many different compensator types such as the digital 3-pole/ 3-zero (3P3Z), digital 2P2Z, digital PID, and analog type II/III. The analog type II/III compensators allow analog designers to input their existing analog compensator designs into the tool either by passive R/C components or by entering pole/zero frequency points. The tool will then generate the equivalent digital compensator streamlining the transition from analog to digital compensator design.

All MPLAB® X IDE. plug-ins, including this Digital Compensator Design Tool, are free, available and ready to install once the MPLAB® X IDE has been installed. Just follow the simple steps in the getting started tab to see all the available plug-ins and to install the DCDT.
dsPICworks™ is an easy-to-use data analysis and signal processing package for Microsoft’s Windows® 9x, NT, 2000 and Windows® XP platforms. It provides an extensive number of functions encompassing:

  • Signal Generation
  • Arithmetic and Digital Signal Processing operations
  • One, two and three-dimensional display and measurement capabilities
  • Data Import/Export compatible with MPLAB® IDE and MPLAB ASM30 assembler

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. The MPLAB Code Coverage tool quickly displays which lines of code have executed and which ones have not. Unlike other solutions, it runs untethered and self-contained so no need to add clumsy cabling or fragile wires. With minimal impact to code size (<1%) and execution speed, testing can be completed in a single execution pass, avoiding expensive test hardware with a larger MCU. Powerful, intuitive tools permit quick navigation of coverage results within MPLAB X IDE for smooth transitions between test suite development and analysis. Summary views offer configurable dashboards of critical results. Custom reports can be generated in HTML and CSV formats with selectable content to meet your specific quality certification needs. MPLAB Code Coverage builds confidence in your application testing process without the hassle.

Unlike other solutions, it runs untethered and self-contained so no need to add clumsy cabling or fragile wires. With minimal impact to code size (<1%) and execution speed, testing can be completed in a single execution pass, avoiding expensive test hardware with a larger MCU. Powerful, intuitive tools permit quick navigation of coverage results within MPLAB X IDE for smooth transitions between test suite development and analysis. Summary views offer configurable dashboards of critical results. Custom reports can be generated in HTML and CSV formats with selectable content to meet your specific quality certification needs. MPLAB Code Coverage builds confidence in your application testing process without the hassle.

MPLAB Code Coverage requires MPLAB X IDE v5.25 or higher and one of the following MPLAB XC Compiler versions or higher:

Microchip’s TÜV SUD-certified design tool package now includes MPLAB Code Coverage. This powerful tool is also available in the following TÜV SÜD-certified MPLAB XC Compilers (vx.x9) or higher:

Visit Microchip’s Functional Safety Design Center for more information.

For licensing questions, please send your question to sw.licensing@microchip.com

Microchip’s line of award-winning MPLAB® XC C Compilers provides a comprehensive solution for your project’s software development and is offered in free, unrestricted-use downloads. These compilers integrate into Microchip's MPLAB® X IDE, are compatible with all Microchip debuggers and emulators, and run on Windows, Linux and Mac OS X.Finding the right compiler to support your device is simple:
  • MPLAB XC8 supports all 8-bit PIC MCUs
  • MPLAB XC16 supports all 16-bit PIC MCUs and dsPICs
  • MPLAB XC32/32++ supports all 32-bit PIC MCUs
The MPLAB XC Network Server License is a shared license. It allows one person to compile at a time. Once used, the license remains captured by that person for 60 minutes, during which no one else can use it. If that person compiles again, the 60 minutes starts over.

The license is not compatible with virtual machines unless combined with an MPLAB Virtual Machine License for Network Licenses, SW006021-VM.

The MPLAB XC PRO Network Server Licenses also come with 12 months of High Priority Access (HPA) - a maintenance subscription providing web access to new compiler versions, priority technical support for the compiler and free shipping on all development tool orders on Microchip Direct.

Product numbers are:

For more information and documentation, see the MPLAB XC C Compilers page.

To continue to provide the best compiler products possible, on September 1, 2020, this type of MPLAB XC C compiler license will change in how it functions. It will change in the following ways:

1. All MPLAB XC PRO licenses activated after this date will expire after one year unless the HPA is renewed
2. 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.

Site License
MPLAB® XC Compilers produce highly optimized code. Site licenses are available in the PRO edition, which has the most features and produces the best code optimization of any of Microchip's compilers. 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. Site licenses can only be ordered for the PRO edition. Please contact a local sales office for more information and a quote: Global Sales

  • Intended to have one user per seat and installed on a network
  • Restricted to the number of seats purchased
  • Allows the administrator to add and remove users as needed by tying the licensed users by their host IDs.
  • 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)
Product numbers are:
MPLAB XC8 PRO: SW006021-SITE
MPLAB XC16 PRO: SW006022-SITE
MPLAB XC32/XC32++ PRO: SW006023-SITE

High Priority Access (HPA) for site licenses can also be ordered via quote through the local sales offices. The product number  for HPA for all license types is: SW006021-SITEH

For complete information, including downloads and full documentation, go to: www.microchip.com/mplabxc

This is not an actual compiler! If you do not have an MPLAB XC Functional Safety License already, do NOT purchase this product. This product is purchased only as a download.

This MPLAB XC16 Compiler Functional Safety Package provides all the documentation and reports needed to help qualify your development environment for multiple functional safety standards. This package is only applicable to MPLAB XC16 C-Compiler v1.49.

This is not an actual compiler! If you do not have an MPLAB XC Functional Safety License already, do NOT purchase this product. This product is purchased only as a download.

This MPLAB XC16 Compiler Functional Safety Package provides all the documentation and reports needed to help qualify your development environment for multiple functional safety standards. This package is only applicable to MPLAB XC16 C-Compiler v1.59.
The MPLAB® XC16 C Compiler is a full-featured, highly-optimized ANSI C compiler for all 16-bit PIC Microcontroller families. This compiler integrates into Microchip’s MPLAB X IDE, is compatible with all Microchip debuggers and emulators, and runs on Windows®, Linux® and macOS®.
The MPLAB XC16 PRO Compiler Dongle License unlocks the full potential and performance of all possible optimizations with the advantage of being interchangeable among workstations and highly portable – not tied to a PC or workstation. Some of its features include:
  • License file is installed on a USB device
  • 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++
  • Replaceable for a fee – only dongle licenses that have been registered in a mySoftware account are eligible
For more information and documentation, go to: www.microchip.com/mplabxc.
Note: This compiler license can only be used with the following versions of MPLAB X IDE and MPLAB XC C Compilers:
  • MPLAB X IDE version 3.55 or later
  • MPLAB XC8 C Compiler version 1.41 or later
  • MPLAB XC16 version 1.31 or later
  • MPLAB XC32 version 1.43 or later

If there is a compiler license file previously installed on your workstation, remove it before using a dongle license.

Special Notice: MPLAB® XC Subscription License Price Adjustment

To continue to provide the best compiler products possible for all of Microchip’s devices, we will be making a price adjustment of $10 per month to all subscription licenses starting on September 1, 2020. During the month of September, the monthly subscription price will change from $29.95 to $39.95. Our subscription licenses will continue to be a flexible and convenient option that you can cancel or renew at will in one-month increments to meet your budget and design requirements.

MPLAB® XC Compilers produce highly optimized code. Subscription licenses unlock PRO-level optimizations, which produce the best execution speed and code size for all PIC® microcontrollers (MCUs) and dsPIC® Digital Signal Controllers (DSCs) along with the best in compiler features.

The MPLAB XC16 PRO Subscription License is charged on a monthly basis, providing 16-bit designers the ability to make use of the most features and best code optimization only when needed in the design cycle. Subscribers will also have the ability to use any version MPLAB XC16 Microchip compiler at any time, without the need for an active Microchip MPLAB XC High Priority Access (HPA) maintenance subscription. Unlike most software subscription solutions, the license is not cloud-based, providing designers the additional flexibility of using the license offline.

The subscription license is available as a download only, installed on a workstation and the license will be renewed every month by through internet connection.

This is a monthly subscription license and cannot be purchased in advance by buying multiples at one time (i.e. buying 12 licenses does not equal one year). Buying multiples at one time will result in multiple licenses being active every month.

For complete information, including downloads and full documentation for MPLAB XC C compilers, go to: microchip.com/mplabxc

Ease the burden of your functional safety qualification with the MPLAB XC16 Functional Safety Compiler License - a TÜV SÜD certified compiler package that supports 16-bit PIC® MCUs and dsPIC® DSCs. This compiler license has been certified for the following functional safety standards:

  • ISO 26262
  • IEC 61508
  • IEC 62304
  • IEC 60730

A downloadable zip file is included with purchase that contains all the documentation and reports needed for a fully qualified development environment, including the TÜV SÜD certificates.

Learn more about Microchip's Functional Safety solutions here.

License Specifics

The license that comes with this package is perpetual, allowing for any MPLAB XC16 functional safety compiler version to be unlocked. The latest version of functional safety compiler can be found on the MPLAB XC Compiler page under the Functional Safety Compiler Downloads tab. Older functional safety compiler versions can be found on our Downloads Archive page. Along with the perpetual license, the reports, documentation and TÜV SÜD certificate for one functional safety compiler version will be chosen from a drop-down menu. The documentation can be chosen upon activation of the license from inside the mySoftware section of your myMicrochip account after purchase.

Purchasing Additional Reports:
If you update to a different MPLAB XC Functional Compiler version after your initial purchase and need the documentation associated with it, you may purchase them individually (as reports are available). To purchase individual documentation:

  • Buy an MPLAB XC Functional Safety Documentation Package
  • After purchase, a drop-down menu will appear inside the mySoftware section of your myMicrochip or My Software Products section of your microchipDIRECT account
  • Choose the documentation package for the version of compiler you need (only one can be chosen)
  • Click on Download to receive your documents

 

Maintaining MPLAB XC Functional Safety Compliance:

  • What has been certified is the process used to develop our MPLAB XC compilers
  • Our executables are controlled and the version always ends in a "9" - developed using the certified process
  • Any changes to the executable invalidates the certification
  • The data is not controlled, so that device support can be added through device file packs (DFPs), which means device support can be added to MPLAB XC functional safety compilers without breaking compliance
This PRO Plugin for MPLAB® X IDE works with the MPLAB® REAL ICE™ In-Circuit Emulator to display the percentage of time spent in each application function, enhancing the software debugging capabilities of MPLAB® X IDE. It is used to measure the percentage of time spent in each function in order to determine where your application may be spending the greatest portion of time over an average collected set of data. It adds pre- and post-amble code to all functions in debug sessions. It aids in debugging and code optimization by tracking the number of function calls, parent functions, child functions and execution time. Each license is intended for one user. Available for device families with data capture, namely: PIC18F, PIC24F, PIC24EP, dsPIC33FJ, dsPIC33E, and those PIC32MX that support data capture. To find out if your device has data capture, please see the Dev Tool Selector.

Installation instructions:
  1. Unzip the downloaded ZIP file to two .nbm files on your hard drive.
  2. Select Tools > Plugins from the IDE menu.
  3. Select the Downloaded tab in the Plugins window.
  4. Click the Add Plugins button to add the two .nbm files, one by one.
  5. Make sure the Install checkboxes for both Code Profiling and Plugin Update Services plugins are checked.
  6. Click the Install button and follow the instructions to finish installation.

This plugin operates with MPLAB X IDE v2.26 and MPLAB XC compiler v1.20 and later. To download a 30-day trial version go to Embedded Code Source.

Note: The use of this plugin requires an MPLAB® REAL ICE™ In-Circuit Emulator. Standard (ICSP) or Performance Pak (High Speed LVDS) connection from emulator to target board is required. No other connections are needed.

Click here for Developer's Help with this product.
The MPLAB X IDE Plugin - Halt Notifier provides an alert when a target is halted. These notifications can be customized with actions—such as issuing an audio alert, sending an email, or running a script.
This plugin is useful for debugging code in an efficient manner. Set the plugin, tend to other tasks and the plugin will send an alert when the debugging has halted (for example, a breakpoint).

From a script you can establish a text message to your cell phone, Yowsup, WhatsApp, tweet or run anything that collects data and archives it. Scripting gives you infinite possibilities.

This plug-in requires MPLAB X IDE version 3.30 or later.

SW006022-2 - MPLAB XC16 PRO Compiler (Workstation License)

Part Number: SW006022-2

15% Off - Use Coupon Code : EOY2020DT        Expires : 31-Dec-2020

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.

To continue to provide the best compiler products possible, on September 1, 2020, this type of MPLAB XC C compiler license will change in how it functions. It 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.

The MPLAB XC16 C Compiler is a full-featured, highly-optimized ANSI C compiler for the PIC24 and dsPIC Microcontroller families. This compiler integrates into Microchips MPLAB(R) X IDE, is compatible with all Microchip debuggers and emulators, and runs on Windows, Linux and Mac OS X.The MPLAB XC16 PRO Workstation license unlocks the full potential and performance of all possible optimizations.

The MPLAB XC16 compiler also comes with 12 months of High Priority Access, a maintenance subscription, providing web access to new version releases, priority technical support for the compiler and free shipping for development tool orders on Microchip Direct.

Network Server Licenses are also available: SW006022-2N

For more information and documentation, go to: www.microchip.com/mplabxc

Harmony Framework Only

The Microchip WMA Decoder can decode audio signals sampled at up to 48 kHz with up to two discrete channels. The WMA Decoder also supports VBR and CBR encoded audio stream. In most circumstances, .wma files are contained in Advance Systems Format (ASF), which is supported by the WMA Decoder. Microchip technology provides software libraries allowing customers to build audio applications with high quality and professional results. The WMA Decoder library is optimized (C/ASM) and is available for all PIC32MX devices. Supported in MPLAB Harmony v2 only.

The Microchip WMA Library is only available in binary format, and is only available to Windows Media Component Licensees.

Click Here for Microsoft Licensing Details.

Microsoft WMA Decoder Library for PIC32 is also available in MLA. Click Here for details