5.5.3 Trace Methods

Currently there are three instrumented trace methods. All are language-tool-version dependent, and stream data in real time to MPLAB X IDE. The pluses and minuses of using each trace method, as well as communication information, are summarized below.

Trace MethodSpeedCode Size ImpactReal Time OpPin UsageDevice Feature NeededHigh Speed Communication
Native TraceFastLargeCloseNoneBuilt-in debugGreater than 15 MIPS1
SPI TraceFasterMediumCloserSPI pinsSPIYes1
I/O Port TraceFastestSmallClosest9 pins of Debug ConnectorNoneYes2
  1. The actual cutoff speed may vary depending on layout, noise, and similar considerations.
  2. Requires connection from device port to emulator debug connector (8-pin port + 1 pin clock).