Where are Device Family Packs (DFPs) Installed?

Last modified by Microchip on 2024/06/24 06:34

Depending on your software project type (bare-metal C, MPLAB® Harmony 3 project, etc.), Device Family Packs (DFPs) can be installed at several locations on your computer.

DFPs Managed and Used by MPLAB X IDE

DFPs managed and used by MPLAB X Integrated Development Environment (IDE) are installed in two locations on your computer, as shown in the Pack Manager.

DFP locations tab mrt340028

System Packs Location

DFPs that are distributed and installed during the MPLAB X IDE installation are called System Packs and are located in the following folders:


C:\Program Files\Microchip\MPLABX\<ide_version>\packs\Microchip\<device_pack>\<dfp_version>



Installed System Packs are indicated in the Pack Manager window with the word "Installedwith a lock icon, as seen in the accompanying image.

Pack Manager window Installed

User Packs Location

This folder contains all DFPs which have been installed through the Pack Manager Update mechanism or manually installed by the user.





Installed User Packs are indicated with the word "Uninstall" in the Pack Manager window as shown in the accompanying image.

Pack Manager window Uninstall

DFP Persistence with MPLAB X IDE

When you uninstall MPLAB X IDE, you uninstall the system DFPs. However, the user DFPs will persist on your computer.

Back to top

DFPs Managed and Used by the MPLAB Harmony 3 Framework

The MPLAB Harmony 3 framework maintains its own repository of DFPs on GitHub.

When you use MPLAB Harmony 3 Content Manager to download components to your PC, a copy of this repository is also downloaded.

MPLAB Harmony Content Manager window

When you build an MPLAB Harmony 3 application using MPLAB Harmony 3 Configurator, all the required DFP files are copied into the Harmony 3 project folder. The MPLAB X IDE DFPs are not used.

Harmony 3 project folder.

Benefits of the MPLAB Harmony 3 DFP usage strategy are:

  • Project is self-contained
  • Removed dependency on DFP
  • Project can be shared without the need to share and install the DFP

Back to top

DFPs Components Bundled With MPLAB XC Compilers

MPLAB XC compilers ship with a set of resources (MCU header files) derived from a DFP release, as shown in the accompanying image with MPLAB XC32:

DFPs in XC32 folder

The version of the DFP can be determined by opening the component-version.h file as shown in the accompanying image.

Within MPLAB X IDE, you can choose to override the default (MPLAB X IDE-managed) DFPs with the compiler-supplied DFPs via the following Project setting shown in the accompanying image.

DFP override setting

When using the compiler for standalone compilation on the command line, you can use the -mdfp switch to specify a specific DFP to use for compilation:

-mdfp="C:/My Folder/SAME54_DFP/3.2.56"

Back to top