Frequently Asked Questions

How do I generate code compatible with ICD (or ICD2)?

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