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.

Verifying Debug Data Capture capability on the PIC® MCU

1

Go to the Developer Tools Selector guide

Open a browser to www.microchip.com/DTS

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, and PIC32MZ MCUs DO 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.

© 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.