Packs and Projects

MPLAB® X IDE requires specific information about supported devices in order to simulate or emulate these devices. This information is found in the device (.PIC) files; it includes data on device power requirements, programming methods, architecture, etc.

As of MPLAB X IDE v5.00, the 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.

As of MPLAB X IDE v5.35, Tool Packs are also included, with information on hardware debug tool firmware. In future releases, you will be able to upgrade the tool pack version to include new firmware, new device support, or bug fix support.

Pack Locations

Packs are placed in a system directory when MPLAB X IDE installs. For example, in Microsoft® Windows 7 OS:
C:\Program Files (x86)\Microchip\MPLABX\vx.xx\packs
In the Microchip subdirectory:
DFP 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 Window 7 OS:
C:\User\Microchip\UserName\.mchp-packs

The file structure inside a pack can change at any time. For more on pack structure, see:
CMSIS-Pack Documentation

Install Packs during MPLAB X IDE Install

When installing MPLAB X IDE (as of MPLAB X IDE v5.20), you may now "Choose 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.

Figure 1: MPLAB X IDE Install - Select Applications dialog

MPLABXIDE_Install_SelectApplications.png

Information on installing MPLAB X IDE may be found in the MPLAB X IDE Readme.

Install Packs after MPLAB X IDE Install

Select Tools > Packs to open a list of versioned packs that you can install via the MPLAB Pack Manager.

  1. When first opened, the list is filtered for packs known to be compatible with the current IDE release. Uncheck Show Packs Compatible with MPLAB X IDE x.xx to disable this feature and see all pack versions.
  2. Search for your device to narrow the list. Click to Install or Uninstall DFP or Tool Pack versions.
  3. At the bottom are pack locations for reference. For more on System Packs Location and User Packs Location, see the "Pack Locations" section. For more on Remote Packs Repository, see the “Packs on the Web” section.

Figure 2: MPLAB Pack Manager - DFP List

MPLABPackManager_DFP_5.35_Numbered.png

Figure 3: MPLAB Pack Manager - Tool Pack List

MPLABPackManagerWindow_ToolPacks.png

Switch Installed Packs

For a project open in MPLAB X IDE, right-click on an open project name in the Projects window and select Properties to open the Project Properties window. View the Packs list to see available packs for the project device.

Figure 4: Project Properties - Packs

NewPP_PacksList.png

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

To find and download pack versions from the web, go to:
Microchip Packs Repository

Click on the name of a pack to see pack information, such as Supported Devices and Pack Version History.

Figure 5: Microchip Packs Repository

PackWebpage.png
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.