Microchip Technology AC162074 Fiche De Données
Introduction
2006-2012 Microchip Technology Inc.
DS51292U-page 7
MPLAB IDE AND MPLAB X IDE USE WITH HEADERS
MPLAB IDE v8
Perform the following steps to use the debug header:
1.
Set up the debug header as specified in “General Header Setup”.
2.
Create a project for a device supported by your debug header using the Project
wizard (Project>Project Wizard). See MPLAB IDE v8 documentation for more on
Projects.
wizard (Project>Project Wizard). See MPLAB IDE v8 documentation for more on
Projects.
3.
Under Debugger>Select Tool, select the debug tool to which your header is
attached.
attached.
4.
Write code for your project and build it until there are no errors.
5.
Select Debugger>Program and then Debugger>Run to run your debug code.
MPLAB X IDE
Perform the following steps to use the debug header:
1.
Set up the debug header as specified in “General Header Setup”.
2.
Begin creating a project for a device supported by your debug header using the
Projects wizard (File>New Project). See MPLAB X IDE documentation for more
on Projects.
Projects wizard (File>New Project). See MPLAB X IDE documentation for more
on Projects.
3.
In one step of the wizard you will have an opportunity to specify the header.
4.
In another step you will specify the hardware (debug) tool to which your header
is attached.
is attached.
5.
Once the wizard is complete, write code for your project.
6.
Select Debug>Debug Project to run and debug your code.
CALIBRATION BITS
The calibration bits for the band gap and internal oscillator are always preserved to their
factory settings.
factory settings.
PERFORMANCE ISSUES
The PIC
®
MCU devices do not support partial program memory erase; therefore, users
may experience slower performance than with other devices.
Also, see either the in-circuit emulator or the in-circuit debugger Help file for information
on specific device limitations that may affect performance.
on specific device limitations that may affect performance.
RELATED DEBUG TOOLS
The following tools support the use of headers:
• MPLAB REAL ICE In-Circuit Emulator
• MPLAB ICD 2 or 3 In-Circuit Debugger
• PICkit 2 or 3 Debug Express
See the Microchip website for the latest documentation:
Note:
A debug header can be used only in debug mode, not in programming
mode. See “Programming Details”.
mode. See “Programming Details”.
Note:
A debug header can be used only to debug (Debug menu), not to program
(Run menu). See “Programming Details”.
(Run menu). See “Programming Details”.