Quick Debug/Program Reference

The following table is a quick reference for using the MPLAB® ICD 4 as either a debugging or programming tool.

DEBUG VS. PROGRAM OPERATION

Item Debug Program
Needed Hardware A computer and target application (Microchip demo board or your own design)
Debugger, USB cable, and power supply
Device with on-board debug circuitry or debug header with special -ICE device Device (with or without on-board debug circuitry)
MPLAB X IDE selection Project Properties, ICD 4 as Hardware Tool
Debug>Debug Main Project Program Target Project toolbar button
Program Operation Programs application code into the device. Depending on the selections on the Project Properties dialog, this can be any range of program memory. In addition, a small debug executive is placed in program memory and other debug resources are reserved. Programs application code into the device. Depending on the selections on the Project Properties dialog, this can be any range of program memory.
Debug Features Available All for device – breakpoints, etc. N/A
Serial Quick-Time Programming (SQTP) N/A Use the MPLAB IPE to generate the SQTP file.
Command-line Operation N/A Use IPECMD, found by default in: C:\Program Files\Microchip\ MPLABX\<vx.xx>\mplab_ipe.
© 2017 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.