5.2.4. In-Circuit Emulators

The ICE is one of the oldest and the most powerful devices for debugging a microcontroller system. It is also the only tool that substitutes its own internal processor for the one in the target system. Like all ICDs, the emulator's primary function is target access – the ability to examine and change the contents of registers, memory, and I/O. As the ICE replaces the CPU, it generally does not require working a CPU on the target system to provide this capability. This makes the ICE by far the best tool for troubleshooting new or defective systems.

In general, each microcontroller family has its own set of ICE. For example, an ICE for the PIC16 microcontrollers cannot be used for the PIC18 microcontrollers. Because ...

Get SD Card Projects Using the PIC Microcontroller now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.