Requirements for Code Profiling

To perform code profiling you will need the following:

  • MPLAB®X Intergrated Development Environment (IDE) version 2.26 or higher with the Code Profiling plugin (SW100100) installed
  • One of the following Microchip C compilers:
    • XC8 (v1.20 or higher)
    • XC16 (v1.20 or higher)
    • XC32 (v1.20 or higher)
  • MPLAB® REAL ICE™ in-circuit emulator
  • One of the following PIC® Microcontroller (MCU) family members:
    • PIC18F with "Debug Data Capture"
    • PIC24FJ
    • PIC24EP
    • dsPIC33FJ
    • dsPIC33E
    • PIC32MX with "Debug Data Capture"

Not all PIC® MCUs can be profiled using the plugin. In order to work with the Code Profiling plugin the MCU must be able to allow the emulator to perform data capture during a debug session.

VerifyingDebug Data Capture capability on the PIC® MCU

2

Enter the Part Number in the Search Box

dts-search.png

3

Select the"Emulators and Debugger" tab

dts-ed.png

4

Look for the Words "Data capture: Enabled" under the REAL ICE™ section

dts-capable.png

PIC16F1xxx, andPIC32MZ MCUsDO NOT support code profiling. The data capture capability reported for these devices by the Development Tool Selector is not compatible with the code profiling plugin.