Working With Device and Tool Packs in MPLAB® X IDE
Introduction
As of MPLAB® X Integrated Development Environment (IDE) v5.00, device files are grouped into versioned Device Family Packs (DFPs). Currently, each MPLAB X IDE version comes with device packs, though as of v5.30 you can upgrade the device pack version to include new devices, new device feature support, or device bug fix support. For more information about DFPs see the "Introduction to Device Family Packs" page.
As of MPLAB X IDE v5.35, tool packs are also included, with information on hardware debug tool firmware. In subsequent releases, you are able to upgrade the tool pack version to include new firmware, new device support, or bug-fix support.
MPLAB X IDE requires specific information about the devices and hardware tools chosen for your project in order to configure and build the project and subsequently program or debug the devices. This information is contained in various support files which are packaged and distributed in two types of structured bundles called device packs and tool packs. The packs are named by the device families or tools supported and revisions are tracked by version numbers on the packs.
There are three of these types of packs used by MPLAB X IDE, Device Family Packs (DFPs), Tool Packs, and CMSIS Packs. DFPs and Tool Packs are specific and proprietary to Microchip devices and tools. CMSIS packs are specialized device packs that support Arm®-based devices and are supplied by Arm.
Installed Pack Locations
Packs are placed in a system directory when MPLAB X IDE installs. For example, in Microsoft® Windows® 7 OS, C:\Program Files\Microchip\MPLABX\vx.xx\packs.
In this subdirectory, packs have to follow naming conventions:
- Device Family Pack names: <pack_name>_DFP, e.g., ATmega_DFP
- Tool Pack names: <hardware_tool_abbreviated name>, e.g., icd4
Packs may be in a user directory if they are placed after an MPLAB X IDE install. For example, in Windows 7 OS, C:\User\Microchip\UserName\.mchp-packs.
Install Packs during MPLAB X IDE Install
When installing MPLAB X IDE (as of MPLAB X IDE v5.20), you may now choose the Microchip device support you want installed. This will install the packs related to the device architecture(s) chosen. Installing only what you need saves disk space and increases the speed of installation.
Information on installing MPLAB X IDE may be found in the MPLAB X IDE Readme.
Install Packs after MPLAB X IDE Install
Switch Installed Packs
Packs followed by a [Resolve] link are not included in that version of MPLAB X IDE. To install the pack, click on the link.
Packs on the Web
Visit the Microchip Packs Repository to find and download pack versions from the web.
Click on the name of a pack to see pack information, such as Supported Devices and Pack Version History.