1 Installing the Library

To use the libraries, install the MPLAB Code Configurator plug-in tool in the MPLAB X IDE. This section describes the installation of MCC and the Diagnostic Libraries.

  1. To install the MPLAB Code Configurator plug-in:
    1. In the MPLAB X IDE, select Plugins from the Tools menu.
    2. Select the Available Plugins tab.
    3. Look for the MPLAB Code Configurator and click Install.
    Note: The MCC plug-in is included in the IDE installation for MPLAB X IDE versions 6.05 or above.
  2. Installing the Diagnostic Libraries for MCC Melody can be done using the Content Manager Wizard:
    1. Create a new project in the MPLAB X IDE for any supported device specified in the AVR and PIC16/18 release notes (e.g., AVR128DA48).

    2. Open MCC by clicking Tools → Embedded → MPLAB Code Configurator v5 or click the
      icon.
    3. In the MCC Content Manager Wizard, import the Diagnostic Library package by clicking Import on the top right corner. A new file manager window will appear. Navigate and select the Diagnostic Library and click Open (see Figure 1-1). The import process will take a moment to complete.
      Figure 1-1. Importing the Diagnostic Library into MCC
    4. Click Select MCC Melody, as shown in Figure 1-2.
      Figure 1-2. Selecting MCC Melody from the Content Manager Wizard
    5. Click Finish.
    6. The Diagnostic Library is now located in the Device Resources panel in Libraries → Functional Safety Libraries (see Figure 1-3).
      Figure 1-3. Device Resources Panel
    7. Alternatively, install the library by reopening Content Manager in MCC Melody if skipping step 2.c before clicking Finish.
      1. In the Device Resources panel, open Content Manager.
      2. On the top right corner of Content Manager, click Import. Select the Diagnostic Library package from the file system and click Submit.
      3. Navigate to Libraries → Functional Safety Libraries.
      4. Select the latest version of the Diagnostic Library of choice, click Apply and wait for the download to finish. The Content Manager tab can then be closed.
Note: In the Content Manager Tool (CMT), the information icon beside the library name leads to the release notes of the selected version.