5.7.3 Hardware Setup

Preliminaries

  1. Use USB communication between the PC and MPLAB ICE 4. Other communication types do not support trace.
  2. Find devices that support ITM trace – see Help>Release Notes> Debug Features Support>Hardware Tool Debug Features by Device.
  3. Design the target board to have a connector for emulator-target communication and a connector for trace pins if using the SAM MCUs - JTAG/SWD Adapter Board. Alternately design the target board to connect to the high-speed cable with pins for both debug and trace (see Target Connection Pinout).
  4. When using trace, the TRACESWO pin is used. Therefore you cannot use another function multiplexed on that pin.

Set Up Hardware

To use the ITM/SWO feature:

  1. The target board should be unpowered.
  2. Install the communication cable between the emulator or adapter board and the communication connector on your target board.
  3. If using the adapter board, connect the trace cable between the adapter board and trace connector on your target board.
  4. Power the target.