Debug Header Setup for MPLAB® X IDE

Last modified by Microchip on 2023/12/22 14:21

Set Up MPLAB X IDE to Use a Debug Header

Set Up Debug Header Hardware First

Set up the debug header as specified in the "Debug Header Hardware Setup" page.

Create a Project

Begin creating a project for a device supported by your emulation header, using the Projects wizard (File > New Project). See the MPLAB® X IDE documentation for more on projects.

Specify Header Product Number

In one step of the wizard, you will have an opportunity to specify the debug header product number (AC######).

Specify Debug Tool

In another step, you will specify the hardware (debug) tool to which your debug header is attached.

Develop Project Code

Once the wizard is complete, write code for your project.

Debug Your Code

Select Debug > Debug Project to run and debug your code.

Note: A debug header can only be used to debug (Debug menu), not to program (Run menu). See the "Debug Header Additional Information" page.