Frequently Asked Questions
How do I generate code compatible with ICD (or MPLAB® ICD 2, MPLAB® ICD 3, or MPLAB® ICD 4)?
The CCS compilers are fully compatible with Microchip's ICD debugger using MPLAB®. In order to prepare a program for ICD debugging (NOP at location 0 and so on) you need to add a #DEVICE ICD=TRUE after your normal #DEVICE.For Example:
#INCLUDE <16F877.h> #DEVICE ICD=TRUE