5.4.4 Hardware Setup

Preliminaries

  1. Use USB communication between the PC and MPLAB ICD 5. 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 debugger-target communication and for trace pins if using SAM 3.3.3 Debugger Adapter Board. Alternately design the target board to connect to the cable with pins for both debug and trace.
  4. When using trace, the TRACESWO pin on the target 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 debugger 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.