Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

32-bit MPUs

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.

Microchip has created and supports a free-of-charge Linux OS offering for our entire portfolio of microprocessors (MPUs). We are committed to the open-source Linux community and provide full coverage of System-on-Chip (SoC) peripherals in the Linux kernel. We also offer AT91Bootstrap and U-Boot bootloaders.

The Linux4SAM website contains links to GitHub repositories containing the source code and documentation for all the software components included in our Linux offering. In addition, we regularly work with the Linux, U-Boot, Yocto Project and Buildroot communities to provide mainline support for all our MPUs.

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

Ease the burden of your functional safety qualification with the MPLAB XC32 Functional Safety Compiler License - a TÜV SÜD certified compiler package that supports 32-bit PIC® and SAM MCUs and 32-bit MPUs. 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 XC32 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 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 XC32 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 XC32 C-Compiler v2.39.

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 XC32 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 XC32 C-Compiler v2.49.
MPLAB® Harmony v3 is a fully integrated embedded software development framework that provides flexible and inter-operable software modules to simplify the development of value-added features for 32-bit MCUs and MPUs. It includes the MPLAB Harmony Configurator (MHC) tool, an easy-to-use tool with a GUI that simplifies device setup, library selection, configuration and application development.

SAM-BA software provides an open set of tools for in-system programming of internal and external memories connected to our 32-MCUs and MPUs. You can program your device through the JTAG, debug UART or USB interfaces. If you use the MPU’s secure boot feature, you should use the Secure SAM-BA edition.

The latest generations of MPUs are supported on SAM-BA v3 available on the GitHub

For MCUs and legacy MPUs the latest versions of SAM-BA v2 can be downloaded from the documents tab.

With the SAM-BA monitor residing in on-chip non-volatile memory, you can use SAM-BA as a tool to re-program the MPU or 32-bit MCU, without connecting to the debugger.
If you use the secure boot feature of Microchip’s MPUs, you should use the Secure SAM-BA edition.

These software packages deliver a set of C drivers that run on the evaluation kits and exercise all peripherals. They are also very useful for board bring up as well as quick prototyping. They consist of drivers, software services and libraries.

Each software module for a Microchip MPU includes full source code, application examples, rich HTML documentation and ready-to-use projects for the GNU GCC and IAR EWARM compilers.

You can download the latest software packages and participate in the development on GitHub.